@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/be-vietnam-pro-400-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/be-vietnam-pro-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/be-vietnam-pro-600-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/be-vietnam-pro-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/be-vietnam-pro-800-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/be-vietnam-pro-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root,
:root[data-theme="light"] {
  --bg: #F5F2EC;
  --bg-alt: #ECE7DE;
  --surface: #FFFFFF;
  --surface-2: #FAF8F4;
  --ink: #171513;
  --ink-2: #4A4540;
  --ink-3: #6E675F;
  --line: #DCD5CA;
  --accent: #E8471B;
  --accent-ink: #FFFFFF;
  --accent-soft: #FFE3D8;
  --hot-bg: #171513;
  --hot-ink: #F5F2EC;
  --phone-bezel: #171513;
  --phone-ring: rgb(255 255 255 / .08);
  --code-bg: #1C1A18;
  --code-ink: #EDE8E0;
  --shadow: 0 1px 2px rgb(60 40 20 / .06), 0 12px 32px -12px rgb(60 40 20 / .22);
  --shadow-lg: 0 24px 64px -20px rgb(20 15 10 / .35);
  --r: 18px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F0E0D;
    --bg-alt: #171513;
    --surface: #1E1C1A;
    --surface-2: #25221F;
    --ink: #F3EFE8;
    --ink-2: #C9C2B8;
    --ink-3: #9A9288;
    --line: #2F2B27;
    --accent: #FF6A3D;
    --accent-ink: #160C08;
    --accent-soft: #3A1C12;
    --hot-bg: #FF6A3D;
    --hot-ink: #160C08;
    --phone-bezel: #272421;
    --phone-ring: rgb(255 255 255 / .14);
    --code-bg: #141311;
    --code-ink: #EDE8E0;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -16px rgb(0 0 0 / .7);
    --shadow-lg: 0 28px 72px -20px rgb(0 0 0 / .85);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0F0E0D;
  --bg-alt: #171513;
  --surface: #1E1C1A;
  --surface-2: #25221F;
  --ink: #F3EFE8;
  --ink-2: #C9C2B8;
  --ink-3: #9A9288;
  --line: #2F2B27;
  --accent: #FF6A3D;
  --accent-ink: #160C08;
  --accent-soft: #3A1C12;
  --hot-bg: #FF6A3D;
  --hot-ink: #160C08;
  --phone-bezel: #272421;
  --phone-ring: rgb(255 255 255 / .14);
  --code-bg: #141311;
  --code-ink: #EDE8E0;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -16px rgb(0 0 0 / .7);
  --shadow-lg: 0 28px 72px -20px rgb(0 0 0 / .85);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color .2s ease, color .2s ease;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-weight: 800;
  margin: 0;
  letter-spacing: -.025em;
  text-wrap: balance;
}
p { margin: 0; }
code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--accent-soft);
  color: var(--ink);
  padding: .1em .4em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 60;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.025em;
  flex: none;
}
.logo svg { width: 28px; height: 28px; }
.logo-frame { fill: var(--accent); }
.logo-play { fill: var(--accent-ink); }
.nav {
  display: none;
  gap: 4px;
  margin-left: 20px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--ink); background: var(--bg-alt); }
@media (min-width: 960px) {
  .nav { display: flex; }
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Theme switch button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 600 13px/1 var(--font);
  cursor: pointer;
  transition: border-color .15s, background-color .15s, transform .15s;
}
.theme-toggle:hover { border-color: var(--ink-3); }
.theme-toggle:active { transform: scale(.95); }
.theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.theme-label { display: none; }
@media (min-width: 560px) { .theme-label { display: inline; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font: 800 15px/1 var(--font);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--accent) 72%, transparent);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, var(--ink));
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm {
  min-height: 44px;
  padding: 0 15px;
  font-size: 14px;
}

