/* Longcut website. One stylesheet, built from the app's own look (mobile/src/theme.ts):
   black background with the Home screen's soft violet light, frosted "glass" panels like the
   app's buttons and sheets, violet #7C5CFF for the main action, red #FF3B30 only for recording.
   No external files. Motion uses transform/opacity only and switches off with Reduce Motion. */

/* Heading font: Sora, as in the app. To self-host it, put sora-700.woff2 / sora-600.woff2 in
   site/fonts/ and add url("fonts/sora-700.woff2") format("woff2") to the src lists below.
   Until then the system's own bold font is used (San Francisco on iPhone and Mac). */
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: local("Sora Bold"), local("Sora-Bold"); }
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: local("Sora SemiBold"), local("Sora-SemiBold"); }

:root {
  /* colors (theme.ts) */
  --bg: #000000;
  --card: #1c1c1e;
  --elevated: #2c2c2e;
  --border: rgba(255, 255, 255, 0.1);
  --sep: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --muted: #98989f;
  --accent: #7c5cff;
  --accent-soft: rgba(124, 92, 255, 0.18);
  --accent-link: #9479ff;
  --rec: #ff3b30;
  --ok: #34c759;
  /* radius (theme.ts) */
  --r-sm: 10px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px;
  /* space (theme.ts) */
  --xs: 4px; --sm: 8px; --md: 12px; --lg: 16px; --xl: 24px; --xxl: 32px;
  /* glass (like the app's Glass.tsx) */
  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)), rgba(28, 28, 34, 0.5);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.03), 0 14px 40px -10px rgba(0, 0, 0, 0.7);
  --glass-blur: blur(22px) saturate(180%);
  /* type */
  --heading: "Sora", -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Segoe UI", Roboto, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background:
    radial-gradient(700px 520px at 85% -80px, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(600px 600px at 0% 900px, rgba(79, 70, 229, 0.14), transparent 70%),
    radial-gradient(600px 600px at 100% 1900px, rgba(168, 85, 247, 0.10), transparent 70%),
    var(--bg);
}
img { max-width: 100%; }
a { color: var(--accent-link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
strong { color: #fff; font-weight: 600; }
h1, h2, h3 { margin: 0; line-height: 1.2; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--lg); }
.wrap-narrow { max-width: 680px; margin: 0 auto; padding: 0 var(--lg); }

/* Glass surface */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ---------- Nav bar: glass, like the app's header ---------- */
.navbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 10, 14, 0.55);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}
.navbar .wrap, .navbar .wrap-narrow { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: var(--md); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--heading); font-weight: 700; font-size: 20px; letter-spacing: 0.2px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.navlinks { display: flex; gap: 18px; font-size: 15px; }
.navlinks a { color: var(--muted); font-weight: 500; }
.navlinks a[aria-current="page"] { color: var(--text); }
.navlinks a:hover { color: var(--text); text-decoration: none; }

/* ---------- Pieces from the app ---------- */

/* Section label (type.caption): small, uppercase, grey */
.label {
  font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--muted); margin: 0 0 var(--sm) var(--xs);
}

/* Button (ui/Button.tsx): pill, 50px, 17px bold; primary = violet glass */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--sm);
  min-height: 52px; padding: 0 24px; border-radius: var(--r-pill);
  font-size: 17px; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%), rgba(124, 92, 255, 0.82);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px -8px rgba(124, 92, 255, 0.7);
  transition: transform 0.15s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.96); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-glass { background: var(--glass-bg); border-color: var(--glass-border); box-shadow: var(--glass-shadow); color: var(--text); }

/* Filter chips ("AI picks", "Best hooks") */
.chips { display: flex; flex-wrap: wrap; gap: var(--sm); margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
  border-radius: var(--r-pill); font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap;
  background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.chip.on { background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 60%), rgba(124, 92, 255, 0.6); border-color: rgba(160, 140, 255, 0.7); }

