/* ==========================================================================
   Vico — landing page
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --accent:      #7C6BF5;
  --accent-2:    #22D3EE;
  --atlas:       #4C9AFF;
  --ai:          #FBA94C;

  --bg:          #0A0C15;
  --bg-2:        #0E1120;
  --surface:     rgba(255,255,255,.035);
  --surface-2:   rgba(255,255,255,.06);
  --line:        rgba(255,255,255,.10);
  --line-2:      rgba(255,255,255,.16);

  --text:        #EEF0F7;
  --text-2:      #A6ADC4;
  --text-3:      #737C97;
  --on-accent:   #0A0C15;

  --code-k:      #C4B5FD;
  --code-s:      #86EFAC;
  --code-c:      #6B7492;
  --code-o:      #7DD3FC;

  --radius:      16px;
  --radius-lg:   24px;
  --wrap:        1200px;
  --ease:        cubic-bezier(.22,.7,.3,1);
  --shadow:      0 24px 60px -24px rgba(0,0,0,.75);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

:root[data-theme="light"] {
  --bg:        #FBFBFE;
  --bg-2:      #F2F3FA;
  --surface:   rgba(16,20,40,.028);
  --surface-2: rgba(16,20,40,.055);
  --line:      rgba(16,20,40,.10);
  --line-2:    rgba(16,20,40,.17);

  --text:      #12162A;
  --text-2:    #4C5470;
  --text-3:    #737C97;
  --on-accent: #FFFFFF;

  --accent:    #5B46E8;
  --accent-2:  #0891B2;
  --atlas:     #1668E3;
  --ai:        #C2620A;

  --code-k:    #6D28D9;
  --code-s:    #0F7B4E;
  --code-c:    #8A91A8;
  --code-o:    #0369A1;

  --shadow:    0 22px 50px -26px rgba(20,24,60,.35);
}

/* Section-scoped accent swap */
[data-accent="atlas"] { --accent: var(--atlas); --accent-2: #22D3EE; }
[data-accent="ai"]    { --accent: var(--ai);    --accent-2: #F472B6; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}

h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.022em; font-weight: 700; }
p { margin: 0; }
img, svg { max-width: 100%; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 18px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { left: 16px; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad: 11px 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: var(--btn-pad);
  border-radius: 999px;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), box-shadow .25s var(--ease), color .2s var(--ease);
}
.btn--lg { --btn-pad: 14px 26px; font-size: 15.5px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--accent) 80%, transparent);
}
.btn--solid:hover { box-shadow: 0 18px 38px -14px color-mix(in srgb, var(--accent) 85%, transparent); }

.btn--outline { border-color: var(--line-2); color: var(--text); background: var(--surface); }
.btn--outline:hover { border-color: var(--accent); background: var(--surface-2); }

.btn--ghost { color: var(--text-2); }
.btn--ghost:hover { color: var(--text); background: var(--surface); }

