/* ======================================================================
   ФЛЕКС, virtual cards landing
   Style: "Dylanbrouwer, Brutalist type foundry at dusk"
   Mixed theme with a dark-to-light rhythm: dark monument hero (#161616)
   dropping into light content (#f8f8f8 canvas, #ffffff cards), closing
   on a dark CTA + footer band.
   One chromatic accent only: ember #ff6436, small functional elements.
   Display: Anton (monument only). Body: Inter 500. Meta: IBM Plex Mono.
   Radius split: cards/inputs 0px, panels 14.4px, interactive pills 9999px.
   No shadows, no elevation: flat surfaces + hairline borders only.
   ====================================================================== */

:root {
  /* Palette */
  --ember: #ff6436;
  --onyx: #161616;
  --graphite: #3c3a3e;
  --stone: #7b7a7c;
  --muted: #605f63;
  --ash: #a2a2a2;
  --silver: #c9c7cc;
  --fog: #f1f1f1;
  --paper: #f8f8f8;
  --white: #ffffff;

  /* Hairlines */
  --hair: var(--silver);
  --hair-soft: rgba(60, 58, 62, 0.15);
  --hair-dark: rgba(255, 255, 255, 0.14);
  --hair-dark-soft: rgba(255, 255, 255, 0.08);

  /* Display gradient: black emerging into light (monument type only) */
  --display-fade: linear-gradient(180deg, #000000 0%, #6e6c70 25%, #b9b7bb 50%, #dcd6d6 75%, #f1f1f1 100%);

  /* Radius */
  --r-card: 0px;
  --r-input: 0px;
  --r-panel: 14.4px;
  --r-pill: 9999px;

  /* Layout */
  --container: 1200px;

  /* Motion */
  --ease-enter: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-morph: cubic-bezier(0.19, 1, 0.22, 1);

  /* Fonts */
  --font-display: "Anton", "Oswald", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Focus ring color (flipped per surface) */
  --ring: var(--onyx);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.1;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- focus rings ---- */
a:focus-visible,
button:focus-visible,
.tabs__tab:focus-visible,
.acc__trigger:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

/* ======================================================================
   Shared metadata / display atoms
   ====================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--muted);
}

.ember-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ember);
  flex: none;
}

/* Ghosted monument watermark behind a section heading */
.section__head {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(32px, 4.5vw, 56px);
  padding-top: 6px;
}
.section__ghost {
  position: absolute;
  left: -0.03em;
  top: 50%;
  transform: translateY(-52%);
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(4rem, 13vw, 9rem);
  line-height: 0.74;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.section__head .eyebrow,
.section__head .section__title { position: relative; z-index: 1; }
.section__head .eyebrow { margin-bottom: 16px; }

.section__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--graphite);
}

/* ======================================================================
   Buttons / links
   ====================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  padding: 15px 24px;
  min-height: 46px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: background 0.3s var(--ease-morph), color 0.3s var(--ease-morph),
    border-color 0.3s var(--ease-morph), transform 0.3s var(--ease-morph);
}
.btn--lg { padding: 17px 30px; min-height: 52px; }

.btn--primary { background: var(--onyx); color: var(--white); }
.btn--primary:hover { background: var(--graphite); }
.btn--primary:active { transform: scale(0.98); }

.btn--ghost {
  background: transparent;
  color: var(--graphite);
  border-color: var(--silver);
}
.btn--ghost:hover { border-color: var(--onyx); }
.btn--ghost:active { transform: scale(0.98); }

/* Inverted primary on dark surfaces */
.hero .btn--primary,
.final .btn--primary { background: var(--white); color: var(--onyx); }
.hero .btn--primary:hover,
.final .btn--primary:hover { background: var(--fog); }

.text-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: var(--graphite);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--silver);
  transition: border-color 0.3s var(--ease-morph), color 0.3s var(--ease-morph);
}
.text-link:hover { border-color: var(--onyx); }
.hero .text-link { color: var(--fog); border-bottom-color: rgba(255, 255, 255, 0.3); }
.hero .text-link:hover { border-bottom-color: var(--white); }

