/* sora2.app — one stylesheet for every page. Layout system ported from rokuapp.co / firetvremote.app,
   recoloured into a black-and-white cinema look with a dawn-sky accent. */
/* Windows: system-ui is Segoe UI there. Asked for 750–800 it picks Segoe UI Black, and its tall line metrics sit text
   lower than on macOS. These faces pin each weight range to the nearest Segoe UI cut with SF-like metrics. On macOS,
   iOS and Android the local() fonts don't exist, so the stack falls through to the system font. */
@font-face { font-family: "Sora2 Sans"; src: local("Segoe UI"), local("SegoeUI"); font-weight: 1 499; font-style: normal; ascent-override: 95%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Sora2 Sans"; src: local("Segoe UI Semibold"), local("SegoeUI-Semibold"); font-weight: 500 649; font-style: normal; ascent-override: 95%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Sora2 Sans"; src: local("Segoe UI Bold"), local("SegoeUI-Bold"); font-weight: 650 1000; font-style: normal; ascent-override: 95%; descent-override: 24%; line-gap-override: 0%; }
:root {
  color-scheme: dark;
  --bg: #000;
  --bg-2: #08080a;
  --surface: #111114;
  --surface-2: #18181c;
  --surface-3: #232328;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --text: #f5f5f7;
  --muted: #a9a9b4;
  --dim: #85858f;
  --peach: #ffd2a6;
  --rose: #ff9fcd;
  --lilac: #bca8ff;
  --sky: #8ec8ff;
  --accent-text: #c7b8ff;
  --dawn: linear-gradient(100deg, var(--peach) 0%, var(--rose) 38%, var(--lilac) 68%, var(--sky) 100%);
  --ok: #3ddc84;
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  --font: "Sora2 Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora2 Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgb(188 168 255 / 0.22);
  overflow-x: hidden;
}
img, svg, picture, video { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #e3dbff; }
button, a, summary, [role="button"], [role="tab"] { touch-action: manipulation; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.3rem + 4.6vw, 4.8rem); font-weight: 800; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
[id] { scroll-margin-top: 88px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.glow { background: var(--dawn); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 700; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgb(0 0 0 / 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 750 1.12rem/1 var(--font-display); letter-spacing: -0.03em; min-width: 0; }
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; flex: none; }
.brand span b { font-weight: 750; background: var(--dawn); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 550; padding: 8px 12px; border-radius: 10px; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); }
.header-cta { flex: none; }
@media (max-width: 1080px) { .nav { display: none; } .header-cta { margin-left: auto; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1rem/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color .15s, box-shadow .2s, transform .15s var(--ease), color .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--text); color: #000; box-shadow: 0 8px 24px -12px rgb(255 255 255 / 0.5), inset 0 -1px 0 rgb(0 0 0 / 0.12); }
.btn-primary:hover { color: #000; background: #fff; box-shadow: 0 0 0 4px rgb(188 168 255 / 0.35), 0 10px 28px -10px rgb(255 255 255 / 0.6); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { color: var(--text); background: var(--surface-3); border-color: rgb(255 255 255 / 0.26); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }

.store-badge { display: inline-block; border-radius: 10px; transition: transform .15s var(--ease), box-shadow .2s; }
.store-badge img { height: 54px; width: auto; }
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 0 0 4px rgb(255 255 255 / 0.14); }
@media (max-width: 420px) { .store-badge img { height: 48px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 0; overflow: clip; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 1000px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 46% at 50% 0%, rgb(188 168 255 / 0.30), transparent 70%),
    radial-gradient(28% 32% at 82% 18%, rgb(255 159 205 / 0.16), transparent 70%),
    radial-gradient(30% 34% at 16% 26%, rgb(142 200 255 / 0.14), transparent 70%),
    radial-gradient(26% 26% at 62% 34%, rgb(255 210 166 / 0.08), transparent 70%);
}
.hero-copy { max-width: 900px; margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgb(255 255 255 / 0.05); border: 1px solid var(--line-2);
  color: var(--muted); font-size: .9rem; font-weight: 550;
}
.eyebrow .dot { width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--dawn); box-shadow: 0 0 0 4px rgb(188 168 255 / 0.18); }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 720px; margin: 0 auto 30px; }
.lead strong { color: var(--text); font-weight: 650; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 22px; }
.cta-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; margin: 14px 0 0; color: var(--dim); font-size: .92rem; }
.cta-note span { display: inline-flex; align-items: center; gap: 7px; }
.cta-note span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lilac); flex: none; }

