/* ==========================================================================
   CodaraTec Inc. — corporate site stylesheet
   Design tokens, layout primitives, components, responsive rules.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* surfaces */
  --bg: #06080f;
  --bg-alt: #0a0e1a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-strong: rgba(255, 255, 255, 0.16);

  /* text */
  --text: #e9edf7;
  --muted: #98a3bd;
  --faint: #6d7891;

  /* brand */
  --brand: #4f7cff;
  --brand-2: #22d3ee;
  --brand-3: #a855f7;
  --grad: linear-gradient(120deg, #4f7cff 0%, #22d3ee 55%, #a855f7 100%);
  --grad-soft: linear-gradient(120deg, rgba(79, 124, 255, .18), rgba(34, 211, 238, .16) 55%, rgba(168, 85, 247, .18));

  /* metrics */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --container: 1180px;
  --gutter: 24px;
  --header-h: 74px;

  --shadow-sm: 0 8px 24px rgba(4, 8, 20, .35);
  --shadow-lg: 0 28px 70px rgba(4, 8, 20, .55);

  --ease: cubic-bezier(.22, .68, .32, 1);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
p  { margin: 0 0 1.1em; }

::selection { background: rgba(79, 124, 255, .35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(68px, 9vw, 118px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 78px) 0; }
.section--alt { background: var(--bg-alt); }

.section-head { max-width: 760px; margin-bottom: clamp(34px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 4. Text helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-2));
}

.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: #fff; color: #06080f; padding: 10px 16px; border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid var(--stroke-strong);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--text);
  font: 600 .95rem/1 var(--font);
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s, background .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .3); }
.btn:active { transform: translateY(0); }

.btn--primary {
  border: none;
  background: var(--grad);
  color: #05080f;
  box-shadow: 0 12px 34px rgba(79, 124, 255, .3);
}
.btn--primary:hover { box-shadow: 0 18px 44px rgba(79, 124, 255, .45); }

.btn--ghost { background: var(--surface); }
.btn--ghost:hover { background: var(--surface-strong); }

.btn--sm { padding: 9px 16px; font-size: .85rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .93rem;
  color: var(--brand-2);
  transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: 14px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- 6. Background decoration ---------- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.glow--a { width: 460px; height: 460px; background: rgba(79, 124, 255, .22); top: -140px; left: -120px; }
.glow--b { width: 420px; height: 420px; background: rgba(168, 85, 247, .18); bottom: -160px; right: -100px; }

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 30%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.section > .container { position: relative; z-index: 1; }

/* ---------- 7. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s var(--ease), box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(6, 8, 15, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--stroke);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad);
  color: #05080f;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.06em;
  box-shadow: 0 6px 18px rgba(79, 124, 255, .35);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 700; font-size: 1.06rem; letter-spacing: -.02em; }
.brand__sub { font-size: .68rem; color: var(--faint); letter-spacing: .14em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.is-active { color: var(--text); background: var(--surface-strong); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform .28s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(58px, 8vw, 100px)) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero__lead { font-size: 1.14rem; color: var(--muted); max-width: 58ch; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--stroke);
  font-size: .9rem;
  color: var(--faint);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--brand-2); }

/* floating dashboard mock */
.mock {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .03);
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.mock__dot:nth-child(1) { background: #ff6058; }
.mock__dot:nth-child(2) { background: #ffbd2e; }
.mock__dot:nth-child(3) { background: #28c840; }
.mock__title {
  margin-left: 8px;
  font: 500 .78rem/1 var(--mono);
  color: var(--faint);
}
.mock__body { padding: 20px; display: grid; gap: 16px; }

.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: rgba(255, 255, 255, .03);
}
.tile__k { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.tile__v { font-size: 1.32rem; font-weight: 700; margin-top: 4px; letter-spacing: -.02em; }
.tile__v.up { color: var(--brand-2); }

.bars { display: grid; gap: 9px; }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: var(--grad); width: 0; transition: width 1.4s var(--ease); }

.code {
  font: 500 .78rem/1.85 var(--mono);
  color: var(--muted);
  background: rgba(0, 0, 0, .3);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  overflow-x: auto;
  white-space: pre;
}
.code b { color: var(--brand-2); font-weight: 600; }
.code i { color: #ffd479; font-style: normal; }

/* ---------- 9. Generic card ---------- */
.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--stroke-strong); background: var(--surface-strong); }
.card:hover::after { opacity: .55; }
.card > * { position: relative; z-index: 1; }

.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  border: 1px solid var(--stroke-strong);
  background: var(--grad-soft);
  color: var(--brand-2);
  margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font: 500 .76rem/1 var(--mono);
  padding: 7px 11px;
  border: 1px solid var(--stroke);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
}

/* ---------- 10. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--stroke);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg-alt); padding: 26px 22px; text-align: center; }
.stat__v { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; }
.stat__k { font-size: .84rem; color: var(--faint); margin-top: 4px; }

/* ---------- 11. Products ---------- */
.product {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.product:hover {
  transform: translateY(-6px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow-lg);
}
.product__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.product__logo {
  width: 50px; height: 50px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  border: 1px solid var(--stroke-strong);
  background: var(--grad-soft);
  color: var(--text);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.04em;
}
.product__name { font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; }
.product__url { font: 500 .8rem/1 var(--mono); color: var(--brand-2); }
.product p { color: var(--muted); font-size: .96rem; }

.check-list { display: grid; gap: 10px; margin: 18px 0 24px; }
.check-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: .93rem;
  color: var(--muted);
}
.check-list svg { width: 18px; height: 18px; color: var(--brand-2); margin-top: 3px; }
.product__foot { margin-top: auto; }

/* ---------- 12. Steps / process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font: 700 1rem/1 var(--mono);
  color: var(--brand-2);
  padding: 9px 12px;
  border: 1px solid var(--stroke-strong);
  border-radius: 10px;
  background: var(--grad-soft);
}
.step::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 56px;
  right: -12px;
  height: 1px;
  background: linear-gradient(90deg, var(--stroke-strong), transparent);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.05rem; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- 13. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 6vw, 74px);
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius-lg);
  background: var(--grad-soft);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  left: 50%; top: -260px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(79, 124, 255, .22);
  filter: blur(90px);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { color: var(--muted); max-width: 58ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- 14. Marquee (tech stack) ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scroll-left 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 15. Contact / footer ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.info-line {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--stroke);
}
.info-line:last-of-type { border-bottom: none; }
.info-line .ico {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--grad-soft);
  color: var(--brand-2);
  margin-top: 2px;
}
.info-line .ico svg { width: 19px; height: 19px; }
/* Stack the small uppercase label above its value instead of running into it. */
.info-line .k {
  display: block;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.info-line .v { display: block; font-weight: 500; word-break: break-word; }

.form-shell {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font: 400 .95rem/1.5 var(--font);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, .34); }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(79, 124, 255, .6);
  box-shadow: 0 0 0 4px rgba(79, 124, 255, .14);
  background: rgba(255, 255, 255, .06);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--faint); margin-top: 14px; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(40, 200, 64, .35);
  background: rgba(40, 200, 64, .1);
  font-size: .9rem;
}
.form-status.is-visible { display: block; }
.form-status.is-error {
  border-color: rgba(255, 96, 88, .4);
  background: rgba(255, 96, 88, .1);
}

