/*
 * Sauri landing. Colors come from tokens.css (the DESIGN.md palette, light first with a dark block).
 * The landing is a reading page, not the desktop app, so type, spacing and layout live here as --lp-*
 * (documented in docs/design/landing.md). Components read var(--ds-*) or var(--lp-*); raw values live
 * only in :root.
 *
 * Indigo palette: lavender is the accent, indigo is text, the main button and the one dark band;
 * volt (spark) appears only over indigo.
 * Shape rule: controls are pills, cards and frames use --lp-radius (20px), inner pieces --lp-radius-in (12px).
 * Spacing scale: 4 8 12 16 24 32 48 64 96 (--lp-1 ... --lp-9). Nothing uses a value outside it.
 * Type: the system stack (San Francisco on a Mac, the only computer Sauri runs on); nothing is downloaded.
 * Motion never hides content: blocks only slide a few pixels, so the page is complete without JavaScript,
 * before any script runs and in a capture taken without scrolling.
 */
:root {
  --lp-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lp-font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lp-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --lp-1: 4px;
  --lp-2: 8px;
  --lp-3: 12px;
  --lp-4: 16px;
  --lp-5: 24px;
  --lp-6: 32px;
  --lp-7: 48px;
  --lp-8: 64px;
  --lp-9: 96px;

  --lp-container: 1160px;
  --lp-gutter: clamp(20px, 4vw, 40px);
  --lp-section: clamp(72px, 9vw, 128px);
  --lp-header-h: 68px;
  --lp-radius: 20px;
  --lp-radius-in: 12px;
  --lp-pill: 999px;

  --lp-text-h1: clamp(2.25rem, 1.15rem + 4.6vw, 4.5rem);
  --lp-text-h2: clamp(1.875rem, 1.3rem + 2.3vw, 3rem);
  --lp-text-h3: 1.25rem;
  --lp-text-lead: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
  --lp-text-body: 1.0625rem;
  --lp-text-sm: 0.9375rem;
  --lp-text-xs: 0.8125rem;

  /* Ink surfaces (the privacy band and the closing card): indigo in both themes. */
  --lp-ink: #161223;
  --lp-ink-raise: #211b36;
  --lp-ink-fg: #f4f1fb;
  --lp-ink-muted: #b9b2d6;
  --lp-ink-line: rgb(238 234 248 / 0.16);
  --lp-spark: #c6ff24;
  --lp-spark-hover: #d6ff5c;

  /* Main action: indigo pill on light, volt pill on dark (volt only on indigo surfaces). */
  --lp-cta-bg: #161223;
  --lp-cta-bg-hover: #2f2750;
  --lp-cta-fg: #ffffff;

  --lp-wash: rgb(154 140 224 / 0.26);
  --lp-well: #ece7fa;
  --lp-shadow-card: 0 1px 2px rgb(22 18 35 / 0.04), 0 10px 28px -14px rgb(64 50 140 / 0.2);
  --lp-shadow-frame: 0 2px 4px rgb(22 18 35 / 0.05), 0 32px 72px -24px rgb(64 50 140 / 0.38);
  --lp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --lp-ink: #100d1c;
    --lp-ink-raise: #1b162b;
    --lp-cta-bg: #c6ff24;
    --lp-cta-bg-hover: #d6ff5c;
    --lp-cta-fg: #161223;
    --lp-wash: rgb(106 90 205 / 0.3);
    --lp-well: #262040;
    --lp-shadow-card: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px -16px rgb(0 0 0 / 0.55);
    --lp-shadow-frame: 0 2px 4px rgb(0 0 0 / 0.4), 0 32px 72px -24px rgb(0 0 0 / 0.7);
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--lp-header-h) + var(--lp-5)); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ds-bg);
  color: var(--ds-fg);
  font-family: var(--lp-font);
  font-size: var(--lp-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; }
