/* Audio Converter landing — mirrors the SayHi landing (white, geometric sans, orange gradients, big rounded cards). No external assets. */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F5F5;
  --ink: #101010;
  --muted: #6B7280;
  --line: #ECECEC;
  --accent: #FF6C47;
  --accent-deep: #FF2B00;
  --accent-warm: #FFA45A;
  --accent-soft: rgba(255, 164, 90, 0.15);
  --card: #FFFFFF;
  --card-shadow: 0 10px 30px -14px rgba(16, 16, 16, 0.14);
  --btn-bg: #101010;
  --btn-ink: #FFFFFF;
  --grad-hero: radial-gradient(120% 180% at 8% 0%, #FF2B00 0%, #FF6B5A 42%, #FFA45A 78%, #FF7A5C 100%);
  --grad-text: linear-gradient(90deg, #FF6C47, #FFA45A);
  --grad-wash: linear-gradient(180deg, #FFFFFF 0%, #FFF6F3 38%, #FFE8E2 68%, #FFFFFF 100%);
  --sans: "Google Sans", "Product Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C0C0C;
    --bg-soft: #161616;
    --ink: #F5F5F5;
    --muted: #A3A3A3;
    --line: #262626;
    --accent: #FF7A55;
    --accent-soft: rgba(255, 164, 90, 0.14);
    --card: #161616;
    --card-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.7);
    --btn-bg: #F5F5F5;
    --btn-ink: #101010;
    --grad-wash: linear-gradient(180deg, #0C0C0C 0%, #1B100C 40%, #2A1510 68%, #0C0C0C 100%);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 780px; }

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5.8vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 0.6em; }
h3 { font-size: 1.22rem; margin-bottom: 0.45em; font-weight: 600; }

em.accent, .accent {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* handwritten squiggle under the hero accent word, saydi-style */
.hero h1 em.accent {
  position: relative;
  display: inline-block;
}
.hero h1 em.accent::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 4%;
  bottom: -0.18em;
  height: 0.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 10 C 20 2, 38 12, 58 7 S 100 3, 118 8' fill='none' stroke='%23FF6C47' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

.kicker {
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: -0.01em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  width: fit-content;
}

a { color: inherit; }

/* ============ Announcement topbar ============ */
.topbar {
  background: var(--grad-hero);
  color: #FFFFFF;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.topbar-pill {
  background: #FFFFFF;
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 3px 10px;
}

/* ============ Header (floating rounded card) ============ */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 0 12px;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 28px -12px rgba(16, 16, 16, 0.18);
  padding: 0 18px 0 20px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.wordmark-bubble { color: var(--accent); flex: none; }
.site-nav {
  display: none;
  gap: 22px;
  margin-left: 6px;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--ink); }
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (min-width: 760px) {
  .site-nav { display: flex; }
}

/* Language dropdown (saydi-style pill + floating menu) */
.lang-dropdown { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.lang-btn:hover { border-color: var(--accent); }
.lang-btn > svg { flex: none; color: var(--muted); }
.lang-btn .chev { transition: transform 0.15s ease; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 176px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px -16px rgba(16, 16, 16, 0.25), var(--card-shadow);
  z-index: 60;
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
}
.lang-menu button:hover,
.lang-menu button:focus-visible { background: var(--accent-soft); }
.lang-menu button.active { color: var(--accent); font-weight: 600; }
.lang-menu .check { visibility: hidden; flex: none; color: var(--accent); }
.lang-menu button.active .check { visibility: visible; }
@media (max-width: 599px) {
  .lang-btn { padding: 7px 10px; }
  .lang-btn .lang-btn-label { display: none; }
}

.btn {
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 999px;
  border: 0;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-solid {
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: 0 8px 20px -10px rgba(16, 16, 16, 0.5);
}
.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(16, 16, 16, 0.45);
}
.btn-small { padding: 9px 18px; font-size: 0.88rem; }

/* ============ Hero (centered, peach wash) ============ */
.hero {
  padding: 72px 0 88px;
  overflow: hidden;
  position: relative;
  background: var(--grad-wash);
  margin-top: -76px;      /* wash flows behind the floating header */
  padding-top: 148px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  justify-items: center;
}
.hero-copy {
  text-align: center;
  max-width: 780px;
}
.hero-copy .kicker { margin: 0 auto 0.9rem; }
.hero-copy .lede {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 36em;
  margin: 1.4rem auto 2.2rem;
}
.hero-copy .lede strong { color: var(--accent); font-weight: 600; }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  border-radius: 999px;
  padding: 10px 22px 10px 16px;
  text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(16, 16, 16, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(16, 16, 16, 0.45);
}
.badge-text { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.badge-text small {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
}
.badge-text strong { font-size: 1.02rem; font-weight: 600; }
.badge-note {
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--muted);
  margin-top: 1.2rem;
}

/* ============ Download page ============ */
.hero-download { padding-bottom: 64px; }
.badge-lg { padding: 14px 30px 14px 20px; gap: 14px; }
.badge-lg .badge-text strong { font-size: 1.18rem; }
.badge-lg .badge-text small { font-size: 0.66rem; }
.dl-stores { margin-top: 3rem; }
.dl-stores-t {
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
}


/* ============ Sections ============ */
.section { padding: 92px 0; }
.section-bordered { border-top: 0; }
#how { border-top: 0; }
.section-lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 40em;
  margin-bottom: 2.4rem;
}

/* How it works — white rounded cards */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 2.4rem;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 26px 34px;
  box-shadow: var(--card-shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.step p { color: var(--muted); font-size: 0.95rem; }

/* Features — cards with squircle icon tiles */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 2.4rem;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 26px 32px;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(255, 43, 0, 0.22);
}
.feat-icon {
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 16px;
  padding: 14px;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  box-sizing: border-box;
}
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ============ Privacy band — orange gradient, saydi CTA style ============ */
.band {
  background: var(--grad-hero);
  color: #FFFFFF;
  padding: 96px 0;
  text-align: center;
  border-radius: 40px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 1220px) {
  .band { border-radius: 0; }
}
.band .kicker-band {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: rgba(255, 255, 255, 0.9);
  margin-left: auto;
  margin-right: auto;
}
.band h2 { color: #FFFFFF; }
.band-lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  max-width: 38em;
  margin: 0 auto 3rem;
}
.band-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
  border-top: 0;
  padding-top: 0;
}
.stat {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.stat strong {
  font-size: 2.6rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
}
.stat span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}
@media (max-width: 620px) {
  .stat { flex-basis: 100%; }
}

/* ============ Chips ============ */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 860px;
}
.chips li {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 4px 12px -8px rgba(16, 16, 16, 0.12);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.chips li:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.chips .chip-more {
  border-style: dashed;
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent);
  font-style: normal;
}


