/* vicu.app - one stylesheet, no external fonts. Colours follow the app's token contract where they
   meet the screenshots (accent blue, smart-list colours); the warm apricot comes from the logo. */

:root {
  color-scheme: light;
  --bg: #fbfaf8;
  --bg-alt: #f4f2ee;
  --surface: #ffffff;
  --surface-2: #f6f5f2;
  --line: #e6e3dd;
  --line-strong: #d6d2ca;
  --text: #1d1d1f;
  --muted: #5d5d63;
  --faint: #8a8a90;
  --link: #0a66d1;
  --brand: #ee9a4d;
  --brand-2: #f7c08a;
  --brand-ink: #9b4b0c;
  --on-brand: #2b1504;
  --shadow: 0 1px 2px rgb(20 16 10 / 0.06), 0 12px 40px -12px rgb(20 16 10 / 0.18);
  --shadow-lg: 0 2px 6px rgb(20 16 10 / 0.06), 0 30px 80px -24px rgb(20 16 10 / 0.3);
  --c-inbox: #0a66d1;
  --c-today: #d98a00;
  --c-upcoming: #e0343a;
  --c-anytime: #0f9b8e;
  --c-logbook: #2b9a4f;
  --c-routines: #e0466b;
  --c-review: #8a4fd0;
  --chip-date: #e6f4ea;
  --chip-date-ink: #1e7d34;
  --chip-label: #fdeadb;
  --chip-label-ink: #a4470c;
  --chip-prio: #fde8e8;
  --chip-prio-ink: #b4232a;
  --chip-proj: #e7effc;
  --chip-proj-ink: #0a57b4;
  --chip-rep: #f1e8fb;
  --chip-rep-ink: #7135b5;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #111113;
    --bg-alt: #161619;
    --surface: #1c1c1f;
    --surface-2: #232327;
    --line: #2d2d32;
    --line-strong: #3a3a40;
    --text: #f5f5f7;
    --muted: #aeaeb4;
    --faint: #8a8a91;
    --link: #6aacff;
    --brand: #f2a65e;
    --brand-2: #f8c896;
    --brand-ink: #f8c896;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 40px -12px rgb(0 0 0 / 0.6);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / 0.4), 0 30px 80px -24px rgb(0 0 0 / 0.8);
    --c-inbox: #6aacff;
    --c-today: #ffc53d;
    --c-upcoming: #ff6b6b;
    --c-anytime: #3dd6c6;
    --c-logbook: #4cc38a;
    --c-routines: #ff7a99;
    --c-review: #b98cf5;
    --chip-date: #173322;
    --chip-date-ink: #7fd99b;
    --chip-label: #3a2414;
    --chip-label-ink: #f6b27c;
    --chip-prio: #3a1a1c;
    --chip-prio-ink: #ff9a9e;
    --chip-proj: #172842;
    --chip-proj-ink: #8fc2ff;
    --chip-rep: #2c1e40;
    --chip-rep-ink: #c9a6f7;
  }
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #111113;
  --bg-alt: #161619;
  --surface: #1c1c1f;
  --surface-2: #232327;
  --line: #2d2d32;
  --line-strong: #3a3a40;
  --text: #f5f5f7;
  --muted: #aeaeb4;
  --faint: #8a8a91;
  --link: #6aacff;
  --brand: #f2a65e;
  --brand-2: #f8c896;
  --brand-ink: #f8c896;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 40px -12px rgb(0 0 0 / 0.6);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / 0.4), 0 30px 80px -24px rgb(0 0 0 / 0.8);
  --c-inbox: #6aacff;
  --c-today: #ffc53d;
  --c-upcoming: #ff6b6b;
  --c-anytime: #3dd6c6;
  --c-logbook: #4cc38a;
  --c-routines: #ff7a99;
  --c-review: #b98cf5;
  --chip-date: #173322;
  --chip-date-ink: #7fd99b;
  --chip-label: #3a2414;
  --chip-label-ink: #f6b27c;
  --chip-prio: #3a1a1c;
  --chip-prio-ink: #ff9a9e;
  --chip-proj: #172842;
  --chip-proj-ink: #8fc2ff;
  --chip-rep: #2c1e40;
  --chip-rep-ink: #c9a6f7;
}

