/* ==========================================================================
   EscrowOrder — Design System
   Palette: #fafafa base · #d2fa32 lime accent · #82aa3c olive · #0c0c0d ink
   Fonts: Inter (text) · JetBrains Mono (numbers/labels)
   ========================================================================== */

:root {
  --bg: #fafafa;
  --surface: #f0f0f2;
  --surface-2: #e8e8eb;
  --ink: #0c0c0d;
  --ink-soft: #45454b;
  --muted: #74747c;
  --lime: #d2fa32;
  --lime-strong: #c3f21c;
  --lime-soft: #e6fb8a;
  --olive: #82aa3c;
  --olive-deep: #6d9330;
  --white: #ffffff;
  --line: #e3e3e7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --danger: #e5533c;

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

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;

  --shadow-card: 0 30px 70px -30px rgba(12, 12, 13, 0.22);
  --shadow-chip: 0 10px 28px -10px rgba(12, 12, 13, 0.25);
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.3, 1.35, 0.42, 1);

  --header-h: 72px;
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  /* off-screen reveal starts (translateX) must not widen the page */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

/* the hidden attribute must always win over class display rules */
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
input, select { font: inherit; color: inherit; }

::selection { background: var(--lime); color: var(--ink); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  /* pre-reveal transforms (translateX) must never inflate the document */
  overflow-x: clip;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), background-color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 44%, rgba(255, 255, 255, 0.38) 50%, transparent 56%);
  transform: translateX(-160%) skewX(-10deg);
  transition: transform 1.4s cubic-bezier(0.45, 0.05, 0.3, 0.95);
  pointer-events: none;
}
.btn:hover::before { transform: translateX(160%) skewX(-10deg); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease-out); }
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 12px 30px -12px rgba(130, 170, 60, 0.65);
}
.btn--primary:hover {
  background: var(--lime-strong);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -14px rgba(130, 170, 60, 0.75);
}
.btn--primary:hover svg { transform: translateX(4px); }

.btn--dark {
  background: var(--ink);
  color: var(--lime);
}
.btn--dark:hover {
  background: #1d1d20;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(12, 12, 13, 0.5);
}
.btn--dark:hover svg { transform: translateX(4px); }

.btn--outline-dark {
  border: 1.5px solid rgba(12, 12, 13, 0.55);
  color: var(--ink);
  background: transparent;
}
.btn--outline-dark:hover {
  border-color: var(--ink);
  background: rgba(12, 12, 13, 0.05);
  transform: translateY(-3px);
}

.btn--outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: transparent;
}
.btn--outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.btn--sm { min-height: 42px; padding: 10px 20px; font-size: 14.5px; }
.btn--wide { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  border-bottom: 1.5px solid transparent;
  transition: gap 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease-out); }
