/* ============================================================
   PROTOLAP -- Landing styles  v2
   Sharp, flat, editorial. No rounded corners. No gradients.
   ============================================================ */

:root {
  --ink-900: #080b12;     /* near black navy (dark sections) */
  --ink-850: #0a0e17;
  --ink-800: #0e131f;
  --ink-700: #141b2a;
  --line-dk: #1c2433;     /* hairline on dark */
  --line-dk-2: #283449;

  --paper:    #f3f4f0;    /* flat warm off-white */
  --paper-2:  #ebece7;
  --white:    #ffffff;
  --line-lt:  #e0e2dc;    /* hairline on light */
  --line-lt-2:#d3d5cd;

  --slate-300:#cbd5e1;
  --slate-400:#94a3b8;
  --slate-500:#64748b;
  --slate-600:#475569;
  --slate-700:#334155;
  --slate-800:#1e293b;
  --slate-900:#0f172a;

  /* single flat accent */
  --cyan:   #16d6e8;
  --cyan-dk:#0bb6c6;
  --ink-on-cyan: #07252a;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-headline: "Archivo", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

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

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--slate-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: var(--cyan); color: var(--ink-on-cyan); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 32px; }

/* ---------- Buttons (square, flat) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; cursor: pointer;
  border: 1px solid transparent; transition: all .2s var(--ease);
  white-space: nowrap; letter-spacing: -0.01em; border-radius: 0;
}
.btn-primary { background: var(--cyan); color: var(--ink-on-cyan); border-color: var(--cyan); }
.btn-primary:hover { background: transparent; color: var(--cyan); }
.btn-ghost-dk { background: transparent; color: #fff; border-color: var(--line-dk-2); }
.btn-ghost-dk:hover { border-color: #fff; }
.btn-ghost-lt { background: var(--white); color: var(--slate-900); border-color: var(--line-lt-2); }
.btn-ghost-lt:hover { border-color: var(--slate-900); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Eyebrow / mono labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.dot-live { width: 7px; height: 7px; background: var(--cyan); position: relative; }
.dot-live::after { content:""; position:absolute; inset:0; border:1px solid var(--cyan); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity:.9 } 100% { transform: scale(2.4); opacity:0 } }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s var(--ease), border-color .3s; border-bottom: 1px solid transparent; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav.scrolled { background: rgba(8,11,18,.85); backdrop-filter: blur(14px); border-bottom-color: var(--line-dk); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: #fff; letter-spacing: -0.02em; }
.brand .mark { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(226,232,240,.7); font-size: 14.5px; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; right:100%; bottom:-6px; height:1px; background: var(--cyan); transition: right .25s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .signin { color: rgba(226,232,240,.8); font-size: 14.5px; font-weight: 500; }
.nav-cta .signin:hover { color: #fff; }
@media (max-width: 880px){ .nav-links { display:none; } }

/* ============================================================
   HERO (dark, flat)
   ============================================================ */
.hero { position: relative; background: var(--ink-900); color: #fff; overflow: hidden; padding-top: 70px; border-bottom: 1px solid var(--line-dk); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dk) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dk) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .5;
}
/* flat accent corner block */
.hero-accent { position:absolute; top:0; right:0; width: 8px; height: 220px; background: var(--cyan); opacity:.9; }

.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { color: var(--cyan); margin-bottom: 30px; }
.hero h1 { font-family: var(--font-headline); font-weight: 800; font-stretch: 118%; letter-spacing: -0.025em; line-height: 1.0; }
.hero h1 .grad { color: var(--cyan); }
.hero .sub { color: rgba(203,213,225,.82); font-size: 19px; line-height: 1.55; max-width: 540px; }
@media (max-width:600px){ .hero .sub { font-size: 17px; } }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust { display:flex; align-items:center; gap: 22px; flex-wrap: wrap; color: var(--slate-400); font-family: var(--font-mono); font-size: 12.5px; }
.hero-trust .i { display:flex; align-items:center; gap:8px; }
.hero-trust svg { color: var(--cyan); }