/* ======================================================================
   Nav (floats on the dark hero, gains a paper bar on scroll)
   ====================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  --nav-fg: var(--fog);
  --nav-border: rgba(255, 255, 255, 0.15);
  --ring: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-morph), border-color 0.4s var(--ease-morph);
}
.nav.is-scrolled {
  --nav-fg: var(--graphite);
  --nav-border: rgba(60, 58, 62, 0.15);
  --ring: var(--onyx);
  background: rgba(248, 248, 248, 0.9);
  border-bottom-color: var(--silver);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
}

.nav__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ember);
  flex: none;
}
.logo__word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--nav-fg, var(--graphite));
  transition: color 0.4s var(--ease-morph);
}

.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--nav-fg);
  padding: 8px 14px;
  border: 1px solid var(--nav-border);
  border-radius: var(--r-pill);
  transition: color 0.3s var(--ease-morph), border-color 0.3s var(--ease-morph), background 0.3s var(--ease-morph);
}
.nav__links a::before { content: "•"; font-size: 12px; opacity: 0.7; }
.nav__links a:hover { border-color: currentColor; }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav .nav__cta { background: var(--white); color: var(--onyx); border-color: transparent; }
.nav.is-scrolled .nav__cta { background: var(--onyx); color: var(--white); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--nav-border);
  border-radius: var(--r-pill);
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__burger span {
  display: block; width: 18px; height: 2px;
  background: var(--nav-fg);
  transition: transform 0.3s var(--ease-morph), opacity 0.2s var(--ease-morph);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================================================
   Hero (dark, monument)
   ====================================================================== */
.hero {
  position: relative;
  background: var(--onyx);
  color: var(--fog);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
  overflow: hidden;
  --ring: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.hero__head { min-width: 0; }
.hero__body {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  column-gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__copy { min-width: 0; }
.hero .eyebrow { color: var(--ash); margin-bottom: 20px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 6.6rem);
  line-height: 0.84;
  letter-spacing: -0.01em;
  margin: 0;
  overflow-wrap: normal;
  text-wrap: balance;
  background: var(--display-fade);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__sub {
  margin-top: 26px;
  max-width: 34ch;
  color: var(--ash);
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.hero__cta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---- virtual card (monochrome onyx, single ember accent) ---- */
.hero__visual { display: flex; justify-content: center; }

.card-stage {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1.586 / 1;
  perspective: 1200px;
}

.card {
  position: absolute;
  inset: 0;
  border-radius: var(--r-panel);
  padding: 26px;
  color: var(--fog);
  background: linear-gradient(155deg, #262629 0%, #17171a 58%, #0f0f11 100%);
  border: 1px solid var(--hair-dark);
  overflow: hidden;
}
.card--ghost {
  transform: translate(24px, 28px) rotate(4deg) scale(0.96);
  background: #1b1b1d;
  border-color: var(--hair-dark-soft);
  opacity: 0.55;
  z-index: 0;
}
.card-float {
  position: absolute; inset: 0; z-index: 1;
  animation: card-float 6.5s ease-in-out infinite;
}
@keyframes card-float {
  0%, 100% { transform: translateY(-6px); }
  50% { transform: translateY(6px); }
}
.card-tilt {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-morph);
  will-change: transform;
}
.card--main { display: flex; flex-direction: column; }

.card__top {
  display: flex; align-items: baseline; justify-content: space-between;
}
.card__brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}
.card__kind {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: rgba(241, 241, 241, 0.6);
}
.card__live {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ember);
}
.card__chip {
  margin-top: 22px;
  width: 46px; height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, #cfd0d3, #8b8b8f 55%, #b7b8bc);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 6px;
}
.card__chip span { background: rgba(20, 20, 22, 0.3); border-radius: 2px; }

.card__number {
  margin-top: auto;
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1rem, 3.4vw, 1.3rem);
  letter-spacing: 0.04em;
}
.card__number .dots { color: rgba(241, 241, 241, 0.8); letter-spacing: 0.1em; }
.card__number .real { color: var(--white); }

