/* ============================================================
   MERIDIAN — Wholesale Agency
   Dark, premium theme with motion
   ============================================================ */

:root {
  --bg:        #060608;
  --bg-2:      #0b0b0f;
  --panel:     #0e0e13;
  --panel-2:   #14141b;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);
  --text:      #f1f1f4;
  --muted:     #9a9aa6;
  --muted-2:   #6e6e7a;

  --accent:    #8b80ff;          /* blue-violet accent */
  --accent-2:  #5b8cff;
  --accent-ink:#ffffff;
  --grad:      linear-gradient(100deg, #5b8cff 0%, #a855f7 100%);

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);

  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-disp: "Space Grotesk", "Inter", sans-serif;
  --font-head: "Anton", "Space Grotesk", sans-serif;  /* bold condensed — matches the logo */
  --font-serif:"Instrument Serif", Georgia, serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(72px, 11vw, 150px) 0; position: relative; }
.section--tight { padding-top: 0; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--grad); z-index: 200; transition: width .1s linear;
  box-shadow: 0 0 12px rgba(139,128,255,.6);
}

/* ---------- Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient__glow {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5;
  will-change: transform;
}
.ambient__glow--1 {
  width: 620px; height: 620px; top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(139,128,255,.16), transparent 70%);
  animation: float1 18s var(--ease) infinite alternate;
}
.ambient__glow--2 {
  width: 560px; height: 560px; top: 30%; right: -160px;
  background: radial-gradient(circle, rgba(91,140,255,.12), transparent 70%);
  animation: float2 22s var(--ease) infinite alternate;
}
.ambient__grain {
  position: absolute; inset: 0; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes float1 { to { transform: translate(80px, 120px) scale(1.15); } }
@keyframes float2 { to { transform: translate(-90px, -80px) scale(1.1); } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,11,.72);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__name {
  font-family: "Anton", var(--font-disp); font-weight: 400;
  font-size: 1.5rem; line-height: 1; letter-spacing: .04em;
  text-transform: uppercase; color: #fff;
}
.brand__name i { font-style: normal; margin-left: .42em; }
.brand__mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(139,128,255,.45);
  position: relative;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 6px; border-radius: 3px;
  background: var(--bg);
}
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: .92rem; color: var(--muted); font-weight: 500; position: relative;
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-disp); font-weight: 600; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 13px 24px; border-radius: 100px; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, box-shadow .3s, border-color .25s;
  white-space: nowrap; will-change: transform;
}
.btn svg { transition: transform .3s var(--ease); }
.btn--primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 rgba(139,128,255,0);
}
.btn--primary:hover {
  box-shadow: 0 8px 30px rgba(139,128,255,.28); transform: translateY(-2px);
}
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost {
  background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line-2);
}
.btn--ghost:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: .88rem; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 168px 0 90px; position: relative; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); font-size: .82rem; color: var(--muted);
  margin-bottom: 30px;
}
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(139,128,255,.6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(139,128,255,.55); }
  70% { box-shadow: 0 0 0 9px rgba(139,128,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(139,128,255,0); }
}
.hero__title {
  font-family: var(--font-head); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: .96; letter-spacing: .005em;
  max-width: 18ch; margin-bottom: 26px;
}
.hero__title .grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.hero__sub {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--muted);
  max-width: 60ch; margin-bottom: 38px;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.hero__terms {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center;
  font-size: .92rem; color: var(--muted);
}
.hero__terms b { color: var(--accent); font-family: var(--font-disp); }
.hero__terms .dot { color: var(--muted-2); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap { padding: 26px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .22em; color: var(--muted-2); margin-bottom: 18px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track {
  display: inline-flex; align-items: center; gap: clamp(40px, 6vw, 80px); white-space: nowrap;
  animation: scroll-x 40s linear infinite; padding-right: clamp(40px, 6vw, 80px);
}
.marquee .logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.marquee .logo img {
  height: clamp(22px, 2.6vw, 30px); width: auto; display: block;
  /* normalize any logo (colored or not) to a cohesive monochrome on dark */
  filter: brightness(0) invert(1);
  opacity: .55; transition: opacity .35s var(--ease);
}
.marquee .logo:hover img { opacity: 1; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: clamp(54px, 8vw, 96px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  transition: border-color .3s, transform .3s var(--ease);
}
.stat:hover { border-color: var(--line-2); transform: translateY(-4px); }
.stat__num {
  font-family: var(--font-head); font-weight: 400; font-size: clamp(2.3rem, 4.4vw, 3.2rem);
  letter-spacing: .01em; line-height: 1; margin-bottom: 12px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat__label { font-size: .92rem; color: var(--muted); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section__head { max-width: 720px; margin-bottom: 56px; }
.eyebrow {
  display: inline-block; font-family: var(--font-disp); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--accent); margin-bottom: 18px;
}
.section__title {
  font-family: var(--font-head); font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.0; margin-bottom: 20px;
}
.section__title .muted { color: var(--muted-2); }
.section__lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 60ch; }

/* ============================================================
   CARDS (Why wholesale)
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  position: relative; overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease), background .35s;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad); opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(139,128,255,.08); border: 1px solid rgba(139,128,255,.18); margin-bottom: 22px;
}
.card__icon svg { width: 24px; height: 24px; color: var(--accent); }
.card h3 { font-family: var(--font-disp); font-weight: 600; font-size: 1.22rem; margin-bottom: 12px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .96rem; }

/* ============================================================
   COMPARE (ecom vs wholesale)
   ============================================================ */
.compare {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--panel);
}
.compare__col { padding: 38px 34px; }
.compare__col--bad { background: var(--bg-2); }
.compare__col--good { background: linear-gradient(180deg, rgba(139,128,255,.05), transparent); }
.compare__tag {
  display: inline-block; font-family: var(--font-disp); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px; margin-bottom: 22px;
}
.compare__tag--good { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.compare__col ul { display: flex; flex-direction: column; gap: 15px; }
.compare__col li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: .98rem; }
.compare__col--bad li { padding-left: 26px; position: relative; }
.compare__col--bad li::before { content: "✕"; position: absolute; left: 0; color: #e0666e; font-size: .85rem; top: 2px; }
.compare__col--good li { color: var(--text); }
.compare__vs {
  display: grid; place-items: center; font-family: var(--font-head); text-transform: uppercase;
  font-size: 1.5rem; color: var(--muted-2); padding: 0 6px; background: var(--panel);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.check {
  flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; margin-top: 2px;
  background: rgba(139,128,255,.15); display: inline-grid; place-items: center; position: relative;
}
.check::after { content: ""; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px,-1px); }

/* ============================================================
   STEPS (process)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); position: relative;
  transition: border-color .3s, transform .3s var(--ease);
}
.step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.step__num {
  font-family: var(--font-head); font-weight: 400; font-size: 1.7rem;
  -webkit-text-stroke: 1px var(--accent); -webkit-text-fill-color: transparent;
  margin-bottom: 18px; letter-spacing: -.02em;
}
.step h3 { font-family: var(--font-disp); font-weight: 600; font-size: 1.12rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ============================================================
   CASES (results)
   ============================================================ */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  display: flex; flex-direction: column;
  transition: border-color .35s, transform .35s var(--ease);
}
.case:hover { transform: translateY(-6px); border-color: var(--line-2); }
.case--feature { background: linear-gradient(180deg, rgba(139,128,255,.06), var(--bg-2)); border-color: rgba(139,128,255,.2); }
.case__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.case__cat { font-family: var(--font-disp); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.case__time { font-size: .8rem; color: var(--muted-2); }
.case__metric {
  font-family: var(--font-head); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 3.2rem);
  letter-spacing: .01em; line-height: 1; margin-bottom: 2px;
}
.case__metric-big { font-family: var(--font-disp); font-size: 1.05rem; color: var(--text); margin-bottom: 16px; }
.case__metric-big b { color: var(--accent); }
.case__body { color: var(--muted); font-size: .94rem; margin-bottom: 22px; flex: 1; }
.case__stats { display: flex; gap: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.case__stats li { display: flex; flex-direction: column; }
.case__stats b { font-family: var(--font-head); font-weight: 400; font-size: 1.6rem; letter-spacing: .01em; color: var(--text); }
.case__stats span { font-size: .8rem; color: var(--muted-2); }
.cases__note { margin-top: 22px; font-size: .85rem; color: var(--muted-2); font-style: italic; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pricing__left .section__lead { margin-bottom: 28px; }
.pricing__list { display: flex; flex-direction: column; gap: 14px; }
.pricing__list li { display: flex; gap: 12px; align-items: center; color: var(--text); font-size: 1rem; }
.pricing__card {
  padding: 40px 34px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--bg-2));
  position: relative; overflow: hidden;
}
.pricing__card::before {
  content: ""; position: absolute; top: -40%; right: -30%; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(139,128,255,.14), transparent 70%); filter: blur(20px);
}
.pricing__card-tag {
  position: relative; display: inline-block; font-family: var(--font-disp); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 18px;
}
.pricing__big { display: flex; align-items: flex-start; gap: 4px; position: relative; }
.pricing__pct { font-family: var(--font-head); font-weight: 400; font-size: clamp(3.4rem, 7vw, 5.4rem); line-height: .9; letter-spacing: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pricing__sym { font-family: var(--font-head); font-weight: 400; font-size: 2.1rem; color: var(--accent); margin-top: 8px; }
.pricing__desc { color: var(--muted); margin: 10px 0 26px; position: relative; }
.pricing__divider { height: 1px; background: var(--line); margin-bottom: 22px; }
.pricing__mini { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing__mini li { display: flex; justify-content: space-between; align-items: center; font-size: .96rem; color: var(--muted); }
.pricing__mini b { font-family: var(--font-disp); color: var(--text); }
.pricing__fine { margin-top: 16px; font-size: .82rem; color: var(--muted-2); text-align: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); overflow: hidden; transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: var(--line-2); background: var(--panel-2); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; font-family: var(--font-disp); font-weight: 500; font-size: 1.06rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s var(--ease);
}
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__body { padding: 0 24px 22px; color: var(--muted); font-size: .98rem; }
.faq__body p { max-width: 70ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.section--contact { background: linear-gradient(180deg, transparent, rgba(139,128,255,.03)); }
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact__points { display: flex; flex-direction: column; gap: 13px; margin-top: 28px; }
.contact__points li { display: flex; gap: 12px; align-items: center; color: var(--text); }
.contact__form {
  padding: 34px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--bg-2));
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .96rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239a9aa6' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139,128,255,.12);
}
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #e0666e; box-shadow: 0 0 0 3px rgba(224,102,110,.12); }
.contact__form .btn { grid-column: 1 / -1; margin-top: 6px; }
.contact__success {
  grid-column: 1 / -1; padding: 14px 18px; border-radius: var(--radius-sm); text-align: center;
  background: rgba(139,128,255,.1); border: 1px solid rgba(139,128,255,.3); color: var(--accent); font-weight: 500;
}
.contact__fine { grid-column: 1 / -1; font-size: .8rem; color: var(--muted-2); text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; align-items: center; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer__brand p { color: var(--muted); font-size: .92rem; margin-top: 12px; max-width: 30ch; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { color: var(--muted); font-size: .92rem; transition: color .25s; }
.footer__nav a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .85rem; color: var(--muted-2); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* stagger children within a grid */
.cards .reveal.in, .steps .reveal.in, .cases .reveal.in, .stats__grid .reveal.in { transition-delay: var(--d, 0s); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cards, .cases { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; gap: 34px; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .nav__links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(8,8,11,.96);
    backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease);
  }
  .nav__links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: flex; }
  .nav__actions .btn--primary { display: none; }

  .hero { padding: 128px 0 64px; }
  .cards, .steps, .cases, .stats__grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare__vs { padding: 14px; border: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .contact__form { grid-template-columns: 1fr; padding: 24px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }

  /* full-width, equal CTAs that stack cleanly — but compact, not oversized */
  .hero__cta { flex-direction: column; width: 100%; gap: 10px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .hero__cta .btn { width: 100%; padding: 13px 20px; font-size: .82rem; }
  .nav__toggle { margin-right: -6px; padding: 10px; }  /* larger tap target */
}

/* ---------- Fine mobile polish (phones) ---------- */
@media (max-width: 640px) {
  /* only adjust horizontal gutters — never reset vertical padding on .container elements */
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding: clamp(56px, 14vw, 88px) 0; }
  .section--tight { padding-top: 0; }
  .section__head { margin-bottom: 38px; }
  .stats { padding: 48px 0; }

  .hero__sub { margin-bottom: 30px; }
  .hero__cta { margin-bottom: 28px; }
  /* keep the terms on tidy, centered rows without dangling separators */
  .hero__terms { gap: 8px 14px; row-gap: 6px; }
  .hero__terms .dot { display: none; }

  /* a touch more compact so copy isn't cramped against the edges */
  .stat { padding: 24px 22px; }
  .card { padding: 26px 22px; }
  .card__icon { margin-bottom: 18px; }
  .step { padding: 24px 22px; }
  .case { padding: 26px 22px; }
  .compare__col { padding: 30px 24px; }
  .pricing__card { padding: 30px 24px; }

  .faq__item summary { padding: 18px 20px; font-size: 1rem; }
  .faq__body { padding: 0 20px 18px; }

  .footer { padding: 44px 0 28px; }
  .footer__nav { gap: 16px 22px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 380px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 116px 0 56px; }
  .brand__name { font-size: 1.35rem; }
  .case__stats { gap: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
