/* alnor.store - a store: a catalogue of the products, and a page each that is visual first ("quite minimal,
   no extra useless stuff", "the visual part more than the explaining part"). Minimal, elegant, professional
   (2026-10-17): a warm off-white page, near-black ink, hairlines, a few very dark parts; Geist; graphite buttons; the
   app's corners - controls 6, tiles 10, cards 12. No orange. */

@font-face { font-family: "Geist"; font-weight: 300 600; font-display: swap; src: url("fonts/Geist.woff2") format("woff2"); }

:root {
  --bg: #f7f6f3;        /* warm off-white */
  --paper: #ffffff;
  --ink: #16171a;
  --muted: #5f6066;
  --faint: #8c8d93;
  --line: #e4e2dd;
  --dark: #141416;      /* the tiles, the price band, the foot of the page */
  --dark-ink: #ececed;
  --dark-muted: #9a9ba1;
  --dark-line: #26272b;
  --accent: #3a3b40;    /* the buttons: a soft graphite (black was too hard - 2026-10-18) */
  --accent-hover: #2c2d31;
  --on-accent: #ffffff;
  --r-control: 6px;
  --r-tile: 10px;
  --r-card: 12px;
  --gutter: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* the few dark parts: the catalogue tiles, the price band, the foot of the page */
.dark {
  background: var(--dark);
  color: var(--dark-ink);
}
a { color: inherit; }
img, video { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* -- the bar at the top -- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; }
.brand svg { width: 26px; height: 26px; }

/* -- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: var(--r-control);
  font: inherit;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease-out;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-quiet { background: rgba(22, 23, 26, 0.06); color: var(--ink); }
.btn-quiet:hover { background: rgba(22, 23, 26, 0.1); }
.btn-small { padding: 7px 14px; font-size: 15px; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* -- the top bar's products -- */
.products { display: flex; gap: 22px; margin-left: auto; }
.products a { text-decoration: none; color: var(--muted); font-size: 15.5px; }
.products a:hover, .products a[aria-current="page"] { color: var(--ink); }

/* -- loops: every picture on the site moves -- */
video.loop {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #18191b;
  border-radius: var(--r-card);
  box-shadow: 0 30px 60px -32px rgba(20, 20, 22, 0.38), 0 0 0 1px rgba(20, 20, 22, 0.05);
}

/* the one loop with sound: a speaker in its corner, off until clicked */
.loop-box { position: relative; }
.sound {
  position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; padding: 8px;
  border: 0; border-radius: 50%; cursor: pointer;
  color: #f2f2f4; background: rgba(20, 21, 24, 0.62); backdrop-filter: blur(6px);
  transition: background 0.15s ease-out;
}
.sound:hover { background: rgba(20, 21, 24, 0.82); }
.sound[aria-pressed="false"] { color: #ef5a52; }   /* off: red, the app's script red */
.sound svg { width: 100%; height: 100%; display: block; }
.sound .waves { display: none; }
.sound[aria-pressed="true"] .waves { display: inline; }
.sound[aria-pressed="true"] .cross { display: none; }
/* a key in the text: a soft cap, the key in words - as the app's keycaps (keycaps.py), no edge */
kbd.key { font: inherit; font-size: 0.86em; font-weight: 500; color: var(--ink); white-space: nowrap;
  background: rgba(22, 23, 26, 0.075); border-radius: 5px; padding: 0.08em 0.45em; }
.script-symbol { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.17em; }

/* -- the store front: a catalogue - square tiles, the name and price under each (like a shop's grid, but
   more minimal) -- */
.catalogue { padding: 72px 0 96px; }
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.item { display: flex; flex-direction: column; text-decoration: none; }
.item-cover {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 11%;
  background: var(--dark);
  border: 1px solid transparent;
  border-radius: var(--r-card);
  margin-bottom: 14px;
  transition: border-color 0.15s ease-out;
}
.item:hover .item-cover { border-color: #55565b; }
.item-cover video.loop { box-shadow: 0 22px 40px -22px rgba(0, 0, 0, 0.7); }
.item-cover video.loop { border-radius: var(--r-tile); transition: transform 0.2s ease-out; }
.item:hover .item-cover video.loop { transform: translateY(-3px); }
.item-name { font-size: 16.5px; font-weight: 500; }
.item-price { font-size: 15.5px; color: var(--muted); }

.hero h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; font-weight: 600; letter-spacing: -0.025em; margin: 0 0 28px; }
.eyebrow { color: var(--muted); font-size: 15px; font-weight: 500; margin: 0 0 14px; }
.actions { justify-content: flex-start; }
.actions.center { justify-content: center; }

/* between the big demo and the rows: a hairline with a small label in it ("some kind of split") */
.split { display: flex; align-items: center; gap: 18px; margin: 40px 0 8px; color: var(--faint); font-size: 14px;
  font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.split::before, .split::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* -- a product: the loop on one side, a few words on the other, changing sides down the page -- */
.row { display: grid; grid-template-columns: 1fr 1.45fr; gap: 64px; align-items: center; padding: 56px 0; }
.row.flip { grid-template-columns: 1.45fr 1fr; }
.row.flip .row-text { order: 2; }
.row h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; font-weight: 560; letter-spacing: -0.022em; margin: 0 0 10px; }
.row p { margin: 0; color: var(--muted); font-size: 18px; font-weight: 400; }
.row.hero { padding-top: 64px; }

/* -- the top bar's button: every loop and the slideshow stopped, or moving -- */
.motion { width: 34px; height: 34px; padding: 8px; margin-left: 4px; border: 0; border-radius: var(--r-control);
  background: transparent; color: var(--muted); cursor: pointer; transition: background 0.15s ease-out; }
.motion:hover { background: rgba(22, 23, 26, 0.06); color: var(--ink); }
.motion svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }
.motion .play { display: none; }
.motion[aria-pressed="false"] .play { display: inline; }
.motion[aria-pressed="false"] .pause { display: none; }

/* -- a product's top: the app's mark and its name in the middle, a line on what it is, the app at work under it -- */
.intro { text-align: center; padding: 72px 0 40px; max-width: 720px; margin: 0 auto; }
.app-mark { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 18px; margin-bottom: 22px;
  background: var(--dark); color: var(--dark-ink); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.55); }
