/* ============================================================
   THESTARTMACHINE // BW EDITION
   Strict Swiss-editorial brutalism · graphite · B/W · red accent
   Sharp corners · hairline grid · terminal vibe
   ============================================================ */

:root {
  --bg:        #18181a;
  --bg-2:      #1d1d20;
  --panel:     #1f1f22;
  --panel-2:   #242428;

  --ink:       #f3f2ee;
  --ink-2:     #97968f;
  --ink-3:     #5f5e58;

  --line:      rgba(243,242,238,0.13);
  --line-2:    rgba(243,242,238,0.26);
  --line-3:    rgba(243,242,238,0.5);

  --red:       #e0322d;
  --red-dim:   #b3291f;

  --font-grotesk: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1320px;
  --gutter: 18px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-grotesk);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.5;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0,0,0,0.16) 2px 3px);
  mix-blend-mode: multiply;
}
body[data-grain="0"]::before { display: none; }
body[data-scanlines="0"]::after { display: none; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }
::selection { background: var(--red); color: #fff; }

#root { position: relative; z-index: 2; }

/* ---------------- layout ---------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; }

.ruled-t { border-top: 1px solid var(--line-2); }
.ruled-b { border-bottom: 1px solid var(--line-2); }

/* eyebrow: terminal-style label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .br { color: var(--red); }
.eyebrow .blink { width: 8px; height: 14px; background: var(--red); display: inline-block; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------------- type ---------------- */
.display {
  font-family: var(--font-grotesk);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
  font-size: clamp(46px, 16vw, 150px);
}
.h1 {
  font-family: var(--font-grotesk);
  font-weight: 800; line-height: 0.96; letter-spacing: -0.025em;
  text-transform: uppercase; margin: 0;
  font-size: clamp(30px, 8.5vw, 64px);
}
.h2 {
  font-family: var(--font-grotesk);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.02em;
  text-transform: uppercase; margin: 0;
  font-size: clamp(20px, 5vw, 30px);
}
.h3 { font-family: var(--font-grotesk); font-weight: 700; letter-spacing: -0.01em; margin: 0; font-size: 18px; }
.lead { font-size: clamp(15px, 2.2vw, 18px); line-height: 1.5; color: var(--ink); max-width: 60ch; }
.body { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.body-s { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.red { color: var(--red); }
.up { text-transform: uppercase; }

/* metallic B/W shimmer */
.shimmer {
  background: linear-gradient(100deg, #6b6b6b 0%, #ffffff 18%, #8c8c8c 34%, #ffffff 52%, #5a5a5a 70%, #f2f2f2 86%, #6b6b6b 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }
@media (prefers-reduced-motion: reduce) { .shimmer { animation: none; } }

/* + crosshair motif */
.plus {
  position: relative; display: inline-block;
  width: 1em; height: 1em; flex: none;
  color: var(--red);
}
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 50%; top: 0; width: 1.6px; height: 100%; transform: translateX(-50%); }
.plus::after { top: 50%; left: 0; height: 1.6px; width: 100%; transform: translateY(-50%); }

/* ---------------- buttons (sharp) ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 16px 22px; min-height: 52px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  border-radius: 0;
  transition: background .18s var(--ease), color .18s, border-color .18s, transform .12s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.btn:active { transform: translate(1px,1px); }
.btn .arrow { transition: transform .25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 700; }
.btn--primary:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(243,242,238,0.05); }
.btn--block { width: 100%; }
.btn--lg { min-height: 60px; font-size: 14px; padding: 19px 26px; }

.alink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: color .18s, border-color .18s, gap .2s var(--ease-out);
}
.alink:hover { color: var(--red); border-color: var(--red); gap: 12px; }

/* ---------------- cards (sharp, ruled) ---------------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 0; position: relative; }
.card--hover { transition: border-color .2s, background .2s; }
.card--hover:hover { border-color: var(--line-3); background: var(--panel-2); }

.tick { position: absolute; width: 8px; height: 8px; pointer-events: none; }
.tick::before, .tick::after { content: ""; position: absolute; background: var(--red); }
.tick::before { width: 100%; height: 1.4px; top: 0; }
.tick::after { width: 1.4px; height: 100%; left: 0; }
.tick.tr { top: -1px; right: -1px; } .tick.tr::after { left: auto; right: 0; }
.tick.tl { top: -1px; left: -1px; }

.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid var(--line-2); padding: 6px 10px; border-radius: 0; background: transparent; white-space: nowrap;
}
.tag--red { color: var(--red); border-color: var(--red); }

/* ---------------- noise veil ---------------- */
.veil { position: relative; overflow: hidden; }
.veil > .veil-noise {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");
  opacity: 0.5; mix-blend-mode: screen;
  transition: opacity .4s var(--ease);
}
.veil:hover > .veil-noise { opacity: 0.06; }
@media (hover: none) { .veil > .veil-noise { opacity: 0.16; } }

/* ---------------- reveal ---------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------- swiper ---------------- */
.swiper { display: flex; gap: 1px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 1px; scrollbar-width: none; background: var(--line); }
.swiper::-webkit-scrollbar { display: none; }
.swiper > * { scroll-snap-align: start; flex: 0 0 auto; }
.swiper-nav { display: flex; align-items: center; gap: 0; }
.swiper-dots { display: flex; gap: 6px; align-items: center; }
.swiper-dots .d { width: 18px; height: 3px; border-radius: 0; background: var(--line-2); transition: background .25s; }
.swiper-dots .d.on { background: var(--red); }
.iconbtn {
  width: 48px; height: 48px; flex: none; border-radius: 0;
  border: 1px solid var(--line-2); border-left-width: 0; background: transparent; color: var(--ink);
  display: grid; place-items: center; transition: background .18s, color .18s, opacity .18s;
}
.swiper-nav .iconbtn:first-of-type { border-left-width: 1px; }
.iconbtn:hover { background: var(--ink); color: var(--bg); }
.iconbtn:disabled { opacity: .3; cursor: default; }

/* ---------------- header ---------------- */
.appbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.appbar.scrolled { background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom-color: var(--line-2); }
.appbar .row { display: flex; align-items: center; justify-content: space-between; height: 56px; }

.sheet { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: flex; flex-direction: column;
  padding: 70px var(--gutter) 28px; transform: translateY(-100%); visibility: hidden;
  transition: transform .45s var(--ease-out), visibility 0s linear .45s; }
.sheet.open { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s linear 0s; }
.sheet a.mlink { font-family: var(--font-grotesk); font-weight: 800; text-transform: uppercase; font-size: 30px; letter-spacing: -0.02em;
  padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.sheet a.mlink .n { font-family: var(--font-mono); font-size: 12px; color: var(--red); font-weight: 400; }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in oklch, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line-2);
  transform: translateY(120%); transition: transform .4s var(--ease-out); }
.dock.show { transform: none; }
.dock-row { display: flex; gap: 1px; }
.dock-row .btn { flex: 1; }

.menu-btn { width: 46px; height: 46px; border-radius: 0; border: 1px solid var(--line-2); background: transparent; color: var(--ink); display: grid; place-items: center; }

/* wordmark: abbreviate to TSM when the full name won't fit the mobile header */
.wordmark-short { display: none; }
@media (max-width: 420px) {
  .wordmark-full { display: none; }
  .wordmark-short { display: inline; }
}

/* language toggle */
.langtoggle { display: inline-flex; border: 1px solid var(--line-2); flex: none; }
.langbtn { background: transparent; border: 0; color: var(--ink-2); font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  padding: 9px 10px; min-width: 34px; transition: background .16s, color .16s; }
.langbtn + .langbtn { border-left: 1px solid var(--line-2); }
.langbtn.on { background: var(--ink); color: var(--bg); }
.langbtn:not(.on):hover { color: var(--ink); }
.nav-links, .nav-cta { display: none; }
@media (min-width: 1000px) {
  .nav-links { display: flex; align-items: center; gap: 26px; }
  .nav-links a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); transition: color .18s; }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .dock { display: none; }
}

.full { width: 100%; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

@media (max-width: 999px) { body { padding-bottom: 76px; } }
@media (min-width: 760px) { :root { --gutter: 28px; } }

/* ============================================================
   Components
   ============================================================ */

.sec-pad { padding-block: clamp(54px, 9vw, 100px); }
.sec-head { margin-bottom: clamp(32px, 5vw, 52px); }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-title { max-width: 16ch; }
.sup { color: var(--red); font-size: 0.6em; vertical-align: super; font-family: var(--font-mono); }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; padding-block: 11px; margin-top: 56px; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: marquee 32s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; padding-inline: 18px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shader-wave { from { background-position: 0 0, 0 0; } to { background-position: 0 120px, 120px 0; } }
.shader-fallback {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent 0px, transparent 5px, rgba(224,50,45,0.07) 5px, rgba(224,50,45,0.07) 6px),
    repeating-linear-gradient(90deg, transparent 0px, transparent 5px, rgba(224,50,45,0.04) 5px, rgba(224,50,45,0.04) 6px);
  animation: shader-wave 8s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- hero ---------- */
.hero-main { display: grid; grid-template-columns: 1fr; gap: 0; padding-top: clamp(30px, 6vw, 56px); padding-bottom: clamp(30px, 5vw, 50px); }
@media (min-width: 940px) { .hero-main { grid-template-columns: 1.5fr 0.85fr; } .hero-right { border-left: 1px solid var(--line-2); padding-left: 28px; } }

.hero-h { margin-bottom: 26px; font-size: clamp(38px, 13.5vw, 132px); word-break: break-word; }
@media (min-width: 940px) { .hero-h { font-size: clamp(56px, 8.5vw, 112px); word-break: normal; } }
.hero-h-row { display: inline-flex; align-items: baseline; gap: 0.28em; flex-wrap: wrap; }
.hero-claim { margin: 0 0 28px; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1px; }
.hero-cta .btn { flex: 1 1 auto; }
@media (max-width: 520px) { .hero-cta { flex-direction: column; } }

.hero-right { margin-top: 30px; }
@media (min-width: 940px) { .hero-right { margin-top: 8px; } }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line-2); overflow: hidden; }
.hstat { position: relative; padding: 16px 12px; border-right: 1px solid var(--line); min-width: 0; }
.hstat:last-child { border-right: 0; }
.hstat-n { font-size: clamp(26px, 7vw, 34px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.hstat-l { font-size: 9px; letter-spacing: 0.04em; color: var(--ink-2); margin-top: 8px; white-space: nowrap; }
.hstat-plus { position: absolute; top: 5px; right: 5px; width: 10px; height: 10px; }

.hero-feed { margin-top: 1px; border: 1px solid var(--line-2); padding: 16px; background: var(--bg-2); }
.feed-head { font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-2); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dot-red { width: 7px; height: 7px; background: var(--red); display: inline-block; animation: blink 1.4s steps(1) infinite; }
.feed-rows { font-size: 12px; line-height: 1.9; }
.feed-row { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- pains ---------- */
.pain-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
@media (min-width: 680px) { .pain-grid { grid-template-columns: 1fr 1fr; } .pain-grid > article:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.pain { background: var(--bg); padding: 26px 24px; position: relative; transition: background .2s; overflow: hidden; }
.pain:hover { background: var(--panel); }
.pain-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.idx { font-size: 13px; color: var(--red); letter-spacing: 0.1em; }
.pain-ic, .reason-ic { width: 50px; height: 50px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); }
.pain-t { margin-bottom: 10px; font-size: 17px; }
.pain-b { margin: 0 0 16px; }
.pain-q { font-size: 12px; color: var(--ink-2); border-left: 2px solid var(--red); padding-left: 12px; line-height: 1.5; }

.pain-cta { margin-top: 1px; border: 1px solid var(--line-2); border-top: 0; padding: clamp(22px,4vw,34px); display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 760px) { .pain-cta { flex-direction: row; align-items: center; justify-content: space-between; } .pain-cta > div { max-width: 60%; } }

/* ---------- reasons ---------- */
.reason { flex: 0 0 82%; max-width: 360px; background: var(--bg); padding: 26px 24px; display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 680px) { .reason { flex-basis: 46%; } }
@media (min-width: 1000px) { .reason { flex-basis: 30%; } }
.reason-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.reason-idx { font-size: 40px; font-weight: 600; line-height: 0.8; color: var(--line-3); letter-spacing: -0.04em; }
.reason-tag { margin-bottom: 14px; align-self: flex-start; }
.reason-t { margin-bottom: 10px; font-size: 18px; }

.swiper-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }

/* desktop static grid */
.cgrid { display: grid; gap: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.cgrid > * { flex: initial !important; max-width: none !important; width: auto !important;
  border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--bg); }
.cgrid-head { margin-bottom: 18px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line-2); }
@media (min-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
.step { display: flex; gap: 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
@media (min-width: 760px) { .step:nth-child(2n) { border-right: 0; } .step:nth-last-child(-n+2):nth-child(odd) { border-bottom: 0; } }
@media (max-width: 759px) { .step { border-right: 0; } .step:last-child { border-bottom: 0; } }
.step-l { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-right: 1px solid var(--line); background: var(--bg-2); }
.step-tag { font-size: 9px; letter-spacing: 0.16em; color: var(--ink-3); }
.step-n { font-size: 40px; font-weight: 600; line-height: 1; color: var(--red); letter-spacing: -0.04em; }
.step-body { padding: 24px 22px; flex: 1; min-width: 0; }
.step-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step-t { margin-bottom: 8px; font-size: clamp(19px,4.5vw,24px); }
.step-d { margin: 0 0 18px; }

/* ---------- first step / fs-head shared ---------- */
.fs-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; margin-top: 14px; }
.fs-price { font-size: clamp(28px,9vw,52px); font-weight: 600; letter-spacing: -0.03em; line-height: 0.9; color: var(--ink); }
.fs-cta { margin-top: 26px; border: 1px solid var(--line-2); padding: clamp(20px,4vw,30px); display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
/* static two-up grid for launch models (block 04) */
.first-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
@media (min-width: 720px) { .first-grid { grid-template-columns: 1fr 1fr; } }
.first-grid .best { flex: initial; max-width: none; width: auto; padding: clamp(24px,4vw,34px) clamp(22px,3.5vw,30px); }
.best { flex: 0 0 80%; max-width: 340px; background: var(--bg); padding: 24px 22px; display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 680px) { .best { flex-basis: 44%; } }
@media (min-width: 1000px) { .best { flex-basis: 29%; } }
.best-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.best-ic { width: 50px; height: 50px; border: 1px solid var(--line-2); display: grid; place-items: center; }
.best-idx { font-size: 13px; color: var(--red); }
.best-t { margin-bottom: 10px; font-size: 18px; }
.best-d { margin: 0 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip { font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line); padding: 5px 9px; }

/* ---------- catalog ---------- */
.cat-tabs { gap: 1px; background: var(--bg); border: 1px solid var(--line-2); margin-bottom: 1px; }
.cat-tab { display: inline-flex; align-items: center; gap: 8px; padding: 14px 16px; background: var(--bg); color: var(--ink-2); border: 0; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; transition: background .18s, color .18s; flex: 0 0 auto; }
.cat-tab:hover { color: var(--ink); }
.cat-tab.on { background: var(--ink); color: var(--bg); }
.cat-tab .cat-n { color: var(--red); font-size: 11px; }
.cat-tab.on .cat-n { color: var(--bg); }
.cat-items { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line-2); border-top: 0; }
@media (min-width: 620px) { .cat-items { grid-template-columns: 1fr 1fr; } }
.cat-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--bg);
  transition: background .18s; animation: itemin .45s var(--ease-out) both; }
