/* ============================================================
   REPZEN — Brand System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* 60% — backgrounds */
  --cream:   #FAFAF7;
  --white:   #FFFFFF;
  /* 30% — black & grays */
  --obsidian:#000000;
  --carbon:  #171717;
  --slate:   #404040;
  --stone:   #737373;
  --ash:     #A3A3A3;
  --mist:    #E5E5E5;
  /* 10% — accent */
  --amber:       #F59E0B;
  --amber-hover: #D97706;
  --amber-tint:  rgba(245,158,11,0.15);
  /* semantic */
  --green: #10B981;
  --red:   #EF4444;
  --blue:  #3B82F6;

  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1200px;
  --radius: 12px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--cream);
  color: var(--carbon);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: #000; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }

/* ---- numerals / money ---- */
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 560px){ .wrap { padding: 0 20px; } }
.section { padding: 96px 0; }
@media (max-width: 720px){ .section { padding: 64px 0; } }

/* ============================================================
   TYPE
   ============================================================ */
.label {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--stone);
  display: inline-flex; align-items: center; gap: 8px;
}
.label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); flex: none;
}
.label.on-dark { color: var(--ash); }

.display {
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 600; line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2.h2, .h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600; line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55; color: var(--slate); font-weight: 400;
  max-width: 52ch;
}
.muted { color: var(--stone); }
.amber-text { color: var(--amber); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 48px; padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  transition: transform .25s var(--ease), background .2s, box-shadow .3s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.99); }

