/* =========================================================
   Sylaris One — shared design system
   Family: Sora (display) + Inter (body), Sylaris near-black,
   aurora glows. One's signature accent: lime (#D7FF62).
   Vertical pages override the --v-* tokens via a body class.
   ========================================================= */

:root {
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --black: #050608;
  --ink: #0d0f14;
  --ink-2: #151922;
  --white: #ffffff;
  --paper: #f7f8f6;
  --paper-2: #eef1f3;

  --text: #080a0d;
  --text-2: #4c5361;
  --text-3: #6d7482;
  --text-inv: #ffffff;
  --text-inv-2: #b4bac4;
  --text-inv-3: #8a919c;

  --line: #1113181a;
  --line-2: #11131829;
  --line-dark: #ffffff1c;
  --line-dark-2: #ffffff2e;

  --lime: #d7ff62;
  --lime-deep: #5f7a00;
  --teal: #16d6c8;
  --teal-deep: #078f88;
  --blue: #4aa8ff;
  --violet: #8b7cff;

  --ok: #1aa66a;
  --warn: #c98a00;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --shadow-1: 0 12px 34px #080a0d10;
  --shadow-2: 0 30px 90px #080a0d1f;
  --shadow-dark: 0 30px 90px #00000066;

  --container: 1200px;
  --gutter: 24px;
  --section: 120px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* vertical-overridable tokens */
  --v-accent: var(--lime);
  --v-accent-ink: var(--black);
  --v-glow-1: #16d6c833;
  --v-glow-2: #4aa8ff2b;
  --v-glow-3: #d7ff6233;
}