/* Theme-specific images: only-light shows unless the page is dark, only-dark the other way. */
.only-dark { display: none !important; }
:root[data-theme='dark'] .only-dark { display: block !important; }
:root[data-theme='dark'] .only-light { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .only-dark { display: block !important; }
  :root:not([data-theme='light']) .only-light { display: none !important; }
}

/* ---- Base ------------------------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 6px; }
.sprite { display: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--surface); border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
kbd {
  font: 600 0.78em/1 var(--mono);
  display: inline-block;
  padding: 0.32em 0.48em;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  white-space: nowrap;
}
code { font: 0.9em var(--mono); background: var(--surface-2); border: 1px solid var(--line); padding: 0.08em 0.38em; border-radius: 5px; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- Header ---------------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 700 19px var(--font-display); color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 2px; margin-left: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; padding: 6px 11px; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme='dark'] .theme-toggle .icon-sun { display: block; }
:root[data-theme='dark'] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme='light']) .theme-toggle .icon-moon { display: none; }
}
@media (max-width: 900px) { .nav { display: none; } }

/* ---- Buttons and chips ----------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font: 600 15.5px var(--font);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: var(--on-brand); box-shadow: 0 1px 0 rgb(255 255 255 / 0.4) inset, 0 6px 18px -6px rgb(214 122 40 / 0.6); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--small { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.platforms { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 550;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 650 12.5px var(--font); text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--k, var(--brand-ink));
}
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }

/* ---- Hero ------------------------------------------------------------------------------------ */