.app-mark svg { width: 42px; height: 42px; }
.intro h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.04; font-weight: 560; letter-spacing: -0.035em; margin: 0 0 16px; }
.about { color: var(--muted); font-size: 19px; font-weight: 400; margin: 0 auto 28px; max-width: 560px; }
.demo { margin: 8px 0 40px; }
.demo video.loop { aspect-ratio: 16 / 9; }

/* -- why it exists, in his own words: a narrow column to read, between the rows and the slideshow -- */
.philosophy { max-width: 660px; margin: 0 auto; padding: 88px 0 40px; }
.philosophy h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; font-weight: 560; letter-spacing: -0.022em;
  margin: 0 0 22px; text-align: center; }
.philosophy p { font-size: 19px; line-height: 1.7; color: #3a3b40; margin: 0 0 18px; }
.philosophy a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line);
  text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: text-decoration-color 0.15s ease-out; }
.philosophy a:hover { text-decoration-color: var(--ink); }

/* -- reviews (real ones, once there are any): the stars and the count under the title, the cards before the questions -- */
.rating { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 28px; color: var(--muted); font-size: 15px;
  text-decoration: none; }
.needs { margin: 18px 0 0; color: #b0645d; font-size: 14.5px; font-style: italic; }   /* (a soft red) */
.stars { position: relative; display: inline-block; color: var(--line); letter-spacing: 2px; font-size: 17px; }
.stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--fill); overflow: hidden; color: var(--ink); }
.reviews { padding: 72px 0 8px; }
.reviews h2, .faq h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; font-weight: 560; letter-spacing: -0.022em;
  margin: 0 0 26px; text-align: center; }
.review-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); justify-content: center; gap: 20px; }
.review { margin: 0; padding: 22px 24px; background: var(--paper); border-radius: var(--r-card); border: 1px solid var(--line); }
.review blockquote { margin: 12px 0 14px; font-size: 16px; line-height: 1.6; }
.review figcaption { color: var(--muted); font-size: 14px; }

