/* ============================================================
   Audiary · Éditorial — Landing stylesheet
   Ported from Claude Design handoff (DS Éditorial).
   Single file: tokens + base + page sections.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,500;1,6..72,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  color-scheme: light;

  /* ---- Palette (ink on warm paper, terracotta accent) ---- */
  --ed-ink:          #241E17;
  --ed-glyph:        #2A2118;
  --ed-sub:          #8B8275;
  --ed-mute:         #C3B9A8;
  --ed-faint:        #B5AC9E;

  --ed-paper:        #F4EEE3;
  --ed-card:         #FBF7EF;
  --ed-paper-deep:   #EEE6D5;
  --ed-cover-blank:  #DCD4C2;

  --ed-accent:       #B65A36;
  --ed-accent-deep:  #8B4424;
  --ed-accent-soft:  #D4926A;
  --ed-gold:         #D8A24A;

  --ed-sage:         #5E7B57;

  --ed-line:         rgba(60, 40, 24, 0.10);
  --ed-line-soft:    rgba(60, 40, 24, 0.07);
  --ed-border:       #DCD4C2;
  --ed-shadow-far:   rgba(60, 40, 24, 0.28);
  --ed-shadow-tight: rgba(60, 40, 24, 0.16);

  --ed-bar-gradient:     linear-gradient(135deg, #B65A36 6%, #D8A24A 97%);
  --ed-accent-gradient:  linear-gradient(135deg, #B65A36, #8B4424);

  /* Semantic aliases */
  --surface-page:   var(--ed-paper);
  --surface-card:   var(--ed-card);
  --surface-sunken: var(--ed-paper-deep);
  --text-primary:   var(--ed-ink);
  --text-secondary: var(--ed-sub);
  --text-tertiary:  var(--ed-mute);
  --text-on-ink:    var(--ed-paper);
  --accent:         var(--ed-accent);
  --border-hair:    var(--ed-line);
  --border-soft:    var(--ed-line-soft);
  --border-solid:   var(--ed-border);

  /* Type */
  --font-serif: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* Radii */
  --radius-sm:     10px;
  --radius-md:     12px;
  --radius-card:   16px;
  --radius-lg:     18px;
  --radius-pill:   999px;

  /* Shadows */
  --shadow-card:
    0 1px 2px var(--ed-line-soft),
    0 8px 22px rgba(60, 40, 24, 0.06);
  --shadow-cover:
    0 12px 28px var(--ed-shadow-far),
    0 2px 6px var(--ed-shadow-tight);
  --shadow-float:
    0 14px 34px rgba(60, 40, 24, 0.18),
    0 2px 8px rgba(60, 40, 24, 0.10);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(182, 90, 54, .18); }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.ed-serif { font-family: var(--font-serif); }
.ed-sans  { font-family: var(--font-sans); }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* ---- Eyebrow (small caps, tracked, terracotta) ---- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow--gold { color: var(--ed-gold); }

/* ---- Section scaffolding ---- */
.section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
.section--sunken { background: var(--surface-sunken); }
.sec-head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.sec-title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: var(--weight-medium);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  color: var(--text-primary);
}
.sec-sub {
  margin: 16px auto 0;
  max-width: 540px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.55;
}
.on-ink .sec-title { color: var(--ed-paper); }
.on-ink .sec-sub   { color: rgba(244, 238, 227, .7); }