/* ---------- hero ---------- */
.hero {
  padding: 40px 0 56px;
  overflow: hidden;
}
.hero-in {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { padding: 72px 0 92px; }
  .hero-in { grid-template-columns: 1.15fr .85fr; gap: 64px; }
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
h1 {
  font-size: clamp(38px, 8.8vw, 76px);
  line-height: 1.06;
  margin: 20px 0;
  letter-spacing: -.04em;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
.lead {
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 38ch;
}
.lead-sub {
  margin-top: 10px;
  color: var(--ink-2);
  max-width: 48ch;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 8px 28px;
  margin: 32px 0 0;
}
.facts dt {
  font-size: 13px;
  color: var(--ink-3);
}
.facts dd {
  margin: 3px 0 0;
  font-weight: 800;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 440px) {
  .facts { gap: 8px 16px; }
  .facts dd { font-size: 15px; }
}

.hero-media {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.phone {
  position: relative;
  width: min(78vw, 336px);
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  padding: 8px;
  background: var(--phone-bezel);
  border: 1px solid var(--phone-ring);
  box-shadow: var(--shadow), 0 40px 80px -40px color-mix(in srgb, var(--accent) 55%, transparent);
  transform: rotate(2deg);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 27px;
  overflow: hidden;
  background: #141210;
}
.phone video,
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-img-pan {
  animation: hero-pan 14s ease-in-out infinite alternate;
}
@keyframes hero-pan {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
.phone-pill {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgb(18 16 14 / .74);
  color: #F8F5F0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  line-height: 1.3;
}
.phone-pill strong { display: block; font-size: 13px; color: #FFFFFF; }
.phone-pill span { color: rgb(248 245 240 / .78); }
.phone-badge {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 11px;
}
.sound-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: rgb(18 16 14 / .65);
  color: #FFFFFF;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sound-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-media figcaption {
  font-size: 14px;
  color: var(--ink-3);
  text-align: center;
  max-width: 34ch;
}
@media (prefers-reduced-motion: reduce) {
  .phone { transform: none; }
  .phone-img-pan { animation: none; }
}

/* ---------- sections ---------- */
.sec { padding: 64px 0; }
.sec-alt { background: var(--bg-alt); }
@media (min-width: 900px) {
  .sec { padding: 96px 0; }
}
.sec-head {
  margin-bottom: 34px;
  max-width: 760px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(28px, 5.4vw, 48px);
  line-height: 1.08;
}
.sec-lead {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 60ch;
}

/* ---------- before/after comparison + benefits ---------- */
.compare-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}
@media (min-width: 780px) {
  .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
.compare-card {
  border-radius: 20px;
  padding: 22px 24px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.compare-new {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 38%, var(--surface)) 0%, var(--surface) 100%);
}
.compare-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  color: var(--ink-3);
}
.compare-new .compare-label { color: var(--accent); }
.compare-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.compare-card li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.compare-old li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink-3);
  font-weight: 800;
}
.compare-new li { color: var(--ink); }
.compare-new li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .benefits { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
}
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}
.benefit-art {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 14px;
  overflow: hidden;
}
.benefit-art svg { width: 100%; height: 100%; }
.benefit h3 { font-size: 16px; line-height: 1.3; }
.benefit p { font-size: 14px; color: var(--ink-2); line-height: 1.52; }
.benefit-tag {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- User 4-step SVG flow + 1-tap guide ---------- */
.flow {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 18px;
  box-shadow: var(--shadow);
}
.flow-h { display: none; width: 100%; height: auto; }
.flow-v { display: block; width: 100%; max-width: 340px; margin: 0 auto; height: auto; }
@media (min-width: 860px) {
  .flow { padding: 32px 24px; }
  .flow-h { display: block; }
  .flow-v { display: none; }
}
.f-box { fill: var(--bg-alt); stroke: var(--line); stroke-width: 1.5; }
.f-box-hot { fill: var(--hot-bg); stroke: var(--hot-bg); }
.f-line { fill: none; stroke: var(--ink-3); stroke-width: 2.2; stroke-linecap: round; }
.f-arrowhead { fill: var(--ink-3); }
.f-arrowhead-hot { fill: var(--accent); }
.f-ico { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-ico-hot { stroke: var(--hot-ink); }
.f-accent { stroke: var(--accent); fill: var(--accent-soft); }
.f-fill { fill: var(--accent); stroke: none; }
.f-step { font: 800 11px/1 var(--font); fill: var(--accent); letter-spacing: .08em; }
.f-step-hot { font: 800 11px/1 var(--font); fill: color-mix(in srgb, var(--hot-ink) 80%, transparent); letter-spacing: .08em; }
.f-t { font: 800 16px/1 var(--font); fill: var(--ink); }
.f-s { font: 400 12.5px/1 var(--font); fill: var(--ink-2); }
.f-t-hot { fill: var(--hot-ink); }
.f-s-hot { fill: color-mix(in srgb, var(--hot-ink) 84%, transparent); }
.flow figcaption {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  text-align: center;
}
.flow figcaption strong { color: var(--ink); }

.one-tap-grid {
  margin-top: 24px;
  display: grid;
  gap: 20px;
}
@media (min-width: 860px) {
  .one-tap-grid { grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
}
.one-tap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.one-tap-card h3 {
  font-size: 22px;
  margin-bottom: 18px;
}
.simple-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.simple-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
.simple-steps strong { display: block; font-size: 15px; margin-bottom: 3px; }
.simple-steps p { font-size: 14px; color: var(--ink-2); }

/* Chat mock */
.chat-mock {
  background: var(--code-bg);
  color: var(--code-ink);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  box-shadow: var(--shadow);
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgb(255 255 255 / .12);
  font-size: 12px;
  color: rgb(237 232 224 / .72);
}
.chat-head strong { color: #FFFFFF; font-size: 13px; }
.bubble {
  max-width: 92%;
  padding: 11px 14px;
  border-radius: 15px;
  line-height: 1.5;
}
.bubble-u {
  align-self: flex-end;
  background: var(--accent);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
}
.bubble-b {
  align-self: flex-start;
  background: rgb(255 255 255 / .09);
  color: #F3EFE8;
  border-bottom-left-radius: 4px;
}
.mock-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.mock-btns span {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgb(255 255 255 / .14);
  color: #FFFFFF;
  font-weight: 600;
}
.bubble-video {
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background: rgb(255 106 61 / .13);
  display: grid;
  gap: 4px;
}
.mock-vid-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 2px;
}
.bubble-video span:last-child { font-size: 13px; color: rgb(243 239 232 / .86); }

/* ---------- Case Studies section ---------- */
.case-highlights {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin: 0 0 24px;
}
@media (min-width: 680px) {
  .case-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.case-highlights > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.case-highlights dt {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.case-highlights dd {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-2);
}

.case-chips { margin-bottom: 24px; }

.case-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}
.case-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink-3);
}
.case-shot {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #141210;
  overflow: hidden;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  color: #FFFFFF;
}
.case-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.case-shot:hover img { transform: scale(1.03); }
.case-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(14 12 10 / .78) 0%, transparent 45%, rgb(14 12 10 / .35) 100%);
  pointer-events: none;
}
.case-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 18px -6px rgb(0 0 0 / .45);
}
.case-zoom-hint {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgb(18 16 14 / .68);
  color: #F8F5F0;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.case-shot-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.case-shot-caption {
  font-size: 12px;
  color: rgb(248 245 240 / .9);
  background: rgb(18 16 14 / .64);
  padding: 7px 11px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.case-shot-caption strong { display: block; color: #FFFFFF; font-size: 13px; }
.case-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.case-cat {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
}
.case-body h3 { font-size: 18px; line-height: 1.3; }
.case-body p { font-size: 14px; color: var(--ink-2); line-height: 1.54; }
.case-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.case-metric {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
}
.case-style-link {
  border: 1.5px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font: 800 12px/1 var(--font);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.case-style-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- filters + search + 24 style grid ---------- */
.catalog-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.search-wrap {
  position: relative;
  flex: 1 1 280px;
  max-width: 440px;
}
.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--ink-3);
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}
.search-input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px 0 42px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 400 15px/1 var(--font);
  transition: border-color .15s;
}
.search-input::placeholder { color: var(--ink-3); }
.search-input:focus { outline: none; border-color: var(--accent); }
.catalog-count {
  font-size: 14px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.catalog-count strong { color: var(--ink); }

.filters {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -16px;
  padding: 2px 16px;
}
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
}
.chip {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 600 14px/1 var(--font);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  font-weight: 800;
}
.chip[aria-pressed="true"] span {
  color: color-mix(in srgb, var(--bg) 72%, transparent);
}
.chip-sm { min-height: 38px; font-size: 13px; padding: 0 14px; }

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 12px;
}
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
}
.card-media {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
  cursor: pointer;
  isolation: isolate;
}
.card-media img,
.card-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .2s ease;
}
.card-media:hover img { transform: scale(1.03); }
.card-media video { opacity: 0; }
.card-media.is-playing video { opacity: 1; }
.card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(to top, rgb(15 13 11 / .62), transparent);
  pointer-events: none;
  z-index: 1;
}
.card-status {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgb(18 16 14 / .66);
  color: #F8F5F0;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.card-dur {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgb(18 16 14 / .64);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: rgb(20 18 16 / .68);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .15s;
}
.play:active { transform: scale(.92); }
.play svg { width: 20px; height: 20px; fill: currentColor; }
.play .i-pause,
.is-playing .play .i-play { display: none; }
.is-playing .play .i-pause { display: inline; }