/* -- questions people ask before buying: each opens by itself -- */
.faq { max-width: 760px; margin: 0 auto; padding: 72px 0 80px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg);
  transition: transform 0.15s ease-out; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 20px; color: var(--muted); font-size: 16.5px; line-height: 1.65; }

/* -- the price band: what you get, ticked off -- */
.included { list-style: none; padding: 0; margin: 20px auto 32px; display: grid; grid-template-columns: repeat(3, auto);
  justify-content: center; gap: 12px 34px; color: var(--dark-ink); font-size: 15.5px; text-align: left; }
.included li { display: inline-flex; align-items: center; gap: 8px; }
.included li::before { content: ""; width: 12px; height: 7px; margin-top: -4px; border-left: 1.8px solid var(--dark-muted);
  border-bottom: 1.8px solid var(--dark-muted); transform: rotate(-45deg); }
.row .aside strong { font-weight: 600; font-style: italic; color: var(--ink); }

/* -- the slideshow after the six: one clear in the middle, the ones beside it grey and smaller; its words above it
   (2026-10-17) -- */
.more { padding: 56px 0 24px; text-align: center; }
.more h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 560; letter-spacing: -0.022em; margin: 0 0 26px; }
.slide-words { min-height: 82px; margin: 0 auto 22px; max-width: 640px; }
.slide-words h3 { font-size: clamp(21px, 2.2vw, 26px); font-weight: 560; letter-spacing: -0.01em; margin: 0 0 4px; }
.slide-words p { margin: 0; color: var(--muted); font-size: 17px; font-weight: 400; }
.slides { position: relative; max-width: 1080px; margin: 0 auto; overflow: hidden; }
.slides::before { content: ""; display: block; padding-top: 33.5%; }   /* the middle one's height: 54 % wide, 16:10 */
.slide {
  --o: 2; margin: 0; position: absolute; top: 0; left: 23%; width: 54%; cursor: pointer;
  transform: translateX(calc(var(--o) * 96%)) scale(0.8); opacity: 0; pointer-events: none;
  filter: grayscale(1) brightness(0.92);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s ease-out, filter 0.45s ease-out;
}
.slide.is-prev { --o: -1; opacity: 0.45; pointer-events: auto; }
.slide.is-next { --o: 1; opacity: 0.45; pointer-events: auto; }
.slide.is-before { --o: -2; }
.slide.is-current { --o: 0; transform: none; opacity: 1; filter: none; cursor: default; pointer-events: auto;
  z-index: 1; }
.slides:not(.ready) .slide { transition: none; }   /* (no sliding in when the page opens) */
.slide img, .slide video.loop { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-card);
  background: #1f2023; box-shadow: 0 24px 48px -26px rgba(30, 28, 24, 0.5); }
.slide-arrow { position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 82%, transparent); color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4);
  transition: background 0.15s ease-out; z-index: 2; }
.slide-arrow:hover { background: var(--bg); }
.slide-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slide-arrow.prev { left: calc(23% - 22px); }
.slide-arrow.next { right: calc(23% - 22px); }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--line); }
.dot[aria-current="true"] { background: var(--ink); }
/* a row with a loop for each of Resolve's pages: a small switch between them */
.pages { display: inline-flex; gap: 2px; margin-top: 20px; padding: 3px; border-radius: 8px; background: rgba(22, 23, 26, 0.06); }
.pages button { border: 0; background: transparent; padding: 6px 13px; border-radius: var(--r-control); font: inherit;
  font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; transition: background 0.15s ease-out; }
.pages button:hover { color: var(--ink); }
.pages button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 20, 22, 0.12); }
.row .aside { margin-top: 12px; font-style: italic; font-size: 16px; color: var(--muted); }