/* ---- Reveal animation ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* =========================== NAV =========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 238, 227, .72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav--scrolled {
  border-bottom-color: var(--border-hair);
  background: rgba(244, 238, 227, .86);
  box-shadow: 0 1px 0 var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; }
.nav-logo .logo-word {
  font-family: var(--font-serif);
  font-weight: var(--weight-semibold);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ed-ink);
  line-height: 1;
}
.nav-logo .logo-word .dot { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 15px;
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  transition: color .15s var(--ease-std);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: var(--weight-semibold);
  padding: 8px;
  border-radius: var(--radius-pill);
  transition: color .15s;
}
.lang-btn:hover { color: var(--text-primary); }
.lang-globe svg { width: 18px; height: 18px; display: block; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 180px;
  background: var(--surface-card);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  padding: 6px;
  overflow: hidden;
  animation: pop .18s var(--ease-out);
  z-index: 70;
}
.lang.is-open .lang-menu { display: block; }
.lang-menu { display: none; }
@keyframes pop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  transition: background .12s, color .12s;
}
.lang-opt:hover { background: var(--surface-sunken); color: var(--text-primary); }
.lang-opt.is-active { color: var(--accent); font-weight: var(--weight-semibold); }
.lang-flag { font-size: 16px; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 6px;
}
.nav-burger svg { width: 24px; height: 24px; }
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 18px;
  gap: 4px;
  border-bottom: 1px solid var(--border-hair);
  background: rgba(244, 238, 227, .96);
}
.nav.is-open .nav-mobile { display: flex; }
.nav-mobile a {
  padding: 12px 4px;
  font-size: 16px;
  font-weight: var(--weight-medium);
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-primary);
}

/* ========= Buttons (pill, paper-and-ink) ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: var(--weight-bold);
  line-height: 1;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform .15s var(--ease-std), filter .15s var(--ease-std);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: scale(.97); }
.btn--sm { font-size: 13px; padding: 9px 18px; gap: 7px; }
.btn--md { font-size: 15px; padding: 13px 24px; }
.btn--lg { font-size: 16px; padding: 16px 30px; gap: 9px; }
.btn--ink { background: var(--ed-ink); color: var(--text-on-ink); }
.btn--ink:hover { filter: brightness(1.08); }
.btn--accent { background: var(--accent); color: var(--text-on-ink); }
.btn--accent:hover { filter: brightness(1.05); }
.btn--outline {
  background: var(--surface-card);
  color: var(--text-primary);
  border: 1px solid var(--border-solid);
}
.btn--outline:hover { background: var(--surface-sunken); }
.btn .btn-ic { display: inline-flex; }
.btn .btn-ic svg { width: 18px; height: 18px; display: block; }

/* =========================== HERO =========================== */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 92px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(182, 90, 54, .10), transparent 70%),
    radial-gradient(70% 60% at 8% 100%, rgba(36, 30, 23, .06), transparent 70%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-title {
  font-size: clamp(44px, 7vw, 82px);
  font-weight: var(--weight-medium);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 6px 0 0;
  color: var(--text-primary);
}
.hero-title .dot { color: var(--accent); }
.hero-tagline {
  font-size: clamp(19px, 2.3vw, 24px);
  color: var(--text-secondary);
  margin: 22px 0 0;
  line-height: 1.4;
  font-weight: var(--weight-regular);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 22px 0 0;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-meta {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 20px 0 0;
  letter-spacing: .2px;
}

.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}
.hero-phone-glow {
  position: absolute;
  width: 78%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 90, 54, .16), transparent 68%);
  filter: blur(20px);
  z-index: 0;
}
.hero-carousel {
  position: relative;
  width: 296px;
  min-height: 540px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .45s var(--ease-out);
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-dots {
  display: flex;
  gap: 7px;
  margin-top: 26px;
  z-index: 2;
}
.hero-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--ed-mute);
  padding: 0;
  transition: background .2s, width .2s;
}
.hero-dots .dot.is-active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-solid);
  background: var(--surface-card);
  color: var(--text-primary);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
  transition: transform .15s, color .15s;
}
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow:hover { color: var(--accent); }
.carousel-arrow:active { transform: translateY(-50%) scale(.92); }
.carousel-arrow.prev { left: -8px; }
.carousel-arrow.next { right: -8px; }