.cat-item:hover { background: var(--panel); }
@media (min-width: 620px) { .cat-item:nth-child(2n) { border-right: 0; } }
.cat-item-no { font-size: 11px; color: var(--red); flex: none; }
.cat-item-t { font-size: 13.5px; line-height: 1.3; flex: 1; }
.cat-item-arrow { color: var(--ink-3); flex: none; opacity: 0; transition: opacity .18s, transform .18s; }
.cat-item:hover .cat-item-arrow { opacity: 1; transform: translate(2px,-2px); color: var(--red); }
@keyframes itemin { from { transform: translateY(6px); } to { transform: none; } }
.cat-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: center; margin-top: 26px; border: 1px solid var(--line-2); padding: 22px; }
.cat-out { text-align: left; }
.cat-out-n { font-size: 30px; font-weight: 600; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.cat-out .body-s { margin-top: 6px; letter-spacing: 0.06em; }
.cat-out-cta { flex: 1 1 240px; justify-content: center; }
@media (min-width: 640px) { .cat-foot { justify-content: space-between; } .cat-out-cta { flex: 0 0 auto; } }

/* ---------- tiers ---------- */
.tier-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
@media (min-width: 900px) { .tier-grid { grid-template-columns: repeat(3,1fr); align-items: stretch; } }
.tier { background: var(--bg); padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.tier-pop { background: var(--panel); }
.tier-pop::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--red); pointer-events: none; }
.tier-badge { position: absolute; top: 0; left: 24px; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-size: 10px; letter-spacing: 0.08em; padding: 5px 10px; }
.tier-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tier-price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tier-p-n { font-size: clamp(32px,8vw,40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.tier-tag { margin: 0 0 18px; flex: 1; }
.tier > .btn { margin-top: auto; }
.feat { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.feat li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.feat li .plus { flex: none; }
.sub-notes { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 22px; }
.coming { margin-top: 20px; border: 1px solid var(--line); padding: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: repeating-linear-gradient(45deg, var(--bg), var(--bg) 10px, var(--bg-2) 10px, var(--bg-2) 20px); }
.coming + .btn { margin-top: 1px; }

/* ---------- security ---------- */
.sec-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
@media (min-width: 560px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .sec-grid { grid-template-columns: 1fr 1fr 1fr; } }
.sec-item { background: var(--bg); padding: 26px 24px; transition: background .2s; }
.sec-item:hover { background: var(--panel); }
.sec-row { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.sec-ic { width: 48px; height: 48px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); }
.sec-no { font-size: 13px; color: var(--red); }
.sec-t { margin-bottom: 8px; font-size: 16px; }

/* ---------- cases ---------- */
.case { flex: 0 0 82%; max-width: 380px; background: var(--bg); padding: 26px 24px; display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 680px) { .case { flex-basis: 46%; } }
@media (min-width: 1000px) { .case { flex-basis: 33%; } }
.case-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.case-ic { width: 46px; height: 46px; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; }
.case-kpi { font-size: clamp(46px,14vw,68px); font-weight: 600; line-height: 0.85; letter-spacing: -0.04em; color: var(--ink); }
.case-unit { font-size: 12px; letter-spacing: 0.08em; color: var(--red); margin: 8px 0 18px; }

/* ---------- reviews ---------- */
.review { flex: 0 0 86%; max-width: 560px; background: var(--bg); padding: 32px 28px; margin: 0; display: flex; flex-direction: column; }
@media (min-width: 900px) { .review { flex-basis: 48%; } }
.review-q { font-family: var(--font-grotesk); font-weight: 800; font-size: 60px; line-height: 0.5; color: var(--red); }
.review-t { font-family: var(--font-grotesk); font-weight: 700; text-transform: uppercase; font-size: clamp(19px,4.6vw,26px); line-height: 1.15; letter-spacing: -0.02em; margin: 20px 0 22px; }
.review-w { font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-2); }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 880px) { .faq-wrap { grid-template-columns: 340px 1fr; gap: 48px; align-items: start; } .faq-head { position: sticky; top: 80px; } }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; color: var(--ink); text-align: left; display: flex; align-items: center; gap: 14px; padding: 20px 0; }
.faq-no { font-size: 11px; color: var(--red); flex: none; }
.faq-qt { flex: 1; font-family: var(--font-grotesk); font-weight: 700; font-size: clamp(14px,3.6vw,16px); text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.25; }
.faq-q:hover .faq-qt { color: var(--red); }
.faq-pm { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink-2); transition: all .25s var(--ease); }
.faq-item.open .faq-pm { background: var(--red); color: #fff; border-color: var(--red); }
.faq-a { display: grid; transition: grid-template-rows .35s var(--ease); }
.faq-at { margin: 0 0 20px; padding-left: 25px; }

/* ---------- final ---------- */
.final-h { font-size: clamp(34px,10vw,92px); max-width: 18ch; margin-inline: auto; line-height: 1.06; }
.final-cta { display: flex; flex-direction: column; gap: 1px; align-items: center; margin-top: 30px; }
.final-cta .btn { width: 100%; max-width: 360px; justify-content: center; }
@media (min-width: 620px) { .final-cta { flex-direction: row; justify-content: center; } .final-cta .btn { width: auto; } }

/* ---------- footer ---------- */
.foot-pad { padding-block: 52px 36px; }
.foot-top { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 760px) { .foot-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; } }
.foot-nav { display: flex; flex-direction: column; gap: 11px; }
.foot-nav a { color: var(--ink-2); font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; width: fit-content; transition: color .18s; }
.foot-nav a:hover { color: var(--red); }
.foot-cta { display: flex; flex-direction: column; gap: 1px; }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: 0.04em; }