/* -- the price, once, at the end: a dark band running into the foot of the page -- */
.buy { padding: 72px 0 80px; text-align: center; border-bottom: 1px solid var(--dark-line); }
.price { font-size: 48px; font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
.buy .fine { margin: 6px 0 26px; color: var(--dark-muted); }
.dark .btn-quiet { background: rgba(232, 230, 225, 0.08); color: var(--dark-ink); }
.dark .btn-quiet:hover { background: rgba(232, 230, 225, 0.14); }
.dark .btn-primary { background: var(--dark-ink); color: var(--ink); }
.dark .btn-primary:hover { background: #ffffff; }

/* -- the download page -- */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.download { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.download h3 { margin: 0; font-size: 20px; font-weight: 600; }
.download p { margin: 0; color: var(--muted); font-size: 15px; }
.download .btn { align-self: flex-start; margin-top: auto; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: step; display: flex; gap: 14px; align-items: baseline; }
.steps li::before { content: counter(step); flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(35, 36, 39, 0.07); display: inline-grid; place-items: center; font-size: 14px; font-weight: 600; }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 26px; margin-top: 18px; }
.note h3 { margin: 0 0 12px; font-size: 18px; }
.fine { color: var(--faint); font-size: 14.5px; margin-top: 16px; }
.section-lead { color: var(--muted); font-weight: 400; font-size: 18px; margin: 0 0 32px; }

/* -- plain pages: download, refunds, privacy, terms -- */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 14px; }
.page h2 { font-size: 22px; margin: 36px 0 8px; }
.page p, .page li { color: #3e3f42; }
.updated { color: var(--faint); font-size: 15px; }

/* -- the foot of the page: dark -- */
footer { padding: 32px 0 48px; color: var(--dark-muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--dark-ink); }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .items { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .catalogue { padding: 36px 0 64px; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 22px; padding: 32px 0; }
  .row.flip .row-text { order: 0; }
  .row.hero { padding-top: 36px; }
  .intro { padding: 44px 0 28px; }
  .slide-arrow { width: 36px; height: 36px; top: calc(50% - 18px); }
  .review-list { grid-template-columns: 1fr; }
  .included { grid-template-columns: auto; }
  .slides::before { padding-top: 50%; }
  .slide { left: 10%; width: 80%; }
  .slide-arrow.prev { left: 4px; }
  .slide-arrow.next { right: 4px; }
  .downloads { grid-template-columns: 1fr; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
/* the Linux terminal line on the download page: soft, like a key cap, scrolls sideways on a phone */
.command { margin: 0; padding: 12px 14px; background: rgba(35, 36, 39, 0.06); border-radius: var(--r-control);
  overflow-x: auto; font: 14px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); }
.command-row { display: flex; gap: 8px; align-items: stretch; }
.command-row .command { flex: 1; min-width: 0; }
.command-row .copy { flex: none; }

/* the loop that plays is at full strength, the ones waiting step back a little - so it's clear which one runs
   (site.js: is-playing / is-waiting; nothing while the animations are off; the store front's tiles stay as they are) */
video.loop { transition: opacity 0.35s ease-out, filter 0.35s ease-out; }
video.loop.is-waiting { opacity: 0.86; filter: saturate(0.85); }
.item-cover video.loop.is-waiting { opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) { video.loop { transition: none; } }
/* the review page (review.html): verified, the stars to pick, a few words, Send */
.review-page { max-width: 560px; }
.verified { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; font-weight: 500; color: var(--ink); }
.verified svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #2f7a4f;
  fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.review-note { color: var(--muted); font-size: 17px; }
.review-form { display: grid; gap: 18px; }
.review-form label { display: grid; gap: 8px; font-weight: 500; }
.review-form label i { color: var(--faint); font-weight: 400; font-style: normal; }
.review-page [hidden] { display: none; }
.review-form textarea, .review-form input { font: inherit; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--r-control); background: var(--paper); color: var(--ink); resize: vertical; }
.review-form textarea:focus, .review-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.review-form .btn { justify-self: start; }
.star-pick { display: flex; gap: 6px; }
.star-pick button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--line);
  transition: color 0.12s ease-out, transform 0.12s ease-out; }
.star-pick button::before { content: "★"; font-size: 38px; line-height: 44px; }
.star-pick button.on { color: var(--accent); }
.star-pick button:hover { transform: scale(1.08); }
.reviews[hidden] { display: none; }