/* entrance */
.reveal-word { display:inline-block; opacity:0; transform: translateY(24px); }
.hero[data-anim="in"] .reveal-word { animation: wordIn .7s var(--ease) forwards; }
@keyframes wordIn { to { opacity:1; transform: translateY(0); } }
.fade-up { opacity:0; transform: translateY(18px); }
.hero[data-anim="in"] .fade-up { animation: fadeUp .8s var(--ease) forwards; }
@keyframes fadeUp { to { opacity:1; transform: translateY(0); } }
.hero.force-show .reveal-word, .hero.force-show .fade-up { opacity:1 !important; transform:none !important; animation:none !important; }

/* === Split hero === */
#hero-2 { padding: 118px 0 104px; }
.hero-split { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
#hero-2 h1 { font-size: clamp(40px, 5.4vw, 70px); margin-bottom: 26px; }
#hero-2 .sub { margin-bottom: 34px; }
#hero-2 .hero-actions { margin-bottom: 30px; }
@media (max-width: 940px){ .hero-split { grid-template-columns: 1fr; gap: 44px; } }

.cap-index { border-top: 1px solid var(--line-dk); }
.cap-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: baseline; gap: 18px; padding: 20px 4px; border-bottom: 1px solid var(--line-dk); transition: padding-left .25s var(--ease), background .25s; }
.cap-row:hover { padding-left: 14px; background: rgba(22,214,232,.04); }
.cap-row .n { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); }
.cap-row .ttl { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing:-0.02em; color: #fff; }
.cap-row .meta { font-family: var(--font-mono); font-size: 12px; color: var(--slate-500); }

/* ============================================================
   SECTIONS (light, flat)
   ============================================================ */
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-dk); font-weight: 600; margin-bottom: 20px; display: inline-flex; align-items:center; gap:10px; }
.kicker::before { content:""; width: 26px; height: 1px; background: var(--cyan-dk); display:inline-block; }
.section h2 { font-family: var(--font-headline); font-weight: 800; font-stretch: 118%; font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -0.025em; line-height: 1.04; color: var(--slate-900); }
.section h2 .muted { color: var(--slate-400); }
.section .lede { font-size: 19px; color: var(--slate-600); margin-top: 22px; line-height: 1.6; max-width: 620px; }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"]{ transition-delay: .07s } [data-reveal-delay="2"]{ transition-delay: .14s }
[data-reveal-delay="3"]{ transition-delay: .21s } [data-reveal-delay="4"]{ transition-delay: .28s }
[data-reveal-delay="5"]{ transition-delay: .35s }

/* hairline rule that draws in */
.rule { height: 1px; background: var(--line-lt); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.rule.in { transform: scaleX(1); }

/* ============================================================
   FEATURES -- bordered spec grid (flat, square)
   ============================================================ */
.feat-grid { border: 1px solid var(--line-lt); border-bottom: none; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); }
.feat { padding: 40px 34px 44px; border-bottom: 1px solid var(--line-lt); border-right: 1px solid var(--line-lt); position: relative; transition: background .25s var(--ease); }
.feat:nth-child(3n) { border-right: none; }
.feat:hover { background: var(--paper); }
.feat .n { font-family: var(--font-mono); font-size: 12.5px; color: var(--cyan-dk); letter-spacing:.05em; }
.feat-ic { width: 42px; height: 42px; border: 1px solid var(--line-lt-2); display: grid; place-items: center; margin: 22px 0 22px; color: var(--slate-900); }
.feat h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--slate-900); margin-bottom: 11px; }
.feat p { color: var(--slate-600); font-size: 15.5px; line-height: 1.62; max-width: 34ch; }
.feat .mono-em { font-family: var(--font-mono); font-size: 13.5px; color: var(--cyan-dk); }