.card-body {
  padding: 12px 2px 0;
  display: grid;
  gap: 5px;
}
.card-id {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.card-name {
  font-size: 16px;
  line-height: 1.28;
  letter-spacing: -.015em;
}
@media (min-width: 640px) { .card-name { font-size: 17px; } }
.card-blurb {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.46;
  display: none;
}
@media (min-width: 640px) { .card-blurb { display: block; } }
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.card-tags span,
.sheet-tags span {
  font-size: 12px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 7px;
  padding: 2px 8px;
}
.card-more {
  justify-self: start;
  margin-top: 6px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 800 13px/1 var(--font);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
.card-more:hover { color: var(--accent); }

.empty {
  text-align: center;
  padding: 48px 16px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--r);
  margin-top: 16px;
}
.empty p { color: var(--ink-2); margin-bottom: 16px; }

.copy-btn {
  flex: none;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 600 12px/1 var(--font);
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- FAQ + final CTA ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 840px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}
.faq-item summary {
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  flex: none;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.62;
}

.cta-box {
  margin-top: 52px;
  padding: 36px 24px;
  border-radius: 24px;
  background: var(--hot-bg);
  color: var(--hot-ink);
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 820px) {
  .cta-box {
    padding: 44px 48px;
    grid-template-columns: 1fr auto;
  }
}
.cta-box h2 { font-size: clamp(24px, 4vw, 38px); }
.cta-box p {
  margin-top: 10px;
  color: color-mix(in srgb, var(--hot-ink) 80%, transparent);
  max-width: 52ch;
}
.cta-box .btn-cta {
  background: var(--accent);
  color: #FFFFFF;
}
:root[data-theme="dark"] .cta-box .btn-cta {
  background: #160C08;
  color: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cta-box .btn-cta {
    background: #160C08;
    color: #FFFFFF;
  }
}

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--ink-2);
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}
.foot a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.foot a:hover { text-decoration: underline; }
.foot-sub { color: var(--ink-3); font-size: 13px; }