.card__foot {
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  gap: 26px;
}
.card__field { display: flex; flex-direction: column; gap: 4px; }
.card__label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(241, 241, 241, 0.5);
}
.card__value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fog);
}
.card__network { margin-left: auto; display: flex; align-items: center; }
.net { display: block; width: 26px; height: 26px; border-radius: 50%; }
.net--a { background: rgba(255, 255, 255, 0.85); }
.net--b { background: rgba(255, 255, 255, 0.42); margin-left: -11px; }

/* ======================================================================
   Trust strip (light)
   ====================================================================== */
.trust {
  background: var(--white);
  border-top: 1px solid var(--silver);
  border-bottom: 1px solid var(--silver);
  padding: 26px 0;
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust__stat {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.trust__stat-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--graphite);
}
.trust__stat-text .counter { font-variant-numeric: tabular-nums; }

.trust__logos { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.trust__cap {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--muted);
}

.logo-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.logo-row li { position: relative; }
.logo-row li:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -13px; top: 50%;
  height: 22px; width: 1px;
  background: var(--silver);
  transform: translateY(-50%) skewX(-16deg);
}
.brand-logo {
  display: block;
  width: 34px;
  height: 26px;
  background-color: var(--stone);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
  transition: background-color 0.3s var(--ease-morph), transform 0.3s var(--ease-morph);
}
.brand-logo:hover { background-color: var(--onyx); transform: translateY(-2px); }

/* ======================================================================
   Section shell
   ====================================================================== */
.section { padding: clamp(60px, 8vw, 88px) 0; }

/* ======================================================================
   Features bento (sharp flat cards)
   ====================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(184px, auto);
  gap: 1px;
  background: var(--silver);
  border: 1px solid var(--silver);
}
.bento__cell {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s var(--ease-morph);
}
.bento__cell:hover { background: var(--fog); }
.bento__cell h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--graphite);
}
.bento__cell p { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }

.cell__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ash);
}

.bento__cell--hero {
  grid-row: span 2;
  justify-content: space-between;
}
.bento__cell--pattern {
  background-color: var(--white);
  background-image: radial-gradient(rgba(60, 58, 62, 0.09) 1px, transparent 1px);
  background-size: 16px 16px;
}
.bento__cell--pattern:hover { background-color: var(--fog); }

.bento__accent {
  border-radius: var(--r-card);
  background: var(--fog);
  border: 1px solid var(--silver);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-card {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 1.7 / 1;
  border-radius: var(--r-panel);
  background: linear-gradient(150deg, #242427, #131315);
  border: 1px solid var(--hair-dark);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mini-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}
.mini-card__dots {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(241, 241, 241, 0.75);
}
.bento__text { display: flex; flex-direction: column; gap: 10px; }

.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--r-card);
  background: var(--fog);
  border: 1px solid var(--silver);
  color: var(--graphite);
  flex-shrink: 0;
}
.ico--pill { width: 48px; height: 48px; }

/* ======================================================================
   Use-case tabs
   ====================================================================== */
.tabs {
  border: 1px solid var(--silver);
  border-radius: var(--r-panel);
  background: var(--white);
  overflow: hidden;
}
.tabs__list {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid var(--silver);
  flex-wrap: wrap;
}
.tabs__tab {
  position: relative;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  padding: 12px 16px 14px;
  transition: color 0.3s var(--ease-morph);
}
.tabs__tab:hover { color: var(--graphite); }
.tabs__tab.is-active { color: var(--onyx); }
.tabs__tab.is-active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  background: var(--ember);
}

.tabs__panel { padding: clamp(28px, 4vw, 44px); }
.tabs__panel:not(.is-active) { display: none; }
.tabs__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.tabs__lead { max-width: 52ch; }
.tabs__lead h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--graphite);
  margin-bottom: 12px;
}
.tabs__lead p { color: var(--muted); font-size: 1.05rem; line-height: 1.45; }
.tabs__logos { display: flex; align-items: center; gap: 28px; }
.tabs__logos .brand-logo { width: 46px; height: 34px; }