.qr-card { display: none; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); text-align: left; }
.qr-card img { width: 64px; height: 64px; border-radius: 8px; background: #fff; padding: 5px; }
.qr-card p { margin: 0; font-size: .85rem; line-height: 1.35; color: var(--muted); max-width: 160px; }
.qr-card strong { display: block; color: var(--text); font-size: .9rem; }
@media (pointer: fine) and (min-width: 900px) { .qr-card { display: inline-flex; } }

/* Wall of example clips under the hero copy (posters; each opens that example in the demo) */
.wall { position: relative; margin: clamp(48px, 7vw, 76px) 0 0; }
.wall ul { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0 0 64px; list-style: none; }
.wall li { min-width: 0; }
.wall li:nth-child(even) { translate: 0 36px; }
.wall a { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08), 0 24px 40px -24px rgb(0 0 0 / 0.9); transition: transform .25s var(--ease), box-shadow .25s; }
.wall a:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.3), 0 30px 50px -24px rgb(0 0 0 / 0.9); }
.wall img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.wall a span { position: absolute; inset: auto 0 0; padding: 26px 10px 10px; background: linear-gradient(transparent, rgb(0 0 0 / 0.78)); color: #fff; font-size: .8rem; font-weight: 650; line-height: 1.25; }
.wall::after { content: ""; position: absolute; inset: auto 0 0; height: 40px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
@media (max-width: 1000px) {
  .wall ul { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 150px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .wall ul::-webkit-scrollbar { display: none; }
  .wall li { scroll-snap-align: start; }
  .wall li:nth-child(even) { translate: 0 22px; }
  .wall::after { display: none; }
  .wall ul { padding-bottom: 30px; }
}

/* ---------- Demo: pick a prompt, watch the clip ---------- */
.demo > * { min-width: 0; }
.demo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 36px); border-radius: 32px; background: linear-gradient(160deg, #15151a, #0b0b0e 70%); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.04); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-size: .92rem; font-weight: 600; cursor: pointer; transition: color .15s, background-color .15s, border-color .15s; }
.tab img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.tab:hover { color: var(--text); background: var(--surface-2); border-color: rgb(255 255 255 / 0.26); }
.tab[aria-selected="true"] { color: #000; background: var(--text); border-color: var(--text); }
.no-js .tabs { display: none; }
.composer { border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.4), 0 20px 40px -24px rgb(0 0 0 / 0.9); }
.composer-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px 0; color: var(--dim); font-size: .85rem; font-weight: 650; }
.composer-label span { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.composer-label em { font-style: normal; padding: 2px 8px; border-radius: 999px; background: var(--surface-3); color: var(--muted); font-variant-numeric: tabular-nums; }
.composer blockquote { margin: 0; padding: 10px 18px 16px; font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); line-height: 1.5; color: var(--text); min-height: 7.5em; }
.composer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.demo-note { margin: 16px 0 0; color: var(--dim); font-size: .9rem; }
.player { position: relative; margin: 0; }
.player .vid { border-radius: 26px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 40px 70px -30px rgb(0 0 0 / 0.95), 0 0 120px -30px rgb(188 168 255 / 0.35); }
.player figcaption { margin-top: 12px; text-align: center; color: var(--dim); font-size: .85rem; }
@media (max-width: 860px) {
  .demo { grid-template-columns: minmax(0, 1fr); }
  .player { order: -1; width: min(300px, 78vw); margin-inline: auto; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * clamp(20px, 3vw, 36px)); padding-inline: clamp(20px, 3vw, 36px); scroll-padding-inline: clamp(20px, 3vw, 36px); overscroll-behavior-x: contain; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .composer blockquote { min-height: 0; }
}

/* Video tile with a play/pause control */
.vid { position: relative; overflow: hidden; border-radius: 18px; background: var(--surface); }
.vid video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.vid-toggle { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgb(0 0 0 / 0.55); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .15s; }
.vid-toggle:hover { background: rgb(0 0 0 / 0.8); }
.vid-toggle svg { width: 18px; height: 18px; }
.vid-toggle .i-pause, .vid-toggle[aria-pressed="true"] .i-play { display: none; }
.vid-toggle[aria-pressed="true"] .i-pause { display: block; }
.no-js .vid-toggle { display: none; }

/* Copy prompt */
.copy-btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: .9rem; font-weight: 650; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { background: var(--surface-3); border-color: rgb(255 255 255 / 0.26); }
.copy-btn.is-copied { color: #000; background: var(--ok); border-color: var(--ok); }
.no-js .copy-btn { display: none; }
.copy-toast { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 70; display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 24px); padding: 12px 12px 12px 18px; border-radius: 18px; background: rgb(24 24 28 / 0.96); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -16px rgb(0 0 0 / 0.9); opacity: 0; translate: -50% 16px; transition: opacity .2s, translate .25s var(--ease); pointer-events: none; }
.copy-toast.is-visible { opacity: 1; translate: -50% 0; pointer-events: auto; }
.copy-toast p { margin: 0; line-height: 1.3; font-size: .92rem; color: var(--muted); }
.copy-toast b { display: block; color: var(--text); }
.copy-toast .btn { min-height: 40px; font-size: .9rem; }
.toast-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.toast-close:hover { background: var(--surface-3); color: var(--text); }
@media (min-width: 761px) { .copy-toast { bottom: 28px; } }

/* ---------- Strip ---------- */
.strip { padding: 34px 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.strip p { margin: 0 0 14px; text-align: center; color: var(--dim); font-size: .9rem; font-weight: 650; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.strip li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-head p + p { margin-top: .8em; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.facts > div { padding: 24px 26px; background: var(--surface); }
.facts dt { margin-bottom: 6px; color: var(--dim); font-size: .9rem; font-weight: 700; }
.facts dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* Feature rows: picture + text */
.features { display: grid; gap: clamp(20px, 3vw, 28px); }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 64px); padding: clamp(22px, 3.5vw, 40px); border-radius: 30px; background: var(--surface); border: 1px solid var(--line); }
.feature:nth-child(even) .feature-media { order: 2; }
.feature h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; margin-bottom: .4em; }
.feature p { color: var(--muted); font-size: 1.05rem; }
.feature p:last-child { margin-bottom: 0; }
.feature-media { display: flex; justify-content: center; gap: 14px; }
.feature-media .vid, .feature-media picture { flex: 0 1 240px; min-width: 0; }
.feature-media picture img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; }
.feature-media .pair { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 14px; flex: 0 1 440px; }
.feature-media .pair.selfie { grid-template-columns: 1fr 1.2fr; }
.pair figure { margin: 0; min-width: 0; }
.pair figure img { width: 100%; border-radius: 18px; }
.pair figure:first-child img { aspect-ratio: 9 / 16; object-fit: cover; }
.pair.selfie figure:first-child img { aspect-ratio: 3 / 4; }
.pair figcaption { margin-top: 8px; color: var(--dim); font-size: .85rem; text-align: center; }
.pair .vid video { aspect-ratio: 9 / 16; }
.ticks { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--lilac); border-bottom: 2px solid var(--lilac); rotate: -45deg; translate: 0 -40%; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-media { order: 0; }
}

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.timeline time { display: block; margin-bottom: 8px; font: 750 1.05rem/1.3 var(--font-display); font-variant-numeric: tabular-nums; }
.timeline li:last-child time { color: var(--rose); }
.timeline p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 1000px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.center { text-align: center; }
.more { margin: 28px 0 0; text-align: center; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--text); color: #000; font: 800 1.15rem/1 var(--font-display); box-shadow: 0 0 0 6px rgb(188 168 255 / 0.16); }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 22px 20px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps h3 { margin: 8px 0 4px; }
}

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overscroll-behavior-x: contain; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .98rem; }
th, td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tbody tr:last-child > * { border-bottom: 0; }
thead th { color: var(--dim); font-size: .9rem; font-weight: 750; background: var(--bg-2); }
tbody th { font-weight: 650; width: 26%; }
td { color: var(--muted); }
.col-us { background: rgb(188 168 255 / 0.06); color: var(--text); }
thead .col-us { color: var(--accent-text); background: rgb(188 168 255 / 0.1); }
@media (max-width: 600px) { table { min-width: 560px; font-size: .92rem; } th, td { padding: 12px 12px; } }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { position: relative; padding: 20px 56px 20px 22px; cursor: pointer; list-style: none; border-radius: var(--radius-sm); }
.faq summary h3 { margin: 0; font: 650 1.05rem/1.4 var(--font); letter-spacing: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); rotate: 45deg; transition: rotate .2s var(--ease), margin-top .2s var(--ease); }
.faq details[open] summary::after { rotate: -135deg; margin-top: -2px; }
.faq summary:hover { background: rgb(255 255 255 / 0.03); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA band */
.final { padding-top: 0; }
.cta-band { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: clamp(32px, 6vw, 64px); border-radius: 32px; background: #0d0d10; border: 1px solid var(--line-2); }
.cta-band::before { content: ""; position: absolute; inset: -40% -20% auto; height: 160%; z-index: -1; background: radial-gradient(40% 50% at 15% 10%, rgb(255 210 166 / 0.22), transparent 70%), radial-gradient(40% 50% at 55% 0%, rgb(255 159 205 / 0.2), transparent 70%), radial-gradient(40% 60% at 95% 30%, rgb(142 200 255 / 0.22), transparent 70%); pointer-events: none; }
.cta-band p { color: var(--muted); font-size: 1.12rem; max-width: 560px; }
.cta-band .cta-row { justify-content: flex-start; }
.cta-band .qr-big { display: none; padding: 14px; border-radius: 22px; background: #fff; text-align: center; color: #111; box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.6); }
.cta-band .qr-big img { width: 150px; height: 150px; }
.cta-band .qr-big span { display: block; margin-top: 8px; font-size: .82rem; font-weight: 650; }
@media (pointer: fine) and (min-width: 900px) { .cta-band .qr-big { display: block; } }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }
.app-chip { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.app-chip img { width: 56px; height: 56px; border-radius: 13px; box-shadow: 0 8px 20px -8px rgb(0 0 0 / 0.6); }
.app-chip b { display: block; font-size: 1.02rem; }
.app-chip span { font-size: .9rem; color: var(--muted); }

/* Sticky download bar (phones) */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: rgb(20 20 24 / 0.92); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.8);
  translate: 0 140%; transition: translate .35s var(--ease);
}
.sticky-cta.is-visible { translate: 0 0; }
.sticky-cta img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.sticky-cta .txt { min-width: 0; line-height: 1.25; }
.sticky-cta b { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta span { color: var(--dim); font-size: .82rem; }
.sticky-cta .btn { margin-left: auto; min-height: 44px; padding: 0 22px; }
@media (max-width: 760px) { .js .sticky-cta { display: flex; } .js body:has(.sticky-cta) { padding-bottom: 84px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer-grid p { margin: 14px 0 0; max-width: 340px; }
.footer-grid h2 { margin: 0 0 12px; font-size: .9rem; letter-spacing: 0; color: var(--dim); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-grid a:not(.brand) { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.footer-grid a:not(.brand):hover { color: var(--text); text-decoration: underline; }
.langs { margin-top: 40px; }
.langs ul { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; list-style: none; }
.langs a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .88rem; }
.langs a:hover { color: var(--text); border-color: var(--text); }
.langs a[aria-current="page"] { color: var(--text); border-color: var(--text); }
.disclaimer { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: .86rem; }
.disclaimer p { margin: 0 0 8px; max-width: 980px; }
.disclaimer strong { color: var(--muted); }

/* ---------- Articles (guides, prompts, support, legal) ---------- */
.page-hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); isolation: isolate; overflow: clip; }
.page-hero::before { content: ""; position: absolute; inset: -40% 0 auto; height: 640px; z-index: -1; background: radial-gradient(40% 60% at 25% 0%, rgb(188 168 255 / 0.2), transparent 70%), radial-gradient(30% 50% at 70% 0%, rgb(255 159 205 / 0.1), transparent 70%); pointer-events: none; }
.page-hero > .container { max-width: calc(780px + 2 * var(--gutter)); }
.page-hero.wide > .container { max-width: calc(var(--container) + 2 * var(--gutter)); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: .9rem; color: var(--dim); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); max-width: 900px; }
.page-hero .lead { margin: 0; text-align: left; max-width: 780px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; color: var(--dim); font-size: .9rem; }
.article { max-width: 780px; margin: 0 auto; padding-bottom: 96px; }
.article-wide { max-width: var(--container); }
.article h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); margin-top: 1.9em; }
.article h3 { font-size: 1.25rem; margin-top: 1.6em; }
.article p, .article li { color: #d4d4dc; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.article li::marker { color: var(--lilac); font-weight: 700; }
.article strong { color: var(--text); }
.article .table-wrap { margin: 0 0 1.4em; }
.article table { min-width: 560px; font-size: .95rem; }
.answer-box { margin: 0 0 32px; padding: 22px 24px; border-radius: var(--radius-sm); background: linear-gradient(140deg, rgb(188 168 255 / 0.13), rgb(188 168 255 / 0.03)); border: 1px solid rgb(188 168 255 / 0.3); }
.answer-box h2 { margin: 0 0 8px !important; font-size: 1rem !important; letter-spacing: 0; color: var(--accent-text); }
.answer-box p:last-child, .answer-box ul:last-child { margin-bottom: 0; }
.toc { margin: 0 0 36px; padding: 20px 24px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.toc h2 { margin: 0 0 10px !important; font-size: 1rem !important; letter-spacing: 0; color: var(--dim); }
.toc ol { margin: 0; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { text-decoration: underline; color: var(--accent-text); }
.app-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin: 32px 0; padding: 22px; border-radius: var(--radius); background: linear-gradient(130deg, #1b1726, var(--surface) 70%); border: 1px solid rgb(188 168 255 / 0.28); }
.app-card > img { width: 64px; height: 64px; border-radius: 15px; }
.app-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.app-card b { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: 2px; }
@media (max-width: 640px) { .app-card { grid-template-columns: auto 1fr; } .app-card .btn { grid-column: 1 / -1; } }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 640px) { .related { grid-template-columns: 1fr; } }
.related a { display: block; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 650; transition: border-color .15s, background-color .15s; }
.related a:hover { border-color: rgb(188 168 255 / 0.45); background: var(--surface-2); }
.related a span { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; font-size: .92rem; }
.guide-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .guide-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .guide-list { grid-template-columns: 1fr; } }
.guide-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, transform .2s var(--ease); }
.guide-card:hover { color: var(--text); border-color: rgb(188 168 255 / 0.45); transform: translateY(-2px); }
.guide-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.guide-card div { padding: 20px 22px 24px; }
.guide-card h2 { font-size: 1.25rem; margin: 0 0 8px; }
.guide-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.legal h2 { font-size: 1.35rem; }

/* Prompt library */
.prompt-group { margin-top: 56px; }
.prompt-group > h2 { margin-top: 0; }
.prompts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 760px) { .prompts { grid-template-columns: 1fr; } }
.prompt-card { display: grid; grid-template-columns: 1fr; align-content: start; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.prompt-card.has-pic { grid-template-columns: 112px 1fr; }
@media (max-width: 520px) { .prompt-card.has-pic { grid-template-columns: 72px 1fr; gap: 14px; padding: 16px; } }
.prompt-card picture img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; }
.prompt-card h3 { margin: 0 0 6px; font-size: 1.08rem; }
.prompt-card p { margin: 0 0 14px; color: #d4d4dc; font-size: .98rem; }
.prompt-card .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.prompt-card .use-link { font-size: .9rem; font-weight: 650; }
.formula { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 0 1.4em; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.formula > div { padding: 16px 18px; background: var(--surface); }
.formula dt { font-weight: 700; color: var(--text); }
.formula dd { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .formula { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .formula { grid-template-columns: 1fr; } }

/* Get page */
.get { text-align: center; }
.get .app-chip { justify-content: center; }
.get .lead { margin: 0 auto; text-align: center; }
.get .cta-row { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Japanese and Korean: system CJK fonts, natural line breaks, no negative tracking on headings. */
html:lang(ja) { --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif; --font-display: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif; line-break: strict; }
html:lang(ko) { --font: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; --font-display: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; word-break: keep-all; }
:is(:lang(ja), :lang(ko)) :is(h1, h2, h3) { letter-spacing: 0; }
:is(:lang(ja), :lang(ko)) :is(h1, h2) { line-height: 1.25; }
:lang(ja) :is(h1, h2, h3) { word-break: auto-phrase; }

/* Example media inside articles: a photo → video pair or a single clip. */
.article-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 520px; margin: 8px 0 30px; }
.article-media.single { grid-template-columns: minmax(0, 290px); }
.article-media figure { margin: 0; min-width: 0; }
.article-media picture img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; }
.article-media.selfie picture img { aspect-ratio: 3 / 4; }
.article-media.selfie { align-items: end; }
.article-media figcaption { margin-top: 8px; color: var(--dim); font-size: .85rem; text-align: center; }
.page-hero .cta-row { margin-top: 26px; justify-content: flex-start; }
.page-hero .cta-note { justify-content: flex-start; text-align: left; }