.link-arrow:hover { gap: 15px; border-bottom-color: currentColor; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 250, 250, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 250, 250, 0.94); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; }
.logo__text {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.header__nav { display: none; gap: 6px; }
.header__link {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.header__link:hover { background: var(--surface-2); color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__login {
  display: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.header__login:hover { color: var(--ink); }
.header__actions .btn { display: none; }

.header__burger {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.header__burger span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.header__burger span:nth-child(1) { top: 18px; }
.header__burger span:nth-child(2) { top: 25px; }
.header__burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.header__burger.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 6px clamp(16px, 4vw, 40px) 4px;
  animation: menuIn 0.3s var(--ease);
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu__link {
  display: block;
  padding: 15px 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__link:last-child { border-bottom: 0; }

@media (min-width: 900px) {
  .header__nav { display: flex; }
  .header__login { display: inline; }
  .header__actions .btn { display: inline-flex; }
  .header__burger, .mobile-menu { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: calc(var(--header-h) + clamp(12px, 2.5vw, 24px)); }

.hero__card {
  position: relative;
  overflow: hidden;
  background: var(--lime);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 72px);
  isolation: isolate;
}

.hero__blob {
  position: absolute;
  right: -12%;
  bottom: -22%;
  width: min(72%, 720px);
  height: auto;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}

.hero__content { max-width: 640px; }

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 16px;
  border: 1.5px solid rgba(12, 12, 13, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}
.tagline__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(12, 12, 13, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(12, 12, 13, 0); }
}

.hero__title {
  margin-top: clamp(20px, 3vw, 32px);
  font-size: clamp(2.35rem, 7.2vw, 4.7rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero__title em {
  font-style: normal;
  background-image: linear-gradient(var(--white), var(--white));
  background-repeat: no-repeat;
  background-size: 100% 0.16em;
  background-position: 0 92%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__subtitle {
  margin-top: clamp(18px, 2.5vw, 26px);
  max-width: 520px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: rgba(12, 12, 13, 0.78);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.5vw, 40px);
}

/* Hero visual — deal card mock */
.hero__visual { position: relative; margin-top: 36px; }

.deal-card-wrap {
  position: relative;
  max-width: 420px;
  margin-left: auto;
}

.deal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-card);
}
.deal-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.deal-card__id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}
.deal-card__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(210, 250, 50, 0.5);
  animation: dealPulse 2.4s infinite;
}
@keyframes dealPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(210, 250, 50, 0.45); }
  60% { box-shadow: 0 0 0 7px rgba(210, 250, 50, 0); }
}
.deal-card__coin {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--lime);
  padding: 4px 10px;
  border-radius: 999px;
}
.deal-card__name {
  margin-top: 16px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.66);
}
.deal-card__amount {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: clamp(34px, 4.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lime);
}
.deal-card__progress {
  margin-top: 18px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.deal-card__progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--olive), var(--lime));
  animation: fillGrow 1.6s var(--ease) both;
}
@keyframes fillGrow { from { width: 0 !important; } }
.deal-card__steps {
  margin-top: 18px;
  display: grid;
  gap: 9px;
}
.deal-card__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  animation: stepIn 0.55s var(--ease) forwards;
}
.deal-card__steps li:nth-child(1) { animation-delay: 0.55s; }
.deal-card__steps li:nth-child(2) { animation-delay: 0.72s; }
.deal-card__steps li:nth-child(3) { animation-delay: 0.89s; }
.deal-card__steps li:nth-child(4) { animation-delay: 1.06s; }
.deal-card__steps li:nth-child(5) { animation-delay: 1.23s; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
.deal-card__steps li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: no-repeat center/8px;
}
.deal-card__steps li.is-done { color: rgba(255, 255, 255, 0.85); }
.deal-card__steps li.is-done::before {
  border-color: var(--lime);
  background-color: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2 4 7l4-4.4' fill='none' stroke='%230c0c0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.deal-card__steps li.is-active { color: var(--lime); }
.deal-card__steps li.is-active::before {
  border-color: var(--lime);
  box-shadow: inset 0 0 0 3.5px var(--ink), inset 0 0 0 10px var(--lime);
  background: var(--lime);
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-chip);
}
.float-chip svg { width: 16px; height: 16px; }
.float-chip--lime { background: var(--lime); color: var(--ink); top: -16px; right: clamp(10px, 6vw, 40px); animation: floatY 5s ease-in-out infinite; }
.float-chip--white { background: var(--white); color: var(--ink); bottom: 44px; left: calc(-1 * clamp(12px, 4vw, 48px)); animation: floatY 6s 0.6s ease-in-out infinite; }
.float-chip--olive { background: var(--olive); color: var(--white); bottom: -14px; right: clamp(6px, 5vw, 56px); animation: floatY 5.6s 1.1s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (min-width: 1024px) {
  .hero__card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    min-height: 620px;
  }
  .hero__visual { margin-top: 0; }
}

/* ==========================================================================
   Sections — common
   ========================================================================== */
.section { padding-block: clamp(56px, 9vw, 116px); }
.section--tight { padding-block: clamp(28px, 4.5vw, 56px); }

.section__label {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-deep);
}
.section__label--light { color: var(--lime-soft); }

.section__title {
  margin-top: 14px;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.032em;
}
.section__title--invert { color: var(--white); }

.section__head { max-width: 820px; }
.section__head--split {
  max-width: none;
  display: grid;
  gap: 18px;
  align-items: end;
}
.section__lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 420px;
}

@media (min-width: 900px) {
  .section__head--split { grid-template-columns: 1.4fr 1fr; gap: 48px; }
}

/* ---------- Scroll reveal: 3D flip-up + blur focus (JS only) ---------- */
.js .reveal,
.js .reveal-left,
.js .reveal-right {
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.85s var(--ease-out), transform 0.95s var(--ease-spring),
    filter 0.75s var(--ease-out);
}
.js .reveal {
  transform: perspective(1100px) rotateX(14deg) translateY(48px) scale(0.98);
  transform-origin: 50% 100%;
}
.js .reveal-left { transform: translateX(-76px) rotate(-1.8deg) scale(0.99); }
.js .reveal-right { transform: translateX(76px) rotate(1.8deg) scale(0.99); }