.btn-primary { background: var(--obsidian); color: #fff; }
.btn-primary:hover { background: var(--carbon); }

.btn-accent { background: var(--amber); color: #000; font-weight: 600; }
.btn-accent:hover { background: var(--amber-hover); box-shadow: 0 8px 30px -6px rgba(245,158,11,0.55); }

.btn-outline { background: transparent; border: 1.5px solid var(--obsidian); color: var(--obsidian); }
.btn-outline:hover { background: var(--obsidian); color: #fff; }
.btn-outline.on-dark { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline.on-dark:hover { background: #fff; color: #000; border-color:#fff; }

.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; }
.btn-ghost { color: var(--slate); }
.btn-ghost:hover { color: #000; }

.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   BADGES / PILLS
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: -0.01em;
}
.badge .pdot { width: 6px; height: 6px; border-radius: 50%; flex:none; }
.badge.pending { background: var(--amber-tint); color: var(--amber-hover); }
.badge.pending .pdot { background: var(--amber); }
.badge.approved { background: var(--obsidian); color: #fff; }
.badge.approved .pdot { background: var(--green); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--cream); border: 0.5px solid var(--mist);
  border-radius: var(--radius); padding: 28px;
}
.card-white { background: var(--white); }
.card-dark {
  background: var(--obsidian); color: #fff; border-radius: var(--radius);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,247,0.8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 0.5px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--mist); }
.nav-inner {
  height: 64px; display: flex; align-items: center; gap: 32px;
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  position: relative; font-size: 14px; font-weight: 500; color: var(--slate);
  padding: 8px 12px; border-radius: 6px; transition: color .2s, background .2s;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-link:hover { color: #000; background: rgba(0,0,0,0.04); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---- hamburger + mobile menu ---- */
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 8px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex: none; transition: background .2s; }
.nav-toggle:hover { background: rgba(0,0,0,0.05); }
.nav-toggle-bar { width: 20px; height: 2px; background: var(--carbon); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--cream); border-top: 0.5px solid var(--mist);
  padding: 8px 20px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-link { font-size: 16px; font-weight: 500; color: var(--carbon); padding: 14px 4px; border-bottom: 0.5px solid var(--mist); }
.mobile-link:active { color: var(--amber-hover); }
.mobile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.mobile-actions .btn { width: 100%; }

@media (max-width: 860px){
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-toggle { display: flex; }
}

.caret { width: 9px; height: 9px; opacity: .5; transition: transform .2s; }
.has-drop:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 0.5px solid var(--mist);
  border-radius: var(--radius); padding: 8px;
  min-width: 220px; box-shadow: 0 20px 50px -12px rgba(0,0,0,0.18);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--slate);
  transition: background .15s, color .15s;
}
.drop-item:hover { background: var(--cream); color: #000; }
.drop-item .vdot { width: 7px; height: 7px; border-radius: 2px; flex:none; }

/* ---- LOGO ---- */
.logo {
  display: inline-flex; align-items: baseline; gap: 1px;
  font-size: 20px; font-weight: 700; letter-spacing: -0.04em; color: #000;
}
.logo .ldot { color: var(--amber); }
.logo.on-dark { color: #fff; }

/* ============================================================
   HERO (black)
   ============================================================ */
.hero {
  position: relative; background: var(--obsidian); color: #fff;
  overflow: hidden; padding: 120px 0 110px;
}
.hero-glow {
  position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.16), transparent 62%);
  top: -380px; right: -260px; pointer-events: none; will-change: transform;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .em { color: var(--amber); }
.hero .lead { color: var(--ash); max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
@media (max-width: 900px){
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
}

/* ---- hero visual: liquid-glass connection diagram ---- */
.diagram { position: relative; z-index: 1; }
/* iridescent aurora behind the glass so it has color to refract */
.diagram::before {
  content: ''; position: absolute; inset: -60px -40px; z-index: -1; border-radius: 40px;
  background:
    radial-gradient(40% 38% at 22% 18%, rgba(245,158,11,0.55), transparent 70%),
    radial-gradient(42% 40% at 82% 30%, rgba(56,189,248,0.30), transparent 70%),
    radial-gradient(46% 44% at 30% 84%, rgba(244,114,182,0.30), transparent 72%),
    radial-gradient(50% 46% at 78% 90%, rgba(245,158,11,0.45), transparent 72%),
    radial-gradient(60% 60% at 50% 50%, rgba(16,185,129,0.16), transparent 75%);
  filter: blur(36px) saturate(135%);
  opacity: 0.9; pointer-events: none;
  transform: translate3d(var(--ax, 0px), var(--ay, 0px), 0) scale(1.06);
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
@media (prefers-reduced-motion: no-preference){
  .diagram:not([data-track])::before { animation: aurora-drift 14s ease-in-out infinite alternate; }
}
@keyframes aurora-drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 1%, 0) scale(1.02); }
}

.node-card {
  position: relative;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px; padding: 16px 18px; color: #fff;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5),
              inset 0 1px 0 rgba(255,255,255,0.4),
              inset 0 -1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
/* iridescent sheen sweeping across the glass */
.node-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(125deg,
    rgba(255,255,255,0.18) 0%, transparent 22%,
    rgba(245,158,11,0.10) 45%, transparent 60%,
    rgba(56,189,248,0.12) 80%, transparent 100%);
  mix-blend-mode: screen; opacity: 0.9;
}
.node-card .nc-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.avatar svg { width: 20px; height: 20px; }
.avatar.rep svg { color: var(--amber); }
.avatar.con svg { color: #5eead4; }
.nc-name { font-size: 14px; font-weight: 600; }
.nc-sub { font-size: 12px; color: rgba(255,255,255,0.7); }

.escrow-node {
  margin: 14px auto; width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(245,158,11,0.92), rgba(217,119,6,0.85));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 40px -8px rgba(245,158,11,0.5), inset 0 1px 0 rgba(255,255,255,0.6);
  position: relative; z-index: 2;
}
@media (prefers-reduced-motion: no-preference){
  .escrow-node { animation: escrow-breathe 3s ease-in-out infinite; }
}
@keyframes escrow-breathe {
  0%, 100% { box-shadow: 0 14px 40px -8px rgba(245,158,11,0.45), inset 0 1px 0 rgba(255,255,255,0.6); }
  50%      { box-shadow: 0 14px 46px -6px rgba(245,158,11,0.85), 0 0 0 6px rgba(245,158,11,0.10), inset 0 1px 0 rgba(255,255,255,0.6); }
}
.connector { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
.cline { width: 2px; height: 26px; background: linear-gradient(rgba(245,158,11,0.9), transparent); }
.cline.up { background: linear-gradient(transparent, rgba(245,158,11,0.9)); }

.released-pill {
  position: relative; z-index: 1;
  margin-top: 16px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px) saturate(160%); -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { 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: flex; gap: 64px; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

.logo-chip {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600; color: var(--ash); letter-spacing: -0.02em;
  filter: grayscale(1); opacity: .65; transition: opacity .2s;
}
.logo-chip:hover { opacity: 1; }
.logo-chip .mk { width: 22px; height: 22px; border-radius: 6px; background: var(--mist); flex:none; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
}

/* ============================================================
   WEDGE
   ============================================================ */
.wedge-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 860px){ .wedge-grid { grid-template-columns: 1fr; gap: 36px; } }
.wedge-vis { display: grid; gap: 14px; }
.dep-bar {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 0.5px solid var(--mist); border-radius: 12px; padding: 16px 18px;
}
.dep-bar .nm { font-size: 14px; font-weight: 600; min-width: 130px; }
.dep-track { flex: 1; height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.dep-fill { display: block; height: 100%; border-radius: 999px; }
.dep-bar .pct { font-size: 13px; min-width: 44px; text-align: right; color: var(--stone); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--white); border: 0.5px solid var(--mist); border-radius: 999px; }
.tab {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--stone);
  transition: color .2s, background .25s var(--ease); position: relative;
}
.tab.active { color: #fff; background: var(--obsidian); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 980px){ .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .steps { grid-template-columns: 1fr; } }
.step .num {
  font-family: var(--font-mono); font-size: 40px; font-weight: 600; color: var(--amber);
  letter-spacing: -0.02em; line-height: 1; transition: color .3s;
}
.step:hover .num { color: var(--obsidian); }
.step .st-title { font-size: 16px; font-weight: 600; margin: 14px 0 6px; letter-spacing: -0.01em; }
.step .st-body { font-size: 14px; color: var(--stone); line-height: 1.5; }
.step .st-rule { height: 0.5px; background: var(--mist); margin-top: 16px; }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 920px){ .pillars { grid-template-columns: 1fr; } }
.pillar { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.pillar-body { padding: 26px 26px 28px; }
.pillar .p-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.pillar .p-body { font-size: 14px; color: var(--stone); line-height: 1.55; margin-top: 8px; }
.mock {
  background: var(--white); border-bottom: 0.5px solid var(--mist);
  padding: 22px; height: 230px; overflow: hidden; position: relative;
}

/* mini ui bits used in mockups */
.mui-row { display: flex; align-items: center; gap: 10px; padding: 10px; border: 0.5px solid var(--mist); border-radius: 10px; background: var(--cream); margin-bottom: 8px; }
.mui-row .av { width: 30px; height: 30px; border-radius: 8px; background: var(--carbon); flex:none; display:flex;align-items:center;justify-content:center;color:var(--amber);font-size:12px;font-weight:600; }
.mui-row .nm { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mui-row .sub { font-size: 11px; color: var(--stone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mui-row .rt { margin-left: auto; font-size: 12px; font-weight: 600; }
.mui-chip { font-size: 11px; font-weight: 500; padding: 4px 9px; border-radius: 999px; background: var(--cream); border: 0.5px solid var(--mist); color: var(--slate); }

/* milestone rows (escrow pillar mockup) */
.ms-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.ms-dot { width: 12px; height: 12px; border-radius: 50%; flex:none; border: 2px solid var(--mist); background: var(--white); position: relative; }
.ms-dot.done { background: var(--green); border-color: var(--green); }
.ms-dot.done::after { content:''; position:absolute; inset:0; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/8px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/8px no-repeat; }
.ms-dot.active { border-color: var(--amber); box-shadow: 0 0 0 4px var(--amber-tint); }
.ms-body { flex: 1; }
.ms-t { font-size: 13px; font-weight: 500; color: var(--carbon); }

/* ============================================================
   ESCROW (black)
   ============================================================ */
.escrow { background: var(--obsidian); color: #fff; }
.escrow .lead { color: var(--ash); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; align-items: stretch; }
@media (max-width: 920px){ .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .flow { grid-template-columns: 1fr; } }
.flow-node {
  background: var(--carbon); border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 22px; position: relative; color: #fff;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.flow-node .fi {
  width: 42px; height: 42px; border-radius: 11px; display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,0.06); color: var(--amber); margin-bottom: 16px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.flow-node .fi svg { color: inherit; }
.flow-node .ft { font-size: 15px; font-weight: 600; transition: color .3s var(--ease); }
.flow-node .fb { font-size: 13px; color: var(--ash); line-height: 1.5; margin-top: 6px; transition: color .3s var(--ease); }
.flow-node .fnum { font-family: var(--font-mono); font-size: 13px; color: var(--amber); margin-top: 12px; display:block; transition: color .3s var(--ease); }

/* amber default card */
.flow-node.is-escrow { background: var(--amber); border-color: var(--amber); color: #000; }
.flow-node.is-escrow .fi { background: rgba(0,0,0,0.12); color: #000; }
.flow-node.is-escrow .ft { color: #000; }
.flow-node.is-escrow .fb { color: rgba(0,0,0,0.68); }
.flow-node.is-escrow .fnum { color: #000; }

/* hover: black card -> amber */
.flow-node:not(.is-escrow):hover { background: var(--amber); border-color: var(--amber); }
.flow-node:not(.is-escrow):hover .fi { background: rgba(0,0,0,0.12); color: #000; }
.flow-node:not(.is-escrow):hover .ft { color: #000; }
.flow-node:not(.is-escrow):hover .fb { color: rgba(0,0,0,0.68); }
.flow-node:not(.is-escrow):hover .fnum { color: #000; }

/* hover: amber card -> black */
.flow-node.is-escrow:hover { background: var(--carbon); border-color: rgba(255,255,255,0.1); color: #fff; }
.flow-node.is-escrow:hover .fi { background: rgba(255,255,255,0.06); color: var(--amber); }
.flow-node.is-escrow:hover .ft { color: #fff; }
.flow-node.is-escrow:hover .fb { color: var(--ash); }
.flow-node.is-escrow:hover .fnum { color: var(--amber); }

.flow-arrow { position: absolute; right: -24px; top: 50%; transform: translateY(-50%); color: var(--stone); z-index: 2; }
@media (max-width: 920px){ .flow-arrow { display: none; } }

/* ============================================================
   RESULTS STRIP
   ============================================================ */
.result-card {
  position: relative; width: 360px; height: 240px; border-radius: var(--radius);
  overflow: hidden; flex: none; border: 0.5px solid var(--mist); background: var(--carbon);
}
.result-card .rc-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.78)); }
.result-card .rc-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; }
.result-card .rc-big { font-family: var(--font-mono); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.result-card .rc-sub { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 4px; }
.result-card image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ============================================================
   VERTICALS
   ============================================================ */
.verticals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 920px){ .verticals { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .verticals { grid-template-columns: 1fr; } }
.vert {
  text-align: left; padding: 24px; border-radius: var(--radius);
  border: 0.5px solid var(--mist); background: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.vert:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.14); border-color: var(--amber); }
.vert .vic { width: 44px; height: 44px; border-radius: 11px; background: var(--cream); border:0.5px solid var(--mist); display:flex;align-items:center;justify-content:center; margin-bottom: 16px; }
.vert:hover .vic { background: var(--amber-tint); border-color: transparent; }
.vert .vt { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.vert .vs { font-size: 13px; color: var(--stone); margin-top: 4px; }

/* ============================================================
   PRICING TEASER
   ============================================================ */
.pricing-band {
  background: var(--carbon); color: #fff; border-radius: 20px; padding: 56px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
@media (max-width: 860px){ .pricing-band { grid-template-columns: 1fr; padding: 36px; gap: 32px; } }
.price-hints { display: grid; gap: 12px; }
.price-hint {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,0.04); border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 18px 20px;
}
.price-hint .ph-name { font-size: 15px; font-weight: 600; }
.price-hint .ph-name .tag { font-size: 11px; font-weight: 600; color: var(--amber); margin-left: 8px; letter-spacing: 1px; }
.price-hint .ph-desc { font-size: 13px; color: var(--ash); margin-top: 4px; }
.price-hint .ph-val { font-family: var(--font-mono); font-size: 14px; color: #fff; text-align: right; flex:none; }

/* ============================================================
   DUAL CTA
   ============================================================ */
.dual { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 780px){ .dual { grid-template-columns: 1fr; } }
.dual-panel { padding: 72px 56px; position: relative; overflow: hidden; }
@media (max-width: 720px){ .dual-panel { padding: 48px 32px; } }
.dual-rep { background: var(--obsidian); color: #fff; }
.dual-con { background: var(--amber); color: #000; }
.dual-panel .dp-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.dual-rep .dp-label { color: var(--amber); }
.dual-con .dp-label { color: var(--carbon); }
.dual-panel .dp-title { font-size: clamp(26px,3vw,34px); font-weight: 600; letter-spacing: -0.02em; margin: 16px 0 28px; line-height: 1.1; max-width: 14ch; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 48px auto 0; }
.faq-item { border-bottom: 0.5px solid var(--mist); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--carbon);
}
.faq-q:hover { color: #000; }
.faq-icon { width: 22px; height: 22px; flex:none; position: relative; }
.faq-icon::before, .faq-icon::after { content:''; position:absolute; background: var(--amber); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-icon::before { left: 0; right: 0; top: 10px; height: 2px; }
.faq-icon::after { top: 0; bottom: 0; left: 10px; width: 2px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 4px 26px; font-size: 15px; color: var(--slate); line-height: 1.6; max-width: 70ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--obsidian); color: var(--ash); padding: 80px 0 40px; }
.footer a { color: var(--ash); transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
@media (max-width: 920px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px){
  .footer { padding: 56px 0 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .news { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
}
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 11px; }
.footer-brand .tag { font-size: 14px; color: var(--ash); margin-top: 14px; max-width: 24ch; }

.news { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; max-width: 340px; }
.news input {
  height: 42px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-family: inherit;
  background: var(--carbon); border: 0.5px solid #2a2a2a; color: #fff; outline: none; transition: border-color .2s;
}
.news input::placeholder { color: var(--stone); }
.news input:focus { border-color: var(--amber); }
.news .full { grid-column: 1 / -1; }
.news .btn { grid-column: 1 / -1; width: 100%; }

.footer-bottom {
  margin-top: 64px; padding-top: 28px; border-top: 0.5px solid #222;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.socials { display: flex; gap: 10px; }
.soc { width: 36px; height: 36px; border-radius: 9px; border: 0.5px solid #2a2a2a; display:flex;align-items:center;justify-content:center; transition: background .2s, border-color .2s; }
.soc:hover { background: var(--carbon); border-color: #3a3a3a; }
.soc svg { width: 17px; height: 17px; }

.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.icon-lg { width: 22px; height: 22px; }

/* ============================================================
   PRE-LAUNCH PILL (under hero)
   ============================================================ */
.prelaunch { display: flex; justify-content: center; padding: 40px 0 8px; }
.prelaunch .pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 18px; border-radius: 999px;
  background: var(--white); border: 0.5px solid var(--mist);
  font-size: 13px; font-weight: 500; color: var(--slate);
  box-shadow: 0 2px 14px -6px rgba(0,0,0,0.12);
}
.prelaunch .pill .lc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }
@media (prefers-reduced-motion: no-preference){
  .prelaunch .pill .lc-dot { animation: dot-pulse 2.4s ease-in-out infinite; }
}
@keyframes dot-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.45); }
  50%     { box-shadow: 0 0 0 5px rgba(245,158,11,0); }
}

/* ============================================================
   FRAMED SCREENSHOT SLOTS
   ============================================================ */
.shot {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  border-radius: 14px; overflow: hidden;
  border: 0.5px solid var(--mist);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.28), 0 2px 8px -2px rgba(0,0,0,0.06);
  background: var(--white);
}
.shot image-slot { width: 100%; height: 100%; display: block; }
.shot-feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.shot-feature.flip { grid-template-columns: 0.95fr 1.05fr; }
.shot-feature.flip .shot-copy { order: 2; }
.shot-feature.flip .shot { order: 1; }
@media (max-width: 860px){
  .shot-feature, .shot-feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .shot-feature.flip .shot-copy { order: 1; }
  .shot-feature.flip .shot { order: 2; }
}
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
@media (max-width: 860px){ .shot-grid { grid-template-columns: 1fr; gap: 36px; } }
.shot-copy .p-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.shot-copy .p-body { font-size: 15px; color: var(--slate); line-height: 1.55; margin-top: 10px; max-width: 46ch; }

/* ============================================================
   SAMPLE / PREVIEW TAG
   ============================================================ */
.sample-tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.4px;
  background: rgba(0,0,0,0.045); border: 0.5px solid var(--mist); color: var(--stone);
}
.sample-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ash); }
.sample-tag.corner { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--white); box-shadow: 0 2px 10px -4px rgba(0,0,0,0.18); }

/* ============================================================
   PRICING — two-column split (Reps | Contractors)
   ============================================================ */
.price-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px){ .price-split { grid-template-columns: 1fr; } }
.price-card {
  border-radius: 18px; padding: 40px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.price-card.reps { background: var(--white); border: 0.5px solid var(--mist); }
.price-card.cons { background: var(--obsidian); color: #fff; }
.price-card .pc-aud { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.price-card.reps .pc-aud { color: var(--stone); }
.price-card.cons .pc-aud { color: var(--amber); }
.price-card .pc-aud .pc-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-right: 8px; vertical-align: middle; }
.pc-price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 6px; }
.pc-was { font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; color: var(--stone); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--ash); align-self: center; }
.pc-amount { font-family: var(--font-mono); font-size: clamp(38px, 5vw, 54px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.price-card.reps .pc-amount { color: var(--carbon); }
.pc-per { font-size: 14px; color: var(--stone); font-weight: 500; }
.price-card.cons .pc-per { color: var(--ash); }
.pc-sub { font-size: 15px; line-height: 1.5; margin-top: 12px; }
.price-card.reps .pc-sub { color: var(--slate); }
.price-card.cons .pc-sub { color: var(--ash); }
.pc-list { list-style: none; margin: 26px 0 0; padding: 26px 0 0; border-top: 0.5px solid var(--mist); display: grid; gap: 13px; }
.price-card.cons .pc-list { border-top-color: rgba(255,255,255,0.12); }
.pc-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.45; }
.price-card.reps .pc-list li { color: var(--slate); }
.price-card.cons .pc-list li { color: rgba(255,255,255,0.82); }
.pc-check { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--green); }
.pc-fee-tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 14px; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--amber-tint); color: var(--amber-hover); font-size: 13px; font-weight: 600; }
.pc-fee-tag .mono { font-weight: 700; }
.price-card .btn { margin-top: 30px; }
.price-card.reps .btn { width: 100%; }
.price-card.cons .btn { width: 100%; }
.pc-intro { font-size: 12px; color: var(--ash); margin-top: 10px; }

/* pricing headline variant (no dollar figures) */
.pc-headline {
  font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.03; margin: 22px 0 0;
}
.price-card.reps .pc-headline { color: var(--carbon); }
.price-card.cons .pc-headline { color: #fff; }
.price-card.cons .pc-headline .amber-text { color: var(--amber); }
.price-card .pc-sub { margin-top: 14px; }
.price-card .btn { margin-top: auto; }
.price-card .pc-note { font-size: 13px; margin-top: 18px; }
.price-card.reps .pc-note { color: var(--stone); }
.price-card.cons .pc-note { color: var(--ash); }

/* ============================================================
   WHAT'S INSIDE — two-column feature lists
   ============================================================ */
.wi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px){ .wi-grid { grid-template-columns: 1fr; } }
.wi-card { border-radius: 18px; padding: 36px; }
.wi-card.reps { background: var(--white); border: 0.5px solid var(--mist); }
.wi-card.cons { background: var(--obsidian); color: #fff; }
.wi-head { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.wi-head .wi-aud { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.wi-card.reps .wi-head .wi-aud { color: var(--stone); }
.wi-card.cons .wi-head .wi-aud { color: var(--amber); }
.wi-head .wi-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }
.wi-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.wi-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; line-height: 1.4; padding: 14px 0;
}
.wi-card.reps .wi-list li { color: var(--slate); border-top: 0.5px solid var(--mist); }
.wi-card.cons .wi-list li { color: rgba(255,255,255,0.82); border-top: 0.5px solid rgba(255,255,255,0.1); }
.wi-list li:first-child { border-top: none; }
.wi-check { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--amber); }
.wi-card.cons .wi-check { color: var(--amber); }

/* ============================================================
   LIVE FEATURES CHIP ROW
   ============================================================ */
.live-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px 22px; margin-top: 56px;
}
.live-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--stone); font-weight: 500;
}
.live-chip .lc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 3px rgba(16,185,129,0.14); }
.live-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--mist); }
@media (max-width: 560px){ .live-sep { display: none; } }

/* ============================================================
   APP FEATURE ROW (Dashboard + Earnings, 2-up)
   ============================================================ */
.pillars-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
@media (max-width: 920px){ .pillars-2 { grid-template-columns: 1fr; } }
.pillars-2 .mock { height: 270px; }

/* goal ring */
.dash-top { display: flex; gap: 16px; align-items: stretch; margin-bottom: 12px; }
.goal-ring { position: relative; width: 92px; height: 92px; flex: none; }
.goal-ring svg { transform: rotate(-90deg); }
.goal-ring .gr-track { stroke: var(--mist); }
.goal-ring .gr-fill { stroke: var(--amber); stroke-linecap: round; }
.goal-ring .gr-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.goal-ring .gr-pct { font-family: var(--font-mono); font-size: 19px; font-weight: 600; line-height: 1; }
.goal-ring .gr-cap { font-size: 9px; letter-spacing: 1px; color: var(--stone); text-transform: uppercase; margin-top: 3px; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.dash-stat { border: 0.5px solid var(--mist); border-radius: 10px; padding: 10px 12px; background: var(--cream); }
.dash-stat .ds-cap { font-size: 10px; letter-spacing: .8px; color: var(--stone); text-transform: uppercase; }
.dash-stat .ds-val { font-family: var(--font-mono); font-size: 16px; font-weight: 600; margin-top: 4px; }
.pipe { display: flex; gap: 4px; height: 8px; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.pipe span { display: block; }

/* earnings chart */
.earn-chips { display: flex; gap: 6px; margin-bottom: 14px; }
.chart-box { position: relative; height: 150px; border: 0.5px solid var(--mist); border-radius: 10px; background: var(--cream); padding: 6px; overflow: hidden; }
.chart-box svg { display: block; width: 100%; height: 100%; }

/* ============================================================
   LEADERBOARD
   ============================================================ */
.lb-wrap { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
@media (max-width: 900px){ .lb-wrap { grid-template-columns: 1fr; gap: 40px; } }

.podium { display: flex; align-items: flex-end; gap: 14px; }
.pod { flex: 1; display: flex; flex-direction: column; }
.pod-card {
  background: var(--white); border: 0.5px solid var(--mist);
  border-radius: 12px 12px 0 0; border-bottom: none; padding: 18px 10px 14px; text-align: center;
}
.pod-av { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; }
.pod-name { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.pod-deals { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--slate); margin-top: 3px; }
.pod-deals span { color: var(--stone); font-weight: 400; }
.pod-step { border-radius: 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 9px; font-family: var(--font-mono); font-weight: 700; font-size: 19px; }
.pod-1 .pod-card { box-shadow: 0 16px 40px -18px rgba(245,158,11,0.5); }
.pod-1 .pod-av { background: linear-gradient(150deg,#F8D26B,#E0A92E); color: #3a2c00; }
.pod-1 .pod-step { height: 86px; background: linear-gradient(180deg,#F5C451,#E0A92E); color: #3a2c00; }
.pod-2 .pod-av { background: linear-gradient(150deg,#E4E4E4,#C2C2C2); color: #333; }
.pod-2 .pod-step { height: 62px; background: linear-gradient(180deg,#DCDCDC,#BFBFBF); color: #333; }
.pod-3 .pod-av { background: linear-gradient(150deg,#E7B488,#CB8C56); color: #3a2200; }
.pod-3 .pod-step { height: 46px; background: linear-gradient(180deg,#E2A877,#CB8C56); color: #3a2200; }

.lb-list { margin-top: 14px; display: grid; gap: 8px; }
.lb-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 0.5px solid var(--mist);
  border-radius: 10px; padding: 11px 16px;
}
.lb-rank { font-family: var(--font-mono); font-weight: 600; font-size: 14px; color: var(--stone); width: 30px; flex: none; }
.lb-av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; background: var(--cream); border: 0.5px solid var(--mist); color: var(--slate); }
.lb-name { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.lb-deals { margin-left: auto; font-family: var(--font-mono); font-size: 14px; font-weight: 600; }
.lb-deals span { color: var(--stone); font-weight: 400; font-size: 12px; }
.lb-trend { font-family: var(--font-mono); font-size: 12px; font-weight: 600; width: 40px; text-align: right; flex: none; }
.lb-trend.up { color: var(--green); }
.lb-trend.flat { color: var(--ash); }
.lb-row.you { border-color: var(--amber); background: var(--amber-tint); }
.lb-row.you .lb-rank { color: var(--amber-hover); }
.lb-row.you .lb-av { background: var(--obsidian); color: var(--amber); border-color: var(--obsidian); }
.lb-you-tag { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--amber-hover); margin-left: 8px; }