img, video { display: block; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-family: var(--lp-font-display); font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--lp-text-h1); line-height: 1.05; letter-spacing: -0.022em; }
h2 { font-size: var(--lp-text-h2); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: var(--lp-text-h3); line-height: 1.3; letter-spacing: -0.012em; font-weight: 650; }
p { text-wrap: pretty; }
a { color: var(--ds-accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 650; }
code { font-family: var(--lp-font-mono); font-size: 0.88em; padding: 2px 6px; border-radius: 6px; background: var(--ds-fill); overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--ds-focus); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--lp-container) + 2 * var(--lp-gutter)); margin-inline: auto; padding-inline: var(--lp-gutter); }
.icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: absolute; left: var(--lp-4); top: -80px; z-index: 30;
  padding: var(--lp-3) var(--lp-4); border-radius: var(--lp-pill);
  background: var(--lp-cta-bg); color: var(--lp-cta-fg); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--lp-3); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--lp-2);
  min-height: 48px; padding: 0 var(--lp-5); border: 1px solid transparent; border-radius: var(--lp-pill);
  font: 600 1rem/1 var(--lp-font); letter-spacing: -0.005em; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color 180ms var(--lp-ease), border-color 180ms var(--lp-ease), color 180ms var(--lp-ease), transform 180ms var(--lp-ease);
}
.button:active { transform: scale(0.98); }
.button:focus-visible { border-radius: var(--lp-pill); }
.button--lg { min-height: 54px; padding-inline: 28px; font-size: 1.0625rem; }
.button--sm { min-height: 44px; padding-inline: 18px; font-size: var(--lp-text-sm); }
.button--primary { background: var(--lp-cta-bg); color: var(--lp-cta-fg); }
.button--primary:hover { background: var(--lp-cta-bg-hover); }
.button--secondary { background: var(--ds-surface); color: var(--ds-fg); border-color: var(--ds-border); }
.button--secondary:hover { border-color: var(--ds-border-strong); background: var(--ds-fill); }
.button--spark { background: var(--lp-spark); color: #161223; }
.button--spark:hover { background: var(--lp-spark-hover); }
.button[aria-disabled="true"] { background: var(--ds-fill-strong); color: var(--ds-fg-muted); border-color: transparent; cursor: not-allowed; pointer-events: none; }
.button[aria-disabled="true"] .icon { display: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--ds-accent-text); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow .icon { transition: transform 180ms var(--lp-ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.pill {
  display: inline-flex; align-items: center; gap: var(--lp-2); padding: 6px 14px; border-radius: var(--lp-pill);
  border: 1px solid var(--ds-border); background: var(--ds-surface); color: var(--ds-fg-muted);
  font-size: var(--lp-text-sm); font-weight: 500;
}
.pill .icon { color: var(--ds-accent-text); }

.number {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--lp-pill);
  background: var(--ds-accent-soft); color: var(--ds-accent-soft-fg); border: 1px solid var(--ds-border);
  font-size: var(--lp-text-sm); font-weight: 700; font-variant-numeric: tabular-nums;
}

.icon-tile {
  display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--lp-radius-in);
  background: var(--ds-accent-soft); color: var(--ds-accent-text); border: 1px solid var(--ds-border);
}
.icon-tile--warn { background: var(--ds-warning-soft); color: var(--ds-warning-soft-fg); border-color: transparent; }
.icon-tile--spark { background: var(--lp-ink-raise); color: var(--lp-spark); border-color: var(--lp-ink-line); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--lp-pill);
  font-size: var(--lp-text-xs); font-weight: 650; line-height: 1.4;
}
.badge--ok { background: var(--ds-success-soft); color: var(--ds-success-soft-fg); }
.badge--wait { background: var(--ds-warning-soft); color: var(--ds-warning-soft-fg); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20; height: var(--lp-header-h);
  background: var(--ds-bg); border-bottom: 1px solid var(--ds-border);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--lp-4); }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; border-radius: 8px; }
.brand img { width: 96px; height: 30px; }
.site-nav { display: none; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--ds-border); border-radius: var(--lp-pill); background: var(--ds-surface); }
.site-nav a {
  padding: 8px 16px; border-radius: var(--lp-pill); color: var(--ds-fg-muted); font-size: var(--lp-text-sm); font-weight: 500; text-decoration: none;
  transition: background-color 180ms var(--lp-ease), color 180ms var(--lp-ease);
}
.site-nav a:hover { color: var(--ds-fg); background: var(--ds-fill); }
.site-nav a.is-current { color: var(--ds-accent-soft-fg); background: var(--ds-accent-soft); }
.site-nav a:focus-visible { border-radius: var(--lp-pill); }
@media (min-width: 860px) { .site-nav { display: inline-flex; } }