.btn__arrow { width: 17px; height: 17px; transition: transform .22s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__word { font-size: 19px; letter-spacing: -.03em; }

.nav__links { display: flex; gap: 26px; margin-left: 12px; }
.nav__links a {
  position: relative; font-size: 14.5px; font-weight: 500;
  color: var(--text-2); text-decoration: none; transition: color .2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--accent); border-radius: 2px; transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.theme-toggle {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .3s var(--ease);
}
.theme-toggle:hover { color: var(--text); border-color: var(--line-2); transform: rotate(18deg); }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-moon { display: none; }
:root[data-theme="light"] .icon-sun  { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding: 80px 0 96px; }

.hero__glow {
  position: absolute; inset: -30% -10% auto -10%; height: 760px; pointer-events: none;
  background:
    radial-gradient(48% 46% at 22% 34%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%),
    radial-gradient(42% 42% at 78% 22%, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent 70%);
  filter: blur(30px); opacity: .85;
}
:root[data-theme="light"] .hero__glow { opacity: .5; }

.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(75% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 60% at 50% 30%, #000 20%, transparent 78%);
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.hero__copy, .hero__visual { min-width: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 11px; margin-bottom: 22px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 13px; font-weight: 500; color: var(--text-2);
}
.eyebrow--plain {
  border: 0; background: none; padding: 0; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); flex: none;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 70%, transparent);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero__title { font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; letter-spacing: -.035em; }
.grad {
  background: linear-gradient(105deg, var(--accent), var(--accent-2) 65%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  margin-top: 22px; max-width: 56ch;
  font-size: clamp(16px, 1.5vw, 18.5px); color: var(--text-2);
}
.hero__sub em { color: var(--text); font-style: normal; font-weight: 600; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  list-style: none; margin: 40px 0 0; padding: 26px 0 0;
  border-top: 1px solid var(--line);
}
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.hero__facts span { font-size: 13px; color: var(--text-3); }

/* Hero visual */
.hero__visual { position: relative; display: grid; gap: 14px; }

.panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-2) 82%, transparent);
  box-shadow: var(--shadow); overflow: hidden;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.panel__bar, .mock__bar, .terminal__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.tl { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.panel__name, .mock__crumb, .terminal__name {
  margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.code {
  margin: 0; padding: 16px 18px; overflow-x: auto; min-width: 0; max-width: 100%;
  font-family: var(--mono); font-size: 12.8px; line-height: 1.8; color: var(--text-2);
}
.code--sm { font-size: 11.8px; padding: 14px 16px; }
.c-k { color: var(--code-k); font-weight: 500; }
.c-s { color: var(--code-s); }
.c-c { color: var(--code-c); font-style: italic; }
.c-o { color: var(--code-o); }
.c-n { color: var(--accent-2); }

.hero__arrow { display: grid; place-items: center; color: var(--accent); }
.hero__arrow svg { width: 44px; animation: nudge 2.6s var(--ease) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.render { padding: 8px 10px 14px; }
.seq { width: 100%; height: auto; }
.seq__lane rect { fill: var(--surface-2); stroke: var(--line-2); stroke-width: 1; }
.seq__label text { font-family: var(--sans); font-size: 9.5px; font-weight: 600; fill: var(--text); }
.seq__life path { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 4; }
.seq__msg path { stroke: var(--accent); stroke-width: 1.6; fill: none; }
.seq__msg .dash { stroke: var(--accent-2); stroke-dasharray: 5 4; }
.seq__msg polygon { fill: var(--accent); }
.seq__msg .dash + polygon { fill: var(--accent-2); }
.seq__cap text { font-family: var(--mono); font-size: 8px; fill: var(--text-3); text-anchor: middle; }

.seq__msg .draw { stroke-dasharray: 110; stroke-dashoffset: 110; animation: draw 5.6s var(--ease) infinite; }
.seq__msg .draw:nth-of-type(1) { animation-delay: .0s; }
.seq__msg .draw:nth-of-type(2) { animation-delay: .4s; }
.seq__msg .draw:nth-of-type(3) { animation-delay: .8s; }
.seq__msg .draw:nth-of-type(4) { animation-delay: 1.2s; }
@keyframes draw {
  0%       { stroke-dashoffset: 110; }
  18%, 82% { stroke-dashoffset: 0; }
  100%     { stroke-dashoffset: 0; }
}

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); padding: 20px 0; }
.strip__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.strip__label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
  flex: none;
}
.strip__list {
  display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0;
}
.strip__list li {
  font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: color .2s var(--ease);
}
.strip__list li:hover { color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.sec-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.03em; }
.sec-sub { margin-top: 18px; font-size: 17px; color: var(--text-2); }
.sec-sub--left { max-width: 54ch; }
.sec-sub em { color: var(--text); font-style: normal; font-weight: 600; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.prod, .value { min-width: 0; }

.prod {
  position: relative; overflow: hidden;
  padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.prod::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0; transition: opacity .3s var(--ease);
}
.prod:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.prod:hover::before { opacity: 1; }

.prod__top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.prod__icon {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border-radius: 12px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}
.prod__icon svg { width: 22px; height: 22px; }
.tag {
  font-family: var(--mono); font-size: 11.5px; color: var(--text-3);
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
}
.prod__name { font-size: 24px; letter-spacing: -.025em; }
.prod__desc { margin-top: 12px; color: var(--text-2); font-size: 15.5px; }
.prod__desc strong { color: var(--text); font-weight: 600; }

.prod__bullets { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.prod__bullets li {
  position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-2);
}
.prod__bullets li::before {
  content: ""; position: absolute; left: 4px; top: 8px;
  width: 8px; height: 8px; border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.prod__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 600; color: var(--accent); text-decoration: none;
}
.prod__link svg { width: 17px; height: 17px; transition: transform .22s var(--ease); }
.prod__link:hover svg { transform: translateX(4px); }

/* ---------- Split sections ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.split__copy, .split__visual { min-width: 0; }
.split--rev .split__copy { order: 2; }
.split--rev .split__visual { order: 1; }

.pill {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

.feat { margin: 34px 0 0; display: grid; gap: 4px; }
.feat__row { padding: 18px 0; border-top: 1px solid var(--line); }
.feat__row:last-child { border-bottom: 1px solid var(--line); }
.feat dt { font-size: 16px; font-weight: 650; letter-spacing: -.015em; }
.feat dd { margin: 6px 0 0; font-size: 14.5px; color: var(--text-2); }

.split__cta { margin-top: 32px; }

/* Confluence mock */
.mock {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  box-shadow: var(--shadow); overflow: hidden;
}
.mock__tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--line); }
.mock__tab {
  padding: 7px 13px; font-size: 12.5px; font-weight: 500; color: var(--text-3);
  border-radius: 8px 8px 0 0; border: 1px solid transparent; border-bottom: 0;
}
.mock__tab.is-on {
  color: var(--text); background: var(--surface-2);
  border-color: var(--line); margin-bottom: -1px;
}
.mock__body { display: grid; gap: 0; min-width: 0; }
.mock__preview { padding: 18px; border-top: 1px solid var(--line); background: var(--surface); }

