/* ============================================
   Fulcore — design tokens
   ============================================ */
:root{
  /* warm graphite palette */
  --bg:          #0c0d0c;
  --bg-2:        #111312;
  --surface:     #161917;
  --surface-2:   #1c201d;
  --line:        #262a26;
  --line-2:      #30342f;
  --ink:         #ecede8;
  --ink-2:       #c5c8c0;
  --ink-mute:    #8a8e83;
  --ink-faint:   #5b5f57;

  /* accents */
  --lime:        oklch(0.88 0.18 122);   /* #c8f25f-ish */
  --lime-deep:   oklch(0.72 0.18 130);
  --lime-soft:   oklch(0.88 0.18 122 / 0.14);

  --warn:        #e8b85a;
  --bad:         oklch(0.65 0.16 30);

  /* type */
  --ff-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* metrics */
  --gutter: clamp(20px, 4vw, 56px);
  --max:    1320px;
  --radius: 14px;
  --radius-sm: 8px;
}

/* ============================================
   base
   ============================================ */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
a{color:inherit; text-decoration:none}
button,input,textarea,select{font:inherit; color:inherit}
img,svg{max-width:100%; display:block}
ul{margin:0;padding:0;list-style:none}
em{font-style:italic}

.container{
  width:100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================
   typography
   ============================================ */
.h1{
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
  text-wrap: balance;
}
.h2{
  font-weight: 600;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.h3{
  font-weight: 600;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
.lead{
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0;
}
.mono{
  font-family: var(--ff-mono);
  font-size: 0.78em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.muted{ color: var(--ink-mute) }
.accent{ color: var(--lime) }
.strike{
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--ink-mute);
}
.strike::after{
  content:""; position:absolute; left:-2%; right:-2%; top:55%;
  height:max(3px, 0.055em); background: color-mix(in oklch, var(--lime) 25%, transparent); transform: rotate(-1.5deg);
  transform-origin: center;
}

.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 22px;
}
.dot{
  width:7px; height:7px; border-radius:50%;
  background: var(--ink-mute);
  box-shadow: 0 0 0 4px rgba(138,142,131,0.12);
}
.dot--accent{
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200,242,95,0.15);
}

/* ============================================
   buttons
   ============================================ */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px) }
