/* ============================================================
   Onestopbiznet — presentation deck styles
   Light-first theme (warm paper + earth accent), optional dark.
   Archivo (display) · Inter (body).
   ============================================================ */

/* ---------- theme tokens ---------- */
:root {
  color-scheme: light;
  --bg:          oklch(96.967% 0.00181 249.224);
  --bg-2:        hwb(210 64% 35%);
  --card:        #f4efe5;
  --ink:         #1c1711;
  --muted:       #4f483c;
  --faint:       #837a68;
  --accent:      #3d6fae;
  --accent-deep: #2c5383;
  --accent-soft: rgba(61, 111, 174, .13);
  --accent-line: rgba(61, 111, 174, .45);
  --line:        rgba(33, 30, 25, .12);
  --line-2:      rgba(33, 30, 25, .24);
  --shadow:      0 28px 60px -30px rgba(33, 30, 25, .35);
  --blend:       multiply;
  --grain-op:    .045;
  --term-bg:     #131110;
  --term-ink:    #d8d3c8;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg:          #0a0a0a;
  --bg-2:        #121210;
  --card:        #171614;
  --ink:         #f4f4f0;
  --muted:       #a8a89c;
  --faint:       #7c7c70;
  --accent:      #5b8fc4;
  --accent-deep: #7fa9d6;
  --accent-soft: rgba(91, 143, 196, .16);
  --accent-line: rgba(91, 143, 196, .5);
  --line:        rgba(244, 244, 240, .12);
  --line-2:      rgba(244, 244, 240, .26);
  --shadow:      0 30px 70px -32px rgba(0, 0, 0, .9);
  --blend:       overlay;
  --grain-op:    .035;
  --term-bg:     #0c0b0a;
  --term-ink:    #d8d3c8;
}

