/* nstunt — Theme A "Redline"
 * Breakpoints, tuned for Galaxy Z Fold 5:
 *   base      : folded cover screen (~344px wide) and phones
 *   >= 600px  : unfolded inner screen (~690 x 830, near-square)
 *   >= 960px  : desktop
 */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --bg: #0E0F11;
  --surface: #16181B;
  --surface-2: #1D2024;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --ink: #F3F1EE;
  --muted: #A8A29B;
  --dim: #6F6A64;
  --accent: #FF4A1C;
  --accent-ink: #0E0F11;          /* text on accent: 5.8:1 */
  --accent-soft: rgba(255, 74, 28, 0.12);
  --accent-text: #FF4A1C;         /* accent on small text and thin glyphs; darker in light mode */
  --accent-hover: #FF6236;        /* primary button hover; --accent-ink on it: 6.4:1 */
  --accent-wash: rgba(255, 74, 28, 0.06);
  --accent-glow: rgba(255, 74, 28, 0.13);
  --accent-0: rgba(255, 74, 28, 0);
  --nav-bg: rgba(14, 15, 17, 0.86);            /* translucent --bg */
  --ghost-hover: #262A2F;
  --ghost-hover-ring: rgba(255, 255, 255, 0.28);
  --grid-dot: rgba(255, 255, 255, 0.06);
  --field-border: var(--border-strong);
  --danger: #FF8A6B;

  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --pad: clamp(18px, 5vw, 40px);
  --wrap: 1120px;
  --narrow: 760px;
  --radius: 14px;
  --radius-sm: 8px;
  --section-gap: clamp(72px, 12vw, 136px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* Light mode: the same brand in daylight. data-theme is set by the inline script in <head>
 * (stored choice > system setting > dark). --accent stays #FF4A1C for fills and large type;
 * --accent-text is the same hue, darkened to clear 4.5:1 on --bg and --surface. */
html[data-theme="light"] {
  --bg: #F6F4F1;
  --surface: #FFFFFF;
  --surface-2: #EDEAE6;
  --border: rgba(14, 15, 17, 0.08);
  --border-strong: rgba(14, 15, 17, 0.16);
  --ink: #0E0F11;
  --muted: #57524C;
  --dim: #6B655F;
  --accent-soft: rgba(255, 74, 28, 0.10);
  --accent-text: #C2330A;
  --nav-bg: rgba(246, 244, 241, 0.86);
  --ghost-hover: #E2DED9;
  --ghost-hover-ring: rgba(14, 15, 17, 0.28);
  --grid-dot: rgba(14, 15, 17, 0.07);
  --field-border: rgba(14, 15, 17, 0.48);      /* 3.4:1 on --surface */
  --danger: #B02E08;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font: 400 16px/1.6 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 600px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 780; font-stretch: 108%; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(30px, 5vw, 50px); }
h3 { font-size: 19px; font-stretch: 104%; letter-spacing: -0.01em; line-height: 1.25; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: calc(var(--narrow) + var(--pad) * 2); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- preview ribbon ---------- */
.preview-bar { display: none; background: var(--accent); color: var(--accent-ink); text-align: center; padding: 6px 12px; font: 600 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.is-preview .preview-bar { display: block; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.logo { display: inline-flex; align-items: baseline; color: var(--ink); text-decoration: none; font: 820 22px/1 var(--sans); font-stretch: 112%; letter-spacing: -0.04em; }
.logo i { width: .26em; height: .26em; margin-left: .06em; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav-links { display: none; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 12px; color: var(--muted); text-decoration: none; font-size: 15px; border-radius: var(--radius-sm); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.theme-toggle { display: none; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .15s, background-color .15s; }
.js .theme-toggle { display: grid; }
.theme-toggle:hover { color: var(--ink); background: var(--surface-2); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .ico-moon { display: none; }
html[data-theme="light"] .theme-toggle .ico-sun { display: none; }
html[data-theme="light"] .theme-toggle .ico-moon { display: block; }
@media (min-width: 600px) { .nav-links { display: flex; } .nav-links .nav-extra { display: none; } }
@media (min-width: 960px) { .nav-links .nav-extra { display: block; } }
/* 600–639px: the theme toggle shares the row, so tighten the links instead of letting them wrap */
@media (min-width: 600px) and (max-width: 639px) { .nav .wrap { gap: 8px; } .nav-links a { padding: 10px 8px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font: 700 15px/1 var(--sans); font-stretch: 104%; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s var(--ease-out), background-color .15s, color .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--border-strong); }
.btn-ghost:hover { background: var(--ghost-hover); box-shadow: inset 0 0 0 1px var(--ghost-hover-ring); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn .arrow { transition: transform .2s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* split pill: two buttons that read as one control */
.split { display: flex; gap: 4px; width: 100%; max-width: 420px; }
.split .btn { flex: 1 1 auto; padding: 0 18px; }
.split .btn:first-child { border-radius: 999px 6px 6px 999px; }
.split .btn:last-child { border-radius: 6px 999px 999px 6px; }
@media (min-width: 600px) { .split { width: auto; } .split .btn { flex: 0 0 auto; padding: 0 26px; } }

/* ---------- hero ---------- */
.hero { text-align: center; padding: clamp(44px, 9vw, 104px) 0 clamp(56px, 9vw, 96px); position: relative; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.eyebrow { font: 500 12px/1.4 var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 18px; }
.eyebrow b { color: var(--accent-text); font-weight: 500; }
.hero h1 { font-size: clamp(30px, 6vw, 60px); max-width: 15ch; margin: 22px auto 0; }
.hero .sub { text-wrap: balance; max-width: 36em; margin: 20px auto 30px; font-size: clamp(16px, 2.2vw, 19px); }
.hero .micro { margin: 16px 0 0; color: var(--dim); font: 400 12px/1.5 var(--mono); }

/* wordmark: "instant" → drop the i, flip a → u → "nstunt." */
.wordmark { display: inline-flex; align-items: baseline; color: var(--ink); font: 860 clamp(64px, 18vw, 176px)/.9 var(--sans); font-stretch: 114%; letter-spacing: -0.055em; user-select: none; white-space: nowrap; }
.wordmark > span { display: inline-block; }
.wm-i { max-width: 0; opacity: 0; transform-origin: 50% 100%; }
.wm-flip { display: inline-grid !important; perspective: 600px; }
.wm-flip > span { grid-area: 1 / 1; backface-visibility: hidden; text-align: center; }
.wm-flip .a { transform: rotateX(90deg); }
.wm-flip .u { transform: rotateX(0); }
.wm-dot { position: relative; width: .2em; height: .2em; margin-left: .07em; border-radius: 50%; background: var(--accent); }
.wm-dot::before { content: ""; position: absolute; right: 50%; top: 0; height: 100%; width: 1.6em; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 74, 28, 0), rgba(255, 74, 28, .55)); transform-origin: 100% 50%; transform: scaleX(0); }

/* armed state (JS present): show "instant", dot hidden */
.js .wordmark.is-armed .wm-i { max-width: .34em; opacity: 1; }
.js .wordmark.is-armed .wm-flip .a { transform: rotateX(0); }
.js .wordmark.is-armed .wm-flip .u { transform: rotateX(-90deg); }
.js .wordmark.is-armed .wm-dot { opacity: 0; transform: translateX(-1.8em); }

/* playing state: transitions back to the final (default) state */
.wordmark.is-playing .wm-i { transition: max-width .38s var(--ease-out), opacity .3s ease-in, transform .45s cubic-bezier(.5, 0, .9, .4); transform: translateY(.55em) rotate(-24deg); }
.wordmark.is-playing .wm-flip .a { transition: transform .22s ease-in .26s; transform: rotateX(90deg); }
.wordmark.is-playing .wm-flip .u { transition: transform .26s var(--ease-out) .48s; }
.wordmark.is-playing .wm-dot { transition: transform .34s var(--ease-out) .56s, opacity .08s linear .56s; }
/* streak replaced by bolt-strike SVG (see .bolt-svg below). */

/* ---------- sections ---------- */
section { padding: var(--section-gap) 0 0; }
.label { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.label span { color: var(--accent-text); }
.label::after { content: ""; height: 1px; flex: 1; max-width: 80px; background: var(--border-strong); }
.lede { font-size: clamp(16px, 2.1vw, 19px); max-width: 38em; margin-top: 18px; }

/* 01 problem */
.problem { display: grid; gap: 36px; }
@media (min-width: 960px) { .problem { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; } }
.struck { list-style: none; margin: 0; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.struck li { position: relative; padding: 13px 0 13px 30px; font: 400 14px/1.45 var(--mono); color: var(--ink); border-bottom: 1px solid var(--border); }
.struck li:last-child { border-bottom: 0; }
.struck li::before { content: "×"; position: absolute; left: 4px; top: 12px; color: var(--accent-text); font-weight: 600; }
.struck li s { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 55% / 0% 2px; transition: background-size .6s var(--ease-out); }
.struck.is-in li s { background-size: 100% 2px; }
.struck.is-in li:nth-child(2) s { transition-delay: .12s; }
.struck.is-in li:nth-child(3) s { transition-delay: .24s; }
.struck.is-in li:nth-child(4) s { transition-delay: .36s; }
.struck.is-in li:nth-child(5) s { transition-delay: .48s; }
.struck-cap { margin: 14px 0 0; color: var(--dim); font: 400 12px/1.5 var(--mono); }

/* 02 steps */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step-num { display: block; font: 860 44px/1 var(--sans); font-stretch: 114%; color: var(--accent); letter-spacing: -0.04em; margin-bottom: 14px; }
.step .when { display: inline-block; margin: 0 0 12px; padding: 5px 9px; border: 1px solid var(--border-strong); border-radius: 999px; font: 500 11px/1 var(--mono); color: var(--ink); letter-spacing: .03em; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: 15px; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 12px; } .step { padding: 22px 20px; } }
@media (min-width: 960px) { .step { padding: 28px 26px; } }

/* 03 workflows */
.flows { display: grid; gap: 14px; margin-top: 44px; }
@media (min-width: 600px) { .flows { grid-template-columns: repeat(2, 1fr); } }
.flow { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .2s; }
.flow:hover { border-color: var(--border-strong); }
.flow .idx { font: 500 12px/1 var(--mono); color: var(--accent-text); margin-bottom: 14px; }
.flow h3 { font-size: 21px; margin-bottom: 10px; }
.flow > p { font-size: 15px; flex: 1; }
.pipe { list-style: none; margin: 8px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.pipe li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font: 400 12.5px/1.45 var(--mono); color: var(--ink); }
.pipe li b { font-weight: 500; color: var(--dim); text-transform: uppercase; letter-spacing: .04em; font-size: 11px; padding-top: 1px; }
.pipe li.gate { color: var(--accent-text); }

/* 04 demo diagram */
.demo { margin-top: 44px; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--border); border-radius: var(--radius); background:
  radial-gradient(circle at 1px 1px, var(--grid-dot) 1px, transparent 0) 0 0 / 22px 22px, var(--surface); }
.demo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.demo-head .mono { color: var(--muted); }
.demo-head .status { color: var(--ink); }
.nodes { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.node { position: relative; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--bg); transition: border-color .25s, box-shadow .25s; }
.node .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font: 600 13px/1 var(--mono); color: var(--muted); transition: background .25s, color .25s; }
.node .t { display: block; color: var(--ink); font-weight: 650; font-size: 15px; line-height: 1.25; }
.node .d { display: block; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.node .st { font: 500 11px/1 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .05em; }
.node::after { content: ""; position: absolute; left: 33px; top: 100%; width: 2px; height: 24px; background: var(--border-strong); }
.node:last-child::after { display: none; }
.node::before { content: ""; position: absolute; left: 33px; top: 100%; width: 2px; height: 0; background: var(--accent); z-index: 1; transition: height .28s linear; }
.node.is-done::before { height: 24px; }
.node:last-child::before { display: none; }
.node.is-active { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.node.is-done .ico, .node.is-active .ico { background: var(--accent); color: var(--accent-ink); }
.node.is-done .st { color: var(--ink); }
.node.is-wait { border-color: var(--accent); }
.node.is-wait .st { color: var(--accent-text); animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.fail { margin-top: 20px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px dashed var(--border-strong); border-radius: 12px; font: 400 12.5px/1.5 var(--mono); color: var(--muted); }
.fail b { color: var(--ink); font-weight: 500; }
.demo-note { margin: 16px 0 0; color: var(--dim); font: 400 12px/1.5 var(--mono); }

@media (min-width: 960px) {
  .nodes { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .node { grid-template-columns: 1fr; align-items: start; gap: 10px; padding: 16px; min-height: 172px; }
  .node .st { align-self: end; }
  .node::after, .node::before { left: 100%; top: 36px; height: 2px; width: 18px; }
  .node::before { width: 0; transition: width .28s linear; }
  .node.is-done::before { width: 18px; height: 2px; }
}

/* 05 compare */
.table-scroll { margin-top: 44px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.compare { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.compare th, .compare td { padding: 14px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare thead th { font: 600 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 34%; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.compare thead th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 2; }
.compare .us { background: var(--accent-soft); color: var(--ink); font-weight: 600; box-shadow: inset 1px 0 0 var(--accent), inset -1px 0 0 var(--accent); }
.compare thead .us { color: var(--accent-text); box-shadow: inset 1px 0 0 var(--accent), inset -1px 0 0 var(--accent), inset 0 1px 0 var(--accent); border-radius: 0; }
.compare tbody tr:last-child .us { box-shadow: inset 1px 0 0 var(--accent), inset -1px 0 0 var(--accent), inset 0 -1px 0 var(--accent); }
.yes { color: var(--accent-text); font-weight: 700; margin-right: 4px; }
.swipe { display: block; margin-top: 10px; font: 400 12px/1 var(--mono); color: var(--dim); }
@media (min-width: 700px) { .swipe { display: none; } }

/* 06 pricing */
.tiers { display: grid; gap: 14px; margin-top: 44px; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: linear-gradient(180deg, var(--accent-wash), var(--accent-0) 40%), var(--surface); }
.tier .tag { align-self: flex-start; margin-bottom: 18px; padding: 5px 9px; border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border-strong); }
.tier.featured .tag { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.tier h3 { font-size: 20px; }
.price { margin: 14px 0 4px; color: var(--ink); font: 840 46px/1 var(--sans); font-stretch: 110%; letter-spacing: -0.04em; }
.price small { font: 500 15px/1 var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.price-note { font: 400 12.5px/1.5 var(--mono); color: var(--muted); margin: 0 0 20px; min-height: 1.5em; }
.tier ul { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; flex: 1; }
.tier li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.tier li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 2px; background: var(--accent); }
.tier .btn { width: 100%; }
.tiers-foot { margin: 18px 0 0; font: 400 12.5px/1.5 var(--mono); color: var(--dim); }
@media (min-width: 600px) and (max-width: 959px) {
  .tiers { grid-template-columns: 1fr 1fr; grid-template-areas: "core core" "look care"; }
  .tier.featured { grid-area: core; }
  .tier.featured ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .tier-look { grid-area: look; } .tier-care { grid-area: care; }
}
@media (min-width: 960px) { .tiers { grid-template-columns: 1fr 1.08fr 1fr; } }

/* 07 won't */
.wont { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.wont li { display: grid; grid-template-columns: 34px 1fr; gap: 6px 10px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.wont .x { font: 600 18px/1.2 var(--mono); color: var(--accent-text); }
.wont strong { color: var(--ink); font-weight: 650; font-size: 17px; display: block; margin-bottom: 4px; line-height: 1.3; }
.wont p { margin: 0; font-size: 15px; }
@media (min-width: 600px) { .wont { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* 08 faq */
.faq { margin-top: 40px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; color: var(--ink); font-weight: 600; font-size: 17px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong); position: relative; transition: transform .25s var(--ease-out), background .2s, border-color .2s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: var(--accent-ink); }
.faq summary:hover .pm { border-color: var(--ink); }
.faq .ans { padding: 0 44px 22px 0; }
.faq .ans p { margin: 0; }

/* 09 contact */
.cta-card { margin-top: var(--section-gap); padding: clamp(28px, 6vw, 64px) clamp(20px, 5vw, 56px); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px); background:
  radial-gradient(120% 90% at 50% 0%, var(--accent-glow), var(--accent-0) 60%), var(--surface); }
.cta-top { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-top h2 { max-width: 16ch; }
.cta-top p { max-width: 34em; margin: 16px auto 28px; }
.or { display: flex; align-items: center; gap: 14px; margin: 40px 0 28px; font: 500 12px/1 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.form { display: grid; gap: 16px; max-width: 720px; margin: 0 auto; }
@media (min-width: 600px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field label, .field .lbl { display: block; margin-bottom: 7px; font: 500 12px/1.3 var(--mono); color: var(--muted); letter-spacing: .03em; }
.field label em { font-style: normal; color: var(--dim); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid var(--field-border); border-radius: 10px; background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--sans); transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-actions .btn { min-width: 200px; }
@media (max-width: 599px) { .form-actions .btn { width: 100%; } }
.form-msg { margin: 0; font: 400 13px/1.5 var(--mono); }
.form-msg.ok { color: var(--ink); }
.form-msg.err { color: var(--danger); }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
.form-done { display: none; text-align: center; padding: 20px 0; }
.form-done h3 { font-size: 24px; margin-bottom: 8px; }
.is-sent .form { display: none; }
.is-sent .form-done { display: block; }

/* footer */
.foot { margin-top: clamp(64px, 10vw, 112px); padding: 28px 0 40px; border-top: 1px solid var(--border); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot nav a { display: inline-block; padding: 10px 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--ink); }
.foot small { font: 400 12px/1.5 var(--mono); color: var(--dim); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* legal pages */
.legal { padding: 56px 0 0; }
.legal h1 { font-size: clamp(32px, 6vw, 52px); margin-bottom: 18px; }
.legal .draft { display: inline-block; margin-bottom: 22px; padding: 6px 10px; border: 1px solid var(--accent-text); border-radius: 999px; color: var(--accent-text); font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; }

/* theme toggle: a short color fade. main.js adds .theme-fade for ~300ms on a switch, never on first load.
 * The reduced-motion block below zeroes it. */
html.theme-fade, html.theme-fade *, html.theme-fade *::before, html.theme-fade *::after { transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
html.theme-fade .reveal { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }

/* ---------- bolt strike (hero play animation) ---------- */
#boltSvg { display: none; z-index: 10; pointer-events: none; }
.stroke-glow { stroke: var(--accent); stroke-width: 8px; fill: none; opacity: 0.25; }
.stroke-core { stroke: var(--accent); stroke-width: 3px; fill: none; filter: drop-shadow(0 0 4px rgba(255,74,28,.55)); }
@keyframes boltFlicker { 0%,100% { opacity:1; } 50% { opacity:0.75; } }
.bolt-svg.flash { animation: boltFlicker .15s ease-out both; }

/* ---------- bolt canvas (logo click easter-egg) ---------- */
#boltCanvas { opacity: 0; }
@media (prefers-reduced-motion: reduce) { #boltCanvas { display: none !important; } .bolt-svg { display: none !important; } }

/* ---------- logo hit-area wrapper ---------- */
.logo-hit { display: flex; align-items: center; justify-content: center; width: fit-content; min-width: 44px; max-width: fit-content; overflow: hidden; position: relative; }
.logo-hit a { text-decoration: none; display: inline-flex; align-items: baseline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
