/* ==========================================================================
   Public site — design system
   Deep navy + indigo, gradient accents, precise type scale.
   ========================================================================== */

:root {
  /* Ink */
  --ink:        #0A2540;
  --ink-2:      #3C4257;
  --muted:      #697386;
  --muted-2:    #8C95A4;
  --line:       #E3E8EE;
  --line-soft:  #EDF1F6;

  /* Surfaces */
  --bg:         #FFFFFF;
  --bg-2:       #F6F9FC;
  --bg-dark:    #0A2540;
  --bg-dark-2:  #0E2E4E;

  /* Brand */
  --primary:      #4F46E5;
  --primary-2:    #6C5CE7;
  --primary-deep: #3A32BE;
  --primary-soft: #EEF0FE;
  --cyan:       #21D4FD;
  --violet:     #8B5CF6;
  --pink:       #FF5C93;

  /* Semantic */
  --success:    #0CA678;
  --success-bg: #E6F7F1;
  --warning:    #F0A93E;
  --danger:     #E5484D;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Elevation */
  --sh-sm: 0 2px 5px -1px rgba(50,50,93,.15), 0 1px 3px -1px rgba(0,0,0,.12);
  --sh-md: 0 6px 12px -2px rgba(50,50,93,.18), 0 3px 7px -3px rgba(0,0,0,.18);
  --sh-lg: 0 13px 27px -5px rgba(50,50,93,.20), 0 8px 16px -8px rgba(0,0,0,.20);
  --sh-xl: 0 30px 60px -12px rgba(50,50,93,.25), 0 18px 36px -18px rgba(0,0,0,.25);

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --ease: cubic-bezier(.16,.68,.43,.99);
  --nav-h: 72px;
}

/* --- 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);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* --- Type scale --- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -0.022em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 4.6vw, 3.6rem); letter-spacing: -0.032em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.028em; }
h3 { font-size: 1.15rem; letter-spacing: -0.012em; }
p  { color: var(--ink-2); }

.eyebrow {
  display: inline-block; font-size: .8125rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--cyan); }
.lede { font-size: 1.125rem; color: var(--muted); line-height: 1.7; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }
.wrap-wide { max-width: 1320px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .9375rem; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
  box-shadow: var(--sh-sm);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh-md); background: var(--primary-deep); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); background: #fff; box-shadow: none; }
.btn-ghost:hover { background: #fff; border-color: #CBD5E1; color: var(--primary); box-shadow: var(--sh-sm); }

.btn-light { --btn-bg: rgba(255,255,255,.14); --btn-fg: #fff; border-color: rgba(255,255,255,.28); box-shadow: none; backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.24); }

.btn-white { --btn-bg: #fff; --btn-fg: var(--primary); }
.btn-white:hover { background: #fff; color: var(--primary-deep); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; font-size: .9375rem; }
.link-arrow .arrow { transition: transform .22s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow.on-dark { color: var(--cyan); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 900; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.03em; color: #fff; transition: color .3s var(--ease); }
.brand-logo { height: 34px; width: auto; flex-shrink: 0; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-right: auto; }
.nav-links a {
  position: relative; font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.88);
  padding: 6px 0; transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .26s var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .nav-login { font-size: .9375rem; font-weight: 600; color: #fff; padding: 8px 4px; }

/* Solid state (scrolled, or pages without gradient hero) */
.nav.is-solid, body.nav-solid .nav {
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--line); box-shadow: 0 1px 2px rgba(10,37,64,.04);
}
.nav.is-solid .brand, body.nav-solid .nav .brand { color: var(--ink); }
.nav.is-solid .nav-links a, body.nav-solid .nav .nav-links a { color: var(--ink-2); }
.nav.is-solid .nav-links a:hover, .nav.is-solid .nav-links a.is-active,
body.nav-solid .nav .nav-links a:hover, body.nav-solid .nav .nav-links a.is-active { color: var(--primary); }
.nav.is-solid .nav-cta .nav-login, body.nav-solid .nav .nav-cta .nav-login { color: var(--ink); }
.nav.is-solid .nav-cta .nav-login:hover, body.nav-solid .nav .nav-cta .nav-login:hover { color: var(--primary); }
.nav.is-solid .btn-light, body.nav-solid .nav .btn-light { --btn-bg: var(--primary); --btn-fg: #fff; border-color: transparent; box-shadow: var(--sh-sm); }
.nav.is-solid .btn-light:hover, body.nav-solid .nav .btn-light:hover { background: var(--primary-deep); }

.burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s var(--ease), background .3s var(--ease); }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav.is-solid .burger span, body.nav-solid .nav .burger span { background: var(--ink); }

/* ==========================================================================
   Gradient canvas (hero backdrop)
   ========================================================================== */