/* ---------- base ---------- */
@font-face {
  font-family: 'Li Ador Noirrit';
  src: url('fonts/Li Ador Noirrit Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Li Ador Noirrit';
  src: url('fonts/Li Ador Noirrit Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Li Ador Noirrit';
  src: url('fonts/Li Ador Noirrit SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Li Ador Noirrit';
  src: url('fonts/Li Ador Noirrit Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .45s ease, color .45s ease;
}

/* Bangla Font Override */
:lang(bn) {
  font-family: 'Li Ador Noirrit', 'Hind Siliguri', 'Inter', sans-serif;
}
:lang(bn) .h1, :lang(bn) .h2, :lang(bn) .brand-text, :lang(bn) .tier-name, :lang(bn) .tier-price, :lang(bn) .step-n, :lang(bn) .feature h3, :lang(bn) .thank h3 {
  font-family: 'Li Ador Noirrit', 'Hind Siliguri', 'Archivo', sans-serif;
}
/* Remove letter-spacing for Bangla — it breaks readability */
:lang(bn) .eyebrow, :lang(bn) .h1, :lang(bn) .h2, :lang(bn) .btn,
:lang(bn) .head-link, :lang(bn) .quick-links a, :lang(bn) .brand,
:lang(bn) .cap .n, :lang(bn) .cap .t, :lang(bn) .chip, :lang(bn) .step-n,
:lang(bn) .step h3, :lang(bn) .tier-name, :lang(bn) .free-note,
:lang(bn) .fine-note, :lang(bn) .feature h3, :lang(bn) .page-indicator,
:lang(bn) .popular-badge, :lang(bn) .ccell .k {
  letter-spacing: 0;
}
/* Bangla titles need to be bigger for readability */
:lang(bn) .h1 { font-size: clamp(3.2rem, 11vw, 8rem); }
:lang(bn) .h2 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
:lang(bn) .eyebrow { font-size: .88rem; }
:lang(bn) .lead, :lang(bn) .body { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }

/* water-drop wave — per-character animation on eyebrow */
.wave-char {
  display: inline-block;
  transition: transform .15s ease, opacity .15s ease;
}
.wave-char.ripple {
  animation: charRipple .45s ease forwards;
}
@keyframes charRipple {
  0%   { transform: scale(1) translateY(0); }
  35%  { transform: scale(1.35) translateY(-2px); }
  100% { transform: scale(1) translateY(0); }
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

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

/* ---------- skip link ---------- */
.skip-link {
  position: fixed; top: 14px; left: 14px; z-index: 100;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 8px;
  font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  transform: translateY(-220%);
  transition: transform .3s;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 70;
  pointer-events: none;
  opacity: var(--grain-op);
  mix-blend-mode: var(--blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainFlicker 4.5s ease-in-out infinite;
}
@keyframes grainFlicker {
  0%, 100% { opacity: var(--grain-op); }
  50%      { opacity: calc(var(--grain-op) * 1.4); }
}

/* ---------- ambient glow ---------- */
.ambient {
  position: fixed; inset: -20%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, var(--accent-soft) 0%, transparent 60%);
  filter: blur(60px);
  opacity: 0.8;
  animation: ambientPulse 12s ease-in-out infinite alternate;
}
.ambient::before, .ambient::after {
  content: ''; position: absolute; inset: -20%;
  border-radius: 50%;
  mix-blend-mode: var(--blend);
  filter: blur(80px);
}
.ambient::before {
  background: radial-gradient(circle at 30% 30%, var(--accent) 0%, transparent 50%);
  animation: orbit1 20s linear infinite;
  opacity: 0.3;
}
.ambient::after {
  background: radial-gradient(circle at 70% 70%, var(--accent-deep) 0%, transparent 50%);
  animation: orbit2 25s linear infinite;
  opacity: 0.2;
}

@keyframes ambientPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 1; }
}
@keyframes orbit1 {
  0% { transform: rotate(0deg) translateX(15%) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(15%) rotate(-360deg); }
}
@keyframes orbit2 {
  0% { transform: rotate(0deg) translateX(-20%) rotate(0deg); }
  100% { transform: rotate(-360deg) translateX(-20%) rotate(360deg); }
}

/* ---------- top progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  z-index: 80; pointer-events: none;
}
.progress::before {
  content: ''; display: block; height: 100%;
  width: var(--p, 0%);
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transition: width .5s cubic-bezier(.2, .7, .2, 1);
}

/* ---------- fixed header ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 48px);
  animation: headIn .9s cubic-bezier(.2, .7, .2, 1) .05s both;
}
@keyframes headIn {
  from { opacity: 0; transform: translateY(-16px); }
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  transition: opacity .3s;
}
.brand-bold { font-weight: 800; }
.brand-light { font-weight: 300; opacity: 0.7; }
.brand-text-bn { display: none; }
.brand:hover { opacity: 0.8; }
.brand-logo {
  width: clamp(20px, 3vw, 26px); height: clamp(20px, 3vw, 26px);
  animation: floatLogo 6s ease-in-out infinite;
  transition: transform 0.5s cubic-bezier(.2, .7, .2, 1);
}
.brand:hover .brand-logo { transform: rotate(90deg) scale(1.15); }
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.brand .dot { 
  color: var(--accent); 
  display: inline-block;
  animation: dotPulse 2s ease-in-out infinite alternate;
}
@keyframes dotPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0.6; }
}

.head-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.head-nav > * { animation: headIn .9s cubic-bezier(.2, .7, .2, 1) both; }
.head-nav .theme-toggle { animation-delay: .18s; }
.head-nav .lang-toggle { animation-delay: .15s; }
.head-nav .head-link { animation-delay: .12s; }

.head-link {
  font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.head-link:hover { color: var(--ink); border-color: var(--accent); }

.theme-toggle, .lang-toggle {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  color: var(--muted);
  transition: color .3s, border-color .3s, transform .3s;
}
.theme-toggle:hover, .lang-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle:hover { transform: rotate(20deg); }
.lang-toggle { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.lang-toggle:hover { transform: translateY(-2px); }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .icon-dark { display: none; }
[data-theme="dark"] .theme-toggle .icon-dark { display: block; }
[data-theme="dark"] .theme-toggle .icon-light { display: none; }

/* ---------- dot rail & page indicator ---------- */
.page-indicator {
  position: fixed; bottom: clamp(14px, 2.2vw, 30px); left: clamp(14px, 2.2vw, 30px);
  z-index: 60; font-family: 'Archivo', sans-serif; font-size: 0.75rem;
  font-weight: 700; color: var(--muted); letter-spacing: 0.15em;
  opacity: 0.8; transition: opacity .3s, color .3s;
}
.page-indicator:hover { opacity: 1; color: var(--ink); }

.rail {
  position: fixed; right: clamp(14px, 2.2vw, 30px); top: 50%;
  transform: translateY(-50%); z-index: 60;
  display: flex; flex-direction: column; gap: 15px;
}
.dot {
  position: relative; width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-2);
  transition: background .35s;
}
.dot::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--accent); opacity: 0; transform: scale(.4);
  transition: all .35s;
}
.dot:hover { background: var(--accent); }
.dot.on { background: var(--accent); }
.dot.on::after { opacity: 1; transform: scale(1); animation: ringPulse 3.2s ease-in-out infinite; }
@keyframes ringPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.3); }
}