/* Hero */
.hero { position: relative; isolation: isolate; padding-top: clamp(48px, 7vw, 88px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 640px; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, var(--lp-wash), transparent 72%);
}
.hero__inner { display: grid; justify-items: center; text-align: center; gap: var(--lp-5); }
.hero h1 { max-width: 15.5em; }
.hero h1 em { font-style: normal; color: var(--ds-accent-text); }
.lead { max-width: 30em; text-wrap: balance; color: var(--ds-fg-muted); font-size: var(--lp-text-lead); line-height: 1.5; }
.hero__actions { display: grid; justify-items: center; gap: var(--lp-3); margin-top: var(--lp-2); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--lp-3); }
.hero__meta { color: var(--ds-fg-subtle); font-size: var(--lp-text-sm); }
.download-note { color: var(--ds-fg-muted); font-size: var(--lp-text-sm); }
.download-note:empty { display: none; }
.hero__visual { margin-top: clamp(40px, 6vw, 72px); }

.window { border: 1px solid var(--ds-border); border-radius: var(--lp-radius); background: var(--ds-surface); box-shadow: var(--lp-shadow-frame); overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 8px; height: 36px; padding-inline: var(--lp-4); background: var(--ds-sidebar); border-bottom: 1px solid var(--ds-border); }
.window__bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--ds-fill-strong); }
.window img, .window video { width: 100%; }
.window--flat { border-radius: var(--lp-radius-in); box-shadow: var(--lp-shadow-card); }
.hero .window { border-bottom: 0; border-end-start-radius: 0; border-end-end-radius: 0; }
.hero { border-bottom: 1px solid var(--ds-border); }

/* Sections */
.section { padding-block: var(--lp-section); }
.section--tinted { background: var(--ds-sidebar); }
.section__header { display: grid; gap: var(--lp-4); max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section__header--center { margin-inline: auto; text-align: center; justify-items: center; }
.section__intro { color: var(--ds-fg-muted); font-size: var(--lp-text-lead); line-height: 1.5; max-width: 38em; }

/* How it works: three cards sized to their screenshots */
.steps { display: grid; gap: var(--lp-5); }
.step { display: grid; align-content: space-between; gap: var(--lp-6); padding: clamp(24px, 3vw, 32px); padding-bottom: 0; overflow: hidden;
  background: var(--ds-surface); border: 1px solid var(--ds-border); border-radius: var(--lp-radius); box-shadow: var(--lp-shadow-card); }
.step__text { display: grid; gap: var(--lp-3); align-content: start; justify-items: start; }
.step__text p { color: var(--ds-fg-muted); max-width: 34em; }
.step__text h3 { font-size: 1.375rem; }
.step__media { align-self: end; }
.step__media img { width: 100%; border: 1px solid var(--ds-border); border-bottom: 0; border-radius: var(--lp-radius-in) var(--lp-radius-in) 0 0; box-shadow: var(--lp-shadow-card); }
.step--record .step__media { width: 100%; max-width: 480px; margin-inline: auto; }
.step__media--pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--lp-4); align-items: end; }
.step__crop { max-height: 340px; overflow: hidden; }
@media (max-width: 599px) {
  .step__media--pair { grid-template-columns: 1fr; }
  .step__media--pair figure + figure { display: none; }
  .step__crop { max-height: 300px; }
}
@media (min-width: 900px) {
  .steps { grid-template-columns: 5fr 7fr; }
  .step--summary { grid-column: 1 / -1; grid-template-columns: 5fr 7fr; gap: var(--lp-7); align-content: stretch; }
  .step--summary .step__text { align-content: center; padding-bottom: var(--lp-6); }
  .step--summary .step__media { align-self: end; }
}