/* ======================================================================
   Pricing
   ====================================================================== */
.pricing__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.pricing__head .section__head { margin-bottom: 0; flex: 1 1 auto; }

.toggle {
  display: inline-flex;
  padding: 5px;
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--r-pill);
  flex: none;
}
.toggle__opt {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  padding: 10px 18px;
  min-height: 40px;
  border-radius: var(--r-pill);
  transition: background 0.3s var(--ease-morph), color 0.3s var(--ease-morph);
}
.toggle__opt.is-active { background: var(--onyx); color: var(--white); }
.toggle__save {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: var(--r-pill);
  background: var(--fog);
  color: var(--graphite);
}
.toggle__opt.is-active .toggle__save { background: rgba(255, 255, 255, 0.18); color: var(--white); }

.plans {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.plan {
  position: relative;
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--r-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: border-color 0.3s var(--ease-morph);
}
.plan:hover { border-color: var(--stone); }
.plan--popular { border-color: var(--onyx); }

.plan__badge {
  position: absolute;
  top: -13px;
  left: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  padding: 6px 12px 6px 10px;
  border-radius: var(--r-pill);
  background: var(--onyx);
  color: var(--white);
}
.plan__name {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--graphite);
}
.plan__desc { color: var(--muted); font-size: 0.92rem; margin-top: 8px; line-height: 1.4; }

.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__amount {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 3rem;
  letter-spacing: -0.03em;
  color: var(--graphite);
  font-variant-numeric: tabular-nums;
}
.plan__cur { font-family: var(--font-body); font-weight: 500; font-size: 1.4rem; color: var(--graphite); }
.plan__per {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin-left: 4px;
}

.plan__list { display: flex; flex-direction: column; gap: 13px; }
.plan__list li {
  position: relative;
  padding-left: 26px;
  color: var(--graphite);
  font-size: 0.95rem;
  line-height: 1.35;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 15px; height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%233c3a3e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.plan__btn { margin-top: auto; width: 100%; }

/* ======================================================================
   Security
   ====================================================================== */
.security { background: var(--fog); }
.security__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.security__statement { position: sticky; top: 100px; }
.security__statement .eyebrow { margin-bottom: 18px; }
.security__statement .section__title { margin-bottom: 18px; }
.security__statement p { color: var(--muted); font-size: 1.08rem; max-width: 34ch; line-height: 1.45; }

.security__list { display: flex; flex-direction: column; }
.security__item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--silver);
}
.security__item:first-child { border-top: none; padding-top: 0; }
.security__item h3 {
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--graphite);
  margin-bottom: 6px;
}
.security__item p { color: var(--muted); font-size: 0.96rem; line-height: 1.4; }

/* ======================================================================
   Testimonials (sharp flat quote cards, hairline top border)
   ====================================================================== */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--silver);
  border-top: 2px solid var(--onyx);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.quote blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--graphite);
}
.quote__by { display: flex; align-items: center; gap: 12px; }
.quote__by img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
}
.quote__by span span { display: block; }
.quote__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--graphite);
}
.quote__role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ======================================================================
   FAQ (hairline-divided rows)
   ====================================================================== */