.hero { padding: 56px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; inset: -20% -10% auto -10%; height: 640px;
  background:
    radial-gradient(40% 50% at 18% 30%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(35% 45% at 85% 20%, color-mix(in srgb, var(--c-inbox) 14%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero-copy { max-width: 760px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 20px; }
.display { font-size: clamp(40px, 6.4vw, 72px); font-weight: 750; letter-spacing: -0.035em; line-height: 1.02; }
.display .flourish { background: linear-gradient(100deg, var(--brand) 10%, #e0663a 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.04em; }
.lead { font-size: clamp(17px, 2vw, 19.5px); color: var(--muted); line-height: 1.55; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero-note { font-size: 13.5px; color: var(--faint); }
.hero-visual { position: relative; margin: 46px auto 0; max-width: 1080px; padding-right: 7%; }
.hero-visual .phone { position: absolute; right: 0; bottom: -6%; width: 24%; }

/* ---- Device frames --------------------------------------------------------------------------- */

.window {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}
/* macOS traffic lights over the empty corner the app leaves for them. */
.window::before {
  content: '';
  position: absolute; left: 1.25%; top: 2.1%;
  width: 4.6%; aspect-ratio: 46 / 12;
  background:
    radial-gradient(circle at 6px 6px, #ff5f57 5.2px, transparent 5.8px) 0 0 / 33.3% 100% no-repeat,
    radial-gradient(circle at 6px 6px, #febc2e 5.2px, transparent 5.8px) 50% 0 / 33.3% 100% no-repeat,
    radial-gradient(circle at 6px 6px, #28c840 5.2px, transparent 5.8px) 100% 0 / 33.3% 100% no-repeat;
}
.window img { width: 100%; }
.phone {
  position: relative;
  padding: 2.6%;
  border-radius: 13% / 6.2%;
  background: #0b0b0c;
  box-shadow: 0 0 0 1px #2a2a2e, var(--shadow-lg);
}
.phone img { width: 100%; border-radius: 10.5% / 4.9%; }
.crop { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.popup { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
figure { margin: 0; }
figcaption { font-size: 13.5px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---- Sections -------------------------------------------------------------------------------- */

.section { padding: 84px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 720; }
.h3 { font-size: 21px; font-weight: 680; }
.section-head .lead { font-size: 18px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.split--flip > :first-child { order: 2; }
@media (max-width: 960px) { .split, .split--flip { grid-template-columns: 1fr; gap: 36px; } .split--flip > :first-child { order: 0; } }
.stack { display: grid; gap: 14px; align-content: start; }
.stack--lg { gap: 26px; }

.checks { display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 28px; color: var(--muted); }
.checks li strong { color: var(--text); font-weight: 620; }
.checks li::before {
  content: '';
  position: absolute; left: 0; top: 0.28em;
  width: 17px; height: 17px; border-radius: 50%;
  background: color-mix(in srgb, var(--k, var(--brand)) 18%, transparent);
  -webkit-mask: none;
}
.checks li::after {
  content: '';
  position: absolute; left: 5.5px; top: calc(0.28em + 4.5px);
  width: 6px; height: 3.5px;
  border-left: 1.8px solid var(--k, var(--brand-ink));
  border-bottom: 1.8px solid var(--k, var(--brand-ink));
  transform: rotate(-45deg);
}

/* ---- Flow (Inbox to Logbook) ----------------------------------------------------------------- */

.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.flow-step {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; gap: 8px; align-content: start;
}
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute; right: -11px; top: 32px; z-index: 1;
  width: 10px; height: 10px;
  border-top: 1.6px solid var(--line-strong); border-right: 1.6px solid var(--line-strong);
  transform: rotate(45deg);
}
.flow-step .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--k); background: color-mix(in srgb, var(--k) 14%, transparent); }
.flow-step h3 { font-size: 17px; }
.flow-step p { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } .flow-step::after { display: none; } .flow-step:last-child { grid-column: 1 / -1; } }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.trio-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; align-content: start; }
.trio-card .tag { font: 650 11.5px var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.trio-card p { color: var(--muted); font-size: 14.5px; }
.trio-card--center { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 10%, transparent); }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* ---- Tour tabs ------------------------------------------------------------------------------- */

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 30px; }
.tab {
  font: 600 14.5px var(--font);
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
}
.tab:hover { color: var(--text); }
.tab[aria-selected='true'] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--k, var(--faint)); }
.tab-panel { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 1fr); gap: 34px; align-items: end; }
.js .tab-panel[hidden] { display: none; }
.no-js .tab-panel + .tab-panel { margin-top: 56px; }
.tab-panel .caption { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 1fr); gap: 34px; font-size: 14.5px; color: var(--muted); }
.tab-panel .caption strong { color: var(--text); }
@media (max-width: 760px) {
  .tab-panel, .tab-panel .caption { grid-template-columns: 1fr; }
  .tab-panel .phone { width: 62%; justify-self: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .tab-panel:not([hidden]) { animation: panel-in 0.32s var(--ease); }
  @keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
}

/* ---- Feature cards --------------------------------------------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards--3 { grid-template-columns: 1fr; } }
.card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; gap: 8px; align-content: start;
}
.card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--k, var(--brand-ink)); background: color-mix(in srgb, var(--k, var(--brand)) 14%, transparent); margin-bottom: 4px; }
.card h3 { font-size: 16.5px; font-weight: 660; letter-spacing: -0.01em; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.card .note { font-size: 12.5px; color: var(--faint); }
.section--alt .card { background: var(--surface); }

/* ---- Capture --------------------------------------------------------------------------------- */

.capture-visual { position: relative; padding: 28px; border-radius: 22px; background:
  radial-gradient(70% 60% at 30% 20%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%),
  radial-gradient(60% 60% at 90% 90%, color-mix(in srgb, var(--c-inbox) 22%, transparent), transparent 70%),
  var(--surface-2);
  border: 1px solid var(--line);
  display: grid; gap: 18px;
}
.capture-visual .popup { width: 88%; }
.capture-visual .popup--view { width: 62%; justify-self: end; margin-top: -4px; }
.capture-visual .label { font: 650 11.5px var(--font); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }

.platform-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.platform-col { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.platform-col h3 { font-size: 15.5px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.platform-col .checks li { font-size: 14.5px; }
@media (max-width: 900px) { .platform-cols { grid-template-columns: 1fr; } }

/* ---- Quick add demo -------------------------------------------------------------------------- */

.composer {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  display: grid; gap: 14px;
}
.composer-input { display: flex; align-items: center; gap: 12px; font-size: 18px; min-height: 30px; }
.composer-input .circle { width: 20px; height: 20px; border: 1.6px solid var(--line-strong); border-radius: 50%; flex: none; }
.composer-text { flex: 1; min-width: 0; }
.composer-text .t { border-radius: 4px; padding: 0 2px; }
.t--date { background: var(--chip-date); color: var(--chip-date-ink); }
.t--label { background: var(--chip-label); color: var(--chip-label-ink); }
.t--prio { background: var(--chip-prio); color: var(--chip-prio-ink); }
.t--proj { background: var(--chip-proj); color: var(--chip-proj-ink); }
.t--rep { background: var(--chip-rep); color: var(--chip-rep-ink); }
.caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--link); vertical-align: -0.15em; margin-left: 1px; }
@media (prefers-reduced-motion: no-preference) { .caret { animation: blink 1.1s steps(1) infinite; } @keyframes blink { 50% { opacity: 0; } } }
.composer-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 32px; }
.chip { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 6px; }
.examples { display: flex; flex-wrap: wrap; gap: 6px; }
.example { font: 13.5px var(--font); padding: 6px 11px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.example[aria-pressed='true'] { color: var(--text); border-color: var(--line-strong); background: var(--surface-2); }
.tokens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin-top: 6px; }
.tokens div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.tokens dt { font-weight: 620; }
.tokens dd { margin: 0; color: var(--muted); }
.tokens code { font-size: 12.5px; white-space: nowrap; display: inline-block; margin: 0 2px 4px 0; }
@media (max-width: 620px) { .tokens { grid-template-columns: 1fr; } }

/* ---- Shots ----------------------------------------------------------------------------------- */

.shot-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.shot-pair .window { box-shadow: var(--shadow); }
@media (max-width: 620px) { .shot-pair { grid-template-columns: 1fr; } }
.phones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; align-items: start; }
.phones figure:nth-child(even) { margin-top: 34px; }
@media (max-width: 900px) {
  .phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 24px; margin: 0 -20px; }
  .phones figure { flex: 0 0 46%; scroll-snap-align: center; margin-top: 0 !important; }
}
@media (max-width: 560px) { .phones figure { flex-basis: 64%; } }

/* ---- Keyboard -------------------------------------------------------------------------------- */

.keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.keys div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.keys dt { color: var(--muted); }
.keys dd { margin: 0; display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 620px) { .keys { grid-template-columns: 1fr; } }

/* ---- Download -------------------------------------------------------------------------------- */

.downloads { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1040px) { .downloads { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .downloads { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .downloads { grid-template-columns: 1fr; } }
.dl { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.dl svg.i { width: 26px; height: 26px; color: var(--text); margin-bottom: 6px; }
.dl h3 { font-size: 17px; }
.dl p { font-size: 13.5px; color: var(--muted); flex: 1; }
.dl .alt { text-align: center; }
.dl .btn { margin-top: 10px; width: 100%; }
.dl .alt { font-size: 13px; }
.reqs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
@media (max-width: 860px) { .reqs { grid-template-columns: 1fr; } }
.req { padding: 18px 20px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.req dt { font: 650 11.5px var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.req dd { margin: 0; font-size: 14.5px; color: var(--muted); }
.req dd strong { color: var(--text); }

/* ---- FAQ ------------------------------------------------------------------------------------- */

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 15px 44px 15px 18px; font-weight: 620; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 1.7px solid var(--muted); border-bottom: 1.7px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 18px 16px; color: var(--muted); font-size: 15px; display: grid; gap: 8px; }

/* ---- CTA and footer -------------------------------------------------------------------------- */

.cta { text-align: center; display: grid; justify-items: center; gap: 18px; }
.cta img { width: 84px; height: 84px; }
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 14px; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ---- Reveal ---------------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 36px; }
  .hero-visual { padding-right: 9%; margin-top: 34px; }
  .hero-visual .phone { width: 30%; }
}

@media (max-width: 620px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -20px 24px; padding: 2px 20px 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}

.widget-shot { border-radius: 12px; margin: -6px -6px 8px; width: calc(100% + 12px); max-width: none; }