/* Features: the product clip beside a plain list */
.showcase { display: grid; gap: var(--lp-7); align-items: center; }
.showcase__media { display: grid; gap: var(--lp-4); }
.showcase__caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--lp-3) var(--lp-5); }
.showcase__caption p { flex: 1 1 18em; color: var(--ds-fg-muted); font-size: var(--lp-text-sm); }
.showcase__caption strong { color: var(--ds-fg); }
.motion-toggle {
  min-height: 36px; padding: 0 var(--lp-4); border-radius: var(--lp-pill); border: 1px solid var(--ds-border); background: var(--ds-surface);
  color: var(--ds-fg); font: 600 var(--lp-text-xs)/1 var(--lp-font); cursor: pointer;
}
.motion-toggle:hover { border-color: var(--ds-border-strong); }
.motion-toggle:focus-visible { border-radius: var(--lp-pill); }
@media (pointer: coarse) { .motion-toggle { min-height: 44px; } }
.showcase__text { display: grid; gap: var(--lp-6); }
.features { display: grid; }
.features li { display: grid; grid-template-columns: auto 1fr; gap: var(--lp-4); padding-block: var(--lp-4); border-top: 1px solid var(--ds-border); }
.features .icon { margin-top: 3px; color: var(--ds-accent-text); }
.features h3 { font-size: var(--lp-text-body); }
.features p { color: var(--ds-fg-muted); font-size: var(--lp-text-sm); }
@media (min-width: 960px) { .showcase { grid-template-columns: 7fr 5fr; gap: var(--lp-8); } }

/* Privacy: the one indigo band */
.section--ink { background: var(--lp-ink); color: var(--lp-ink-fg); --ds-focus: var(--lp-spark); }
.section--ink .section__intro { color: var(--lp-ink-muted); }
.privacy { display: grid; }
.privacy li { display: grid; gap: var(--lp-3); align-content: start; padding-block: var(--lp-6); border-top: 1px solid var(--lp-ink-line); }
.privacy .icon { color: var(--lp-spark); margin-bottom: var(--lp-2); }
.privacy p { color: var(--lp-ink-muted); }
.privacy__more { margin-top: var(--lp-5); padding-top: var(--lp-5); border-top: 1px solid var(--lp-ink-line); text-align: center; }
.section--ink .link-arrow { color: var(--lp-spark); }
@media (min-width: 860px) {
  .privacy { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--lp-ink-line); }
  .privacy li { border-top: 0; padding: var(--lp-7) var(--lp-6); }
  .privacy li + li { border-inline-start: 1px solid var(--lp-ink-line); }
  .privacy li:first-child { padding-inline-start: 0; }
  .privacy li:last-child { padding-inline-end: 0; }
  .privacy__more { margin-top: 0; }
}

/* Download */
.products { display: grid; gap: var(--lp-5); }
.product { display: grid; gap: var(--lp-4); align-content: start; padding: clamp(24px, 3vw, 40px);
  background: var(--ds-surface); border: 1px solid var(--ds-border); border-radius: var(--lp-radius); box-shadow: var(--lp-shadow-card); }
.product__top { display: flex; align-items: center; justify-content: space-between; gap: var(--lp-4); margin-bottom: var(--lp-2); }
.product h3 { font-family: var(--lp-font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
.product__meta { color: var(--ds-fg-muted); }
.product__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lp-2) var(--lp-5); margin-top: var(--lp-2); }
.product__sha { margin-top: var(--lp-2); padding-top: var(--lp-4); border-top: 1px solid var(--ds-border); font-size: var(--lp-text-sm); color: var(--ds-fg-muted); }
.product__sha p { margin-top: var(--lp-3); }
.product__hash { display: block; margin-top: var(--lp-3); padding: var(--lp-3); border-radius: var(--lp-radius-in); font-size: var(--lp-text-xs); line-height: 1.6; color: var(--ds-fg); }
.notice { display: grid; gap: var(--lp-2); padding: var(--lp-4) var(--lp-5); border-radius: var(--lp-radius-in); background: var(--ds-warning-soft); color: var(--ds-warning-soft-fg); font-size: var(--lp-text-sm); }
.notice strong { display: block; }
@media (min-width: 860px) { .products { grid-template-columns: 1fr 1fr; } }

summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .icon { transition: transform 200ms var(--lp-ease); }
details[open] > summary .icon { transform: rotate(180deg); }
.product__sha summary, .uninstall summary { display: flex; align-items: center; justify-content: space-between; gap: var(--lp-4); min-height: 44px; font-weight: 600; color: var(--ds-fg); }
.product__sha summary { justify-content: flex-start; gap: var(--lp-2); }