/* ---------- deck & slides ---------- */
.deck {
  height: 100vh; height: 100dvh;
  overflow-y: scroll; overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.deck::-webkit-scrollbar { display: none; }

.slide {
  height: 100%;
  min-height: 100vh; min-height: 100dvh;
  scroll-snap-align: start; scroll-snap-stop: always;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(64px, 10vh, 104px) clamp(18px, 5vw, 64px) clamp(20px, 4vh, 44px);
  overflow: hidden;
}

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }

/* ---------- reveal ---------- */
.rv {
  opacity: 0; transform: translateY(24px); filter: blur(10px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1),
              transform .9s cubic-bezier(.2, .7, .2, 1),
              filter .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform, filter;
}
.slide.on .rv { opacity: 1; transform: none; filter: blur(0); }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-block; position: relative;
  font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent);
  padding-left: 0; padding-right: 14px; /* space for end dot */
}
/* traveling dot — slides across the full text width */
.eyebrow::before {
  content: ''; position: absolute; top: 50%; left: -2px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%) translateX(0);
  opacity: 0;
}
/* endpoint dot — slightly bigger, appears at the end */
.eyebrow::after {
  content: ''; position: absolute; top: 50%; right: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
}
.slide.on .eyebrow::before {
  animation: waterDrop 2.5s cubic-bezier(.4, 0, .2, 1) .3s infinite;
}
.slide.on .eyebrow::after {
  opacity: 1; transform: translateY(-50%) scale(1);
  transition-delay: 1.6s;
  animation: dotBreathe 2s ease-in-out 2s infinite;
}
@keyframes waterDrop {
  0%   { left: -2px; opacity: 0; width: 4px; height: 4px; }
  5%   { opacity: 1; }
  50%  { width: 3px; height: 3px; opacity: .6; }
  90%  { opacity: .3; }
  100% { left: calc(100% - 12px); opacity: 0; width: 3px; height: 3px; }
}
@keyframes dotBreathe {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
  50% { transform: translateY(-50%) scale(1.5); opacity: 0.5; }
}

.h1 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(2.5rem, 8.5vw, 6.6rem); line-height: 1.02;
  letter-spacing: -.02em; margin: 18px 0 16px;
  text-transform: uppercase; text-wrap: balance;
}
.h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05;
  margin: 14px 0 16px;
  text-transform: uppercase; text-wrap: balance;
}
.accent { color: var(--accent); font-weight: 800; }