.js .reveal-scale {
  opacity: 0;
  filter: blur(16px);
  transform: scale(0.92) translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 1.05s var(--ease-spring),
    filter 0.8s var(--ease-out);
}

/* Big cards unfold from a clipped frame */
.js .reveal-clip {
  opacity: 0;
  clip-path: inset(12% 6% 12% 6% round var(--r-xl));
  transform: scale(0.96);
  transition: opacity 0.55s ease, clip-path 1.1s var(--ease-out),
    transform 1.1s var(--ease-out);
}

.js .reveal.in,
.js .reveal-left.in,
.js .reveal-right.in,
.js .reveal-scale.in {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
.js .reveal-clip.in {
  opacity: 1;
  clip-path: inset(0 0 0 0 round var(--r-xl));
  transform: none;
}

/* Staggered children: cards stand up from below with spring overshoot */
.js .stagger > *:not(.split-title) {
  opacity: 0;
  filter: blur(9px);
  transform: perspective(1000px) rotateX(16deg) translateY(52px) scale(0.985);
  transform-origin: 50% 100%;
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-spring),
    filter 0.6s var(--ease-out);
}
.js .stagger.in > *:not(.split-title) {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
.js .stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.js .stagger.in > *:nth-child(2) { transition-delay: 0.14s; }
.js .stagger.in > *:nth-child(3) { transition-delay: 0.23s; }
.js .stagger.in > *:nth-child(4) { transition-delay: 0.32s; }
.js .stagger.in > *:nth-child(5) { transition-delay: 0.41s; }
.js .stagger.in > *:nth-child(6) { transition-delay: 0.5s; }
.js .stagger.in > *:nth-child(7) { transition-delay: 0.59s; }
.js .stagger.in > *:nth-child(8) { transition-delay: 0.68s; }

/* Hero title: word-by-word rise from masks */
.js .split-title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.js .split-title .wi {
  display: inline-block;
  transform: translateY(120%) rotate(4deg);
  transition: transform 0.85s var(--ease-out);
}
.js .split-title.in .wi { transform: none; }

/* Step icons pop in when the grid reveals */
@keyframes iconPop {
  0% { opacity: 0; transform: scale(0.2) rotate(-90deg); }
  60% { opacity: 1; transform: scale(1.15) rotate(6deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.js .steps.in .step__icon { animation: iconPop 0.6s var(--ease-spring) backwards; }
.js .steps.in > *:nth-child(1) .step__icon { animation-delay: 0.32s; }
.js .steps.in > *:nth-child(2) .step__icon { animation-delay: 0.46s; }
.js .steps.in > *:nth-child(3) .step__icon { animation-delay: 0.6s; }
.js .steps.in > *:nth-child(4) .step__icon { animation-delay: 0.74s; }
.js .steps.in > *:nth-child(5) .step__icon { animation-delay: 0.88s; }

/* Parallax decorations (JS sets --py) */
.hero__blob,
.founder__quote-mark,
.js .deal-card {
  will-change: transform;
}
.hero__blob,
.founder__quote-mark {
  transform: translateY(var(--py, 0px));
}
.js .deal-card {
  transform: translateY(var(--py, 0px));
}

/* Card spotlight following the cursor (JS adds .tilt) */
.tilt { position: relative; }
.tilt::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(210, 250, 50, 0.16),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
.tilt:hover::before { opacity: 1; }

/* ==========================================================================
   Categories grid
   ========================================================================== */
.cards-grid {
  margin-top: clamp(36px, 5vw, 60px);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  transition: transform 0.45s var(--ease-out), background-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.cat-card:hover {
  transform: translateY(-6px);
  background: #ececef;
  box-shadow: var(--shadow-card);
}
.cat-card__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--olive-deep);
}
.cat-card h3 {
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cat-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 420px;
}

.cat-card--accent { background: var(--lime); }
.cat-card--accent:hover { background: var(--lime-strong); }
.cat-card--accent .cat-card__num { color: rgba(12, 12, 13, 0.55); }
.cat-card--accent p { color: rgba(12, 12, 13, 0.72); }

.cat-card--cta {
  border: 1.5px dashed rgba(12, 12, 13, 0.3);
  background: transparent;
  justify-content: center;
  min-height: 200px;
}
.cat-card--cta:hover { background: var(--ink); color: var(--lime); border-style: solid; border-color: var(--ink); }
.cat-card--cta:hover .cat-card__num, .cat-card--cta:hover p { color: rgba(210, 250, 50, 0.7); }
.cat-card--cta .cat-card__num { font-size: 20px; }
.cat-card__arrow {
  position: absolute;
  right: clamp(18px, 3vw, 30px);
  bottom: clamp(18px, 3vw, 30px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid currentColor;
  transition: transform 0.3s var(--ease);
}
.cat-card__arrow svg { width: 18px; height: 18px; }
.cat-card--cta:hover .cat-card__arrow { transform: rotate(-45deg); }

@media (min-width: 720px) {
  .cards-grid { grid-template-columns: repeat(6, 1fr); }
  .cards-grid > * { grid-column: span 2; }
  .cards-grid > *:nth-child(4), .cards-grid > *:nth-child(5), .cards-grid > *:nth-child(6) { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(6, 1fr); }
  .cards-grid > *:nth-child(1), .cards-grid > *:nth-child(2), .cards-grid > *:nth-child(3) { grid-column: span 2; }
  .cards-grid > *:nth-child(4), .cards-grid > *:nth-child(5) { grid-column: span 2; }
  .cards-grid > .cat-card--cta { grid-column: span 2; }
}

/* ==========================================================================
   Deal form section
   ========================================================================== */
.form-section {
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(26px, 5vw, 64px);
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}

.form-section__intro .section__title { margin-top: 14px; }
.form-section__points {
  margin-top: clamp(22px, 3vw, 34px);
  display: grid;
  gap: 12px;
}
.form-section__points li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}
.form-section__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2 4 7l4-4.4' fill='none' stroke='%230c0c0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/10px;
}

.deal-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.5vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.6);
}