/* accent CTA cell */
.feat.accent { background: var(--cyan); color: var(--ink-on-cyan); display:flex; flex-direction: column; justify-content: space-between; }
.feat.accent:hover { background: var(--cyan); }
.feat.accent .n { color: var(--ink-on-cyan); opacity:.6; }
.feat.accent h3 { color: var(--ink-on-cyan); font-size: 28px; line-height:1.1; margin-top: 18px; }
.feat.accent .go { display:inline-flex; align-items:center; gap:10px; font-weight:600; font-size:15px; margin-top: 20px; }
.feat.accent .go .arr { transition: transform .2s var(--ease); }
.feat.accent:hover .go .arr { transform: translateX(5px); }
@media (max-width: 900px){ .feat-grid { grid-template-columns: 1fr 1fr; } .feat:nth-child(3n){ border-right:1px solid var(--line-lt);} .feat:nth-child(2n){ border-right:none; } }
@media (max-width: 600px){ .feat-grid { grid-template-columns: 1fr; } .feat { border-right:none !important; } }

/* ============================================================
   PROVIDERS -- flat marquee
   ============================================================ */
.providers { background: var(--paper-2); border-top: 1px solid var(--line-lt); border-bottom: 1px solid var(--line-lt); padding: 66px 0; }
.providers .lbl { text-align:center; font-family: var(--font-mono); font-size: 12.5px; letter-spacing:.1em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 34px; }
.marquee { overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marq 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.prov { display: flex; align-items: center; gap: 13px; color: var(--slate-700); font-family: var(--font-display); font-weight: 600; font-size: 23px; letter-spacing: -0.02em; }
.prov .pm { width: 27px; height: 27px; }

/* ============================================================
   CTA + FOOTER (dark, flat)
   ============================================================ */
.cta { background: var(--ink-900); color: #fff; position: relative; overflow: hidden; padding: 130px 0 0; border-top: 1px solid var(--line-dk); }
.cta .hero-bg { z-index: 0; }
.cta-inner { position: relative; z-index: 2; text-align: center; }
.cta h2 { font-family: var(--font-headline); font-weight: 800; font-stretch: 118%; font-size: clamp(40px, 6.4vw, 80px); letter-spacing: -0.03em; line-height: 1.0; margin-bottom: 24px; }
.cta h2 .grad { color: var(--cyan); }
.cta .sub { color: rgba(203,213,225,.78); font-size: 20px; max-width: 560px; margin: 0 auto 40px; }
.cta-actions { display:flex; gap: 14px; justify-content:center; flex-wrap: wrap; margin-bottom: 30px; }
.cta-key { font-family: var(--font-mono); font-size: 13px; color: var(--slate-400); display:inline-flex; align-items:center; gap: 12px; border: 1px solid var(--line-dk-2); padding: 11px 16px; }
.cta-key b { color: var(--cyan); font-weight: 500; }
.copy-btn { cursor:pointer; color: var(--slate-500); transition: color .2s; background:none; border:none; font-family: var(--font-mono); font-size: 12px; padding:0; }
.copy-btn:hover { color:#fff; }

.footer { position: relative; z-index: 2; margin-top: 104px; border-top: 1px solid var(--line-dk); padding: 54px 0 44px; }
.footer-grid { display:flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer .brand { margin-bottom: 18px; }
.footer-tag { color: var(--slate-500); font-size: 14px; max-width: 300px; line-height: 1.6; }
.footer-cols { display:flex; gap: 72px; flex-wrap: wrap; }
.fcol h5 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing:.08em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 18px; font-weight: 500; }
.fcol a { display:block; color: var(--slate-400); font-size: 14.5px; margin-bottom: 12px; transition: color .2s; }
.fcol a:hover { color: #fff; }
.footer-bottom { display:flex; justify-content: space-between; align-items:center; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-dk); color: var(--slate-500); font-size: 13px; flex-wrap: wrap; gap: 12px; font-family: var(--font-mono); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], .rule { opacity: 1 !important; transform: none !important; }
  .reveal-word, .fade-up { opacity: 1 !important; transform: none !important; }
}