@media (max-width: 760px) {
  :root { --gutter: 16px; --section: 84px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--black); color: #fff; text-decoration: none; }
.skip-link:focus { top: 16px; }

[id] { scroll-margin-top: 110px; }

/* ---------- type atoms ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text-3);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--v-accent);
  box-shadow: 0 0 0 3px #0506081a, 0 0 16px var(--v-accent);
}
.is-dark .kicker { color: var(--text-inv-3); }
.is-dark .kicker::before { box-shadow: 0 0 0 3px #ffffff14, 0 0 18px var(--v-accent); }

.h-xl { font-size: clamp(2.6rem, 6vw, 5.4rem); letter-spacing: -0.06em; line-height: 0.96; }
.h-lg { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.h-md { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.h-sm { font-size: 1.2rem; letter-spacing: -0.03em; line-height: 1.25; }
.muted { color: var(--text-3); }
.is-dark .muted { color: var(--text-inv-3); }
.lead { max-width: 60ch; font-size: 1.14rem; line-height: 1.65; }
.body { max-width: 56ch; font-size: 1.04rem; }
.fine { color: var(--text-3); font-size: 0.8rem; line-height: 1.5; }
.is-dark .fine { color: var(--text-inv-3); }
.mono { font-family: var(--font-mono); letter-spacing: 0; }

.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: "";
  position: absolute; z-index: -1;
  left: -0.06em; right: -0.06em; bottom: 0.06em;
  height: 0.36em;
  border-radius: 6px;
  background: var(--v-accent);
  opacity: 0.85;
  transform-origin: left;
  animation: hl-in 0.9s 0.5s var(--ease) both;
}
@keyframes hl-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.84rem; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1rem; }
.btn-primary { background: var(--v-accent); color: var(--v-accent-ink); box-shadow: 0 14px 34px #05060826, inset 0 -2px 0 #0000001a; }
.btn-primary:hover { box-shadow: 0 20px 44px #05060833, inset 0 -2px 0 #0000001a; }
.btn-dark { background: var(--black); color: #fff; box-shadow: 0 12px 30px #0506082e; }
.btn-ghost { border-color: var(--line-2); background: #ffffffbf; color: var(--text); backdrop-filter: blur(16px); }
.is-dark .btn-ghost { border-color: var(--line-dark-2); background: #ffffff0d; color: #fff; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-row.center { justify-content: center; }

.link-arrow { display: inline-flex; gap: 8px; align-items: center; color: var(--text); font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.is-dark .link-arrow { color: #fff; }

/* ---------- logo lockup ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { width: 118px; height: auto; }
.brand-one {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.brand-on-dark .brand-one { box-shadow: 0 0 22px #d7ff6255; }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; pointer-events: none; }
.site-header > .container { pointer-events: auto; }
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 10px 10px 10px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: #ffffffcc;
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 12px 40px #080a0d12;
  transition: background .2s, box-shadow .2s;
}
.site-header.is-scrolled .header-bar { background: #fffffff2; box-shadow: 0 16px 50px #080a0d1c; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px;
  border: 0; border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.nav > a:hover, .nav-drop > button:hover, .nav > a[aria-current="page"] { background: #0506080a; color: var(--text); }
.nav-drop { position: relative; }
.nav-drop svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-drop[data-open] svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 12px); left: 50%;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px;
  width: 520px; padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.nav-drop[data-open] .drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-panel a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; text-decoration: none; }
.drop-panel a:hover { background: var(--paper); }
.drop-panel b { color: var(--text); font-family: var(--font-display); font-size: 0.92rem; letter-spacing: -0.02em; }
.drop-panel span { color: var(--text-3); font-size: 0.82rem; line-height: 1.4; }
.drop-panel .swatch { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; vertical-align: 1px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .login { padding: 0 12px; color: var(--text-2); font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; text-decoration: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 16px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--text); transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav, .header-actions .login { display: none; }
  .nav-toggle { display: block; }
  .site-header[data-menu-open] .nav {
    position: absolute; top: calc(100% + 10px); left: var(--gutter); right: var(--gutter);
    display: grid; gap: 2px; padding: 12px;
    border: 1px solid var(--line); border-radius: 24px;
    background: #fff; box-shadow: var(--shadow-2);
    max-height: calc(100vh - 120px); overflow: auto;
  }
  .site-header[data-menu-open] .nav > a, .site-header[data-menu-open] .nav-drop > button { width: 100%; justify-content: space-between; min-height: 48px; }
  .drop-panel { position: static; width: auto; grid-template-columns: 1fr; padding: 0 0 8px; border: 0; box-shadow: none; transform: none; display: none; opacity: 1; visibility: visible; }
  .nav-drop[data-open] .drop-panel { display: grid; transform: none; }
}
@media (max-width: 520px) {
  .header-bar { padding-left: 16px; }
  .brand img { width: 96px; }
  .header-actions .btn { padding: 0 14px; }
}

/* ---------- sections ---------- */
.section { position: relative; padding: var(--section) 0; }
.section.tight { padding: calc(var(--section) * .6) 0; }
.is-white { background: #fff; }
.is-dark { background: var(--black); color: var(--text-inv-2); }
.is-dark h1, .is-dark h2, .is-dark h3, .is-dark h4 { color: #fff; }
.is-ink { background: var(--ink); color: var(--text-inv-2); }
.is-ink h2, .is-ink h3 { color: #fff; }

.head { max-width: 800px; margin-bottom: 52px; }
.head > p:not(.kicker) { margin-top: 18px; font-size: 1.08rem; max-width: 62ch; }
.head.center { margin-inline: auto; text-align: center; }
.head.center > p:not(.kicker) { margin-inline: auto; }
.head.center .kicker { justify-content: center; }

.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 72%);
}
.grid-bg.on-light {
  background-image: linear-gradient(#0506080a 1px, transparent 1px), linear-gradient(90deg, #0506080a 1px, transparent 1px);
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  padding: 168px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 16%, var(--v-glow-1), transparent 30%),
    radial-gradient(circle at 86% 6%, var(--v-glow-2), transparent 32%),
    radial-gradient(circle at 62% 64%, var(--v-glow-3), transparent 34%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { max-width: 12.5em; }
.hero .lead { margin-top: 26px; margin-inline: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: #ffffffd9;
  box-shadow: var(--shadow-1);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.pill b { padding: 4px 10px; border-radius: var(--radius-full); background: var(--black); color: var(--lime); font-size: 0.7rem; letter-spacing: 0.08em; }
.is-dark .pill { border-color: var(--line-dark); background: #ffffff0d; color: #fff; box-shadow: none; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; font-size: 0.9rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--teal-deep); }

/* hero stage: editor mock */
.stage { position: relative; margin-top: 64px; padding-bottom: 0; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--paper)); pointer-events: none; }
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffffeb;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px #080a0d24;
  text-align: left;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--black); color: var(--lime); font-weight: 800; font-size: .9rem; }
.float-card b { display: block; color: var(--text); font-family: var(--font-display); font-size: 0.86rem; letter-spacing: -0.02em; }
.float-card small { color: var(--text-3); font-size: 0.76rem; }
.fc-a { top: 18%; left: -2%; }
.fc-b { top: 14%; right: -2%; animation-delay: -2s; }
.fc-c { bottom: 22%; left: 4%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .float-card { display: none; } }
@media (prefers-reduced-motion: reduce) { .float-card, .hl::after { animation: none; } }

/* ---------- app window chrome ---------- */
.window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-2), 0 0 0 8px #ffffff80;
  text-align: left;
}
.window-bar {
  display: flex; align-items: center; gap: 14px;
  height: 46px; padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfa;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #e2e4e8; }
.urlbar { flex: 1; max-width: 420px; margin: 0 auto; padding: 6px 14px; border-radius: 9px; background: #f0f1f3; color: var(--text-3); font-size: 0.78rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.urlbar b { color: var(--text); font-weight: 600; }
.window-bar .mini-btn { padding: 6px 12px; border-radius: 8px; background: var(--lime); color: var(--black); font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.window.is-dark-ui { border-color: #ffffff1f; background: #0b0d12; box-shadow: var(--shadow-dark); }
.window.is-dark-ui .window-bar { border-color: #ffffff12; background: #0f1218; }
.window.is-dark-ui .dots i { background: #2a2f39; }
.window.is-dark-ui .urlbar { background: #171b23; color: #8a919c; }
.window.is-dark-ui .urlbar b { color: #e8ebef; }

/* editor mock */
.editor { display: grid; grid-template-columns: 220px minmax(0, 1fr) 240px; min-height: 520px; }
.ed-side, .ed-props { padding: 16px; background: #fbfbfa; }
.ed-side { border-right: 1px solid var(--line); }
.ed-props { border-left: 1px solid var(--line); }
.ed-label { margin: 4px 0 10px; color: var(--text-3); font-family: var(--font-display); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ed-blocks { display: grid; gap: 6px; }
.ed-block {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 0.8rem; font-weight: 500;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.ed-block .grip { color: #b8bcc4; font-size: 0.8rem; letter-spacing: -2px; }
.ed-block .tag { margin-left: auto; color: var(--text-3); font-size: 0.66rem; }
.ed-block.is-active { border-color: #05060859; background: #fff; box-shadow: 0 0 0 3px var(--lime); }
.ed-block.is-locked .tag::before { content: "🔒 "; }
.ed-add { margin-top: 10px; padding: 9px; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--text-3); font-size: 0.78rem; text-align: center; }
.ed-canvas { position: relative; padding: 22px; background: repeating-linear-gradient(45deg, #f3f4f2 0 10px, #f6f7f5 10px 20px); }
.ed-field { margin-bottom: 14px; }
.ed-field label { display: block; margin-bottom: 6px; color: var(--text-2); font-size: 0.74rem; font-weight: 600; }
.ed-input { padding: 9px 11px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; color: var(--text); font-size: 0.8rem; }
.ed-input.typing::after { content: "|"; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ed-swatches { display: flex; gap: 8px; }
.ed-swatches i { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); }
.ed-swatches i.on { box-shadow: 0 0 0 2px var(--black); }
.ed-toggle { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--text); }
.ed-toggle i { position: relative; width: 32px; height: 18px; border-radius: 99px; background: var(--black); }
.ed-toggle i::after { content: ""; position: absolute; top: 3px; right: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
.ed-publish { display: block; margin-top: 16px; padding: 11px; border-radius: 10px; background: var(--black); color: #fff; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; text-align: center; }
.ed-publish span { color: var(--lime); }
.ed-note { margin-top: 10px; color: var(--text-3); font-size: 0.7rem; line-height: 1.45; }
@media (max-width: 1020px) {
  .editor { grid-template-columns: 180px minmax(0, 1fr); }
  .ed-props { display: none; }
}
@media (max-width: 640px) {
  .editor { grid-template-columns: 1fr; min-height: 0; }
  .ed-side { display: none; }
  .ed-canvas { padding: 12px; }
}

/* ---------- mini site (template preview) ---------- */
.mini {
  --m-bg: #fff; --m-ink: #0d0f14; --m-ink-2: #5a6070; --m-accent: #d7ff62; --m-accent-ink: #050608;
  --m-card: #f4f5f3; --m-line: #0506081a; --m-font: var(--font-display); --m-radius: 12px;
  --m-hero: none;
  overflow: hidden;
  border-radius: 14px;
  background: var(--m-bg);
  color: var(--m-ink-2);
  font-size: 10px;
  line-height: 1.4;
  box-shadow: 0 1px 0 var(--m-line), 0 16px 40px #080a0d1f;
  container-type: inline-size;
}
.mini-nav { display: flex; align-items: center; justify-content: space-between; padding: 4.5cqi 5cqi; }
.mini-logo { color: var(--m-ink); font-family: var(--m-font); font-size: 4.2cqi; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.mini-links { display: flex; gap: 3cqi; }
.mini-links i { display: block; width: 7cqi; height: 1.2cqi; border-radius: 2px; background: var(--m-ink-2); opacity: .35; }
.mini-cta { padding: 1.6cqi 3cqi; border-radius: var(--m-radius); background: var(--m-accent); color: var(--m-accent-ink); font-family: var(--m-font); font-size: 2.6cqi; font-weight: 700; white-space: nowrap; }
.mini-hero { position: relative; padding: 6cqi 5cqi 7cqi; background: var(--m-hero); }
.mini-eyebrow { color: var(--m-accent-text, var(--m-ink-2)); font-family: var(--m-font); font-size: 2.2cqi; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mini-h { max-width: 15ch; margin-top: 2.4cqi; color: var(--m-ink); font-family: var(--m-font); font-size: 7.4cqi; font-weight: var(--m-weight, 700); letter-spacing: -0.03em; line-height: 1.02; }
.mini-p { max-width: 40ch; margin-top: 2.6cqi; font-size: 2.7cqi; line-height: 1.5; }
.mini-btns { display: flex; gap: 2cqi; margin-top: 4cqi; }
.mini-btns span { padding: 2cqi 3.6cqi; border-radius: var(--m-radius); background: var(--m-accent); color: var(--m-accent-ink); font-family: var(--m-font); font-size: 2.6cqi; font-weight: 700; }
.mini-btns span + span { background: transparent; color: var(--m-ink); box-shadow: inset 0 0 0 1px var(--m-line); }
.mini-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4cqi; padding: 0 5cqi 5cqi; }
.mini-card { padding: 3cqi; border-radius: min(var(--m-radius), 12px); background: var(--m-card); }
.mini-card i { display: block; height: 11cqi; margin-bottom: 2.4cqi; border-radius: min(calc(var(--m-radius) * .7), 9px); background: var(--m-thumb, linear-gradient(135deg, var(--m-accent), transparent 140%)); opacity: .95; }
.mini-card b { display: block; color: var(--m-ink); font-family: var(--m-font); font-size: 2.8cqi; }
.mini-card small { font-size: 2.2cqi; }
.mini.is-tall .mini-hero { padding-bottom: 12cqi; }

/* theme presets */
.t-ap3x { --m-bg: #06080c; --m-ink: #f2f4f8; --m-ink-2: #a6b0c3; --m-accent: #ff6a1f; --m-accent-ink: #06080c; --m-card: #0f1724; --m-line: #ffffff1f; --m-accent-text: #ff6a1f; --m-hero: radial-gradient(80% 90% at 90% 0%, #2b160b, transparent 60%); --m-radius: 99px; --m-thumb: linear-gradient(160deg, #1c2840, #0b111b); }
.t-gym { --m-bg: #0b0b0b; --m-ink: #ffffff; --m-ink-2: #a3a3a3; --m-accent: #e6ff00; --m-accent-ink: #0b0b0b; --m-card: #171717; --m-line: #ffffff22; --m-accent-text: #e6ff00; --m-hero: linear-gradient(120deg, #1a1a1a, #0b0b0b 60%); --m-radius: 4px; --m-weight: 800; --m-thumb: repeating-linear-gradient(135deg, #262626 0 6px, #1b1b1b 6px 12px); }
.t-fuel { --m-bg: #0c1a14; --m-ink: #f3fff7; --m-ink-2: #9fbfae; --m-accent: #39e58c; --m-accent-ink: #062014; --m-card: #12271e; --m-line: #ffffff1f; --m-accent-text: #39e58c; --m-hero: radial-gradient(70% 90% at 100% 0%, #13402b, transparent 60%); --m-radius: 10px; --m-thumb: linear-gradient(160deg, #1d4733, #0f2a1d); }
.t-spa { --m-bg: #fbf6f1; --m-ink: #2b211c; --m-ink-2: #7a6a60; --m-accent: #2b211c; --m-accent-ink: #fbf6f1; --m-card: #f2e8df; --m-line: #2b211c1f; --m-font: "Cormorant Garamond", "Fraunces", Georgia, serif; --m-weight: 500; --m-accent-text: #a6786a; --m-hero: radial-gradient(70% 100% at 100% 0%, #efd9cc, transparent 65%); --m-radius: 99px; --m-thumb: linear-gradient(160deg, #e8cfc2, #f5ebe3); }
.t-chiro { --m-bg: #f6fafb; --m-ink: #0e2a36; --m-ink-2: #557080; --m-accent: #1f7a8c; --m-accent-ink: #ffffff; --m-card: #e7f1f3; --m-line: #0e2a361a; --m-accent-text: #1f7a8c; --m-hero: radial-gradient(70% 90% at 100% 0%, #d4ecef, transparent 60%); --m-radius: 10px; --m-thumb: linear-gradient(160deg, #bfe1e6, #eef7f8); }
.t-glp { --m-bg: #ffffff; --m-ink: #1d1b3a; --m-ink-2: #66657e; --m-accent: #6c5ce7; --m-accent-ink: #ffffff; --m-card: #f1f0fb; --m-line: #1d1b3a1a; --m-accent-text: #6c5ce7; --m-hero: radial-gradient(70% 90% at 100% 0%, #e6e2ff, transparent 60%); --m-radius: 14px; --m-thumb: linear-gradient(160deg, #d8d2ff, #f6f4ff); }

/* ---------- cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-1);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; }
.is-dark .card, .card.dark { border-color: var(--line-dark); background: linear-gradient(180deg, #ffffff0d, #ffffff05); box-shadow: none; }
.is-dark .card p, .card.dark p { color: var(--text-inv-2); }
.num { display: inline-block; margin-bottom: 22px; color: var(--text-3); font-family: var(--font-mono); font-size: 0.78rem; }
.is-dark .num { color: var(--v-accent); }
.icon-tile { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px; background: var(--black); color: var(--lime); }
.icon-tile svg { width: 22px; height: 22px; }
.is-dark .icon-tile { background: #ffffff10; }

.ticks { display: grid; gap: 10px; margin-top: 20px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); font-size: 0.96rem; font-weight: 500; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; top: 2px; left: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7FF62' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.is-dark .ticks li { color: #e6e9ed; }
.is-dark .ticks li::before { background-color: #ffffff14; }

/* split layout */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* ---------- logo / category strip ---------- */
.strip { padding: 28px 0; border-block: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; }
.strip-inner > p { margin-right: 10px; color: var(--text-3); font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--paper); color: var(--text); font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; text-decoration: none; }
a.chip:hover { border-color: var(--line-2); background: #fff; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.is-dark .chip { border-color: var(--line-dark); background: #ffffff0a; color: #fff; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; margin-bottom: 40px; color: var(--text-3); font-family: var(--font-mono); font-size: 0.8rem; }
.step::after { content: ""; position: absolute; top: 38px; left: 64px; right: 26px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.step h3 { margin-bottom: 10px; font-size: 1.15rem; letter-spacing: -0.03em; }
.step p { font-size: 0.94rem; }
.step.is-key { border-color: transparent; background: var(--black); color: var(--text-inv-2); }
.step.is-key h3 { color: #fff; }
.step.is-key::before { color: var(--lime); }
.step.is-key::after { background: linear-gradient(90deg, #d7ff6266, transparent); }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- showcase tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab {
  min-height: 46px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--radius-full);
  background: #fff; color: var(--text-2);
  font-family: var(--font-display); font-size: 0.86rem; font-weight: 600;
  cursor: pointer;
}
.tab[aria-selected="true"] { border-color: var(--black); background: var(--black); color: #fff; }
.tab[aria-selected="true"]::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--lime); vertical-align: 1px; }
.is-dark .tab { border-color: var(--line-dark); background: transparent; color: var(--text-inv-2); }
.is-dark .tab[aria-selected="true"] { border-color: var(--lime); background: var(--lime); color: var(--black); }
.is-dark .tab[aria-selected="true"]::before { background: var(--black); }
.panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
@media (max-width: 920px) { .panel { grid-template-columns: 1fr; } }

.shot { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 26px; background: #ffffffb8; box-shadow: var(--shadow-2); }
.shot img { width: 100%; height: auto; border-radius: 18px; }
.is-dark .shot { border-color: var(--line-dark); background: #ffffff08; box-shadow: var(--shadow-dark); }

/* intake funnel phone */
.phone {
  width: min(100%, 320px);
  margin-inline: auto;
  padding: 12px;
  border-radius: 44px;
  background: #0b0d12;
  box-shadow: var(--shadow-2), inset 0 0 0 2px #2a2f39;
}
.phone-screen { overflow: hidden; border-radius: 34px; background: #fff; }
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; }
.phone-top b { color: var(--text); font-family: var(--font-display); font-size: 0.92rem; }
.phone-top small { color: var(--text-3); font-size: 0.72rem; }
.progress { height: 5px; margin: 0 20px; border-radius: 9px; background: #eceef0; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: 9px; background: var(--black); transition: width .8s var(--ease); }
.phone-body { padding: 22px 20px 24px; }
.phone-body h4 { font-size: 1.12rem; letter-spacing: -0.03em; line-height: 1.2; }
.phone-body > p { margin-top: 6px; color: var(--text-3); font-size: 0.78rem; }
.opts { display: grid; gap: 8px; margin-top: 16px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; color: var(--text); font-size: 0.84rem; font-weight: 500; transition: all .3s; }
.opt i { width: 16px; height: 16px; flex: none; border: 2px solid #c6cad1; border-radius: 50%; transition: all .3s; }
.opt.on { border-color: var(--black); background: #f6f8f0; }
.opt.on i { border: 5px solid var(--black); }
.phone-next { margin-top: 16px; padding: 13px; border-radius: 14px; background: var(--black); color: #fff; font-family: var(--font-display); font-size: 0.84rem; font-weight: 700; text-align: center; }
.phone-foot { padding: 0 20px 18px; color: var(--text-3); font-size: 0.68rem; text-align: center; }

/* analytics mock */
.metrics-ui { padding: 22px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 14px; border: 1px solid #ffffff14; border-radius: 14px; background: #ffffff06; }
.kpi small { display: block; color: #8a919c; font-size: 0.7rem; }
.kpi b { display: block; margin-top: 6px; color: #fff; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.03em; }
.kpi em { color: var(--lime); font-size: 0.7rem; font-style: normal; }
.chart { position: relative; height: 200px; margin-top: 14px; padding: 16px; border: 1px solid #ffffff14; border-radius: 14px; background: #ffffff04; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .line { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.in-view .chart .line { animation: draw 2.2s .2s var(--ease) forwards; }
.chart .area { fill: url(#limeFade); opacity: 0; transition: opacity 1s 1s; }
.in-view .chart .area { opacity: 1; }
.chart .gridl { stroke: #ffffff10; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.funnel-bars { display: grid; gap: 8px; margin-top: 14px; }
.fbar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 46px; gap: 12px; align-items: center; color: #b4bac4; font-size: 0.74rem; }
.fbar span:nth-child(2) { height: 8px; border-radius: 9px; background: #ffffff10; overflow: hidden; }
.fbar span:nth-child(2) i { display: block; height: 100%; width: 0; border-radius: 9px; background: linear-gradient(90deg, var(--teal), var(--lime)); transition: width 1.4s var(--ease); }
.fbar b { color: #fff; font-family: var(--font-mono); font-size: .72rem; text-align: right; }
@media (max-width: 640px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fbar { grid-template-columns: 84px minmax(0, 1fr) 40px; } }

/* launch mock */
.launch-ui { padding: 24px; }
.domain-row { display: flex; gap: 10px; }
.domain-row .ed-input { flex: 1; font-family: var(--font-mono); }
.launch-btn { padding: 0 18px; border-radius: 10px; background: var(--lime); color: var(--black); font-family: var(--font-display); font-size: .82rem; font-weight: 800; line-height: 38px; white-space: nowrap; }
.checks { display: grid; gap: 10px; margin-top: 18px; }
.check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-size: 0.84rem; }
.check i { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid #d5d8dd; transition: all .4s; }
.check.done i { border-color: var(--black); background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7FF62' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.check small { margin-left: auto; color: var(--text-3); font-family: var(--font-mono); font-size: .7rem; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 14px; border-radius: 12px; background: #e9fbd0; color: #284000; font-family: var(--font-display); font-size: .84rem; font-weight: 700; opacity: 0; transform: translateY(6px); transition: all .5s var(--ease); }
.live-badge.show { opacity: 1; transform: none; }
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #3fbf00; box-shadow: 0 0 0 4px #3fbf0033; }

/* ---------- template gallery ---------- */
.tpl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1020px) { .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tpl-grid { grid-template-columns: 1fr; } }
.tpl { display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tpl:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tpl-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 8px 6px; }
.tpl-meta h3 { font-size: 1.05rem; letter-spacing: -0.03em; }
.tpl-meta p { margin-top: 4px; color: var(--text-3); font-size: 0.84rem; line-height: 1.45; }
.tpl-tag { flex: none; padding: 5px 10px; border-radius: var(--radius-full); background: var(--paper-2); color: var(--text-2); font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; letter-spacing: .04em; }
.tpl-tag.live { background: var(--black); color: var(--lime); }
.tpl-actions { display: flex; gap: 8px; margin-top: auto; padding: 12px 8px 6px; }
.tpl-actions .btn { flex: 1; }

.brand-try { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin: 0 auto 40px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-full); background: #fff; box-shadow: var(--shadow-1); width: fit-content; max-width: 100%; }
.brand-try label { padding-left: 12px; color: var(--text); font-family: var(--font-display); font-size: .86rem; font-weight: 700; }
.brand-try input { min-width: 0; width: 240px; max-width: 60vw; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--radius-full); background: var(--paper); font-size: .95rem; }
.filter-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.filter-row button { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-full); background: #fff; color: var(--text-2); font-family: var(--font-display); font-size: .84rem; font-weight: 600; cursor: pointer; }
.filter-row button[aria-pressed="true"] { border-color: var(--black); background: var(--black); color: #fff; }

/* ---------- verticals ---------- */
.vert-card { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 28px; overflow: hidden; border-radius: var(--radius-lg); color: #fff; text-decoration: none; isolation: isolate; transition: transform .3s var(--ease); }
.vert-card:hover { transform: translateY(-4px); }
.vert-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--vc-bg); }
.vert-card h3 { margin-top: auto; color: inherit; font-size: 1.5rem; }
.vert-card p { margin-top: 10px; color: inherit; opacity: .78; font-size: .94rem; }
.vert-card .go { display: inline-flex; gap: 8px; margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.vert-card .vlabel { width: fit-content; padding: 6px 12px; border-radius: 99px; background: #ffffff1f; font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vc-spa { --vc-bg: radial-gradient(90% 80% at 100% 0%, #e9cdbf, transparent 60%), #f7efe8; color: #2b211c; }
.vc-spa .vlabel { background: #2b211c12; }
.vc-gym { --vc-bg: radial-gradient(90% 80% at 100% 0%, #3a3a00, transparent 60%), #0b0b0b; }
.vc-gym .vlabel { color: #e6ff00; }
.vc-fuel { --vc-bg: radial-gradient(90% 80% at 100% 0%, #13402b, transparent 60%), #0c1a14; }
.vc-fuel .vlabel { color: #39e58c; }
.vc-chiro { --vc-bg: radial-gradient(90% 80% at 100% 0%, #bfe1e6, transparent 60%), #eef7f8; color: #0e2a36; }
.vc-chiro .vlabel { background: #0e2a3612; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 1020px) { .price-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.price { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-1); }
.price.is-featured { border-color: transparent; background: var(--black); color: var(--text-inv-2); box-shadow: var(--shadow-dark); }
.price.is-featured h3, .price.is-featured .price-amt { color: #fff; }
.price-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-name h3 { font-size: 1.3rem; }
.badge { padding: 5px 11px; border-radius: 99px; background: var(--lime); color: var(--black); font-family: var(--font-display); font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.price-desc { margin-top: 10px; font-size: .94rem; }
.price-amt { margin-top: 26px; color: var(--text); font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.price-amt small { margin-left: 4px; color: var(--text-3); font-size: .9rem; font-weight: 500; letter-spacing: 0; }
.price.is-featured .price-amt small { color: var(--text-inv-3); }
.price-sub { margin-top: 8px; font-size: .84rem; color: var(--text-3); }
.price.is-featured .price-sub { color: var(--text-inv-3); }
.price .btn { width: 100%; margin-top: 26px; }
.price .ticks { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.price.is-featured .ticks { border-color: var(--line-dark); }
.price.is-featured .ticks li { color: #e6e9ed; }
.price.is-featured .ticks li::before { background-color: #ffffff17; }
.placeholder { padding: 1px 6px; border-radius: 6px; background: #fff3c4; color: #6b4e00; font-family: var(--font-mono); font-size: .82em; font-weight: 600; letter-spacing: 0; }
.is-dark .placeholder, .price.is-featured .placeholder { background: #3d3200; color: #ffe17a; }

/* compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { color: var(--text); font-family: var(--font-display); font-size: .86rem; }
.compare tbody th { color: var(--text); font-weight: 500; }
.compare td { color: var(--text-2); text-align: center; }
.compare thead th:not(:first-child) { text-align: center; }
.compare tr:last-child > * { border-bottom: 0; }
.yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--black); color: var(--lime); font-size: .72rem; font-weight: 800; }
.no { color: #b5bac2; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-1); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 18px 22px; color: var(--text); font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); font-size: 1.1rem; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq details > p, .faq details > div { padding: 0 22px 22px; font-size: .97rem; max-width: 70ch; }
.is-dark .faq details { border-color: var(--line-dark); background: #ffffff06; }
.is-dark .faq summary { color: #fff; }
.is-dark .faq summary::after { background: #ffffff14; color: #fff; }
.is-dark .faq details[open] summary::after { background: var(--lime); color: var(--black); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px); border-radius: var(--radius-xl); background: var(--black); color: var(--text-inv-2); text-align: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 110%, #d7ff6240, transparent 70%), radial-gradient(40% 60% at 10% 0%, #16d6c826, transparent 70%); }
.cta-band h2 { color: #fff; max-width: 15em; margin-inline: auto; }
.cta-band p { max-width: 54ch; margin: 18px auto 0; }
.cta-band .btn-ghost { border-color: var(--line-dark-2); background: #ffffff0d; color: #fff; }
.cta-band .kicker { color: var(--text-inv-3); }

/* ---------- sylaris os band ---------- */
.os-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 920px) { .os-band { grid-template-columns: 1fr; } }
.os-stack { display: grid; gap: 10px; }
.os-layer { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: 18px; background: #ffffff06; }
.os-layer b { color: #fff; font-family: var(--font-display); font-size: .98rem; letter-spacing: -0.02em; }
.os-layer span { display: block; color: var(--text-inv-3); font-size: .84rem; }
.os-layer .tagr { margin-left: auto; padding: 5px 10px; border-radius: 99px; background: #ffffff10; color: #e6e9ed; font-family: var(--font-mono); font-size: .68rem; white-space: nowrap; }
.os-layer.is-one { border-color: #d7ff6266; background: #d7ff620f; }
.os-layer.is-one .tagr { background: var(--lime); color: var(--black); font-weight: 700; }
.os-join { justify-self: center; color: var(--text-inv-3); font-family: var(--font-mono); font-size: .72rem; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: 80px 0 40px; background: var(--black); color: var(--text-inv-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer-grid p { max-width: 34ch; margin-top: 18px; font-size: .92rem; }
.footer-col h4 { margin-bottom: 14px; color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { display: block; padding: 6px 0; color: var(--text-inv-2); font-size: .92rem; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: .78rem; line-height: 1.6; }
.footer-legal p + p { margin-top: 10px; }
.footer-word { position: absolute; left: 50%; bottom: -0.28em; transform: translateX(-50%); color: #ffffff06; font-family: var(--font-display); font-size: clamp(6rem, 22vw, 20rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; white-space: nowrap; pointer-events: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; display: none; padding: 8px; border: 1px solid var(--line); border-radius: 99px; background: #ffffffeb; backdrop-filter: blur(16px); box-shadow: var(--shadow-2); transform: translateY(140%); transition: transform .3s var(--ease); }
.sticky-cta .btn { width: 100%; }
.sticky-cta.show { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: block; } }

/* ---------- forms (checkout) ---------- */
.field { display: grid; gap: 8px; }
.field label, .field .label { color: var(--text); font-family: var(--font-display); font-size: .86rem; font-weight: 600; letter-spacing: -0.01em; }
.field .hint { color: var(--text-3); font-size: .8rem; }
.input, .select {
  width: 100%; min-height: 52px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: #fff; color: var(--text); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 4px #d7ff6299; }
.input[aria-invalid="true"] { border-color: #d0342c; }
.err { color: #b3261e; font-size: .82rem; }