/* Score badge (AI Clips "92") */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
.score {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 2.5px solid var(--accent); background: rgba(18, 14, 40, 0.75); color: #fff;
  font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; flex: none;
}
.count { counter-reset: n var(--n); }
.count::after { content: counter(n); }

/* Grouped list (Settings / Project rows), on glass */
.group {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
  border-radius: var(--r-xl); overflow: hidden; margin: 0;
}
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: 14px; padding: 13px var(--lg); min-height: 58px; color: var(--text); position: relative; }
a.row:hover { text-decoration: none; background: rgba(255, 255, 255, 0.05); }
.rows > li + li > .row::before, .rows > li + li > details > summary::before {
  content: ""; position: absolute; top: 0; right: 0; left: 60px; border-top: 1px solid var(--sep);
}
.rows.plain > li + li > .row::before, .rows.plain > li + li > details > summary::before { left: var(--lg); }
.row-icon {
  width: 30px; height: 30px; flex: none; color: #fff; display: grid; place-items: center;
  border-radius: 8px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 60%), var(--accent);
}
.row-icon svg { width: 19px; height: 19px; }
.row-text { flex: 1; min-width: 0; }
.row-title { display: block; font-size: 17px; font-weight: 500; line-height: 1.3; }
.row-sub { display: block; font-size: 15px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.chev { width: 9px; height: 15px; flex: none; color: #6a6a70; }

/* ---------- iPhone frame around a real screenshot ---------- */
.phone {
  --w: 280px;
  position: relative; width: var(--w); flex: none;
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(140deg, #4a4a50 0%, #1c1c1f 22%, #121214 60%, #3a3a3f 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 calc(var(--w) * 0.012) #050505,
    0 40px 80px -24px rgba(0, 0, 0, 0.95),
    0 0 90px -20px rgba(124, 92, 255, 0.35);
}
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1304; border-radius: calc(var(--w) * 0.137); background: #0b0b0d; }
.phone::after { /* Dynamic Island */
  content: ""; position: absolute; top: calc(var(--w) * 0.055); left: 50%; transform: translateX(-50%);
  width: 31%; height: calc(var(--w) * 0.088); border-radius: var(--r-pill); background: #000;
}
.phone::before { /* glass glare on the screen */
  content: ""; position: absolute; inset: calc(var(--w) * 0.03); border-radius: calc(var(--w) * 0.137); z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 34%);
}

/* Floating glass overlays (mirror real app UI) */
.float { position: absolute; z-index: 3; }
.bob { animation: bob 7s ease-in-out infinite; }
.bob.slow { animation-duration: 9s; animation-delay: -3s; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; white-space: nowrap; line-height: 1.2;
}
.pill small { display: block; font-size: 13px; font-weight: 500; color: rgba(245, 245, 247, 0.7); }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--rec); position: relative; margin-left: 4px; flex: none; }
.rec-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--rec); animation: ping 1.6s ease-out infinite; }
@property --s { syntax: "<integer>"; inherits: false; initial-value: 7; }
.rectime { font-variant-numeric: tabular-nums; counter-reset: s var(--s); animation: tick 60s linear infinite; }
.rectime::after { content: "01:42:" counter(s, decimal-leading-zero); }
.card {
  border-radius: var(--r-xl); padding: 14px 16px; min-width: 220px; font-size: 15px;
}
.card-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.card-sub { color: rgba(245, 245, 247, 0.65); font-size: 13px; margin-top: 2px; }
.bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--accent); transform-origin: left; transform: scaleX(0.4); }
@property --e { syntax: "<integer>"; inherits: false; initial-value: 0; }
.ecount { counter-reset: e var(--e); }
.ecount::after { content: counter(e); }
.tiles { display: flex; gap: 8px; margin-top: 12px; }
.tile {
  width: 34px; height: 60px; border-radius: 7px; flex: none;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.55), rgba(40, 56, 110, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: drop 6s var(--ease) infinite both;
}
.tile:nth-child(2) { animation-delay: 0.45s; }
.tile:nth-child(3) { animation-delay: 0.9s; }
.tile:nth-child(4) { animation-delay: 1.35s; }
.tile::after { content: ""; display: block; margin: 38px auto 0; width: 70%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.85); }
.big-score { width: 92px; height: 92px; border-width: 3.5px; font-size: 32px; font-family: var(--heading); background: rgba(18, 14, 40, 0.55); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 40px rgba(124, 92, 255, 0.55); }
.icon-ok { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; flex: none; }
.icon-ok svg { width: 13px; height: 13px; }