.needs { margin-top: var(--lp-5); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--ds-border); border-radius: var(--lp-radius); display: grid; gap: var(--lp-5); }
.needs__list { display: grid; gap: var(--lp-5); }
.needs__list li { display: grid; grid-template-columns: auto 1fr; gap: var(--lp-3); align-items: start; align-content: start; }
.needs__list .icon { margin-top: 2px; color: var(--ds-accent-text); }
.needs__list p { color: var(--ds-fg-muted); font-size: var(--lp-text-sm); line-height: 1.5; }
.needs__list strong { display: block; color: var(--ds-fg); font-size: var(--lp-text-body); margin-bottom: 2px; }
@media (min-width: 600px) { .needs__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .needs__list { grid-template-columns: repeat(5, 1fr); gap: var(--lp-6); }
  .needs__list li { grid-template-columns: 1fr; }
}

.unsigned { margin-top: var(--lp-5); display: grid; gap: var(--lp-4); align-items: center; padding: var(--lp-5) clamp(24px, 3vw, 40px);
  border-radius: var(--lp-radius); background: var(--ds-accent-soft); border: 1px solid var(--ds-border); }
.unsigned__text { display: grid; gap: var(--lp-1); }
.unsigned__text p { color: var(--ds-fg-muted); }
.unsigned .button { justify-self: start; }
@media (min-width: 860px) { .unsigned { grid-template-columns: auto 1fr auto; gap: var(--lp-5); } }

/* First launch: five illustrated steps plus the reassurance card, a 3 x 2 grid */
.install { display: grid; gap: var(--lp-5); }
.install__step { display: grid; align-content: start; gap: var(--lp-5); padding: var(--lp-4); padding-bottom: var(--lp-6);
  background: var(--ds-surface); border: 1px solid var(--ds-border); border-radius: var(--lp-radius); box-shadow: var(--lp-shadow-card); }
.install__art { display: block; width: 100%; height: auto; border-radius: var(--lp-radius-in); background: var(--lp-well); }
.install__art text { font-family: var(--lp-font); }
.install__text { display: grid; gap: var(--lp-2); padding-inline: var(--lp-2); justify-items: start; }
.install__text .number { margin-bottom: var(--lp-1); }
.install__text p { color: var(--ds-fg-muted); font-size: var(--lp-text-sm); line-height: 1.6; }
.install__safe { display: grid; align-content: center; justify-items: start; gap: var(--lp-3); padding: clamp(24px, 3vw, 32px);
  background: var(--lp-ink); color: var(--lp-ink-fg); border: 1px solid var(--lp-ink-line); border-radius: var(--lp-radius); --ds-focus: var(--lp-spark); }