/* ============ Formats (chips reused) ============ */
.fmt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 2.4rem;
}
@media (min-width: 640px) {
  .fmt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .fmt-grid { grid-template-columns: repeat(4, 1fr); }
}
.fmt-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 24px 28px;
  box-shadow: var(--card-shadow);
}
.fmt-card .fmt-name {
  display: inline-block;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.3rem;
}
.fmt-card .fmt-ext {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.fmt-card p { color: var(--muted); font-size: 0.93rem; }
.chips-title {
  font-weight: 600;
  margin: 2.4rem 0 0.9rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ============ Screenshots ============ */
.shots {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  margin-top: 2.2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-soft) transparent;
}
.shots figure {
  flex: 0 0 auto;
  width: 230px;
  scroll-snap-align: start;
  margin: 0;
}
.shots img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: 0 24px 50px -26px rgba(255, 43, 0, 0.3), var(--card-shadow);
}
.shots figcaption {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 12px;
}
@media (min-width: 1120px) {
  .shots { justify-content: center; overflow-x: visible; }
  .shots figure { width: 168px; }
}

/* ============ Screenshot lightbox ============ */
.shot-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  border-radius: 28px;
  -webkit-tap-highlight-color: transparent;
}
.shot-trigger img { transition: transform 0.25s ease; }
.shot-trigger:hover img { transform: translateY(-4px); }
.shot-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.lightbox {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: #F5F5F5;
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgba(8, 8, 8, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Fallback when <dialog>.showModal() is unavailable */
.lightbox.is-fallback[open] {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 8, 8, 0.94);
}
.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 64px 20px 28px;
  max-width: 100%;
  max-height: 100%;
}
.lightbox-img {
  display: block;
  max-width: min(92vw, 520px);
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 26px;
  background: #101010;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}
.lightbox-cap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}
.lightbox-count {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: rgba(245, 245, 245, 0.6);
}
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 245, 245, 0.18);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.72);
  color: #F5F5F5;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lightbox button:hover { background: rgba(255, 108, 71, 0.9); border-color: transparent; }
.lightbox button:focus-visible { outline: 2px solid var(--accent-warm); outline-offset: 3px; }
.lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 22px;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 26px;
  padding-bottom: 4px;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 560px) {
  .lightbox-inner { padding: 58px 12px 22px; }
  .lightbox-img { max-height: calc(100vh - 140px); }
  .lightbox-nav { width: 42px; height: 42px; font-size: 22px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .shot-trigger img,
  .lightbox button { transition: none; }
  .shot-trigger:hover img { transform: none; }
  .lightbox-nav:hover { transform: translateY(-50%); }
}

/* ============ Pricing (free vs premium) ============ */
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 2.4rem;
}
@media (min-width: 760px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 28px 34px;
  box-shadow: var(--card-shadow);
}
.plan.plan-premium {
  border-color: transparent;
  background: var(--grad-hero);
  color: #FFFFFF;
  box-shadow: 0 24px 50px -24px rgba(255, 43, 0, 0.5);
}
.plan h3 { font-size: 1.4rem; }
.plan .plan-price {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.plan-premium .plan-price { color: rgba(255, 255, 255, 0.85); }
.plan ul { list-style: none; display: grid; gap: 10px; }
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--muted);
}
.plan-premium li { color: rgba(255, 255, 255, 0.92); }
.plan li svg { flex: none; margin-top: 4px; color: var(--accent); }
.plan-premium li svg { color: #FFFFFF; }

/* ============ Legal / support prose pages ============ */
.prose { padding: 56px 0 72px; }
.prose h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.3em; }
.prose .upd { color: var(--muted); font-size: 0.88rem; margin-bottom: 2.2rem; }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 0.5rem; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 0.8rem; }
.prose ul { padding-left: 1.3em; margin: 0.6rem 0; display: grid; gap: 6px; }
.prose a { color: var(--accent-deep); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose code {
  font-family: var(--mono);
  font-size: 0.84em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--ink);
}
.prose strong { color: var(--ink); }
.prose .prose-nav { margin-top: 3rem; font-size: 0.92rem; }

/* ============ FAQ ============ */
.faq-list {
  border-top: 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--card-shadow);
  padding: 0 22px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font-size: 1.05rem;
  font-weight: 600;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-list details p {
  padding: 0 0 20px;
  color: var(--muted);
  max-width: 46em;
}

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}
.footer-wordmark { font-size: 1.2rem; font-weight: 700; }
.footer-brand p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-top: 0.6rem;
  max-width: 26em;
}
.footer-pkg {
  font-family: var(--mono);
  font-size: 0.68rem !important;
  letter-spacing: 0.08em;
  opacity: 0.75;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  margin-top: 40px;
  padding-top: 20px;
}
.footer-copy p {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