/* ---------- detail modal dialog + case lightbox ---------- */
.sheet,
.lightbox {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  width: min(94vw, 880px);
  max-height: min(92vh, 840px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.sheet::backdrop,
.lightbox::backdrop {
  background: rgb(12 10 9 / .76);
  backdrop-filter: blur(8px);
}
.sheet-in,
.lb-in {
  position: relative;
  display: grid;
  max-height: min(92vh, 840px);
  overflow-y: auto;
}
@media (min-width: 760px) {
  .sheet-in,
  .lb-in {
    grid-template-columns: 350px 1fr;
    overflow: hidden;
  }
}
.sheet-media,
.lb-media {
  position: relative;
  background: #12100E;
  aspect-ratio: 9 / 16;
  max-height: 60vh;
  width: 100%;
  overflow: hidden;
}
@media (min-width: 760px) {
  .sheet-media,
  .lb-media {
    max-height: none;
    height: 100%;
    aspect-ratio: 9 / 16;
  }
}
.sheet-media img,
.sheet-media video,
.lb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-media.is-real-shot img {
  object-fit: contain;
  background: #0F0E0D;
}
.sheet-placeholder-note {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgb(18 16 14 / .78);
  color: #F3EFE8;
  font-size: 12px;
  backdrop-filter: blur(8px);
}
.sheet-body,
.lb-body {
  padding: 24px 24px 30px;
  display: grid;
  gap: 14px;
  align-content: start;
}
@media (min-width: 760px) {
  .sheet-body,
  .lb-body {
    padding: 28px 32px 36px;
    overflow-y: auto;
    max-height: min(92vh, 840px);
  }
}
.sheet-body h3,
.lb-body h3 {
  font-size: 24px;
  line-height: 1.22;
  padding-right: 36px;
}
.sheet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sheet-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}
.sheet-hint {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.sheet-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.best-for {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.best-for span {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.spec-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.spec-item dt { font-size: 12px; color: var(--ink-3); }
.spec-item dd { margin: 3px 0 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.sheet-cmd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--code-bg);
  color: var(--code-ink);
}
.sheet-cmd code {
  background: transparent;
  color: #FFFFFF;
  font-size: 15px;
  padding: 0;
}
.lb-metric {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}
.lb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.sheet-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 80;
}
.toast.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
}