.install__safe .icon-tile { margin-bottom: var(--lp-2); }
.install__safe p { color: var(--lp-ink-muted); font-size: var(--lp-text-sm); line-height: 1.6; }
.install__safe a { color: var(--lp-spark); }
@media (min-width: 640px) { .install { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .install { grid-template-columns: repeat(3, 1fr); } }

.art-window { fill: var(--ds-surface); stroke: var(--ds-border-strong); stroke-width: 1; }
.art-backdrop { fill: var(--ds-fill-strong); opacity: 0.55; }
.art-sidebar { fill: var(--ds-sidebar); }
.art-dot { fill: var(--ds-fill-strong); }
.art-label { fill: var(--ds-fg); font-size: 13px; font-weight: 600; }
.art-heading { fill: var(--ds-fg); font-size: 15px; font-weight: 700; }
.art-arrow { fill: none; stroke: var(--ds-accent-line); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.art-folder { fill: var(--ds-accent-muted); }
.art-warn { fill: var(--ds-warning); }
.art-warn-mark { stroke: var(--ds-surface); stroke-width: 2.5; stroke-linecap: round; }
.art-line { fill: var(--ds-fg-subtle); }
.art-line--soft { fill: var(--ds-fill-strong); }
.art-button { fill: var(--ds-fill); stroke: var(--ds-border); }
.art-panel { fill: var(--ds-fill); }
.art-pick { fill: var(--ds-accent); }
.art-pick-label { fill: var(--ds-accent-fg); font-size: 12px; font-weight: 600; }
.art-focus { fill: none; stroke: var(--ds-accent-muted); stroke-width: 4; }
.art-cta { fill: var(--ds-accent); }
.art-cta-label { fill: var(--ds-accent-fg); font-size: 12px; font-weight: 600; }
.art-lock { fill: var(--ds-accent); }
.art-lock-arc { fill: none; stroke: var(--ds-accent); stroke-width: 4; }
.art-field { fill: var(--ds-bg); stroke: var(--ds-border-strong); }
.art-dots { fill: var(--ds-fg); font-size: 14px; letter-spacing: 2px; }
.art-pointer { fill: var(--ds-fg); stroke: var(--ds-surface); stroke-width: 1.5; stroke-linejoin: round; }

/* First minutes: three steps joined by a line */
.setup { display: grid; gap: var(--lp-6); }
.setup__step { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: var(--lp-4); row-gap: var(--lp-2); align-content: start; }
.setup__step .icon-tile { grid-row: 1 / span 3; position: relative; z-index: 1; background: var(--ds-surface); }
.setup__step h3 { align-self: center; min-height: 44px; display: flex; align-items: center; }
.setup__step p { grid-column: 2; color: var(--ds-fg-muted); font-size: var(--lp-text-sm); line-height: 1.6; }
.setup__step:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: calc(-1 * var(--lp-6)); width: 1px; background: var(--ds-border); }
.setup__note { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: var(--lp-1); padding: 4px 12px; border-radius: var(--lp-pill);
  background: var(--ds-accent-soft); color: var(--ds-accent-soft-fg) !important; font-weight: 600; font-size: var(--lp-text-xs) !important; }
@media (min-width: 860px) {
  .setup { grid-template-columns: repeat(3, 1fr); gap: var(--lp-7); }
  .setup__step { grid-template-columns: 1fr; row-gap: var(--lp-3); }
  .setup__step .icon-tile { grid-row: auto; margin-bottom: var(--lp-2); }
  .setup__step h3 { min-height: 0; }
  .setup__step p { grid-column: 1; }
  .setup__step:not(:last-child)::before { left: 44px; right: calc(-1 * var(--lp-7)); top: 22px; bottom: auto; width: auto; height: 1px; }
}

.uninstall { margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--ds-border); border-radius: var(--lp-radius); background: var(--ds-surface); }
.uninstall summary { padding: var(--lp-4) var(--lp-5); min-height: 60px; border-radius: var(--lp-radius); }
.uninstall__body { display: grid; gap: var(--lp-3); padding: 0 var(--lp-5) var(--lp-5); color: var(--ds-fg-muted); font-size: var(--lp-text-sm); line-height: 1.65; max-width: 62rem; }
.uninstall__body strong { color: var(--ds-fg); }

/* FAQ */
.faq { display: grid; gap: var(--lp-6); }
.faq__lead { display: grid; gap: var(--lp-4); align-content: start; }
.faq__lead p { color: var(--ds-fg-muted); }
.faq__list { border-top: 1px solid var(--ds-border); }
.faq__list details { border-bottom: 1px solid var(--ds-border); }
.faq__list summary:focus-visible { outline-offset: 0; border-radius: 8px; }
.faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: var(--lp-4); min-height: 64px; padding-block: var(--lp-4); font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.faq__list summary .icon { color: var(--ds-fg-subtle); }
.faq__list summary:hover { color: var(--ds-accent-text); }
.faq__list details p { padding-bottom: var(--lp-5); max-width: 40em; color: var(--ds-fg-muted); }
@media (min-width: 960px) {
  .faq { grid-template-columns: 4fr 7fr; gap: var(--lp-8); }
  .faq__lead { position: sticky; top: calc(var(--lp-header-h) + var(--lp-6)); align-self: start; }
}

/* Closing */
.closing { padding-block: var(--lp-section); }
.closing__card { display: grid; justify-items: center; text-align: center; gap: var(--lp-4); padding: clamp(48px, 7vw, 96px) var(--lp-5);
  border-radius: calc(var(--lp-radius) + 8px); background: var(--lp-ink); color: var(--lp-ink-fg); border: 1px solid var(--lp-ink-line);
  background-image: radial-gradient(70% 120% at 50% 0%, rgb(106 90 205 / 0.32), transparent 70%); --ds-focus: var(--lp-spark); }