.lead, .body { color: var(--muted); font-weight: 400; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; }
.lead { max-width: 46ch; margin: 0 auto; }
.body { max-width: 52ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 32px;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--ink);
  transition: background .35s, color .35s, border-color .35s, transform .3s cubic-bezier(.2, .7, .2, 1);
}
.btn svg { width: 14px; height: 14px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- hero ---------- */
.hero { text-align: center; position: relative; }
.cta-row { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.quick-links {
  margin-top: 24px; display: flex; gap: clamp(16px, 3vw, 40px);
  justify-content: center; flex-wrap: wrap;
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.quick-links a { transition: color .3s; }
.quick-links a:hover { color: var(--accent); }

.stats {
  margin-top: clamp(18px, 3vh, 28px);
  display: flex; justify-content: center; align-items: baseline;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 clamp(14px, 2.4vw, 28px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; color: var(--accent);
}
.stat span {
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-top: 4px;
}

.scroll-hint {
  position: absolute; bottom: 1.1rem; left: 50%;
  transform: translateX(-50%); color: var(--accent);
  animation: bob 1.8s ease-in-out infinite;
}
.scroll-hint svg { width: 18px; height: 18px; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ---------- section headers ---------- */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 26px; }
.sec-head .h2 { margin-top: 16px; }

/* ---------- split layouts ---------- */
.split {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.split.flip .visual { order: -1; }
.copy .body + .body { margin-top: 16px; }

/* ---------- philosophy panel ---------- */
.panel {
  position: relative; aspect-ratio: 4 / 4.6; border-radius: 18px;
  border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.panel::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, var(--accent-soft), transparent 60%);
}
.panel svg {
  width: min(46%, 150px); height: auto; stroke: var(--accent);
  opacity: 0; transform: scale(.82) rotate(-3deg);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1) .2s,
              transform .9s cubic-bezier(.2, .7, .2, 1) .2s;
}
.slide.on .panel svg { opacity: .85; transform: scale(1) rotate(0); }
.panel .cap {
  position: absolute; bottom: 14px; left: 16px;
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--faint);
}

/* ---------- sourcing features ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.4vw, 16px);
}
.feature {
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--card);
  padding: clamp(12px, 1.4vw, 20px);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.feature svg { width: 24px; height: 24px; color: var(--accent); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.feature:hover svg { transform: translateY(-3px) scale(1.1); }
.feature h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; font-family: 'Archivo', sans-serif; }

.free-note {
  margin-top: 14px; font-size: .74rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
}
.free-note b { font-weight: 600; }

/* ---------- marketing capabilities ---------- */
.cap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; text-align: left; }
.cap {
  display: flex; gap: 16px; align-items: baseline;
  padding: 12px 4px; border-top: 1px solid var(--line);
}
.cap .n { font-size: .68rem; letter-spacing: .2em; color: var(--accent); }
.cap .t { font-size: 1.02rem; font-weight: 700; font-family: 'Archivo', sans-serif; letter-spacing: .02em; }

.fine-note { margin-top: 16px; font-size: .8rem; color: var(--faint); font-weight: 400; }

/* ---------- tech slide ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px;
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  transition: border-color .3s, color .3s, transform .3s cubic-bezier(.2, .7, .2, 1);
}
.chip:hover { border-color: var(--accent-line); color: var(--accent); transform: translateY(-2px); }
.chip svg { width: 15px; height: 15px; color: var(--accent); transition: transform .3s; }
.chip:hover svg { transform: translateY(-1px); }

.term {
  background: var(--term-bg); color: var(--term-ink);
  border-radius: 16px; border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
.term .tbar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.term .tbar i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); opacity: .45; }
.term .tbar i:nth-child(2) { opacity: .8; }
.term .tbar em { margin-left: 8px; font-style: normal; font-size: .66rem; letter-spacing: .14em; color: var(--faint); }
.term pre { padding: 16px 18px; font-size: clamp(.68rem, .9vw, .8rem); line-height: 1.9; color: var(--muted); }
.term .cur {
  display: inline-block; width: 7px; height: 1em;
  margin-left: 3px; vertical-align: -2px;
  background: var(--accent); opacity: .75;
  animation: curBlink 1.1s steps(2, start) infinite;
}
@keyframes curBlink { to { visibility: hidden; } }
.term .tag { color: #9db3a6; }
.term .wc { color: var(--term-ink); }

/* ---------- how we work ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.6vw, 20px);
}
.step {
  border-top: 1px solid var(--line);
  padding: clamp(12px, 1.8vw, 22px) clamp(4px, 1vw, 12px) 0;
  display: flex; flex-direction: column; gap: 9px;
  transition: border-color .35s, transform .35s cubic-bezier(.2, .7, .2, 1);
}
.step:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.step-n {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; color: var(--accent);
}
.step h3 { font-size: .86rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; font-family: 'Archivo', sans-serif; }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 20px); align-items: stretch; }
.tier {
  position: relative; border: 1px solid var(--line); border-radius: 18px;
  background: var(--card);
  padding: clamp(12px, 1.8vw, 24px);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tier.popular { border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), transparent 55%), var(--card); }
.popular-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; white-space: nowrap;
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.tier-name { font-size: .82rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-family: 'Archivo', sans-serif; }
.tier-price {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1; font-weight: 800;
}
.tier-price small {
  font-family: 'Inter', sans-serif; font-size: .66rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint); font-weight: 400;
}
.tier-tag { font-size: .82rem; color: var(--muted); font-weight: 400; }
.tier-cta {
  margin-top: auto; padding-top: 10px;
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; align-items: center; gap: 8px;
  transition: color .3s;
}
.tier-cta:hover { color: var(--accent); }

.price-notes {
  display: flex; justify-content: center; gap: clamp(10px, 3vw, 40px); flex-wrap: wrap;
  margin-top: clamp(12px, 2vh, 20px);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
}
.price-notes b { color: var(--accent); font-weight: 600; }

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin-top: clamp(20px, 3vh, 36px);
}
.ccell { background: var(--bg); padding: clamp(10px, 1.4vw, 18px); text-align: left; }
.ccell .k { font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }
.ccell .v { font-size: clamp(.78rem, 1vw, .92rem); color: var(--ink); line-height: 1.5; }
.ccell .v small { display: block; color: var(--faint); font-size: .75rem; }

/* ---------- lead form ---------- */
.lead-form {
  max-width: 520px; margin: 26px auto 0; text-align: left;
  display: grid; gap: 14px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: .62rem; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--accent);
}
.field input, .field select {
  font: inherit; color: var(--ink); background: var(--card);
  border: 1px solid var(--line-2); border-radius: 10px;
  padding: 13px 16px; width: 100%;
  transition: border-color .3s, box-shadow .3s;
}
.field input::placeholder { color: var(--faint); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 1000px var(--card) inset;
  transition: background-color 9999s ease-out;
}
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 40px; cursor: pointer; }
.select-wrap::after {
  content: ''; position: absolute; right: 16px; top: 50%;
  width: 8px; height: 8px; pointer-events: none;
  border: solid var(--accent); border-width: 0 1.5px 1.5px 0;
  transform: translateY(-50%) rotate(45deg);
}
.form-submit { width: 100%; justify-content: center; }
.form-fine { font-size: .7rem; color: var(--faint); text-align: center; margin-top: -4px; }