.chartlet {
  display: flex; align-items: flex-end; gap: 8px; height: 104px;
}
.chartlet span {
  flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent-2) 70%, transparent));
  transform-origin: bottom; animation: grow .9s var(--ease) both;
}
.chartlet span:nth-child(1) { animation-delay: .05s }
.chartlet span:nth-child(2) { animation-delay: .12s }
.chartlet span:nth-child(3) { animation-delay: .19s }
.chartlet span:nth-child(4) { animation-delay: .26s }
.chartlet span:nth-child(5) { animation-delay: .33s }
.chartlet span:nth-child(6) { animation-delay: .40s }
@keyframes grow { from { transform: scaleY(0); opacity: 0 } to { transform: scaleY(1); opacity: 1 } }
.mock__cap { margin-top: 12px; font-size: 12.5px; color: var(--text-3); }

/* Terminal */
.terminal {
  margin-top: 30px; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-2) 85%, transparent); overflow: hidden;
}
.terminal__body {
  margin: 0; padding: 16px 18px; overflow-x: auto; min-width: 0; max-width: 100%;
  font-family: var(--mono); font-size: 12.6px; line-height: 1.85; color: var(--text-2);
}
.t-p  { color: var(--accent); font-weight: 700; }
.t-u  { color: var(--code-o); text-decoration: underline; text-underline-offset: 3px; }
.t-d  { color: var(--text-3); }
.t-ok { color: var(--code-s); }

/* Flow steps */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.flow__step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.flow__step > div { min-width: 0; }
.flow__step:hover { transform: translateX(5px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.flow__num {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  border-radius: 9px; font-family: var(--mono); font-size: 13px; font-weight: 700;
  color: var(--on-accent); background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.flow__step h3 { font-size: 16px; letter-spacing: -.015em; }
.flow__step p { margin-top: 5px; font-size: 14px; color: var(--text-2); }

.note {
  display: flex; gap: 13px; align-items: flex-start; margin-top: 18px;
  padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent); }
.note p { font-size: 14px; color: var(--text-2); }
.note strong { color: var(--text); font-weight: 650; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value {
  padding: 26px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .28s var(--ease), border-color .28s var(--ease);
}
.value:hover { transform: translateY(-4px); border-color: var(--line-2); }
.value h3 { font-size: 17px; letter-spacing: -.02em; }
.value p { margin-top: 10px; font-size: 14.5px; color: var(--text-2); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: clip; padding: 110px 0; text-align: center; }
.cta__glow {
  position: absolute; inset: auto -20% -60% -20%; height: 560px; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 50%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%);
  filter: blur(28px);
}
.cta__inner { position: relative; z-index: 1; }
.cta__title { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -.033em; }
.cta__sub { margin: 20px auto 0; max-width: 56ch; font-size: 17px; color: var(--text-2); }
.cta__row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 60px 0 28px; }
.foot__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 48px; }
.foot__brand, .foot__cols, .foot__col { min-width: 0; }
.foot__tag { margin-top: 14px; font-size: 14px; color: var(--text-3); max-width: 34ch; }

.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot__col { display: flex; flex-direction: column; gap: 11px; }
.foot__col h3 {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 3px;
}
.foot__col a {
  font-size: 14.5px; color: var(--text-2); text-decoration: none; width: fit-content;
  max-width: 100%; overflow-wrap: anywhere;
  transition: color .2s var(--ease);
}
.foot__col a:hover { color: var(--accent); }

.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-3);
}
.foot__fine { color: var(--text-3); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--delay { transition-delay: .12s; }
.values .value:nth-child(2) { transition-delay: .08s; }
.values .value:nth-child(3) { transition-delay: .16s; }
.values .value:nth-child(4) { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .foot__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split--rev .split__copy, .split--rev .split__visual { order: initial; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__links { display: none; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .cta { padding: 84px 0; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod { padding: 26px 22px; }
  .foot__inner { grid-template-columns: 1fr; gap: 36px; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__hide-sm { display: none; }
  .hero { padding: 56px 0 72px; }
  .hero__facts { gap: 18px 30px; }
  .strip__inner { gap: 14px; }
}

@media (max-width: 400px) {
  .nav__inner { gap: 12px; }
  .nav__actions { gap: 7px; }
  .btn { --btn-pad: 10px 15px; font-size: 13.5px; }
  .theme-toggle { width: 34px; height: 34px; }
  .brand__word { font-size: 17px; }
}

@media (max-width: 480px) {
  .wrap { padding-inline: 18px; }
  .values { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr; }
  .hero__cta .btn, .cta__row .btn { width: 100%; justify-content: center; }
}

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