.gradient-hero { position: relative; isolation: isolate; padding-top: calc(var(--nav-h) + 68px); padding-bottom: 104px; overflow: hidden; }
.gradient-hero::before {
  /* The skewY shift is driven by the hero's WIDTH (shift ~= width * tan(5deg)),
     while this margin was a percentage of the hero's HEIGHT — on a shorter
     hero the percentage stops covering the shift and the skewed edge pokes
     out. Margin is generous now so it holds at any hero height. */
  content: ''; position: absolute; z-index: -2;
  top: -70%; left: -8%; right: -8%; height: 240%;
  background:
    radial-gradient(60% 55% at 18% 28%, rgba(33,212,253,.85) 0%, rgba(33,212,253,0) 62%),
    radial-gradient(55% 60% at 78% 18%, rgba(255,92,147,.60) 0%, rgba(255,92,147,0) 60%),
    linear-gradient(104deg, #0A2540 0%, #263E8C 34%, #4F46E5 62%, #8B5CF6 100%);
  background-size: 160% 160%, 160% 160%, 200% 200%;
  background-position: 0% 50%, 100% 0%, 0% 50%;
  transform: skewY(-5deg);
  transform-origin: 0 0;
  animation: meshDrift 22s ease-in-out infinite alternate;
}
.gradient-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, rgba(10,37,64,0) 40%, rgba(10,37,64,.28) 100%);
}
@keyframes meshDrift {
  0%   { background-position: 0% 50%, 100% 0%, 0% 50%; }
  50%  { background-position: 40% 20%, 60% 40%, 100% 50%; }
  100% { background-position: 10% 80%, 80% 10%, 30% 50%; }
}
.gradient-hero, .gradient-hero h1, .gradient-hero h2 { color: #fff; }
.gradient-hero .lede { color: rgba(255,255,255,.82); }

/* Page header (sub-pages) */
.page-head { position: relative; padding: calc(var(--nav-h) + 72px) 0 56px; text-align: center; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-head .lede { max-width: 620px; margin: 16px auto 0; }

/* ==========================================================================
   Hero layout + device demo
   Devices sit full-width up top with room to breathe; the pitch reads below.
   ========================================================================== */
.hero-stage { width: 100%; max-width: 1272px; margin: 0 auto; }

/* Copy sits beside the laptop, in the phone's old spot — a classic
   media-left/copy-right split instead of a device row with the pitch
   stacked underneath it. */
.hero-copy-side { flex: 1 1 320px; min-width: 280px; max-width: 460px; text-align: left; }
.hero-copy-side h1 { margin-bottom: 18px; }
.hero-copy-side .lede { margin-bottom: 28px; max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .875rem; color: rgba(255,255,255,.72); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { flex-shrink: 0; }

/* Fade-up on load (no JS dependency) */
.rise { opacity: 0; transform: translateY(16px); animation: riseIn .7s var(--ease) forwards; }
.rise-1 { animation-delay: .05s; } .rise-2 { animation-delay: .14s; }
.rise-3 { animation-delay: .23s; } .rise-4 { animation-delay: .32s; } .rise-5 { animation-delay: .42s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

/* --- Device stage --- */
.stage { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5%; padding-bottom: 14px; max-width: 100%; min-width: 0; }

/* MacBook */
.laptop { position: relative; width: min(100%, 460px); max-width: 100%; min-width: 0; flex: 1 1 auto; }
.laptop-lid {
  background: #0B1B2B; border-radius: 14px; padding: 11px 11px 13px;
  box-shadow: var(--sh-xl), inset 0 0 0 1px rgba(255,255,255,.08);
}
.laptop-cam { width: 5px; height: 5px; border-radius: 50%; background: #23384d; margin: 0 auto 7px; }
.laptop-screen { position: relative; display: flex; flex-direction: column; border-radius: 7px; overflow: hidden; background: #fff; aspect-ratio: 16 / 11.4; container-type: inline-size; }
.laptop-foot { height: 11px; margin: 0 -4%; border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #C8D0DA 0%, #A9B4C2 55%, #8E9AAA 100%); box-shadow: 0 10px 22px rgba(10,37,64,.22); }
.laptop-foot::after { content: ''; display: block; width: 72px; height: 4px; margin: 0 auto; border-radius: 0 0 5px 5px; background: #8593A5; }

/* Browser chrome — everything inside the lid is sized in cqw so the whole
   interface scales with the laptop instead of floating in empty space. */
.chrome { flex: 0 0 auto; display: flex; align-items: center; gap: 1.1cqw; padding: .95cqw 1.3cqw; background: #F1F4F8; border-bottom: 1px solid #E1E7EF; }
.chrome-dots { display: flex; gap: .65cqw; }
.chrome-dots i { width: 1.05cqw; height: 1.05cqw; border-radius: 50%; display: block; }
.chrome-dots i:nth-child(1) { background: #FF5F57; }
.chrome-dots i:nth-child(2) { background: #FEBC2E; }
.chrome-dots i:nth-child(3) { background: #28C840; }
.chrome-url {
  flex: 1; display: flex; align-items: center; gap: .8cqw;
  background: #fff; border: 1px solid #E1E7EF; border-radius: 999px;
  padding: .45cqw 1.5cqw; font-size: 1.32cqw; color: var(--muted); font-family: var(--mono);
  overflow: hidden; white-space: nowrap;
}
.chrome-url .lock { color: var(--success); display: flex; }
.chrome-url .lock svg { width: 1.5cqw; height: 1.5cqw; }
.chrome-url b { color: var(--ink); font-weight: 600; }
.chrome-load { flex: 0 0 2px; width: 0; background: linear-gradient(90deg, var(--cyan), var(--primary)); transition: width .5s var(--ease), opacity .3s; opacity: 0; }
.chrome-load.is-loading { opacity: 1; }

/* Demo viewport */
.vp { position: relative; flex: 1; min-height: 0; background: #fff; overflow: hidden; }
.vp-screen {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.995); pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  display: flex; flex-direction: column;
}
.vp-screen.is-on {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .34s var(--ease) .14s, transform .34s var(--ease) .14s, visibility 0s linear 0s;
}

/* --- merchant dashboard --- */
.app-top {
  flex: 0 0 auto; display: flex; align-items: center; gap: 2.6cqw;
  padding: 0 2.8cqw; height: 7cqw; border-bottom: 1px solid var(--line-soft); background: #fff;
}
.app-brand { display: flex; align-items: center; gap: 1cqw; font-weight: 700; font-size: 1.85cqw; color: var(--ink); letter-spacing: -.02em; }
.app-brand i { width: 2.4cqw; height: 2.4cqw; border-radius: .75cqw; background: linear-gradient(135deg, #16C3A0, #0E7490); display: block; flex-shrink: 0; }
.app-tabs { display: flex; gap: 2.2cqw; margin-left: auto; font-size: 1.5cqw; color: var(--muted); }
.app-tabs span.on { color: var(--ink); font-weight: 600; }
.app-avatar {
  width: 3cqw; height: 3cqw; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.2cqw; font-weight: 700;
}

.app-main { flex: 1; min-height: 0; display: flex; }
.app-side {
  flex: 0 0 20cqw; border-right: 1px solid var(--line-soft); background: #FBFCFE;
  padding: 2cqw 1.4cqw; display: flex; flex-direction: column; gap: .35cqw;
}
.side-item {
  display: flex; align-items: center; gap: 1cqw; padding: .95cqw 1.2cqw; border-radius: .9cqw;
  font-size: 1.45cqw; color: var(--muted); white-space: nowrap;
}
.side-item i { width: 1.4cqw; height: 1.4cqw; border-radius: .35cqw; background: #D3DBE6; flex-shrink: 0; }
.side-item.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.side-item.on i { background: var(--primary); }

/* right padding keeps dashboard content clear of the overlapping phone */
.app-content { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 2.4cqw 2.8cqw; }
.app-head { margin-bottom: 1.8cqw; }
.app-head h4 { font-size: 2.5cqw; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.app-head p { font-size: 1.45cqw; color: var(--muted); margin-top: .4cqw; }

.wallet-card {
  border: 1px solid var(--line); border-radius: 1.2cqw; padding: 1.9cqw 2.2cqw;
  background: linear-gradient(180deg,#fff, #FBFCFE);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5cqw; margin-bottom: 1.6cqw;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.wallet-card.is-hit { border-color: var(--success); box-shadow: 0 0 0 .4cqw rgba(12,166,120,.14); }
.wallet-k { font-size: 1.25cqw; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .3cqw; }
.wallet-v { font-size: 4cqw; font-weight: 700; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.wallet-v small { font-size: 1.6cqw; font-weight: 600; color: var(--muted); margin-left: .5cqw; }

.demo-field { border: 1px solid var(--line); border-radius: 1cqw; padding: 1.1cqw 1.5cqw; margin-bottom: 1.2cqw; background: #fff; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); display: flex; align-items: center; justify-content: space-between; gap: 1cqw; }
.demo-field.is-focus { border-color: var(--primary); box-shadow: 0 0 0 .4cqw rgba(79,70,229,.13); }
.demo-field-main { flex: 1; min-width: 0; }
.demo-field label { display: block; font-size: 1.15cqw; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .4cqw; }
.demo-field .val { font-size: 2.1cqw; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; min-height: 2.6cqw; line-height: 1.25; }
.demo-field .val .caret { display: inline-block; width: .2cqw; height: 2.1cqw; background: var(--primary); margin-left: .15cqw; vertical-align: -.3cqw; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.unit-badge { flex-shrink: 0; font-size: 1.25cqw; font-weight: 700; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: .7cqw; padding: .6cqw 1cqw; }

.demo-chips { display: flex; flex-wrap: wrap; gap: .7cqw; margin-bottom: .2cqw; }
.demo-chip {
  border: 1px solid var(--line); border-radius: 999px; padding: .5cqw 1.3cqw; font-size: 1.3cqw; font-weight: 600;
  color: var(--ink-2); background: #fff; transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.demo-chip.is-on { border-color: var(--primary); background: var(--primary); color: #fff; }

/* Payment gateway list — a stacked row per method (icon, name + badges,
   fee note), matching a real gateway picker rather than a grid of tiles. */
.pay-rows { display: flex; flex-direction: column; gap: .7cqw; margin-bottom: 1.2cqw; }
.pay-row {
  display: flex; align-items: center; gap: 1cqw; border: 1px solid var(--line); border-radius: 1cqw; padding: .9cqw 1.1cqw; background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.pr-icon { flex-shrink: 0; width: 3cqw; height: 3cqw; border-radius: .8cqw; background: var(--bg-2); display: flex; align-items: center; justify-content: center; }
.pr-icon img { width: 1.8cqw; height: 1.8cqw; object-fit: contain; }
.pr-info { flex: 1; min-width: 0; }
.pr-name { display: flex; align-items: center; flex-wrap: wrap; gap: .5cqw; font-size: 1.35cqw; font-weight: 600; color: var(--ink); }
.pr-badge { font-size: 1.02cqw; font-weight: 600; letter-spacing: .02em; color: var(--muted-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: .15cqw .8cqw; font-style: normal; }
.pr-fee { display: block; font-size: 1.15cqw; color: var(--muted); margin-top: .2cqw; }
.pay-row.is-sel { border-color: var(--primary); box-shadow: 0 0 0 .4cqw rgba(79,70,229,.13); }
.pay-row.is-sel .pr-badge { border-color: rgba(79,70,229,.35); color: var(--primary); }

.demo-btn {
  display: flex; align-items: center; justify-content: center; gap: .8cqw;
  background: var(--primary); color: #fff; border-radius: 1cqw; padding: 1.2cqw 1.6cqw; font-size: 1.55cqw; font-weight: 600;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.demo-btn svg { width: 1.8cqw; height: 1.8cqw; }
.demo-btn.is-press { transform: scale(.975); background: var(--primary-deep); }
.wallet-card .demo-btn { flex-shrink: 0; }

/* balance / gateway / total recap, shown once a method is picked — mirrors
   the real add-funds page's sticky summary column, condensed to one column. */
.demo-summary { border-top: 1px solid var(--line-soft); margin-bottom: 1.2cqw; }
.demo-summary .list-row { padding: .75cqw 0; font-size: 1.35cqw; }
.demo-summary .list-row.total .c2, .demo-summary .list-row.total .c3 { color: var(--ink); font-weight: 700; font-size: 1.55cqw; }
.demo-summary .list-row.total { border-bottom: none; }

/* recent activity fills whatever room the form leaves */
.app-list { flex: 1; min-height: 0; overflow: hidden; border-top: 1px solid var(--line-soft); padding-top: 1.4cqw; margin-top: .4cqw; }
.list-head { font-size: 1.2cqw; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .9cqw; }
.list-row {
  display: flex; align-items: center; gap: 1.4cqw; padding: .95cqw 0;
  border-bottom: 1px solid var(--line-soft); font-size: 1.45cqw; color: var(--ink-2);
}
.list-row .c1 { width: 7cqw; color: var(--muted); flex-shrink: 0; }
.list-row .c2 { flex: 1; min-width: 0; color: var(--ink); }
.list-row .c3 { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.list-row .pill { font-size: 1.1cqw; font-weight: 600; padding: .3cqw 1cqw; border-radius: 999px; white-space: nowrap; }
.list-row .pill.ok { background: var(--success-bg); color: #05715A; }

/* --- hosted checkout ---
   Rebuilt against the real gsmonepay checkout markup/CSS (a saved copy of
   the live page): a dark identity/amount/method sidebar plus a light main
   column (title, QR + copy cards, a "how to pay" panel with its own phone
   illustration, and a warning bar) — not an approximation from a
   screenshot. Merchant identity stays "PhoneFix" (this demo's persona) in
   place of the real page's actual merchant. */
#scrCheckout { padding: 0; display: flex; flex-direction: row; }

/* -- dark sidebar -- */
.co-side { width: 33cqw; flex-shrink: 0; background: var(--bg-dark); color: #fff; display: flex; flex-direction: column; padding: 2cqw; overflow: hidden; }
.co-side-top { display: flex; align-items: center; gap: .9cqw; margin-bottom: 1.8cqw; }
.co-side-top svg { width: 1.5cqw; height: 1.5cqw; color: rgba(255,255,255,.6); flex-shrink: 0; }
.co-mark { width: 2.6cqw; height: 2.6cqw; border: 1px solid rgba(255,255,255,.5); border-radius: .7cqw; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4cqw; color: #fff; flex-shrink: 0; }
.co-side-id { flex: 1; min-width: 0; }
.co-side-name { font-size: 1.3cqw; font-weight: 700; color: #fff; }
.co-verified-mini { font-size: .95cqw; font-weight: 700; color: #5DE0B0; text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: .3cqw; }
.co-verified-mini svg { width: 1cqw; height: 1cqw; }
.co-side-timer { flex-shrink: 0; border: 1px solid #5DE0B0; color: #5DE0B0; font-size: 1.15cqw; font-weight: 700; border-radius: .6cqw; padding: .35cqw .7cqw; font-family: var(--mono); }

.co-trx { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: .9cqw; padding: 1.5cqw; margin-bottom: 1.8cqw; }
.co-trx-label { font-size: .95cqw; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .4cqw; }
.co-trx-sub { font-size: 1.2cqw; color: rgba(255,255,255,.9); margin-bottom: 1.4cqw; }
.co-trx-rule { height: 1px; background: rgba(255,255,255,.08); margin: 1.4cqw 0; }
.co-trx-amt { display: flex; align-items: baseline; gap: .6cqw; margin-bottom: 1.2cqw; }
.co-trx-amt b { font-size: 3.3cqw; font-weight: 700; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.co-trx-amt span { font-size: 1.3cqw; color: rgba(255,255,255,.45); }
.co-trx-rows { display: flex; flex-direction: column; gap: .7cqw; }
.co-trx-row { display: flex; justify-content: space-between; font-size: 1.1cqw; color: rgba(255,255,255,.45); }
.co-trx-row b { font-weight: 500; color: rgba(255,255,255,.75); }
.co-trx-row.total { border-top: 1px solid rgba(255,255,255,.08); padding-top: .8cqw; margin-top: .1cqw; }
.co-trx-row.total span, .co-trx-row.total b { color: #5DE0B0; font-weight: 700; }

.co-side-label { flex-shrink: 0; font-size: .95cqw; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.4); text-transform: uppercase; margin-bottom: 1cqw; }
.co-methods { display: flex; flex-direction: column; gap: .9cqw; margin-bottom: auto; }
.co-mcard { position: relative; display: flex; align-items: center; gap: 1cqw; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: .8cqw; padding: 1cqw 1.2cqw; }
.co-mcard.active { border-color: #5DE0B0; }
.co-mcard.active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: .25cqw; background: #5DE0B0; border-radius: .2cqw 0 0 .2cqw; }
.co-mcard .pr-icon { background: rgba(255,255,255,.08); flex-shrink: 0; }
.co-mcard-info { flex: 1; min-width: 0; }
.co-mcard-name { font-size: 1.15cqw; font-weight: 700; color: #e5e7eb; margin-bottom: .4cqw; }
.co-mcard.active .co-mcard-name { color: #fff; }
.co-mcard-badges { display: flex; gap: .5cqw; }
.co-mcard-badge { font-size: .9cqw; font-weight: 700; border-radius: .4cqw; padding: .15cqw .6cqw; background: rgba(243,161,23,.15); color: #F3A117; }
.co-mcheck { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #5DE0B0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.co-mcheck svg { width: 1cqw; height: 1cqw; }
.co-mchev { flex-shrink: 0; width: 1.3cqw; height: 1.3cqw; color: rgba(255,255,255,.25); }

.co-side-foot { padding-top: 1.4cqw; margin-top: 1.6cqw; border-top: 1px solid rgba(255,255,255,.08); font-size: 1cqw; color: rgba(255,255,255,.4); }

/* -- light main column -- */
.co-main { flex: 1; min-width: 0; padding: 2.2cqw 2.6cqw; display: flex; flex-direction: column; overflow: hidden; }
.co-top { flex: 0 0 auto; display: flex; align-items: center; gap: 1.2cqw; margin-bottom: 1.6cqw; }
.co-title { flex-shrink: 0; font-size: 1.7cqw; font-weight: 800; letter-spacing: .01em; color: var(--ink); text-transform: uppercase; }
.co-title-rule { flex: 1; height: 1px; background: var(--line); }
.co-timer-label { flex-shrink: 0; font-size: 1.2cqw; font-weight: 700; color: var(--muted); font-family: var(--mono); white-space: nowrap; }

.co-status { flex: 0 0 auto; display: flex; align-items: center; gap: 1cqw; margin-bottom: 1.6cqw; padding: 1.1cqw 1.4cqw; border-radius: 1cqw; background: var(--bg-2); border: 1px solid var(--line); }
.co-status .spin { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; border: .28cqw solid rgba(79,70,229,.25); border-top-color: var(--primary); animation: spin .8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-status .txt { font-size: 1.5cqw; font-weight: 600; color: var(--ink-2); }
.co-status.is-done { background: var(--success-bg); border-color: rgba(12,166,120,.35); }
.co-status.is-done .txt { color: #05715A; }
.co-check { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: var(--success); color: #fff; display: none; align-items: center; justify-content: center; flex-shrink: 0; }
.co-check svg { width: 1.2cqw; height: 1.2cqw; }
.co-status.is-done .co-check { display: flex; animation: pop .45s var(--ease); }
.co-status.is-done .spin { display: none; }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }

.co-body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 1.4cqw; }
.co-top-row { flex: 0 0 auto; display: grid; grid-template-columns: 13cqw 1fr; gap: 1.2cqw; }

.co-qr { display: flex; flex-direction: column; align-items: center; gap: .6cqw; background: #fff; border: 1px solid var(--line); border-radius: 1cqw; padding: .8cqw; }
.co-qr-img { width: 100%; aspect-ratio: 1; border-radius: .6cqw; }
.co-qr span { font-size: .95cqw; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }

.co-copy-stack { display: flex; flex-direction: column; gap: .8cqw; }
.co-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2cqw;
  border: 1px solid var(--line); border-radius: 1cqw; padding: 1.1cqw 1.4cqw; background: #fff;
}
.co-row .k { font-size: 1cqw; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .25cqw; }
.co-row .v { font-family: var(--mono); font-size: 1.8cqw; color: var(--ink); font-weight: 700; word-break: break-all; }
.co-hint { font-size: 1.05cqw; color: var(--muted); margin-top: .3cqw; display: flex; align-items: center; gap: .4cqw; }
.co-row.danger { border-color: rgba(220,38,38,.25); }
.co-row.danger .k { color: #B3261E; }
.co-row.danger .v { color: #B3261E; }
.co-hint.danger { color: #B3261E; font-weight: 600; }
.co-copy-btn { flex-shrink: 0; width: 2.3cqw; height: 2.3cqw; border-radius: .7cqw; background: var(--bg-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.co-copy-btn svg { width: 1.1cqw; height: 1.1cqw; }

.co-how { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 1cqw; padding: 1.4cqw 1.6cqw; overflow: hidden; }
.co-how-h { flex: 0 0 auto; font-size: 1cqw; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.2cqw; }
.co-how-body { flex: 1; min-height: 0; display: flex; gap: 1.6cqw; }

.co-steps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1cqw; overflow: hidden; }
.co-step { display: flex; align-items: flex-start; gap: 1cqw; }
.co-step b {
  flex-shrink: 0; margin-top: .1cqw; width: 1.8cqw; height: 1.8cqw; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2);
  display: flex; align-items: center; justify-content: center; font-size: 1cqw; font-weight: 700;
}
.co-step-txt { min-width: 0; }
.co-step-t { font-size: 1.2cqw; font-weight: 700; color: var(--ink); margin-bottom: .15cqw; }
.co-step-d { font-size: 1.05cqw; color: var(--muted); line-height: 1.4; }
.co-step-chip { display: inline-flex; align-items: center; gap: .3cqw; margin-top: .4cqw; font-family: var(--mono); font-size: .95cqw; font-weight: 600; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: .5cqw; padding: .2cqw .6cqw; }

/* A pure-CSS phone frame (border + a pseudo-element notch), the same
   technique the real checkout draws its own illustration with — no bitmap,
   so the screen content is centered by construction, not by eyeballing an
   image crop. */
.co-phone-wrap { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.co-phone { position: relative; width: 9.5cqw; aspect-ratio: 170 / 350; background: #fff; border: .32cqw solid #111; border-radius: 1.7cqw; box-shadow: 0 0 0 1px #2A2A2A; overflow: hidden; }
.co-phone::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40%; height: 5.5%; background: #111; border-radius: 0 0 .6cqw .6cqw; z-index: 2; }
.co-phone-nav { display: flex; align-items: center; padding: 8% 6% 5%; }
.co-phone-back { width: 12%; aspect-ratio: 1; border-radius: 50%; background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: .85cqw; color: var(--muted); }
.co-phone-title { flex: 1; text-align: center; font-size: .8cqw; font-weight: 700; color: var(--ink); }
.co-phone-note { margin: 0 6%; border: 1px solid var(--line); background: var(--bg-2); border-radius: .5cqw; padding: 8% 6% 22%; font-family: var(--mono); font-size: 1.05cqw; font-weight: 700; color: var(--ink); }
.co-phone-confirm { margin: 8% 6% 0; background: #F8D33A; color: #7A5C00; text-align: center; border-radius: .5cqw; padding: 6% 0; font-size: .85cqw; font-weight: 700; }

.warn-bar { flex: 0 0 auto; display: flex; align-items: flex-start; gap: .9cqw; background: #FDF4F3; border: 1px dashed #F5B7B1; border-radius: .9cqw; padding: 1.1cqw 1.3cqw; margin-top: 1.2cqw; }
.warn-bar svg { flex-shrink: 0; margin-top: .1cqw; width: 1.4cqw; height: 1.4cqw; color: #C0392B; }
.warn-bar p { font-size: 1.05cqw; color: #7A2020; line-height: 1.5; }
.warn-bar strong { color: #C0392B; font-weight: 700; }

/* success overlay */
.vp-success {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .38s var(--ease);
}
.vp-success.is-on { opacity: 1; }
.vp-success { gap: 1.4cqw; }
.vp-success .ring { width: 7cqw; height: 7cqw; border-radius: 50%; background: var(--success); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 0 rgba(12,166,120,.45); }
.vp-success .ring svg { width: 3.4cqw; height: 3.4cqw; }
.vp-success.is-on .ring { animation: pulseRing 1.6s var(--ease) infinite; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(12,166,120,.4); } 70% { box-shadow: 0 0 0 2.4cqw rgba(12,166,120,0); } 100% { box-shadow: 0 0 0 0 rgba(12,166,120,0); } }
.vp-success b { font-size: 2.2cqw; color: var(--ink); letter-spacing: -.02em; }
.vp-success span { font-size: 1.5cqw; color: var(--muted); }

/* toast inside demo */
.vp-toast {
  position: absolute; right: 2.8cqw; top: 9.5cqw; z-index: 6;
  display: flex; align-items: center; gap: 1.1cqw; background: #fff; border: 1px solid var(--line);
  border-left: .4cqw solid var(--success); border-radius: 1.1cqw; padding: 1.1cqw 1.5cqw; box-shadow: var(--sh-md);
  opacity: 0; transform: translateX(12px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.vp-toast.is-on { opacity: 1; transform: none; }
.vp-toast i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: var(--success-bg); color: var(--success); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vp-toast i svg { width: 1.3cqw; height: 1.3cqw; }
.vp-toast b { font-size: 1.5cqw; color: var(--ink); display: block; }
.vp-toast span { font-size: 1.3cqw; color: var(--muted); }

/* cursor */
.vp-cursor { position: absolute; z-index: 8; width: 2.3cqw; height: 3.2cqw; pointer-events: none; left: 50%; top: 60%; transition: left .72s var(--ease), top .72s var(--ease); filter: drop-shadow(0 2px 3px rgba(10,37,64,.35)); }
.vp-cursor svg { width: 100%; height: 100%; }
.vp-cursor .ripple { position: absolute; left: -9px; top: -9px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--primary); opacity: 0; }
.vp-cursor.is-click .ripple { animation: ripple .55s var(--ease); }
@keyframes ripple { 0% { transform: scale(.25); opacity: .85; } 100% { transform: scale(1.25); opacity: 0; } }

/* step captions */
.demo-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0 56px; }
.demo-step {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.72); font-size: .8125rem; font-weight: 500;
  transition: background .35s var(--ease), color .12s linear, border-color .35s var(--ease), transform .35s var(--ease);
}
.demo-step b { font-family: var(--mono); font-size: .6875rem; opacity: .7; }
.demo-step.is-on { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-1px); box-shadow: var(--sh-md); }
.demo-step.is-on b { color: var(--primary); opacity: 1; }
.demo-step.is-done { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.4); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--bg-dark); color: rgba(255,255,255,.72); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lede { color: rgba(255,255,255,.66); }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }

/* logo band */
.band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.band-row img { height: 26px; max-width: 108px; object-fit: contain; opacity: .95; transition: transform .25s var(--ease); }
.band-row img:hover { transform: translateY(-2px); }

/* feature cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: #D7DEE8; }
.card-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: var(--primary-soft); color: var(--primary); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .9375rem; color: var(--muted); }

/* step list */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.step { padding: 28px 26px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step-n { font-family: var(--mono); font-size: .75rem; font-weight: 600; color: var(--primary); letter-spacing: .06em; margin-bottom: 12px; display: block; }
.step h3 { margin-bottom: 7px; font-size: 1.0625rem; }
.step p { font-size: .9rem; color: var(--muted); }

/* method grid */
.methods { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.method {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.method:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: #D7DEE8; }
.method-logo { width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px; border: 1px solid var(--line-soft); background: #fff; padding: 7px; display: flex; align-items: center; justify-content: center; }
.method-logo img { width: 100%; height: 100%; object-fit: contain; }
.method-logo.fallback { background: #2775CA; color: #fff; font-weight: 700; font-size: 14px; border: 0; }
.method > span:last-child { display: block; min-width: 0; }
.method-name { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; }
.method-sub { display: block; font-family: var(--mono); font-size: .6875rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; line-height: 1.5; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.plan.featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--sh-lg); }
.plan-flag { position: absolute; top: -11px; left: 24px; background: var(--primary); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.plan-name { font-size: .9375rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.plan-price { font-size: 2.25rem; font-weight: 700; color: var(--ink); letter-spacing: -.035em; line-height: 1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: .875rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 3px; }
.plan-note { font-size: .8125rem; color: var(--muted-2); margin-bottom: 20px; }
.plan-list { list-style: none; margin-bottom: 24px; display: grid; gap: 10px; align-content: start; flex: 1; }
.plan-list li { display: flex; gap: 9px; font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.plan-list svg { flex-shrink: 0; margin-top: 3px; color: var(--success); }
.plan .btn { width: 100%; }

/* ==========================================================================
   Docs
   ========================================================================== */
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.doc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .28s var(--ease), transform .28s var(--ease); }
.doc .code { flex: 1; }
.doc:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.doc-head { padding: 20px 22px 16px; }
.doc-verb { display: inline-block; font-family: var(--mono); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; padding: 3px 9px; border-radius: 5px; margin-bottom: 11px; }
.verb-post { background: var(--primary-soft); color: var(--primary); }
.verb-get  { background: var(--success-bg); color: var(--success); }
.verb-hook { background: #FFF3E0; color: #B26A00; }
.doc-head h3 { font-family: var(--mono); font-size: .9375rem; letter-spacing: -.01em; margin-bottom: 7px; }
.doc-head p { font-size: .875rem; color: var(--muted); }
.code {
  background: #0A2540; color: #C7D4E4; font-family: var(--mono); font-size: .75rem; line-height: 1.75;
  padding: 18px 20px; overflow-x: auto; white-space: pre; border-top: 1px solid rgba(255,255,255,.06);
}
.code .c-key { color: #7DD3FC; }
.code .c-str { color: #86EFAC; }
.code .c-num { color: #FDBA74; }
.code .c-cmt { color: #64748B; font-style: italic; }
.code .c-fn  { color: #C4B5FD; }
.code .c-var { color: #FCA5A5; }
.callout { margin-top: 26px; background: var(--primary-soft); border: 1px solid rgba(79,70,229,.18); border-radius: var(--r); padding: 16px 20px; font-size: .9rem; color: var(--ink-2); }
.callout a { color: var(--primary); font-weight: 600; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 18px; max-width: 720px; margin: 0 auto; }
.contact-tile { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease); }
.contact-tile:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: #D7DEE8; }
.contact-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-tile > span:last-child { display: block; min-width: 0; }
.contact-k { display: block; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); line-height: 1.5; }
.contact-v { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); word-break: break-word; line-height: 1.4; }

/* ==========================================================================
   CTA band + footer
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--bg-dark); padding: 78px 0; text-align: center; }
.cta-band::before { content: ''; position: absolute; inset: -60% -10% auto; height: 200%; z-index: 0;
  background: radial-gradient(45% 45% at 22% 32%, rgba(33,212,253,.34), transparent 60%),
              radial-gradient(45% 45% at 76% 26%, rgba(139,92,246,.42), transparent 62%);
  animation: meshDrift 20s ease-in-out infinite alternate; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.7); margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 18px; font-size: .8125rem; color: rgba(255,255,255,.5); }

.footer { background: var(--bg-dark); color: rgba(255,255,255,.6); padding: 60px 0 28px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-brand { display: flex; align-items: center; margin-bottom: 14px; }
.footer-brand .brand-logo { height: 30px; }
.footer-about { font-size: .875rem; line-height: 1.65; color: rgba(255,255,255,.55); max-width: 300px; margin-bottom: 18px; }
.footer-contact { display: grid; gap: 7px; font-size: .875rem; }
.footer-contact a { color: var(--cyan); transition: color .2s var(--ease); }
.footer-contact a:hover { color: #fff; }
.footer-col h4 { font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.62); transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .8125rem; color: rgba(255,255,255,.45); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .62s var(--ease), transform .62s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .07s; } .rv-d2 { transition-delay: .14s; } .rv-d3 { transition-delay: .21s; } .rv-d4 { transition-delay: .28s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1040px) {
  .grid-3, .steps, .doc-grid, .grid-2 { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .methods { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .nav-login { display: none; }
  .burger { display: block; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; inset: var(--nav-h) 0 auto; padding: 12px 24px 22px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg);
  }
  .nav-links.is-open a { color: var(--ink) !important; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav-links.is-open a::after { display: none; }
  .demo-steps { margin-top: 44px; }
}
@media (max-width: 680px) {
  .grid-3, .steps, .doc-grid, .grid-2 { grid-template-columns: 1fr; }
  .methods { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .gradient-hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 66px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-copy-side { text-align: center; }
  .hero-actions, .hero-meta { justify-content: center; }
}
@media (max-width: 460px) {
  .methods { grid-template-columns: 1fr; }
  .laptop { width: 100%; }
  .demo-step { font-size: .75rem; padding: 6px 11px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rise, .rv { opacity: 1 !important; transform: none !important; }
}