/* =========================== iPhone bezel =========================== */
.iphone { display: block; }
.iphone-frame {
  position: relative;
  padding: 3.4%;
  background: linear-gradient(150deg, #2c241b, #15110c 60%);
  border-radius: 13.5%/6.4%;
  box-shadow:
    var(--shadow-cover),
    inset 0 0 0 1.5px rgba(120, 100, 80, .25);
}
.iphone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 10.5%/5.1%;
  background: #000;
  line-height: 0;
}
.iphone-screen img { width: 100%; display: block; }
.iphone-btn { position: absolute; background: #0f0c08; border-radius: 2px; }
.iphone-btn-mute  { left: -2px; top: 17%; width: 3px; height: 4%; }
.iphone-btn-vol1  { left: -2px; top: 25%; width: 3px; height: 7%; }
.iphone-btn-vol2  { left: -2px; top: 35%; width: 3px; height: 7%; }
.iphone-btn-power { right: -2px; top: 27%; width: 3px; height: 10%; }

/* =========================== FEATURES =========================== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 18px;
}
.feat-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-card);
  padding: 22px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.feat-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(182, 90, 54, .10);
  color: var(--accent);
  margin-bottom: 16px;
}
.feat-icon svg { width: 23px; height: 23px; }
.feat-title {
  font-size: 20px;
  font-weight: var(--weight-semibold);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.feat-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* =========================== SOURCES =========================== */
.src-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.src-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform .25s var(--ease-out);
}
.src-card:hover { transform: translateY(-3px); }
.src-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.src-num {
  font-size: 30px;
  color: var(--ed-mute);
  font-weight: var(--weight-medium);
  letter-spacing: -0.02em;
}
.src-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(182, 90, 54, .10);
  color: var(--accent);
}
.src-icon svg { width: 22px; height: 22px; }
.src-title {
  font-size: 24px;
  font-weight: var(--weight-semibold);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.src-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 18px;
}
.src-covers {
  display: flex;
  gap: 12px;
  margin: 0 0 20px;
}
.book-cover {
  position: relative;
  width: 66px;
  height: 88px;
  border-radius: 7px;
  overflow: hidden;
  box-shadow:
    0 6px 14px var(--ed-shadow-far),
    0 1px 3px var(--ed-shadow-tight);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px 7px;
  box-sizing: border-box;
  font-family: var(--font-serif);
}
.book-cover .rule {
  width: 18px;
  height: 2px;
  opacity: .9;
}
.book-cover .ttl {
  font-weight: var(--weight-semibold);
  font-size: 9px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-cover .auth {
  font-family: var(--font-sans);
  font-size: 6px;
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.book-cover.p-0 { background: var(--ed-paper-deep); color: var(--ed-ink); }
.book-cover.p-0 .rule { background: var(--accent); }
.book-cover.p-0 .auth { color: var(--ed-sub); }
.book-cover.p-1 { background: var(--accent); color: #FBEFE6; }
.book-cover.p-1 .rule { background: #FBEFE6; }
.book-cover.p-1 .auth { color: rgba(251, 239, 230, .7); }
.book-cover.p-2 { background: var(--ed-ink); color: #F1E7D6; }
.book-cover.p-2 .rule { background: var(--ed-gold); }
.book-cover.p-2 .auth { color: rgba(241, 231, 214, .6); }

.src-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.src-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
}
.tick {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.tick svg { width: 16px; height: 16px; }

/* =========================== GALLERY =========================== */
.gallery-rail {
  overflow-x: auto;
  padding: 12px 0 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ed-mute) transparent;
}
.gallery-rail::-webkit-scrollbar { height: 8px; }
.gallery-rail::-webkit-scrollbar-thumb {
  background: var(--ed-mute);
  border-radius: 4px;
}
.gallery-track {
  display: flex;
  gap: 26px;
  padding: 0 clamp(20px, 5vw, 40px);
  width: max-content;
}
.gallery-item {
  margin: 0;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.gallery-label {
  font-size: 12px;
  font-weight: var(--weight-bold);
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* =========================== FAQ =========================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--border-hair);
}
.faq-item { border-bottom: 1px solid var(--border-hair); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.faq-q > span:first-child {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.faq-sign {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform .3s var(--ease-out);
}
.faq-sign svg { width: 20px; height: 20px; }
.faq-item.is-open .faq-sign { transform: rotate(45deg); }
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease-out);
}
.faq-item.is-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a {
  overflow: hidden;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--text-secondary);
  padding-right: 46px;
}
.faq-item.is-open .faq-a { padding-bottom: 22px; }

/* =========================== PREMIUM =========================== */
.premium {
  background: var(--ed-ink);
  overflow: hidden;
  position: relative;
}
.premium-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(216, 162, 74, .12), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, rgba(182, 90, 54, .14), transparent 72%);
}
.premium-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.premium-crown {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(216, 162, 74, .14);
  color: var(--ed-gold);
  margin-bottom: 22px;
}
.premium-crown svg { width: 30px; height: 30px; }
.premium-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: var(--weight-medium);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ed-paper);
}
.premium-title .grad {
  background: var(--ed-bar-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.premium-sub {
  font-size: 19px;
  color: rgba(244, 238, 227, .66);
  margin: 18px 0 0;
}
.premium-feats {
  list-style: none;
  margin: 38px auto 0;
  padding: 0;
  max-width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
  text-align: left;
}
.premium-feats li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ed-paper);
}
.tick--gold { color: var(--ed-gold); }
.premium-cta { margin-top: 42px; }

/* =========================== DOWNLOAD =========================== */
.download { text-align: center; }
.download-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.download-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: var(--shadow-cover);
  margin-bottom: 26px;
}
.download-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: var(--weight-medium);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.download-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 30px;
  max-width: 440px;
}

/* =========================== FOOTER =========================== */
.footer {
  background: var(--surface-sunken);
  border-top: 1px solid var(--border-hair);
  padding: clamp(48px, 6vw, 72px) 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand { max-width: 280px; }
.footer-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--text-secondary);
  margin: 16px 0 0;
}
.footer-h {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: var(--weight-bold);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col a {
  font-size: 14.5px;
  color: var(--text-secondary);
  transition: color .15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-col a.is-active {
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
}
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-hair);
  font-size: 13px;
  color: var(--text-tertiary);
}
.footer-made {
  font-family: var(--font-serif);
  font-style: italic;
}