.deal-form__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: 8px;
}
.deal-form__label:first-child { margin-top: 0; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.28s var(--ease-out);
}
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--lime);
}

.select-wrap { position: relative; }
.deal-form__select {
  width: 100%;
  min-height: 54px;
  padding: 15px 48px 15px 18px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 16px;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.deal-form__select:hover { border-color: var(--ink); }
.select-wrap__chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.amount-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.amount-field {
  position: relative;
}
.amount-field__sign {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 17px;
  color: var(--muted);
}
.amount-field__input {
  width: 100%;
  min-height: 54px;
  padding: 15px 18px 15px 40px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--mono);
  font-size: 16.5px;
  font-weight: 500;
  transition: border-color 0.2s;
}
.amount-field__input::placeholder { color: #b4b4bb; }
.amount-field__input:focus { outline: none; border-color: var(--olive); }

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 5px;
  background: var(--surface);
  border-radius: 999px;
}
.segmented__btn {
  min-height: 44px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}
.segmented__btn.is-active {
  background: var(--ink);
  color: var(--lime);
  box-shadow: 0 6px 16px -6px rgba(12, 12, 13, 0.4);
}

.deal-form .btn { margin-top: 14px; }
.deal-form__hint {
  min-height: 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--olive-deep);
  text-align: center;
}
.deal-form__hint.is-error { color: var(--danger); }

@media (min-width: 900px) {
  .form-section { grid-template-columns: 1fr 1fr; align-items: center; }
  .amount-row { grid-template-columns: 1fr 220px; align-items: center; }
}

/* ==========================================================================
   Reviews carousel
   ========================================================================== */