.closing__mark { margin-bottom: var(--lp-2); border-radius: 17px; }
.closing__card > p { color: var(--lp-ink-muted); font-size: var(--lp-text-lead); }
.closing__card .button { margin-top: var(--lp-3); }
.closing__card .download-note { color: var(--lp-ink-muted); }
.closing__card .download-note a { color: var(--lp-spark); }

/* Footer */
.site-footer { border-top: 1px solid var(--ds-border); padding-block: var(--lp-7); font-size: var(--lp-text-sm); }
.site-footer__inner { display: grid; gap: var(--lp-6); }
.site-footer__brand { display: grid; gap: var(--lp-3); align-content: start; color: var(--ds-fg-muted); max-width: 22em; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lp-5); }
.site-footer__nav ul { display: grid; align-content: start; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ds-fg-muted); text-decoration: none; }
.site-footer__nav a:hover { color: var(--ds-fg); text-decoration: underline; }
@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr auto; }
  .site-footer__nav { grid-template-columns: repeat(2, auto); gap: var(--lp-8); }
}

/* Privacy policy page */
.policy { position: relative; isolation: isolate; padding-block: clamp(48px, 7vw, 88px) var(--lp-section); }
.policy::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 420px; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, var(--lp-wash), transparent 72%);
}
.policy__inner { max-width: calc(46rem + 2 * var(--lp-gutter)); display: grid; gap: var(--lp-7); }
.policy__inner--en { margin-top: var(--lp-section); padding-top: var(--lp-section); border-top: 1px solid var(--ds-border); }
.policy h1, .policy__h1 { font-size: clamp(2.125rem, 1.3rem + 3.4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.03em; }
.policy h2, .policy__inner--en h3 { font-family: var(--lp-font-display); font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.policy section { display: grid; gap: var(--lp-3); }
.policy section h3 { margin-top: var(--lp-3); }
.policy__inner:not(.policy__inner--en) section h3, .policy__inner--en h4 { font-size: 1.125rem; }
.policy p, .policy li { color: var(--ds-fg-muted); }
.policy strong { color: var(--ds-fg); }
.policy ul { display: grid; gap: var(--lp-2); padding-inline-start: var(--lp-5); list-style: disc; }
.policy li::marker { color: var(--ds-accent-muted); }
.policy__date { color: var(--ds-fg-subtle); font-size: var(--lp-text-sm); margin-top: calc(-1 * var(--lp-5)); }
.policy__publisher { padding: clamp(24px, 3vw, 32px); border: 1px solid var(--ds-border); border-radius: var(--lp-radius); background: var(--ds-surface); box-shadow: var(--lp-shadow-card); }
.policy .policy__publisher h2, .policy .policy__publisher h3 { font-family: var(--lp-font); font-size: var(--lp-text-h3); letter-spacing: -0.012em; margin: 0 0 var(--lp-2); }
.policy__publisher dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: var(--lp-2) var(--lp-5); font-size: var(--lp-text-sm); }
.policy__publisher dt { font-weight: 600; }
.policy__publisher dd { margin: 0; color: var(--ds-fg-muted); overflow-wrap: anywhere; }
@media (max-width: 519px) { .policy__publisher dl { grid-template-columns: 1fr; } .policy__publisher dd { margin-bottom: var(--lp-2); } }
.site-nav--always { display: inline-flex; }
/* On a phone the logo already leads home, so the header keeps only the language switch. */
@media (max-width: 519px) { .button--back { display: none; } }

/* Motion: a short slide only, never opacity, and only when the visitor accepts motion. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .reveal { transform: translateY(18px); transition: transform 520ms var(--lp-ease); }
  .js .reveal.is-in { transform: none; }
  .js .steps > .reveal:nth-child(2), .js .products > .reveal:nth-child(2), .js .privacy > .reveal:nth-child(2), .js .setup > .reveal:nth-child(2), .js .install > .reveal:nth-child(3n + 2) { transition-delay: 70ms; }
  .js .privacy > .reveal:nth-child(3), .js .setup > .reveal:nth-child(3), .js .install > .reveal:nth-child(3n) { transition-delay: 140ms; }
  .hero .window { animation: lp-rise 700ms var(--lp-ease) both; }
  @keyframes lp-rise { from { transform: translateY(24px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .skip-link, .motion-toggle { display: none; }
  .js .reveal { transform: none; }
}