/* =========================== Responsive =========================== */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero-actions,
  .hero-tagline,
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stage { margin-top: 36px; min-height: 0; }
  .src-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .premium-feats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .hero-carousel { width: 260px; min-height: 480px; }
  .carousel-arrow.prev { left: -22px; }
  .carousel-arrow.next { right: -22px; }
}

/* ============================================================
   Annex pages — support, privacy, terms
   Re-skins the legacy class names from the neon site (.navbar,
   .footer, .legal-section, .faq-item…) in the editorial idiom
   so annex HTML only needs a head swap.
   ============================================================ */

/* Annex container behaves like .wrap */
.support-page .container,
.legal-page .container,
.navbar .container,
.footer .container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* Legacy nav (.navbar) — editorial sticky paper */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 238, 227, .86);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border-hair);
  box-shadow: 0 1px 0 var(--border-soft);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.navbar .logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.navbar .logo-text {
  font-family: var(--font-serif);
  font-weight: var(--weight-semibold);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ed-ink);
  line-height: 1;
}

/* Page body */
.support-page,
.legal-page {
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 80px);
  background: var(--surface-page);
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: var(--weight-medium);
  margin-bottom: 36px;
  transition: color .15s;
}
.back-link:hover { color: var(--accent); }
.back-link svg { width: 18px; height: 18px; }

/* Page header */
.support-header,
.legal-header {
  text-align: center;
  margin: 0 auto clamp(36px, 5vw, 56px);
  max-width: 720px;
}
.support-header h1,
.legal-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.2vw, 56px);
  font-weight: var(--weight-medium);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0;
  background: none;
  -webkit-text-fill-color: initial;
}
.support-header p {
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
}
.legal-header .last-updated {
  margin: 14px 0 0;
  color: var(--text-tertiary);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: .3px;
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
}

/* Sections */
.support-section,
.legal-section {
  background: var(--surface-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-card);
  padding: clamp(28px, 4vw, 44px);
  margin: 0 auto 24px;
  max-width: 800px;
  box-shadow: var(--shadow-card);
  backdrop-filter: none;
}
.support-section h2,
.legal-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: 0 0 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.support-section h3,
.legal-section h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: 28px 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.support-section h3:first-of-type,
.legal-section h3:first-of-type { margin-top: 0; }
.support-section p,
.legal-section p {
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 16px;
}
.support-section ul, .support-section ol,
.legal-section ul, .legal-section ol {
  margin: 0 0 16px 1.4rem;
  padding: 0;
  list-style: disc;
}
.support-section ol, .legal-section ol { list-style: decimal; }
.support-section li,
.legal-section li {
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 6px;
}
.support-section strong,
.legal-section strong {
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
}
.support-section a,
.legal-section a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(182, 90, 54, .35);
  transition: border-color .15s, color .15s;
}
.support-section a:hover,
.legal-section a:hover {
  color: var(--ed-accent-deep);
  border-bottom-color: var(--ed-accent-deep);
}

/* Support — FAQ items */
.support-section .faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-soft);
}
.support-section .faq-item:first-of-type { padding-top: 0; }
.support-section .faq-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.support-section .faq-question {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.support-section .faq-answer {
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
}
.support-section .faq-answer ul,
.support-section .faq-answer ol {
  margin-top: 8px;
  margin-bottom: 0;
}
.support-section .faq-answer li { margin-bottom: 4px; }

/* Contact / Feedback boxes */
.contact-box {
  background: var(--surface-page);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 30px);
  text-align: center;
  margin-top: 8px;
}
.contact-box h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.contact-box p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}
.contact-box a {
  color: var(--accent);
  font-weight: var(--weight-semibold);
  font-size: 17px;
  border: none;
  text-decoration: none;
}
.contact-box a:hover {
  color: var(--ed-accent-deep);
  text-decoration: underline;
}

/* Privacy intro callout */
.highlight-box {
  background: rgba(182, 90, 54, .07);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 16px 20px;
  margin: 0 0 24px;
}
.highlight-box p {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
}

/* Legacy footer (.footer) — editorial paper-deep */
.footer {
  background: var(--surface-sunken);
  border-top: 1px solid var(--border-hair);
  padding: clamp(48px, 6vw, 72px) 0 40px;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand { max-width: 280px; }
.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}
.footer-brand .logo-text {
  font-family: var(--font-serif);
  font-weight: var(--weight-semibold);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ed-ink);
}
.footer-brand p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--text-secondary);
  margin: 16px 0 0;
}
.footer-links {
  display: contents;
}
.footer-column h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: var(--weight-bold);
  margin: 0 0 16px;
  background: none;
  -webkit-text-fill-color: initial;
}
.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-column a {
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .15s;
}
.footer-column a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-hair);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-tertiary);
}
.footer-bottom p { margin: 0; }

@media (max-width: 920px) {
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
  .footer-content { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