.btn--sm{ padding: 9px 16px; font-size: 13.5px }
.btn--primary{
  background: var(--lime);
  color: #0b0d0a;
  font-weight: 600;
}
.btn--primary:hover{ background: oklch(0.92 0.18 122) }
.btn--ghost{
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover{ border-color: var(--ink-mute) }
.btn--dark{
  background: #0b0d0a;
  color: var(--ink);
  border-color: var(--line);
}

/* ============================================
   NAV
   ============================================ */
.nav{
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,13,12,0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.nav__logo{
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.logo-mark{
  width: 22px; height: 22px;
  background: var(--lime);
  border-radius: 5px;
  position: relative;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.logo-mark::before,
.logo-mark::after{
  content:""; position: absolute; background:#0b0d0a;
}
.logo-mark::before{ left:5px; top:5px; right:5px; height:2px }
.logo-mark::after{ left:5px; bottom:5px; right:5px; height:2px }
.logo-text__accent{ color: var(--lime); font-weight: 800 }
.logo-text{ color: var(--ink) }

.nav__links{
  display: flex; gap: 26px;
  margin-left: auto; margin-right: auto;
  font-size: 14px;
  color: var(--ink-2);
}
.nav__links a{
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav__links a:hover{ color: var(--ink) }
.nav__links a::after{
  content:""; position:absolute; left:0; right:0; bottom:0;
  height:1px; background: var(--lime);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav__links a:hover::after{ transform: scaleX(1) }

@media (max-width: 880px){
  .nav__links{ display: none }
}

/* ============================================
   HERO
   ============================================ */
.hero{
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 0;
  overflow: hidden;
}
.hero::before{
  /* grid background */
  content:""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 35%, transparent 85%);
}
.hero::after{
  content:""; position: absolute;
  top: -40%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px;
  background: radial-gradient(ellipse, oklch(0.88 0.18 122 / 0.10), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  /* keep .container horizontal padding intact — only set top/bottom */
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(60px, 7vw, 96px);
}
@media (max-width: 1020px){
  .hero__grid{ grid-template-columns: 1fr }
}

.hero__sub{
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 30px;
}
.hero__cta{ display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px }

.hero__proof{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.hero__proof li{
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.35;
}
.hero__proof .num{
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.08em;
}
@media (max-width: 620px){
  .hero__proof{ grid-template-columns: repeat(2,1fr); gap: 22px 16px }
}

/* hero viz: input → core → output */
.hero__viz{
  position: relative;
  min-height: 460px;
}
.schema{
  position: relative;
  width: 100%; height: 460px;
  color: var(--ink-faint);
}
.schema__label{
  position: absolute;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.schema__label--tl{ top: 0; left: 0 }
.schema__label--tr{ top: 0; right: 0 }

.schema__lines{
  position: absolute; inset: 28px 0 0;
  width: 100%; height: calc(100% - 28px);
  color: var(--line-2);
  pointer-events: none;
  z-index: 0;
}

.schema__col{
  position: absolute; top: 28px; bottom: 28px;
  width: 165px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  z-index: 2;
}
.schema__col--in{ left: 0 }
.schema__col--out{ right: 0; align-items: stretch }

.chip{
  font-size: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(255,255,255,0.015);
  color: var(--ink-2);
  font-family: var(--ff-mono);
  letter-spacing: 0.01em;
  text-align: center;
  white-space: normal;
  overflow: visible;
  line-height: 1.22;
  min-height: 38px;
  display: grid;
  place-items: center;
}
.chip--solid{
  background: var(--ink);
  color: #0b0d0a;
  border-color: var(--ink);
  font-weight: 500;
}

.schema__core{
  position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 3;
}
.core{
  width: 210px;
  padding: 18px 18px 18px;
  border: 1px solid var(--lime);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, oklch(0.88 0.18 122 / 0.08), transparent),
    var(--bg);            /* opaque, no longer let lines bleed through */
  box-shadow:
    0 0 0 6px oklch(0.88 0.18 122 / 0.04),
    0 0 60px oklch(0.88 0.18 122 / 0.18),
    0 0 0 1px var(--bg);
  position: relative;
}
.core::before{
  content:""; position: absolute; left:8px; top:8px;
  width:6px; height:6px; border-radius:50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse 2s infinite;
}
@keyframes pulse{
  0%,100%{ opacity: 1 }
  50%{ opacity: 0.3 }
}
.core__tag{
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 10px;
}
.core__title{
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--ink);
}
.core__list{
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-2);
}
.core__list li{ padding-left: 10px; position: relative }
.core__list li::before{
  content:""; position: absolute; left: 0; top: 7px;
  width: 4px; height: 1px; background: var(--lime);
}

@media (max-width: 1020px){
  .hero__viz{ display: none }   /* mobile: skip the schema */
}

/* ribbon */
.ribbon{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.ribbon__track{
  display: flex; gap: 28px; align-items: center;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ribbon__track .sep{ color: var(--lime); font-size: 8px }
@keyframes scroll{
  from{ transform: translateX(0) }
  to{ transform: translateX(-50%) }
}

/* ============================================
   SECTIONS — shared
   ============================================ */
.section{ padding: clamp(72px, 9vw, 140px) 0; position: relative }
.section__head{ margin-bottom: clamp(40px, 5vw, 64px); max-width: 880px }
.section__head--center{ margin-left: auto; margin-right: auto; text-align: center }
.section__head--center .lead{ margin-left: auto; margin-right: auto }
.section--solution .section__head{ max-width: 1120px }
.section--problem{ background: var(--bg) }
.section--solution{
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* PROBLEM */
.problem__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: 64px;
}
@media (max-width: 880px){
  .problem__grid{ grid-template-columns: 1fr }
}
.problem__col{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--surface);
}
.problem__title{
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.problem__title .mono{ color: var(--lime); font-size: 11px }

.problem__stack{
  display: flex; flex-direction: column; gap: 0;
}
.problem__stack li{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px dashed var(--line-2);
  color: var(--ink-2);
  font-size: 15px;
}
.problem__stack li:first-child{ border-top: none }
.problem__stack .mono{
  color: var(--ink-mute);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.problem__stack--bad li:nth-child(n+2) .mono{ color: var(--warn) }

.symptoms{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.symptom{
  background: var(--surface);
  padding: 18px 16px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.4;
}
.symptom b{ color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px }

.problem__quote{
  margin-top: 56px;
  padding: 40px clamp(20px, 4vw, 56px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 0% 0%, oklch(0.88 0.18 122 / 0.06), transparent 60%),
    var(--surface);
  position: relative;
}
.qmark{
  position: absolute; left: 16px; top: -8px;
  font-size: 80px; line-height: 1;
  color: var(--lime);
  font-family: var(--ff-sans);
  font-weight: 700;
}
.problem__quote p{
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 50ch;
  font-weight: 500;
}
.problem__quote em{ color: var(--lime); font-style: normal; font-weight: 600 }

/* SOLUTION pillars */
.pillars{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 1100px){ .pillars{ grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 620px){ .pillars{ grid-template-columns: 1fr } }
@media (max-width: 720px){
  .section--solution .section__head{ max-width: 880px }
  .strike{
    display: inline;
    white-space: normal;
    text-decoration-line: line-through;
    text-decoration-color: color-mix(in oklch, var(--lime) 25%, transparent);
    text-decoration-thickness: max(3px, 0.055em);
    text-decoration-skip-ink: none;
  }
  .strike::after{ content: none }
}

.pillar{
  background: var(--bg-2);
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .2s ease;
}
.pillar:hover{ background: var(--surface) }
.pillar__num{
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--lime);
}
.pillar__title{
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.pillar p{
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
}
.pillar__list{
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.pillar__list li{
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-left: 12px;
  position: relative;
}
.pillar__list li::before{
  content:""; position: absolute; left: 0; top: 7px;
  width: 5px; height: 1px; background: var(--lime);
}

/* AUDIENCE */
.audience__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 880px){ .audience__grid{ grid-template-columns: 1fr } }
.aud{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.5vw, 34px);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.aud:hover{ border-color: var(--lime-deep); transform: translateY(-2px) }
.aud__tag{
  display: inline-block;
  align-self: flex-start;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 10px;
  color: var(--ink-2);
  background: var(--bg);
}
.aud__title{
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.aud__split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
@media (max-width: 480px){ .aud__split{ grid-template-columns: 1fr } }
.aud__sub{
  color: var(--ink-mute);
  margin-bottom: 10px;
  font-size: 10px;
}
.aud__split ul{
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px;
  color: var(--ink-2);
}
.aud__split ul li{
  padding-left: 16px; position: relative;
  line-height: 1.35;
}
.aud__split ul li::before{
  content:""; position: absolute;
  left:0; top: 9px;
  width: 8px; height: 1px;
  background: var(--ink-faint);
}
.aud:nth-child(3) .aud__split div:last-child ul li::before,
.aud:nth-child(1) .aud__split div:last-child ul li::before,
.aud .aud__split div:last-child ul li::before{ background: var(--lime) }

.aud__note{
  margin-top: 36px;
  color: var(--ink-mute);
  font-size: 11px;
  max-width: 80ch;
}
.section--audience .section__head .lead{
  margin-top: 18px;
  max-width: 92ch;
}
.aud--wide{ grid-column: 1 / -1 }
.aud__pain{
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  padding: 14px 16px;
  border-left: 2px solid var(--lime);
  background: var(--bg);
}
@media (max-width: 880px){ .aud--wide{ grid-column: auto } }

/* ============================================
   PLATFORM / ARCHITECTURE
   ============================================ */
.section--platform{
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.arch{
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  gap: 24px;
  padding: 32px clamp(8px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 0%, oklch(0.88 0.18 122 / 0.04), transparent 60%),
    var(--surface);
}
@media (max-width: 980px){
  .arch{
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.arch__col{
  display: flex; flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
}
.arch__group-label{
  font-size: 10px;
  color: var(--ink-mute);
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line-2);
  margin-bottom: 4px;
}
.arch__node{
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-2);
  text-align: left;
}
.arch__col--right .arch__node{ text-align: right }
.arch__node--out{ border-style: solid }
.arch__node--model{
  background: transparent;
  border-color: var(--lime-deep);
  color: var(--lime);
  text-align: center;
}

.arch__platform{
  display: flex; flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.arch__platform-head{
  background: var(--bg);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--ink-2);
  font-size: 12px;
}
.arch__platform-head .mono{ color: var(--lime); font-size: 11px }
.arch__pill{
  font-family: var(--ff-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.arch__layer{
  background: var(--bg-2);
  padding: 16px 18px;
}
.layer__title{
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.layer__sub{
  font-size: 10px;
  color: var(--ink-mute);
}

.arch__layer--modules{
  padding-bottom: 20px;
}
.modules{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 12px;
}
@media (max-width: 720px){ .modules{ grid-template-columns: repeat(2, 1fr) } }
.mod{
  background: var(--bg);
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 4px;
  transition: background .2s ease;
}
.mod:hover{ background: var(--surface-2) }
.mod__name{
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.mod__desc{
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
}

.arch__lines{
  position: absolute; inset: 0;
  pointer-events: none;
  color: var(--lime);
  display: none;  /* keep arch clean; lines suggested visually via grid cards */
}

.arch__note{
  margin-top: 24px;
  font-size: 11px;
  color: var(--ink-mute);
  text-align: center;
}
.platform__more{
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.section--platform-details{
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.platform-hero__core{
  width: min(420px, 100%);
  margin: auto;
}
.platform-contact .contact__grid{
  align-items: stretch;
}
.contact__panel{
  display: flex;
}
.contact__card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.5vw, 34px);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  width: 100%;
}
.contact__card h3{
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.contact__card p{
  margin: 0;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ============================================
   PLATFORM · MODULE EXPLORER
   ============================================ */
.explorer{
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px dashed var(--line-2);
  padding-top: clamp(40px, 5vw, 64px);
}
.explorer__head{
  margin-bottom: 32px;
  max-width: 880px;
}
.explorer__title{
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.explorer__lead{
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
}

/* ── Platform component map ──────────────── */
.wb{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  padding: 0;
  gap: 1px;
  margin-bottom: 28px;
}
.wb__seg{
  min-height: 88px;
  padding: 14px 12px;
  background: var(--surface);
  border: 0;
  cursor: pointer;
  text-align: left;
  display: flex; flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  color: var(--ink-2);
  overflow: hidden;
}
.wb__seg:hover{ background: var(--surface-2); color: var(--ink) }
.wb__seg:focus-visible{ outline: 2px solid var(--lime); outline-offset: -2px }

.wb__seg::before{
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(0.88 0.18 122 / 0.16), oklch(0.88 0.18 122 / 0.035));
  transform: translateY(101%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.wb__seg::after{
  content:""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--lime);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .25s ease;
}
.wb__seg.is-active{
  color: var(--ink);
  background: var(--bg-2);
}
.wb__seg.is-active::before{ transform: translateY(0) }
.wb__seg.is-active::after{ transform: scaleY(1) }
.wb__seg.is-active .wb__desc{ color: var(--lime) }

.wb__name{
  position: relative; z-index: 1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wb__desc{
  position: relative; z-index: 1;
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color .2s ease;
}
@media (max-width: 980px){
  .wb{ grid-template-columns: repeat(3, minmax(0, 1fr)) }
}
@media (max-width: 720px){
  .wb{ grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .wb__seg{ min-height: 72px; padding: 11px 9px }
  .wb__name{ font-size: 12px }
  .wb__desc{ font-size: 9.5px }
}

/* ── Detail panel ─────────────────────────── */
.md{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 0% 0%, oklch(0.88 0.18 122 / 0.05), transparent 55%),
    var(--surface);
  overflow: hidden;
  min-height: 280px;
  position: relative;
}
@media (max-width: 880px){
  .md{ grid-template-columns: 1fr }
}
.md__col{
  padding: clamp(24px, 2.6vw, 36px);
  display: flex; flex-direction: column;
  position: relative;
}
.md__col--main{
  border-right: 1px solid var(--line);
}
@media (max-width: 880px){
  .md__col--main{ border-right: 0; border-bottom: 1px solid var(--line) }
}

/* fade animation: a class on .md triggers a content-out → swap → content-in */
.md__col--main > *,
.md__col--meta > *{
  transition: opacity .2s ease, transform .25s ease;
}
.md.is-fading .md__col > *{
  opacity: 0;
  transform: translateY(6px);
}

.md__head{
  margin-bottom: 16px;
}
.md__tag{
  display: inline-block;
  color: var(--lime);
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.md__title{
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.md__lead{
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0 0 18px;
  max-width: 56ch;
}
.md__list{
  display: flex; flex-direction: column; gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
}
.md__list li{
  font-size: 13.5px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}
.md__list li::before{
  content:""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 1px; background: var(--lime);
}

.md__col--meta{
  background: var(--bg-2);
  gap: 4px;
}
.md__meta-row{
  display: flex; justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-2);
}
.md__meta-row:first-child{ padding-top: 0 }
.md__meta-key{
  color: var(--ink-mute);
  font-size: 10px;
  white-space: nowrap;
}
.md__meta-val{
  color: var(--ink);
  font-size: 12px;
  text-align: right;
  text-transform: none;
  letter-spacing: 0;
}
.md__why{
  margin-top: auto;
  padding-top: 20px;
}
.md__why .mono{
  display: block;
  color: var(--lime);
  font-size: 10px;
  margin-bottom: 8px;
}
.md__why p{
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* ============================================
   BILLING
   ============================================ */
.section--billing{
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.billing__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 980px){ .billing__grid{ grid-template-columns: 1fr } }

.billing__copy .h2{ margin-bottom: 18px }
.billing__points{
  display: flex; flex-direction: column;
  margin-top: 28px;
}
.billing__points li{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.billing__points li:first-child{ border-top: none; padding-top: 0 }
.billing__points .mono{
  color: var(--lime);
  font-size: 11px;
  padding-top: 3px;
}
.billing__points p{
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
}

.billing__viz{
  position: relative;
}
.flow{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  background:
    radial-gradient(ellipse at 100% 0%, oklch(0.88 0.18 122 / 0.06), transparent 50%),
    var(--surface);
  position: relative;
  overflow: hidden;
}
.flow::before{
  content:""; position: absolute; top: 16px; right: 16px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 2s infinite;
}
.flow__title{
  font-size: 11px;
  color: var(--ink-mute);
  margin-bottom: 22px;
}
.flow__steps{
  display: flex; flex-direction: column;
  margin: 0; padding: 0;
  counter-reset: step;
  position: relative;
}
.flow__steps::before{
  content:""; position: absolute;
  left: 20px; top: 24px; bottom: 24px;
  width: 1px;
  background: linear-gradient(to bottom, var(--lime-deep), var(--line-2));
}
.flow__step{
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 12px 0;
  position: relative;
  align-items: center;
  cursor: default;
}
.step__num{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-2);
  z-index: 1;
  transition: border-color .25s ease, color .25s ease, box-shadow .25s ease, background .25s ease;
}
.flow__step:hover .step__num{
  border-color: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 4px oklch(0.88 0.18 122 / 0.12), 0 0 16px oklch(0.88 0.18 122 / 0.25);
}
.flow__step--final .step__num{
  background: var(--lime);
  color: #0b0d0a;
  border-color: var(--lime);
  font-weight: 600;
}
.flow__step--final:hover .step__num{
  box-shadow: 0 0 0 4px oklch(0.88 0.18 122 / 0.18), 0 0 22px oklch(0.88 0.18 122 / 0.45);
  color: #0b0d0a;
}
.step__body{ display: flex; flex-direction: column; gap: 2px }
.step__name{
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color .25s ease;
}
.flow__step:hover .step__name{ color: var(--lime) }
.flow__step--final:hover .step__name{ color: var(--ink) }
.step__meta{
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
  text-transform: none;
  transition: color .25s ease;
}
.flow__step:hover .step__meta{ color: var(--ink-2) }
.flow__legend{
  margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  color: var(--ink-2);
}
.legend__dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}
.billing__grid{ align-items: start }
.billing__formula{
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.billing__formula span{
  color: var(--ink-mute);
  font-size: 10px;
  text-transform: uppercase;
}
.billing__formula b{
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.2;
  color: var(--ink);
}
.flow__intro{
  margin: -10px 0 18px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}
.flow__step{ align-items: start }
.step__detail{
  margin-top: 6px;
  max-width: 46ch;
  color: var(--ink-mute);
  font-size: 12px;
  line-height: 1.45;
}
.billing__example{
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 24px;
  margin-top: clamp(28px, 4vw, 48px);
  align-items: start;
}
.invoice,
.billing__metrics{
  border: 1px solid var(--line);
  background: var(--surface);
}
.invoice{ overflow: hidden }
.invoice__head{
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.invoice__label{
  color: var(--ink-mute);
  font-size: 10px;
  text-transform: uppercase;
}
.invoice__head h3{
  margin: 6px 0 0;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.invoice__total{
  min-width: 150px;
  padding: 12px 14px;
  background: var(--lime);
  color: #0b0d0a;
  text-align: right;
}
.invoice__total span{
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  opacity: .72;
}
.invoice__total b{
  display: block;
  margin-top: 4px;
  font-size: 26px;
  line-height: 1;
  white-space: nowrap;
}
.invoice__table{ overflow-x: auto }
.invoice__row{
  min-width: 680px;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(110px, .7fr) minmax(130px, .8fr) minmax(100px, .6fr);
  gap: 14px;
  padding: 11px 24px;
  color: var(--ink-2);
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.invoice__row:nth-child(even){ background: var(--bg) }
.invoice__row--head{
  color: var(--ink-mute);
  font-family: var(--ff-mono);
  font-size: 10px;
  text-transform: uppercase;
  background: var(--bg-2);
}
.invoice__row b{
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}
.billing__metrics{
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.metrics__head h3{
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.1;
}
.metrics__head p{
  margin: 0 0 8px;
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.45;
}
.metric{
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.metric--warn{
  background:
    linear-gradient(90deg, oklch(0.88 0.18 122 / 0.12), transparent 62%),
    var(--bg);
  border-color: var(--line-2);
  box-shadow: inset 3px 0 0 var(--lime);
}
.metric span{
  display: block;
  color: var(--ink-mute);
  font-size: 10px;
  text-transform: uppercase;
}
.metric b{
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  white-space: nowrap;
}
.metric p{
  margin: 8px 0 0;
  color: var(--ink-mute);
  font-size: 13px;
  line-height: 1.4;
}
@media (max-width: 1040px){
  .billing__example{ grid-template-columns: 1fr }
  .billing__metrics{ display: grid; grid-template-columns: repeat(2, 1fr) }
  .metrics__head{ grid-column: 1 / -1 }
}
@media (max-width: 640px){
  .billing__points li{ grid-template-columns: 1fr; gap: 6px }
  .invoice__head{ flex-direction: column }
  .invoice__total{ width: 100%; text-align: left }
  .billing__metrics{ grid-template-columns: 1fr }
}

/* ============================================
   ROADMAP
   ============================================ */
.section--roadmap{ background: var(--bg) }

/* ============================================
   PROOF / EXPERIENCE
   ============================================ */
.section--proof{
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: flex-start;
  margin-bottom: 56px;
}
@media (max-width: 980px){ .proof__grid{ grid-template-columns: 1fr } }
.proof__copy .eyebrow{ margin-bottom: 22px }
.proof__copy .h2{ margin-bottom: 22px }
.proof__actions{ margin-top: 24px }

.proof__stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat{
  background: var(--surface);
  padding: 26px 22px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.stat__num{
  font-weight: 600;
  font-size: clamp(32px, 3.4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.stat__num .stat__unit{
  font-size: 0.42em;
  color: var(--lime);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-left: 2px;
}
.stat:nth-child(4) .stat__num{
  font-size: 24px;
  letter-spacing: -0.015em;
}
.stat:nth-child(2) .stat__num{
  font-size: 24px;
  letter-spacing: -0.015em;
}
.stat--ours{
  background:
    radial-gradient(ellipse at 0% 0%, oklch(0.88 0.18 122 / 0.10), transparent 60%),
    var(--surface);
  position: relative;
}
.stat--ours::before{
  content:""; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--lime);
}
.stat__tag{
  font-size: 10px;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.stat__label{
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.35;
}
.stat__src{
  margin-top: auto;
  color: var(--ink-faint);
  font-size: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
}

/* ============================================
   FORMATS / PRICING TABLE
   ============================================ */
.pricing{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.pricing__row{
  display: grid;
  grid-template-columns: 64px 1.2fr 1.3fr 0.7fr 2fr;
  gap: 22px;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-2);
  transition: background .2s ease;
  line-height: 1.45;
  position: relative;
}

/* Этап-маркер (крупный номер слева, как точка на таймлайне) */
.pricing__step{
  font-family: var(--ff-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: -0.02em;
  line-height: 1;
  padding-top: 2px;
  transition: color .25s ease;
  position: relative;
}
/* Вертикальная пунктирная линия идёт снизу и останавливается на уровне номера. */
.pricing--launch .pricing__row:not(.pricing__row--head):not(:last-child){
  background-image: repeating-linear-gradient(
    to bottom,
    var(--line-2) 0 4px,
    transparent 4px 8px
  );
  background-repeat: no-repeat;
  background-size: 1px calc(100% - 34px);
  background-position: 88px 34px;
}
.pricing__row:not(.pricing__row--head) .pricing__step::after{
  display: none;
}
.pricing__row:last-child .pricing__step::after{ display: none }
.pricing__row:hover .pricing__step{ color: var(--ink) }
.pricing__row--head + .pricing__row .pricing__step{ color: var(--lime) }
.pricing:has(.pricing__row:not(.pricing__row--head):hover) .pricing__row--head + .pricing__row:not(:hover) .pricing__step{ color: var(--ink-faint) }
.pricing__row:hover .pricing__step{ color: var(--lime) }
.pricing__row:first-child{ border-top: none }
.pricing__row--head{
  background: var(--bg-2);
  font-size: 11px;
  color: var(--ink-mute);
  padding: 14px 24px;
  letter-spacing: 0.08em;
}
.pricing__row b{
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  display: block;
  letter-spacing: -0.005em;
}
.pricing__hint{
  display: block;
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 4px;
  letter-spacing: 0;
  text-transform: none;
}
.pricing__row .mono{ font-size: 12px; color: var(--ink); letter-spacing: 0.01em; text-transform: none }

/* Highlight: lime stripe + gradient.
   By default — on the first data row (i.e. right after the header).
   On hover of any other data row — moves there. */
.pricing__row:not(.pricing__row--head)::before{
  content:""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--lime);
  opacity: 0;
  transition: opacity .2s ease;
}
.pricing__row:not(.pricing__row--head)::after{
  content:""; position: absolute; inset: 0;
  background: linear-gradient(90deg, oklch(0.88 0.18 122 / 0.05), transparent 60%);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.pricing__row > *{ position: relative; z-index: 1 }

/* Default: first data row highlighted */
.pricing__row--head + .pricing__row::before,
.pricing__row--head + .pricing__row::after{ opacity: 1 }

/* Hover: move highlight to hovered row */
.pricing__row:not(.pricing__row--head):hover::before,
.pricing__row:not(.pricing__row--head):hover::after{ opacity: 1 }

/* If any other row is hovered, dim the default-first one */
.pricing:has(.pricing__row:not(.pricing__row--head):hover) .pricing__row--head + .pricing__row:not(:hover)::before,
.pricing:has(.pricing__row:not(.pricing__row--head):hover) .pricing__row--head + .pricing__row:not(:hover)::after{ opacity: 0 }
@media (max-width: 980px){
  .pricing__row{
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px 16px;
    padding: 20px 18px;
  }
  .pricing__row--head{ display: none }
  .pricing__row > .pricing__step{ grid-row: span 5; align-self: start }
  .pricing__row > div:not(.pricing__step){ grid-column: 2 / -1 }
  .pricing__step{ font-size: 20px }
  .pricing--launch .pricing__row:not(.pricing__row--head):not(:last-child){
    background-size: 1px calc(100% - 46px);
    background-position: 38px 46px;
  }
}
.pricing__note{
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}
.pricing__note .mono{ color: var(--lime); font-size: 11px }
.anti-callout{
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, oklch(0.88 0.18 122 / 0.045), var(--surface) 52%);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
}
.anti-callout__tag{
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.anti-callout h3{
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.anti-callout p{
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}
.anti-callout__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.anti-callout__grid .mono{
  display: block;
  color: var(--ink-mute);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
@media (max-width: 860px){
  .anti-callout{ grid-template-columns: 1fr }
  .anti-callout__grid{
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
}
@media (max-width: 560px){
  .anti-callout{ padding: 18px }
  .anti-callout__grid{ grid-template-columns: 1fr }
}

/* ============================================
   FAQ
   ============================================ */
.section--faq{
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.faq{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq__item{
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.faq__item:last-child{ border-bottom: none }
.faq__item:hover{ background: var(--surface) }
.faq__q{
  width: 100%;
  background: transparent;
  border: 0;
  padding: 24px 8px;
  display: grid;
  grid-template-columns: 80px 1fr 24px;
  gap: 24px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.faq__qnum{
  color: var(--ink-mute);
  font-size: 10px;
}
.faq__qtext{
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.faq__icon{
  width: 22px; height: 22px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  position: relative;
  flex: none;
  transition: background .2s ease, border-color .2s ease;
}
.faq__icon::before,
.faq__icon::after{
  content:""; position: absolute;
  background: var(--ink-2);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq__icon::before{ width: 10px; height: 1px }
.faq__icon::after{ width: 1px; height: 10px; transition: transform .2s ease }
.faq__item.is-open .faq__icon{
  background: var(--lime);
  border-color: var(--lime);
}
.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after{ background: #0b0d0a }
.faq__item.is-open .faq__icon::after{ transform: translate(-50%, -50%) rotate(90deg) }

.faq__a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq__item.is-open .faq__a{ max-height: 400px }
.faq__a p{
  padding: 0 8px 28px 112px;
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 70ch;
}
@media (max-width: 720px){
  .faq__q{ grid-template-columns: 1fr 24px; gap: 14px }
  .faq__qnum{ display: none }
  .faq__a p{ padding-left: 8px }
}

/* ============================================
   CONTACT / FORM
   ============================================ */
.section--contact{
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.section--contact::before{
  content:""; position: absolute;
  top: -10%; left: 0; right: 0;
  height: 60%;
  background: radial-gradient(ellipse at 0% 30%, oklch(0.88 0.18 122 / 0.08), transparent 60%);
  pointer-events: none;
}
.contact__grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
@media (max-width: 980px){ .contact__grid{ grid-template-columns: 1fr } }

.contact__copy .h2{ margin-bottom: 18px }
.contact__bullets{
  margin-top: 36px;
  display: flex; flex-direction: column; gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.cb{
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: flex-start;
}
.cb__num{
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--lime);
  padding: 4px 0;
  letter-spacing: 0.08em;
}
.cb b{
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.cb p{
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}

.form{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--surface);
  display: flex; flex-direction: column;
  gap: 18px;
}
.form__head{
  display: flex; justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line-2);
  color: var(--ink-mute);
  font-size: 11px;
}
.form__head .mono:first-child{ color: var(--lime) }
.form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 620px){ .form__row{ grid-template-columns: 1fr } }

.field{
  display: flex; flex-direction: column; gap: 8px;
}
.field__label{
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.field input[type="text"],
.field input[type="url"],
.field input[type="email"],
.field select,
.field textarea{
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 14px;
  font-family: var(--ff-sans);
  resize: vertical;
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--lime);
  background: var(--bg-2);
}
.field input::placeholder,
.field textarea::placeholder{ color: var(--ink-faint) }
.field select{
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%), linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.chips{
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chip-radio{
  position: relative;
  cursor: pointer;
}
.chip-radio input{
  position: absolute; opacity: 0; pointer-events: none;
}
.chip-radio span{
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--bg);
  transition: all .15s ease;
}
.chip-radio:hover span{ border-color: var(--ink-mute); color: var(--ink) }
.chip-radio input:checked + span{
  background: var(--lime);
  color: #0b0d0a;
  border-color: var(--lime);
  font-weight: 500;
}

.form__submit{
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 8px;
}
.form__legal{
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
}
.form__status{
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--lime);
  background: var(--lime-soft);
  border-radius: var(--radius-sm);
  display: none;
}
.form.is-sent .form__status{ display: block }
.form.is-sent button[type="submit"]{
  background: transparent;
  color: var(--lime);
  border: 1px solid var(--lime);
}

/* ============================================
   FOOTER
   ============================================ */
.footer{
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}
.footer__grid{
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: clamp(32px, 4vw, 64px);
}
@media (max-width: 880px){ .footer__grid{ grid-template-columns: 1fr } }

.footer__brand{ max-width: 380px }
.footer__tag{
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.footer__legal{
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.footer__cols{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 620px){ .footer__cols{ grid-template-columns: 1fr 1fr } }
.footer__col-title{
  color: var(--lime);
  font-size: 11px;
  margin-bottom: 14px;
}
.footer__cols ul{
  display: flex; flex-direction: column; gap: 8px;
}
.footer__cols a{
  font-size: 14px;
  color: var(--ink-2);
  transition: color .15s ease;
}
.footer__cols a:hover{ color: var(--ink) }


/* ============================================
   DIFF (§ vs WMS) и ANTI (когда не надо)
   ============================================ */
.section--diff{
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ============================================
   reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html{ scroll-behavior: auto }
}