.reviews {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(32px, 5vw, 56px);
}
.reviews__viewport { overflow: hidden; }
.reviews__track {
  display: flex;
  transition: transform 0.55s var(--ease);
}
.review {
  flex: 0 0 100%;
  padding-right: 24px;
}
.review blockquote {
  font-size: clamp(20px, 3.2vw, 34px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.025em;
  max-width: 980px;
}
.review figcaption {
  margin-top: clamp(20px, 3vw, 30px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.review__avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.review__author {
  display: grid;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}
.review__meta {
  font-weight: 400;
  font-size: 13.5px;
  color: var(--muted);
}

.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(24px, 3vw, 36px);
}
.reviews__nav { display: flex; gap: 10px; }
.reviews__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.reviews__btn svg { width: 19px; height: 19px; transition: transform 0.3s var(--ease-out); }
.reviews__btn:hover { background: var(--ink); color: var(--lime); transform: scale(1.08); }
#reviewPrev:hover svg { transform: translateX(-3px); }
#reviewNext:hover svg { transform: translateX(3px); }
.reviews__counter {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.reviews__counter span { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Business / White label
   ========================================================================== */
.business {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  overflow: hidden;
  position: relative;
}
.business__title {
  margin-top: 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
}
.business__text {
  margin-top: 18px;
  font-size: clamp(15.5px, 1.8vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
  max-width: 460px;
}
.business__info .link-arrow {
  margin-top: clamp(22px, 3vw, 32px);
  color: var(--lime);
  display: inline-flex;
}

.business__visual { position: relative; }
.wl-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 40px 90px -35px rgba(0, 0, 0, 0.55);
}
.wl-card__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.wl-card__dots { display: flex; gap: 5px; }
.wl-card__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d4d4d9;
}
.wl-card__dots i:first-child { background: var(--lime); }
.wl-card__url {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
.wl-card__body { padding: 8px 10px 12px; }
.wl-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 10px;
  border-radius: var(--r-sm);
  transition: background-color 0.25s var(--ease-out), padding-left 0.25s var(--ease-out);
}
.wl-card__row:hover { background: var(--surface); padding-left: 16px; }
.wl-card__deal { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.wl-card__amount {
  font-family: var(--mono);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}
.wl-card__amount em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: var(--olive-deep);
  margin-left: 5px;
}
.wl-card__row--total {
  margin-top: 6px;
  border-top: 1px dashed var(--line);
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}
.wl-card__row--total .wl-card__amount { color: var(--ink); font-size: 15.5px; }

.business__caption {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
  max-width: 520px;
}

@media (min-width: 960px) {
  .business { grid-template-columns: 1fr 1.1fr; align-items: center; }
}

/* ==========================================================================
   Steps
   ========================================================================== */
.steps-head {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.steps {
  margin-top: clamp(36px, 5vw, 60px);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 30px);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), background-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.step:hover { transform: translateY(-6px); background: #ececef; box-shadow: var(--shadow-card); }
.step__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--olive-deep);
}
.step__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.step__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1.5px solid rgba(12, 12, 13, 0.18);
  background: rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.step__icon svg { width: 24px; height: 24px; }
.step:hover .step__icon {
  background: var(--lime);
  border-color: var(--ink);
  transform: rotate(-6deg) scale(1.05);
}
.step h3 {
  margin-top: 10px;
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.step--accent { background: var(--lime); }
.step--accent:hover { background: var(--lime-strong); }
.step--accent .step__num { color: rgba(12, 12, 13, 0.55); }
.step--accent p { color: rgba(12, 12, 13, 0.72); }
.step--accent .step__icon {
  border-color: rgba(12, 12, 13, 0.4);
  background: rgba(255, 255, 255, 0.45);
}
.step--accent:hover .step__icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--lime);
}

.step:not(.step--accent)::after {
  content: "";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--lime);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.step:not(.step--accent):hover::after { opacity: 1; }

@media (min-width: 680px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step--accent { grid-column: span 2; }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step--accent { grid-column: span 1; }
  .step p { font-size: 13.5px; }
}

/* ==========================================================================
   Protection
   ========================================================================== */
.protection__head {
  display: grid;
  gap: 18px;
  max-width: 980px;
}
.protection__lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
}
.protection__grid {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.prot-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  transition: transform 0.45s var(--ease-out), background-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.prot-card:hover { transform: translateY(-6px); background: #ececef; box-shadow: var(--shadow-card); }
.prot-card__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--olive-deep);
  padding: 6px 12px;
  border: 1px solid rgba(130, 170, 60, 0.4);
  border-radius: 999px;
}
.prot-card h3 {
  margin-top: 16px;
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.prot-card p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.prot-card__note {
  margin-top: 14px !important;
  padding: 12px 16px;
  background: rgba(210, 250, 50, 0.35);
  border-radius: var(--r-sm);
  font-size: 13.5px !important;
  color: var(--ink-soft) !important;
}
.protection__cta { margin-top: clamp(28px, 4vw, 40px); }

@media (min-width: 760px) {
  .protection__grid { grid-template-columns: repeat(2, 1fr); }
  .protection__head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px; }
}