.thank { text-align: center; max-width: 520px; margin: 26px auto 0; animation: thankIn .6s cubic-bezier(.2, .7, .2, 1) both; }
.thank svg { width: 42px; height: 42px; margin: 0 auto 14px; color: var(--accent); }
.thank h3 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); text-transform: uppercase;
  letter-spacing: .02em; margin-bottom: 8px;
}
.thank p { color: var(--muted); font-size: .92rem; line-height: 1.6; max-width: 42ch; margin: 0 auto 16px; }
.thank a {
  color: var(--accent); font-size: .68rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.thank a:hover { border-color: var(--accent); }
@keyframes thankIn { from { opacity: 0; transform: translateY(14px); } }

.foot {
  margin-top: clamp(16px, 2.6vh, 30px); padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.foot a { color: var(--ink); transition: color .3s; }
.foot a:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .rail {
    display: flex; right: 12px; gap: 18px;
    opacity: 0; visibility: hidden;
    transform: translateY(-50%) translateX(10px);
    transition: opacity .35s ease, transform .35s ease, visibility .35s;
  }
  .rail.is-scrolling { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
  .rail .dot { width: 10px; height: 10px; }
  .rail .dot::after { inset: -9px; }
  .split { grid-template-columns: 1fr; }
  .split.flip .visual { order: 0; }
  .panel { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .cap-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tiers { grid-template-columns: 1fr; gap: 14px; max-width: 430px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .brand { letter-spacing: .14em; }
  .head-nav { gap: 10px; }
}

/* tighten vertically on short screens */
@media (max-height: 540px) {
  .slide { padding-top: 54px; padding-bottom: 6px; }
  .eyebrow { font-size: .6rem; gap: 8px; }
  .eyebrow::before { width: 3px; height: 3px; }
  .eyebrow::after { width: 4px; height: 4px; }
  .h1 { font-size: clamp(1.7rem, 7vh, 2.2rem); margin: 10px 0 8px; }
  .h2 { font-size: clamp(1.3rem, 5.5vh, 1.7rem); margin: 8px 0 6px; }
  .sec-head { margin-bottom: 4px; }
  .cta-row { margin-top: 10px; gap: 8px; }
  .btn { padding: 9px 16px; font-size: .62rem; }
  .quick-links { margin-top: 10px; }
  .stats { display: none; }
  .scroll-hint { display: none; }
  .page-indicator { display: none; }

  .feature { padding: 7px 10px; gap: 5px; }
  .feature svg { width: 18px; height: 18px; }
  .feature h3 { font-size: .6rem; }
  .feature-grid { gap: 6px; }
  .free-note { margin-top: 4px; font-size: .66rem; }

  .cap-list { gap: 1px 28px; }
  .cap { padding: 2px 4px; gap: 8px; }
  .cap .n { font-size: .6rem; }
  .cap .t { font-size: .78rem; }
  .fine-note { margin-top: 0; font-size: .64rem; }

  .split { grid-template-columns: 1fr; gap: 10px; }
  .split.flip .visual { order: 0; }
  .split .copy .body { display: none; }
  .panel { display: none; }
  .chip-row { margin-top: 2px; }
  .chip { padding: 4px 9px; font-size: .6rem; }
  .term .tbar { padding: 5px 12px; }
  .term pre { padding: 6px 12px; font-size: .6rem; line-height: 1.6; }

  .steps { gap: 8px; }
  .step { padding-top: 6px; gap: 5px; }
  .step .step-n { font-size: 1rem; }
  .step h3 { font-size: .6rem; }

  .tiers { grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: none; }
  .tier { padding: 10px 8px; gap: 6px; text-align: center; align-items: center; }
  .tier-name { font-size: .58rem; }
  .tier-price { font-size: 1.15rem; line-height: 1.25; }
  .tier-price small { display: block; font-size: .5rem; margin-top: 2px; }
  .tier-tag { display: none; }
  .tier-cta { display: none; }
  .popular-badge { font-size: .5rem; padding: 4px 8px; }
  .price-notes { margin-top: 8px; font-size: .62rem; }

  .lead-form { margin-top: 6px; gap: 4px; }
  .field { gap: 2px; }
  .field label { font-size: .54rem; }
  .field input, .field select { padding: 5px 9px; font-size: .78rem; border-radius: 7px; }
  .select-wrap::after { right: 9px; }
  .form-submit { padding: 7px 12px; font-size: .6rem; margin-top: 0; }
  .form-fine { display: none; }
  .contact .eyebrow { display: none; }
  .contact-grid { display: none; }
  .foot { display: none; }
}

/* tighten vertically on short screens */
@media (max-height: 700px) and (min-height: 541px) {
  .slide { padding-top: 72px; padding-bottom: 14px; }
  .split { grid-template-columns: 1fr; }
  .split.flip .visual { order: 0; }
  .panel { display: none; }
  .h1 { font-size: clamp(1.9rem, 7vh, 2.6rem); margin: 12px 0; }
  .h2 { font-size: clamp(1.4rem, 4.4vw, 2rem); margin: 8px 0 10px; }
  .sec-head .h2 { margin-top: 8px; }
  .sec-head { margin-bottom: 8px; }
  .cta-row { margin-top: 14px; }
  .btn { padding: 13px 22px; }
  .stats { display: none; }
  .step { padding-top: 8px; gap: 6px; }
  .feature { padding: 11px; gap: 7px; }
  .feature-grid { gap: 8px; }
  .free-note { margin-top: 10px; }
  .cap { padding: 9px 4px; gap: 12px; }
  .cap-list { gap: 4px 26px; }
  .fine-note { margin-top: 8px; }
  .tier { padding: 10px 12px; gap: 4px; }
  .tier-price { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
  .tier-tag { font-size: .76rem; }
  .tier-cta { padding-top: 6px; }
  .price-notes { margin-top: 10px; }
  .lead-form { margin-top: 10px; gap: 8px; }
  .field { gap: 4px; }
  .field input, .field select { padding: 8px 12px; }
  .form-fine { display: none; }
  .thank { margin-top: 10px; }
  .contact-grid { margin-top: 12px; }
  .foot { margin-top: 12px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .rv { transition: none; opacity: 1; transform: none; filter: none; }
  .scroll-hint { animation: none; }
  .deck { scroll-behavior: auto; }
  .feature, .tier, .chip, .step { transition: none; }
  .site-head, .head-nav > * { animation: none; }
  .grain, .ambient, .term .cur, .dot.on::after, .eyebrow::before, .eyebrow::after, .panel svg, .thank { animation: none; }
  .eyebrow::before { opacity: 0; }
  .eyebrow::after { opacity: 1; transform: translateY(-50%) scale(1); }
  .panel svg { opacity: .85; transform: none; }
  .dot.on::after { opacity: 1; transform: scale(1); }
}
