/* ==========================================================
   Cardx — shared styles
   ========================================================== */

:root {
  --bg: #e4e4e4;
  --bg-deep: #c4c4c4;
  --surface: #ffffff;
  --ink: #0b0b0b;
  --ink-2: #1d1d1d;
  --muted: #5d5d5d;
  --line: rgba(11, 11, 11, 0.12);
  --orange: #f25c1f;
  --orange-deep: #c9410f;
  --accent: var(--orange);
  --accent-hot: #a8a8a8;
  --accent-deep: #151515;
  --chrome: linear-gradient(135deg, #f7f7f7 0%, #c9c9c9 45%, #ececec 70%, #a9a9a9 100%);
  --graphite: linear-gradient(170deg, #050505 0%, #1e1e1e 45%, #6a6a6a 100%);
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 112px;
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --font: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

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

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 34px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--orange); }
.btn--ghost:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--light:hover { background: #fff; color: var(--orange); border-color: #fff; }
.btn--sm { min-height: 46px; padding: 0 28px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  transition: background .35s ease, box-shadow .35s ease, transform .45s cubic-bezier(.2,.8,.2,1), backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(232, 232, 232, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(11,11,11,.08), 0 18px 40px -28px rgba(0,0,0,.35);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav-open .site-header { transform: none; background: var(--surface); }
.hero-shell, .page-hero { padding-top: var(--header-h); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height .35s var(--ease-out);
}
@media (min-width: 961px) {
  .site-header.is-scrolled .site-header__inner { height: 76px; }
}
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 20px; letter-spacing: -0.03em; }
.logo svg { width: 46px; height: 34px; }
.logo__word { display: inline; font-size: 24px; }

.nav { display: flex; align-items: center; gap: 48px; margin-right: auto; margin-left: 140px; }
.nav a {
  position: relative;
  font-size: 17px;
  font-weight: 450;
  letter-spacing: -0.01em;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { display: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--orange);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--orange); content: "";
  transition: transform .25s, opacity .25s;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--orange); }

.display {
  margin: 0;
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 450;
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.h3 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 46ch; font-weight: 350; }

/* ---------- Avatars ---------- */
.reviews { display: flex; align-items: center; gap: 20px; }
.avatars { display: flex; }
.avatar {
  width: 68px; height: 68px; border-radius: 50%;
  border: 3px solid var(--bg);
  margin-left: -14px;
  display: grid; place-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #cfcfcf, #6a6a6a);
}
.avatar:first-child { margin-left: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.reviews__text { font-size: 19px; line-height: 1.5; color: var(--muted); font-weight: 350; }

/* ---------- Home hero ---------- */
.hero-shell {
  position: relative;
  background:
    radial-gradient(120% 90% at 70% 40%, #ececec 0%, #dcdcdc 45%, #b9b9b9 100%);
  overflow: hidden;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  min-height: min(calc(100vh - 112px), 900px);
  padding-bottom: 56px;
}
.hero__copy { position: relative; z-index: 3; display: flex; flex-direction: column; padding-top: 48px; }
.hero__copy .display { max-width: 9.4em; font-size: clamp(44px, 5.4vw, 86px); }
.hero__copy .reviews { margin-top: 40px; }
.hero__visual {
  position: absolute;
  z-index: 1;
  top: -112px;
  right: -2%;
  width: 50%;
  height: calc(100% + 112px);
  display: flex; justify-content: center;
  pointer-events: none;
}
.hero__visual img { height: 100%; width: 100%; object-fit: contain; object-position: center top; }

.hero__cards {
  margin-top: auto;
  padding-top: 64px;
  display: grid;
  grid-template-columns: 340px minmax(0, 450px);
  max-width: 790px;
}
.promo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--graphite);
  color: #fff;
}
.promo__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(.15); }
.promo__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 62%, rgba(242,92,31,.85) 100%); }
.promo__globe, .promo__title { z-index: 1; }
.promo__globe { position: absolute; top: 26px; right: 28px; width: 28px; height: 28px; }
.promo__title {
  position: absolute; left: 40px; bottom: 38px; margin: 0;
  font-size: 34px; line-height: 1.12; font-weight: 450; letter-spacing: -0.035em;
}
.stat {
  background: var(--surface);
  padding: 44px 40px 40px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.stat__num { font-size: clamp(72px, 8vw, 116px); font-weight: 400; letter-spacing: -0.06em; line-height: 1; margin: 0; }
.stat__text { margin: 28px 0 40px; font-size: 19px; color: var(--muted); font-weight: 350; max-width: 22ch; line-height: 1.55; }
.stat .btn { margin-top: auto; padding: 0 52px; min-height: 70px; font-size: 18px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--white { background: var(--surface); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .lead, .section--dark .muted { color: #a9a9a9; }
.section--chrome { background: var(--chrome); color: var(--ink); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head > div { display: grid; gap: 20px; max-width: 760px; }

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tile {
  background: var(--bg);
  padding: 40px 36px 44px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 300px;
  transition: background .25s;
}
.section--white .tile { background: var(--surface); }
.tile:hover { background: #f4f4f4; }
.tile__icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--orange); color: #fff;
}
.tile__icon svg { width: 26px; height: 26px; }
.tile p { margin: 0; color: var(--muted); font-weight: 350; }
.tile--dark, .tile--dark:hover { background: var(--ink); color: #fff; }
.tile--dark .price span { color: #a9a9a9; }
.tile--dark .check-list li::before { background-color: var(--orange); }
.tile__num { margin-top: auto; font-size: 14px; color: var(--muted); letter-spacing: 0.08em; }

.section--dark .grid { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
.section--dark .tile { background: var(--ink); }
.section--dark .tile:hover { background: #161616; }
.section--dark .tile p { color: #a9a9a9; }
.section--dark .tile__icon { background: var(--orange); color: #fff; }
.tile__icon { transition: background .25s; }
.tile:hover .tile__icon { background: var(--orange-deep); }

/* ---------- Metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.metric { padding: 36px 24px 0 0; }
.metric__value { font-size: clamp(44px, 5vw, 72px); letter-spacing: -0.05em; line-height: 1; font-weight: 400; }
.metric__label { margin-top: 12px; color: var(--muted); font-weight: 350; }
.section--dark .metrics { border-color: rgba(255,255,255,.16); }

/* ---------- Bank card component ---------- */
.bank-card {
  position: relative;
  aspect-ratio: 1.586;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(140deg, #2b2b2b 0%, #0b0b0b 70%);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
  isolation: isolate;
}
.bank-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(118deg, transparent 52%, rgba(160,160,160,.75) 52%, rgba(160,160,160,.75) 64%, transparent 64%),
    linear-gradient(118deg, transparent 72%, rgba(160,160,160,.75) 72%);
  clip-path: polygon(40% 100%, 100% 100%, 100% 20%, 70% 20%);
}
.bank-card__chip {
  position: absolute; left: 9%; top: 26%;
  width: 15%; aspect-ratio: 1.3; border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 32%, rgba(0,0,0,.35) 32% 35%, transparent 35% 65%, rgba(0,0,0,.35) 65% 68%, transparent 68%),
    linear-gradient(0deg, transparent 46%, rgba(0,0,0,.35) 46% 54%, transparent 54%),
    linear-gradient(140deg, #f2f2f2, #9b9b9b);
}
.bank-card__brand { position: absolute; left: 9%; top: 9%; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; opacity: .9; }
.bank-card__num { position: absolute; left: 9%; bottom: 11%; font-size: 14px; letter-spacing: .14em; opacity: .8; font-variant-numeric: tabular-nums; }
.bank-card--graphite { background: linear-gradient(140deg, #6a6a6a 0%, #3a3a3a 45%, #151515 100%); }
.bank-card--graphite::before { opacity: .55; }
.bank-card--silver { background: linear-gradient(140deg, #f5f5f5 0%, #b8b8b8 60%, #8d8d8d 100%); color: var(--ink); }
.bank-card--silver::before { background: linear-gradient(118deg, transparent 52%, rgba(20,20,20,.85) 52% 64%, transparent 64%), linear-gradient(118deg, transparent 72%, rgba(20,20,20,.85) 72%); }
.bank-card--glass { background: linear-gradient(140deg, rgba(255,255,255,.65), rgba(255,255,255,.2)); color: var(--ink); border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(10px); }

/* ---------- Product rows ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.product:first-of-type { border-top: 0; padding-top: 0; }
.product__visual {
  background: radial-gradient(100% 100% at 30% 20%, #f2f2f2, #c9c9c9);
  padding: clamp(32px, 6vw, 80px);
  display: grid; place-items: center;
  min-height: 420px;
}
.product__visual .bank-card { max-width: 420px; transform: rotate(-6deg); }
.product--reverse .product__visual { order: 2; }
.product__body { display: grid; gap: 22px; align-content: start; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font-size: 44px; font-weight: 400; letter-spacing: -0.04em; }
.price span { color: var(--muted); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 400; }
.check-list li::before {
  content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/16px no-repeat;
}
.section--dark .check-list li::before { background-color: var(--orange); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: radial-gradient(120% 120% at 80% 0%, #ededed 0%, #d9d9d9 50%, #bdbdbd 100%);
  padding-bottom: clamp(56px, 8vw, 110px);
}
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-top: clamp(32px, 5vw, 72px); }
.page-hero__inner .display { max-width: 10em; }
.page-hero__aside { display: grid; gap: 28px; justify-items: start; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step { border-top: 1px solid rgba(255,255,255,.2); padding-top: 28px; display: grid; gap: 14px; }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 15px; color: var(--orange); letter-spacing: .08em; }
.step p { margin: 0; color: #a9a9a9; font-weight: 350; }

/* ---------- Split / feature panel ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.panel {
  background: var(--surface);
  padding: clamp(28px, 4vw, 48px);
  display: grid; gap: 22px;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.45);
}
.bar-row { display: grid; grid-template-columns: 110px 1fr 56px; gap: 16px; align-items: center; font-size: 15px; }
.bar { height: 10px; background: #ececec; position: relative; overflow: hidden; }
.bar > i { position: absolute; inset: 0 auto 0 0; background: var(--ink); width: var(--w, 50%); transform-origin: left; animation: grow 1.4s cubic-bezier(.2,.8,.2,1) both; }
.bar > i.accent { background: var(--orange); }
.bar-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
@keyframes grow { from { transform: scaleX(0); } }

.toggle-group { display: inline-flex; border: 1px solid var(--orange); }
.toggle-group button { border: 0; background: transparent; padding: 12px 22px; cursor: pointer; font-weight: 500; }
.toggle-group button[aria-pressed="true"] { background: var(--orange); color: #fff; }

/* ---------- Team / values ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.person { display: grid; gap: 14px; }
.person__photo {
  aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--graphite);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .4s ease, transform .6s ease; }
.person:hover .person__photo img { filter: none; transform: scale(1.03); }
.person h3::after { content: ""; display: block; width: 24px; height: 2px; margin-top: 10px; background: var(--orange); }
.person:nth-child(2n) .person__photo { background: var(--chrome); }
.person h3 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.person p { margin: -8px 0 0; color: var(--muted); font-weight: 350; }

.timeline { display: grid; gap: 0; }
.timeline__item { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline__item strong { font-size: 28px; font-weight: 400; letter-spacing: -0.03em; }
.timeline__item p { margin: 6px 0 0; color: var(--muted); font-weight: 350; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #cfcfcf;
  background: #fafafa;
  border-radius: 0;
  font-size: 16px;
  transition: border-color .2s, background .2s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b0b0b' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
  padding-right: 40px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #c4290f; }
.field__error { font-size: 13px; color: #c4290f; min-height: 0; }
.field__hint { font-size: 13px; color: var(--muted); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex: 0 0 auto; }
.checkbox a { color: var(--ink); text-decoration: underline; }
.form-success {
  display: none;
  padding: 18px 20px;
  background: #0b0b0b; color: #fff;
  font-weight: 450;
}
.form-success.is-visible { display: block; }

.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.strength i { height: 4px; background: #dcdcdc; transition: background .2s; }
.strength[data-score="1"] i:nth-child(-n+1) { background: #c4290f; }
.strength[data-score="2"] i:nth-child(-n+2) { background: var(--orange); }
.strength[data-score="3"] i:nth-child(-n+3) { background: #7a9a2b; }
.strength[data-score="4"] i { background: #1f7a3a; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { display: grid; gap: 0; }
.contact-item { display: grid; gap: 4px; padding: 24px 0; border-top: 1px solid var(--line); }
.contact-item span { font-size: 14px; color: var(--muted); }
.contact-item a, .contact-item strong { font-size: 22px; font-weight: 450; letter-spacing: -0.02em; }
.contact-item a:hover { color: var(--orange); }

/* ---------- Sign up ---------- */
.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
}
.auth__aside {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 60% 30%, #ececec 0%, #d6d6d6 45%, #a9a9a9 100%);
  padding: 40px var(--gutter);
  display: flex; flex-direction: column;
}
.auth__aside img { position: absolute; top: -30px; right: -4%; height: 70%; width: auto; max-width: none; pointer-events: none; }
.auth__aside .h2 { position: relative; z-index: 2; margin-top: auto; max-width: 8em; }
.auth__aside .reviews { position: relative; z-index: 2; margin-top: 28px; }
.auth__aside .reviews .avatar { border-color: #c9c9c9; }
.auth__main { background: var(--surface); padding: 40px var(--gutter); display: flex; flex-direction: column; }
.auth__form { width: 100%; max-width: 480px; margin: auto; padding: 48px 0; display: grid; gap: 28px; }
.auth__top { display: flex; justify-content: space-between; align-items: center; }
.auth__top a.link { font-size: 15px; color: var(--muted); }
.auth__top a.link strong { color: var(--ink); font-weight: 500; }
.plan-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan-picker label {
  border: 1px solid #cfcfcf; padding: 14px; cursor: pointer; display: grid; gap: 4px;
  transition: border-color .2s, background .2s;
}
.plan-picker input { position: absolute; opacity: 0; pointer-events: none; }
.plan-picker label strong { font-weight: 500; }
.plan-picker label span { font-size: 13px; color: var(--muted); }
.plan-picker input:checked + label { border-color: var(--orange); background: var(--orange); color: #fff; }
.plan-picker input:checked + label span { color: rgba(255,255,255,.8); }
.plan-picker input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- Testimonial ---------- */
.testimonial { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.testimonial__photo { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg); }
.testimonial__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.testimonial__photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 8px; background: var(--orange); }
.testimonial__body { display: grid; gap: 28px; }
.testimonial__quote { margin: 0; font-size: clamp(26px, 3vw, 44px); line-height: 1.15; letter-spacing: -0.035em; font-weight: 400; }
.testimonial__who { display: grid; gap: 2px; }
.testimonial__who strong { font-weight: 500; font-size: 18px; }
.testimonial__who span { color: var(--muted); }
.testimonial__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 24px; gap: 16px; }
.testimonial__stats strong { display: block; font-size: clamp(32px, 3.4vw, 48px); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.testimonial__stats span { color: var(--muted); font-size: 15px; }
.testimonial__stats div:last-child strong { color: var(--orange); }

/* ---------- CTA ---------- */
.cta {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: end; gap: 32px;
}
.cta .h2 { max-width: 12em; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 88px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 72px; }
.footer-top p { color: #9a9a9a; max-width: 30ch; font-weight: 350; }
.footer-col h4 { margin: 0 0 18px; font-size: 14px; font-weight: 500; color: #9a9a9a; text-transform: uppercase; letter-spacing: .08em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a:hover { color: var(--orange); }
.footer-col a { color: #cfcfcf; }
.footer-word {
  font-size: clamp(80px, 21vw, 320px);
  line-height: .8;
  letter-spacing: -0.07em;
  font-weight: 500;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.22);
  user-select: none;
  margin: 0 0 32px;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #7d7d7d; font-size: 14px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
.site-footer .logo svg path:first-child { fill: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform 1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Staggered children: the container stays put, each child rises in turn */
.reveal.reveal--stagger { opacity: 1; transform: none; }
.reveal.reveal--stagger > * {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s ease, transform .9s var(--ease-out), background .25s, box-shadow .35s;
  transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s;
}
.reveal.reveal--stagger.is-in > * { opacity: 1; transform: none; }

/* Image wipe */
.reveal-clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1); }
.reveal-clip.is-in { clip-path: inset(0 0 0 0); }

/* Headline word rise */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: wordUp 1s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 65ms + 120ms);
}
@keyframes wordUp { to { transform: none; } }

/* Hide hero headlines until JS has split them (falls back to visible after 1.5s) */
.js .hero .display:not(.is-split), .js .page-hero .display:not(.is-split) { opacity: 0; animation: introFade .4s ease 1.5s forwards; }

/* Page intro */
@keyframes introUp { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes introFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes clawDrop { from { opacity: 0; transform: translateY(-14%); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.site-header__inner { animation: introFade .8s ease both; }
.hero__copy .reviews { animation: introUp .9s var(--ease-out) .55s both; }
.hero__cards { animation: introUp 1s var(--ease-out) .75s both; }
.hero__visual img { animation: clawDrop 1.6s var(--ease-out) .1s both; }
.page-hero__aside { animation: introUp .9s var(--ease-out) .5s both; }
.page-hero .eyebrow { animation: introFade .8s ease .1s both; }
.auth__form { animation: introUp .9s var(--ease-out) .2s both; }

/* Scroll progress */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: var(--orange);
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}

/* Ticker */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; }
.ticker__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.03em; white-space: nowrap; }
.ticker i { width: 10px; height: 10px; background: var(--orange); flex: 0 0 auto; transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(calc(-50% - 20px)); } }

/* Parallax & tilt */
[data-parallax], [data-parallax-x] { will-change: transform; }
[data-tilt] { transition: transform .5s var(--ease-out), box-shadow .5s; transform-style: preserve-3d; }
[data-tilt].is-tilting { transition: transform .08s linear, box-shadow .3s; }

/* Hover motion */
.tile { transition: background .25s, transform .45s var(--ease-out), box-shadow .45s; position: relative; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -30px rgba(0,0,0,.45); z-index: 1; }
.btn { transition: background .2s, color .2s, border-color .2s, transform .3s var(--ease-out), box-shadow .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(242,92,31,.8); }
.product__visual { overflow: hidden; }
.contact-item { transition: padding-left .35s var(--ease-out); }
.contact-item:hover { padding-left: 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal--stagger > * { opacity: 1; transform: none; }
  .reveal-clip { clip-path: none; }
  .split-word > span { transform: none; }
  .ticker__track { animation: none; }
  [data-parallax], [data-parallax-x], [data-tilt] { transform: none !important; }
  .scroll-progress { display: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .nav { margin-left: 64px; gap: 32px; }
  .hero__cards { grid-template-columns: 280px minmax(0, 1fr); max-width: 640px; }
  .promo { min-height: 360px; }
  .promo__title { left: 28px; bottom: 28px; font-size: 28px; }
  .stat { padding: 36px 32px 32px; }
  .stat .btn { min-height: 58px; }
}

@media (max-width: 960px) {
  :root { --header-h: 84px; }
  .nav-toggle { display: inline-block; }
  .site-header .btn--signup { display: none; }
  .nav {
    position: fixed; inset: 84px 0 auto 0;
    margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface);
    padding: 8px var(--gutter) 24px;
    border-top: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0,0,0,.35);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav__cta { display: flex; margin-top: 20px; border: 0; font-size: 17px; color: #fff; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { display: contents; }
  .hero__copy .display { order: 0; padding-top: 16px; }
  .hero__copy .reviews { order: 1; }
  .hero__visual {
    position: relative; top: auto; right: auto; width: 100%; height: 560px;
    margin: -8px 0 16px; order: 2;
  }
  .hero__cards { max-width: none; order: 3; padding-top: 0; margin-top: 0; position: relative; z-index: 3; }

  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .product, .split, .contact-grid, .page-hero__inner, .cta, .testimonial { grid-template-columns: 1fr; }
  .testimonial__photo { max-width: 420px; }
  .product--reverse .product__visual { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }

  .auth { grid-template-columns: 1fr; }
  .auth__aside { min-height: 320px; }
  .auth__aside img { display: none; }
}

@media (max-width: 640px) {
  .hero__visual { height: 440px; }
  .hero__cards { grid-template-columns: 1fr; }
  .promo { min-height: 320px; }
  .reviews__text { font-size: 16px; }
  .avatar { width: 54px; height: 54px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .form-row { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 16px; }
  .timeline__item { grid-template-columns: 1fr; gap: 4px; }
  .bar-row { grid-template-columns: 84px 1fr 48px; gap: 10px; font-size: 14px; }
  .product__visual { min-height: 300px; }
  .plan-picker { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .stat .btn { width: 100%; }
}