/* ---------- Home: hero ---------- */
.hero { position: relative; overflow: hidden; padding: 36px 0 24px; }
.glow {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle closest-side,
    rgba(110, 84, 240, 0.42) 0 22%, rgba(90, 68, 210, 0.3) 22% 42%,
    rgba(72, 54, 180, 0.19) 42% 64%, rgba(58, 44, 150, 0.1) 64% 86%, transparent 100%);
  animation: breathe 9s ease-in-out infinite alternate;
}
.hero .glow { width: 760px; height: 760px; left: 50%; top: 360px; margin-left: -380px; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.hero-copy { text-align: center; }
.hero-icon { display: block; width: 112px; height: 112px; margin: 0 auto 22px; border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10), 0 18px 50px rgba(124,92,255,0.45), 0 0 90px rgba(124,92,255,0.35); }
.hero h1 { font-family: var(--heading); font-weight: 700; font-size: 34px; letter-spacing: 0.2px; line-height: 1.1; }
.hero h1 span { color: transparent; background: linear-gradient(90deg, #b9a8ff, #7c5cff 60%, #a67cff); -webkit-background-clip: text; background-clip: text; }
.hero .sub { color: var(--muted); font-size: 18px; margin: 14px auto 0; max-width: 24em; }
.hero .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.stage { position: relative; height: 590px; }
.slot { position: absolute; left: 50%; top: 0; }
.slot .phone { margin-left: calc(var(--w) / -2); }
.slot.front { z-index: 2; top: 0; }
.slot.front .phone { --w: 252px; }
.slot.back { z-index: 1; top: 56px; }
.slot.back .phone { --w: 206px; }
.slot.back .phone img { filter: brightness(0.62) saturate(0.9); }
.slot.back-l { transform: translateX(-128px) rotate(-9deg); }
.slot.back-r { transform: translateX(128px) rotate(9deg); }
.hero .f-score { top: 150px; left: calc(50% + 40px); }
.hero .f-rec { top: 410px; right: calc(50% + 34px); }

/* entrance on load */
.in-up { animation: rise 1s var(--ease) both; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.16s; } .d3 { animation-delay: 0.26s; }
.enter-front { animation: rise-phone 1.2s var(--ease) 0.2s both; }
.enter-l { animation: from-r 1.2s var(--ease) 0.45s both; }
.enter-r { animation: from-l 1.2s var(--ease) 0.45s both; }
.pop { animation: pop 0.8s var(--ease) both; }
.pop.p1 { animation-delay: 1s; } .pop.p2 { animation-delay: 1.25s; }

/* ---------- Home: features ---------- */
.feature { position: relative; padding: 64px 0; overflow: hidden; }
.fstage .glow { width: 640px; height: 640px; left: 50%; top: 50%; margin: -320px 0 0 -320px; }
.feature-inner { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.feature-copy { text-align: center; max-width: 30em; margin: 0 auto; }
.feature h2 { font-family: var(--heading); font-weight: 700; font-size: 32px; letter-spacing: 0.2px; line-height: 1.12; }
.feature p { color: var(--muted); font-size: 18px; margin: 12px 0 0; }
.feature .chips { margin-top: 22px; }
.fstage { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.fstage .phone { --w: 262px; }
.f-tl { top: 40px; left: 0; }
.f-tr { top: 70px; right: 0; }
.f-bl { bottom: 70px; left: 0; }
.f-br { bottom: 40px; right: 0; }

.inside { position: relative; padding: 48px 0 64px; }
.inside h2 { font-family: var(--heading); font-weight: 700; font-size: 30px; margin: 0 0 20px; text-align: center; }
.inside .cta { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- Scroll reveals ---------- */
/* Fallback: a tiny script adds .in when the element comes into view. */
html.js .reveal { opacity: 0; transform: translateY(48px) scale(0.96); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.in .count { animation: count-up 1.8s var(--ease) 0.35s both; }
html.js .reveal.in .ecount { animation: e-up 2.4s var(--ease) 0.5s both; }
html.js .reveal.in .bar i { animation: fill 2.4s var(--ease) 0.5s both; }
/* Where the browser can tie animation to scrolling, do that instead (smoother). */
@supports (animation-timeline: view()) {
  html.js .reveal { opacity: 1; transform: none; transition: none; animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 32%; }
  html.js .par { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  .hero .par-l { animation: drift-l linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
  .hero .par-r { animation: drift-r linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
  .hero .par-f { animation: drift-f linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
}

@keyframes reveal { from { opacity: 0; transform: translateY(60px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateY(40px); } to { transform: translateY(-40px); } }
@keyframes drift-l { to { transform: translate(-30px, -40px); } }
@keyframes drift-r { to { transform: translate(30px, -40px); } }
@keyframes drift-f { to { transform: translateY(-70px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rise-phone { from { opacity: 0; transform: translateY(80px) scale(0.88); } to { opacity: 1; transform: none; } }
@keyframes from-r { from { opacity: 0; transform: translateX(90px) rotate(9deg) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes from-l { from { opacity: 0; transform: translateX(-90px) rotate(-9deg) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes breathe { from { transform: scale(0.94); opacity: 0.75; } to { transform: scale(1.08); opacity: 1; } }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes tick { from { --s: 7; } to { --s: 59; } }
@keyframes count-up { from { --n: 0; } }
@keyframes e-up { from { --e: 0; } }
@keyframes fill { from { transform: scaleX(0); } }
@keyframes drop {
  0% { opacity: 0; transform: translateY(-34px) scale(0.8); }
  12% { opacity: 1; transform: none; }
  82% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: scale(0.92); }
}

/* ---------- In-app style pages (privacy, terms, support) ---------- */
.page { padding-top: 20px; padding-bottom: 48px; }
.back { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; margin-bottom: 10px; }
.page h1 { font-family: var(--heading); font-weight: 700; font-size: 34px; letter-spacing: 0.2px; line-height: 1.15; }
.page .meta, .page .lead { color: var(--muted); font-size: 16px; margin: 8px 0 0; }
.page .lead { font-size: 18px; }
.sec { margin-top: 32px; }
.sec > h2 {
  font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0.6px; line-height: 1.4;
  text-transform: uppercase; color: var(--muted); margin: 0 0 var(--sm) var(--xs);
}
.sec .group, .page .card, .page .note { padding: 18px 20px; }
.sec .group.faq { padding: 0; }
.page .card {
  margin-top: 24px; border-radius: var(--r-xl); min-width: 0; font-size: inherit;
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
}
.page .note {
  margin-top: 24px; border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 50%), rgba(124, 92, 255, 0.14);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(150, 125, 255, 0.55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 40px -12px rgba(124, 92, 255, 0.35);
}
.group > :first-child, .card > :first-child, .note > :first-child { margin-top: 0; }
.page p, .page ul, .page ol { margin: 12px 0 0; }
.page ul, .page ol { padding-left: 22px; }
.page li + li { margin-top: 6px; }
.page li::marker { color: var(--muted); }
.page .rows { padding: 0; margin: 0; }
.page .rows > li + li { margin-top: 0; }
.page h3 { font-size: 17px; font-weight: 600; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sep); }
.group > h3:first-child { padding-top: 0; border-top: 0; }

.placeholder {
  background: rgba(255, 204, 0, 0.14); color: #ffd666; border: 1px dashed rgba(255, 204, 0, 0.55);
  border-radius: 6px; padding: 0 5px; font-style: normal; white-space: nowrap;
}

.table-wrap { overflow-x: auto; margin: 14px -20px 0; padding: 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--sep); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
tr:last-child td { border-bottom: 0; }
td:first-child, th:first-child { padding-left: 0; }

/* FAQ as grouped rows that open */
.faq details { position: relative; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 15px var(--lg); min-height: 58px; font-size: 17px; font-weight: 500; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255, 255, 255, 0.05); }
.faq summary span { flex: 1; }
.faq summary .chev { transition: transform 0.2s var(--ease); }
.faq details[open] summary .chev { transform: rotate(90deg); color: var(--accent-link); }
.faq .answer { padding: 0 var(--lg) 18px; color: #d6d6db; }
.faq .answer > :first-child { margin-top: 0; }

/* ---------- Footer: a grouped list ---------- */
.footer { padding: 8px 0 40px; }
.footer .copy { color: var(--muted); font-size: 14px; margin: 16px 0 0 var(--xs); }
.footer .copy a { color: var(--muted); }
.footer .copy a:hover { color: var(--text); }

/* ---------- Wider screens ---------- */
@media (min-width: 880px) {
  .hero { padding: 64px 0 40px; }
  .hero .glow { width: 1000px; height: 1000px; left: auto; right: -160px; top: -120px; margin: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 540px; gap: 8px; }
  .hero-copy { text-align: left; padding-bottom: 40px; }
  .hero-icon { margin: 0 0 24px; width: 124px; height: 124px; border-radius: 28px; }
  .hero h1 { font-size: 50px; }
  .hero h1 span { white-space: nowrap; }
  .hero .sub { margin-left: 0; font-size: 21px; }
  .hero .actions { justify-content: flex-start; }
  .stage { height: 760px; }
  .slot.front .phone { --w: 318px; }
  .slot.back { top: 80px; }
  .slot.back .phone { --w: 262px; }
  .slot.back-l { transform: translateX(-180px) rotate(-8deg); }
  .slot.back-r { transform: translateX(180px) rotate(8deg); }
  .hero .f-score { top: 190px; left: calc(50% + 100px); }
  .hero .f-rec { top: 520px; right: calc(50% + 96px); }

  .feature { padding: 96px 0; }
  .feature-inner { grid-template-columns: 1fr 1fr; gap: 64px; max-width: 1000px; }
  .feature-copy { text-align: left; margin: 0; }
  .feature.flip .fstage { order: 2; }
  .feature h2 { font-size: 40px; }
  .feature p { font-size: 21px; }
  .feature .chips { justify-content: flex-start; }
  .fstage .phone { --w: 320px; }
  .f-tl, .f-bl { left: -10px; }
  .f-tr, .f-br { right: -10px; }
  .inside h2 { font-size: 40px; }
  .page { padding-top: 32px; }
  .page h1 { font-size: 40px; }
  .faq .answer { padding-right: 56px; }
}
@media (max-width: 879px) {
  .hero { padding-top: 28px; }
  .hero .sub { font-size: 17px; margin-top: 10px; }
  .hero .actions { margin-top: 20px; }
  .hero .actions .btn-glass { display: none; }
  .hero .f-score small { display: none; }
  .hero .f-score { left: calc(50% + 34px); top: 170px; }
  .hero .f-rec { top: 430px; }
  .feature .chips { justify-content: center; }
  .feature .fstage { order: 2; }
}
@media (max-width: 380px) {
  .navlinks { gap: 12px; font-size: 14px; }
  .hero h1 { font-size: 30px; }
  .pill { font-size: 14px; }
}

/* Reduce Motion: no movement at all, everything shown in its final state */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