/* ==========================================================================
   Founder
   ========================================================================== */
.founder {
  position: relative;
  background: var(--lime);
  border-radius: var(--r-xl);
  padding: clamp(32px, 6vw, 76px);
  overflow: hidden;
}
.founder__quote-mark {
  position: absolute;
  top: -30px;
  left: clamp(16px, 4vw, 48px);
  font-size: clamp(140px, 22vw, 260px);
  font-weight: 700;
  line-height: 1;
  color: rgba(12, 12, 13, 0.12);
  pointer-events: none;
  user-select: none;
}
.founder__quote {
  position: relative;
  max-width: 880px;
  font-size: clamp(24px, 4.2vw, 42px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.founder__person {
  margin-top: clamp(24px, 3vw, 36px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.founder__avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
}
.founder__person b { display: block; font-size: 16.5px; letter-spacing: -0.01em; }
.founder__person em {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: rgba(12, 12, 13, 0.6);
  margin-top: 2px;
}

/* ==========================================================================
   Risks
   ========================================================================== */
.risks {
  margin-top: clamp(36px, 5vw, 60px);
  display: grid;
  gap: 14px;
}
.risks__tabs {
  display: grid;
  gap: 10px;
  align-content: start;
}
.risk-tab {
  display: grid;
  gap: 5px;
  text-align: left;
  width: 100%;
  padding: 18px 22px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: transparent;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.risk-tab:hover { border-color: var(--ink); transform: translateX(5px); }
.risk-tab__num {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.risk-tab__name {
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.risk-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
}
.risk-tab.is-active .risk-tab__num { color: var(--lime-soft); }
.risk-tab.is-active .risk-tab__name { color: var(--white); }

.risk-panel {
  display: none;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.5vw, 36px);
  min-height: 320px;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}
.risk-panel.is-active {
  display: grid;
  animation: panelIn 0.45s var(--ease);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.risk-panel__num {
  font-family: var(--mono);
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(12, 12, 13, 0.28);
}
.risk-panel__text h3 {
  margin-top: 12px;
  font-size: clamp(21px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.risk-panel__text p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
}

.risk-deal {
  background: var(--white);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.5vw, 28px);
  width: 100%;
  max-width: 380px;
  justify-self: end;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.risk-deal__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.risk-deal__tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-soft);
}
.risk-deal__tag--danger { background: rgba(229, 83, 60, 0.12); color: var(--danger); }
.risk-deal__title {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--muted);
}
.risk-deal__amount {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: clamp(30px, 3.5vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.risk-deal__status {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--olive-deep);
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.risk-deal__status svg { width: 18px; height: 18px; flex: none; }

@media (min-width: 960px) {
  .risks { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
  .risk-tab { width: 100%; }
  .risk-panel { grid-template-columns: 1fr auto; }
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing {
  margin-top: clamp(36px, 5vw, 60px);
  display: grid;
  gap: 14px;
}
.pricing__main {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4.5vw, 56px);
  position: relative;
  overflow: hidden;
}
.pricing__main::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 40px solid var(--lime);
  opacity: 0.14;
  pointer-events: none;
}
.pricing__rate-label {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-soft);
}
.pricing__rate {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: clamp(84px, 14vw, 150px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--lime);
}
.pricing__rate span { font-size: 0.55em; }
.pricing__rate-note {
  margin-top: 12px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.62);
}

.pricing__split {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 14px;
}
.pricing__split-item {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: 20px 24px;
}
.pricing__split-item h3 {
  display: inline;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pricing__split-rate {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--lime);
  margin-right: 10px;
}
.pricing__split-item p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.pricing__side {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pricing__side-title {
  font-size: clamp(21px, 2.6vw, 25px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.check-list {
  margin-top: clamp(20px, 3vw, 30px);
  display: grid;
  gap: 4px;
  width: 100%;
}
.check-list li {
  position: relative;
  padding: 11px 0 11px 36px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2 4 7l4-4.4' fill='none' stroke='%230c0c0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/10px;
}
.pricing__side .btn { margin-top: clamp(24px, 3vw, 34px); }
.pricing__note {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.pricing__note a {
  color: var(--olive-deep);
  font-weight: 600;
  border-bottom: 1px solid rgba(130, 170, 60, 0.4);
}
.pricing__note a:hover { border-bottom-color: var(--olive-deep); }

@media (min-width: 980px) {
  .pricing { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .pricing__split { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-head {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}
.faq-head__sub {
  margin-top: 10px;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.faq-head__lead {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
}
.faq-head__side {
  background: var(--lime);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  align-self: start;
  display: grid;
  gap: 6px;
}
.faq-head__side p {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(12, 12, 13, 0.6);
}
.faq-head__side .link-arrow { color: var(--ink); font-size: 18px; }

.accordion {
  margin-top: clamp(32px, 4.5vw, 56px);
  border-top: 1px solid var(--line);
}
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  padding: clamp(18px, 2.8vw, 26px) 4px;
  cursor: pointer;
  list-style: none;
  transition: padding-left 0.35s var(--ease-out);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { padding-left: 10px; }
.acc__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--olive-deep);
  flex: none;
}
.acc__q {
  flex: 1;
  font-size: clamp(16.5px, 2.2vw, 20px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.acc__icon {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: all 0.3s var(--ease);
}
.acc__icon::before, .acc__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.acc__icon::before { width: 14px; height: 1.8px; transform: translate(-50%, -50%); }
.acc__icon::after { width: 1.8px; height: 14px; transform: translate(-50%, -50%); }
.acc[open] .acc__icon { background: var(--ink); border-color: var(--ink); }
.acc[open] .acc__icon::before, .acc[open] .acc__icon::after { background: var(--lime); }
.acc[open] .acc__icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.acc__body {
  padding: 0 4px clamp(20px, 3vw, 28px) calc(13px + clamp(14px, 2.5vw, 28px) + 13px);
  animation: accIn 0.35s var(--ease);
}
@keyframes accIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.acc__body p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 760px;
}

.faq-cta {
  margin-top: clamp(32px, 4.5vw, 52px);
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .faq-head { grid-template-columns: 1.5fr 1fr; align-items: start; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--lime);
  border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 88px);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -60%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 46px solid rgba(130, 170, 60, 0.3);
  pointer-events: none;
  animation: circleDrift 15s ease-in-out infinite alternate;
}
.cta::after {
  content: "";
  position: absolute;
  right: -14%;
  top: -50%;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 38px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
  animation: circleDrift 12s 1.5s ease-in-out infinite alternate-reverse;
}
@keyframes circleDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-16px); }
}
.cta__title {
  position: relative;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
}
.cta__text {
  position: relative;
  margin: clamp(18px, 2.5vw, 26px) auto 0;
  max-width: 520px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: rgba(12, 12, 13, 0.75);
}
.cta__actions {
  position: relative;
  margin-top: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: clamp(28px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: clamp(36px, 6vw, 72px) 0 28px;
}
.footer__grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  grid-template-columns: 1fr;
}
.logo--footer .logo__text { color: var(--white); }
.footer__tagline {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  max-width: 300px;
}
.footer__assets-label {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.footer__assets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.footer__asset {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  color: var(--lime);
}

.footer__col h3 {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
}
.footer__col a:hover { color: var(--lime); padding-left: 6px; }

.footer__tg {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
}
.footer__tg svg { width: 17px; height: 17px; }

.footer__bottom {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer__bottom p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
}
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
.footer__top svg { width: 15px; height: 15px; }
.footer__top:hover { color: var(--lime); }

@media (min-width: 760px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1060px) {
  .footer__grid { grid-template-columns: 1.6fr repeat(3, 1fr) 1.2fr; }
}

/* ==========================================================================
   Reduced motion: one-shot reveals still play (short), continuous motion off
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* continuous / decorative motion off */
  .tagline__dot,
  .deal-card__pulse,
  .float-chip,
  .cta::before,
  .cta::after {
    animation: none !important;
  }
  .deal-card__steps li { animation: none; opacity: 1; }
  .js .steps.in .step__icon { animation: none; }
  .btn::before { display: none; }

  /* one-shot entrances still play, but shorter and without blur */
  .js .reveal,
  .js .reveal-left,
  .js .reveal-right,
  .js .reveal-scale,
  .js .stagger > *:not(.split-title) {
    filter: none !important;
    transition-duration: 0.55s, 0.6s, 0.55s !important;
    transition-delay: 0.04s !important;
  }
  .js .reveal-clip {
    transition-duration: 0.6s, 0.65s, 0.65s !important;
  }
  .js .split-title .wi { transition-duration: 0.5s !important; }
}