.faq__inner { max-width: 860px; }
.accordion {
  border-top: 1px solid var(--silver);
}
.acc__item { border-bottom: 1px solid var(--silver); }
.acc__item h3 { margin: 0; }
.acc__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--graphite);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  padding: 24px 4px;
  transition: color 0.3s var(--ease-morph);
}
.acc__trigger:hover { color: var(--onyx); }
.acc__icon {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--graphite);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-morph), opacity 0.3s var(--ease-morph);
}
.acc__icon::before { width: 14px; height: 2px; }
.acc__icon::after { width: 2px; height: 14px; }
.acc__trigger[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.acc__panel { padding: 0 4px 26px; }
.acc__panel p { color: var(--muted); font-size: 0.98rem; max-width: 66ch; line-height: 1.5; }

/* ======================================================================
   Final CTA + Footer (dark band)
   ====================================================================== */
.final {
  background: var(--onyx);
  color: var(--fog);
  padding: clamp(72px, 10vw, 120px) 0;
  --ring: var(--white);
}
.final__inner { max-width: 720px; }
.final .eyebrow { color: var(--ash); margin-bottom: 22px; }
.final__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
}
.final__sub {
  margin: 20px 0 34px;
  color: var(--ash);
  max-width: 46ch;
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.footer {
  background: var(--onyx);
  color: var(--fog);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 64px 0 32px;
  --ring: var(--white);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand { max-width: 30ch; }
.footer__brand .logo__word { color: var(--white); }
.footer__tag { margin-top: 16px; color: var(--ash); font-size: 0.94rem; line-height: 1.45; letter-spacing: -0.01em; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 4px;
}
.footer__col a {
  color: var(--fog);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease-morph);
}
.footer__col a:hover { color: var(--white); }

.footer__foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__foot p {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ash);
}
.footer__req {
  margin-top: 18px;
  max-width: 72ch;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ash);
  font-variant-numeric: tabular-nums;
}

/* ======================================================================
   Doc page (оферта и т.п.)
   ====================================================================== */
.doc { padding: clamp(104px, 12vw, 136px) 0 clamp(56px, 8vw, 88px); }
.doc__inner { max-width: 840px; }
.doc__crumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--stone);
  margin-bottom: 24px;
}
.doc__crumbs a { color: var(--graphite); border-bottom: 1px solid var(--silver); }
.doc__crumbs a:hover { border-bottom-color: var(--onyx); }
.doc .eyebrow { margin-bottom: 14px; }
.doc__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--graphite);
}
.doc__meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--stone);
}
.doc__lead {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--silver);
  border-left: 3px solid var(--ember);
  border-radius: var(--r-card);
}
.doc__lead p { color: var(--graphite); font-size: 1rem; line-height: 1.6; }
.doc__section { margin-top: clamp(32px, 4vw, 44px); }
.doc__section h2 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--graphite);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--silver);
  margin-bottom: 14px;
}
.doc__section p {
  color: var(--graphite);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 9px;
}
.doc__section strong { font-weight: 500; color: var(--onyx); }
.doc__section--req {
  padding: 24px;
  background: var(--fog);
  border: 1px solid var(--silver);
  border-radius: var(--r-card);
}
.doc__section--req p { font-variant-numeric: tabular-nums; margin-bottom: 5px; }
.doc__back { margin-top: 42px; }

/* ======================================================================
   Scroll reveal
   ====================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-enter), transform 0.7s var(--ease-enter);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ======================================================================
   Responsive
   ====================================================================== */
@media (max-width: 960px) {
  .hero { min-height: auto; padding: 116px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; row-gap: 36px; }
  .hero__body { grid-template-columns: 1fr; row-gap: 40px; }
  .hero__visual { justify-content: flex-start; }
  .card-stage { width: min(400px, 86%); }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--hero { grid-row: auto; grid-column: span 2; }

  .security__grid { grid-template-columns: 1fr; gap: 32px; }
  .security__statement { position: static; }

  .quotes { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .plan--popular { order: -1; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: rgba(248, 248, 248, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--silver);
    padding: 16px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-morph), transform 0.3s var(--ease-morph);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a {
    color: var(--graphite);
    border-color: var(--hair-soft);
    justify-content: flex-start;
    padding: 14px 16px;
    font-size: 14px;
  }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .trust__inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .tabs__content { flex-direction: column; align-items: flex-start; gap: 26px; }
  .pricing__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--hero { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .card__number { gap: 10px; }
  .section__ghost { font-size: clamp(3rem, 20vw, 4.5rem); }
}

@media (max-width: 400px) {
  .card { padding: 20px; }
  .card__number { font-size: 1rem; gap: 8px; }
  .hero__title { font-size: clamp(2.4rem, 12vw, 3rem); }
}

/* ======================================================================
   Reduced motion
   ====================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-tilt { transition: none; }
  .btn, .brand-logo, .bento__cell, .plan, .tabs__tab, .acc__trigger { transition: none; }
}