.site-footer {
  border-top: 1px solid var(--stroke);
  background: var(--bg-alt);
  padding: 62px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.footer-col h4 {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: .93rem; transition: color .2s; }
.footer-col a:hover { color: var(--brand-2); }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 16px; max-width: 38ch; }

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--faint);
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 16. Content pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 6vw, 84px)) 0 clamp(48px, 6vw, 78px);
  border-bottom: 1px solid var(--stroke);
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(79, 124, 255, .2), transparent 70%),
    radial-gradient(700px 320px at 88% 10%, rgba(168, 85, 247, .16), transparent 70%);
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 18px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  color: var(--faint);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--text); }

.prose { max-width: 74ch; }
.prose h2 { margin-top: 2em; font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { display: grid; gap: 10px; margin: 0 0 1.2em; }
.prose ul li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
}
.prose ul li::before {
  content: "";
  width: 7px; height: 7px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--grad);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.value-list { display: grid; gap: 14px; margin-top: 22px; }
.value-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .025);
}
.value-item .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--grad-soft);
  color: var(--brand-2);
}
.value-item .ico svg { width: 21px; height: 21px; }
.value-item strong { display: block; margin-bottom: 2px; }
.value-item span { color: var(--muted); font-size: .93rem; }

/* accordion (FAQ) */
.accordion { display: grid; gap: 12px; max-width: 860px; }
.acc {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text);
  font: 600 1rem/1.5 var(--font);
  text-align: left;
  cursor: pointer;
}
.acc__btn:hover { background: var(--surface-strong); }
.acc__btn i {
  flex: none;
  position: relative;
  width: 20px; height: 20px;
}
.acc__btn i::before,
.acc__btn i::after {
  content: "";
  position: absolute;
  inset: 9px 0 auto;
  height: 2px;
  background: var(--brand-2);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.acc__btn i::after { transform: rotate(90deg); }
.acc[data-open="true"] .acc__btn i::after { transform: rotate(0deg); }
.acc__panel {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: .96rem;
}
/* Collapse answers only when JS is available to re-open them. */
.js .acc__panel { display: none; }
.js .acc[data-open="true"] .acc__panel { display: block; }

.timeline { display: grid; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 130px 26px 1fr;
  gap: 20px;
  padding-bottom: 30px;
  position: relative;
}
.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(130px + 12px);
  top: 26px;
  bottom: 0;
  width: 1px;
  background: var(--stroke-strong);
}
.timeline-item .year { font: 700 1rem/1.4 var(--mono); color: var(--brand-2); }
.timeline-item .dot {
  width: 25px; height: 25px;
  border-radius: 50%;
  border: 1px solid var(--stroke-strong);
  background: var(--grad-soft);
  display: grid; place-items: center;
  margin-top: 2px;
  z-index: 1;
}
.timeline-item .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.timeline-item p { color: var(--muted); font-size: .95rem; margin: 0; }
.timeline-item strong { display: block; margin-bottom: 4px; }

/* ---------- 17. Reveal animation ----------
   Content is visible by default; the hidden state is only applied when JS
   is running (html.js), so nothing ever depends on JavaScript to be readable. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px var(--gutter) 26px;
    background: rgba(6, 8, 15, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--stroke);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 14px; font-size: 1rem; border-radius: 12px; }
  .header-cta .btn { display: none; }
  .header-cta .btn--sm { display: inline-flex; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .timeline-item { grid-template-columns: 26px 1fr; }
  .timeline-item .year { grid-column: 1 / -1; }
  .timeline-item:not(:last-child)::before { left: 12px; top: 46px; }
}

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .card { padding: 22px; }
  .product { padding: 24px; }
  .footer-bottom { flex-direction: column; }
}
