/* Shared design system for the beta sub-pages (/features, /privacy, /terms,
   /disclaimer). The landing page keeps its own inline CSS untouched. */
:root{
  color-scheme:dark;
  --bg:#050b13;--panel:#0b1522;--line:#1c3046;--text:#f1f5f9;--muted:#9aaabd;
  --blue:#6172ff;--teal:#55d6c8;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;border:0}
body{
  margin:0;min-height:100vh;overflow-x:hidden;
  background:
    radial-gradient(circle at 82% 8%,rgba(37,89,188,.17),transparent 34%),
    radial-gradient(circle at 8% 62%,rgba(97,114,255,.08),transparent 38%),
    linear-gradient(180deg,#050b13,#07101a 70%,#050b13);
  color:var(--text);
  font-family:Manrope,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  display:flex;flex-direction:column;
}
a{color:inherit;text-decoration:none}
.shell{width:min(1400px,calc(100% - 72px));margin-inline:auto}
:is(a,button):focus-visible{outline:2px solid #9fb0ff;outline-offset:3px;border-radius:6px}

/* header */
.nav{height:88px;display:flex;align-items:center;justify-content:space-between;gap:28px;position:relative;z-index:5}
.brand{display:inline-flex;align-items:center}
.brand img{display:block;width:auto;height:48px;max-width:210px;object-fit:contain;object-position:left center}
.nav-links{display:flex;align-items:center;gap:34px;font-size:.9rem;font-weight:600;color:#dce5ee}
.nav-links a{white-space:nowrap;transition:color .15s ease}
.nav-links a:hover{color:#fff}
.nav-links a.active{color:#fff}
.nav-cta{
  padding:12px 22px;border:1px solid #5068ff;border-radius:8px;
  background:linear-gradient(135deg,#202a79,#161e64);
  box-shadow:0 8px 24px rgba(43,73,255,.18);
}
.nav-cta:hover{filter:brightness(1.12)}

main{flex:1}

/* Text safety: never split words, never hyphenate, never clip. */
.doc, .feature-card, .page-hero{word-break:normal;overflow-wrap:break-word;hyphens:none}
.nb{white-space:nowrap}

/* page hero */
.page-hero{padding:34px 0 8px}
.page-hero h1{font-size:clamp(2rem,3.4vw,2.9rem);line-height:1.16;letter-spacing:-.04em;margin:0;font-weight:800;color:#fff}
.page-hero p{color:#c4ced9;line-height:1.75;margin:18px 0 0;font-size:1.04rem;max-width:680px}
/* The lead sentence is kept on a single line at desktop widths; it falls back
   to normal wrapping below 900px rather than shrinking the type. The line is
   747px wide at 1rem, so it fits every desktop width down to that breakpoint. */
.page-hero .page-lead{max-width:none;white-space:nowrap}
.page-hero .updated{color:#8496aa;font-size:.82rem;margin-top:14px}

/* legal document */
/* Legal copy sits directly on the page background — no outer card. */
.doc{max-width:960px;margin:30px 0 0}
.doc .lede{color:#cbd6e2;font-size:1rem;line-height:1.85;margin:0 0 30px;max-width:900px}
.doc section{padding-top:30px;margin-top:30px;border-top:1px solid rgba(64,88,116,.26)}
.doc section:first-of-type{padding-top:0;margin-top:0;border-top:0}
.doc h2{
  font-size:1.1rem;font-weight:700;color:#e8f0f8;margin:0 0 12px;letter-spacing:-.01em;
  display:flex;align-items:baseline;gap:10px;
}
.doc h2 .num{color:#7183ff;font-size:.86rem;font-weight:700;flex:none}
.doc p{color:#b3c0ce;font-size:.95rem;line-height:1.85;margin:0;max-width:900px}
.doc p + p,
.doc ul + p{margin-top:14px}
.doc ul{margin:12px 0 0;padding-left:20px;color:#b3c0ce;font-size:.95rem;line-height:1.85;max-width:900px}
.doc li{margin-top:4px}
.doc a{color:#a9b8ff;text-decoration:underline;text-underline-offset:2px}
.doc a:hover{color:#cdd7ff}
.doc strong{color:#e2eaf3}

/* features page */
.feature-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:36px 0 0;max-width:1160px}
.feature-card{
  border:1px solid #1b3048;border-radius:14px;
  background:linear-gradient(180deg,rgba(12,24,39,.93),rgba(8,17,29,.9));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018),0 18px 42px rgba(0,0,0,.12);
  padding:26px 26px 28px;
}
.feature-card .icon{
  width:40px;height:40px;border-radius:10px;display:grid;place-items:center;
  border:1px solid #263b56;background:#0d1826;color:#8b91ff;
  margin-bottom:16px;filter:drop-shadow(0 0 8px rgba(103,113,244,.14));
}
.feature-card h3{font-size:1.06rem;margin:0;letter-spacing:-.01em;text-wrap:balance}
.feature-card .benefit{color:#8ea0ff;font-size:.85rem;font-weight:650;margin:7px 0 0}
.feature-card p.what{color:#a6b3c2;font-size:.88rem;line-height:1.75;margin:12px 0 0}

.section-label{
  margin:44px 0 0;color:#8496aa;font-size:.76rem;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;
}

/* closing CTA — a single button, no promotional card */
.cta-simple{margin:48px 0 0;max-width:1160px;display:flex;justify-content:center}
.cta-simple .button{
  display:inline-flex;align-items:center;justify-content:center;
  height:52px;line-height:1;padding:0 34px;border-radius:9px;
  background:linear-gradient(90deg,#4658f5,#5d6cff);color:#fff;
  font:600 1rem Manrope,ui-sans-serif,system-ui,sans-serif;
  box-shadow:0 8px 24px rgba(70,88,245,.27);
  transition:transform .15s ease,filter .15s ease;
}
.cta-simple .button:hover{transform:translateY(-1px);filter:brightness(1.07)}

/* footer — matches the landing page */
footer{margin-top:64px;border-top:1px solid #142438;background:rgba(3,9,16,.4);padding:26px 0 20px}
.footer-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:32px 48px;flex-wrap:wrap}
.footer-logo{display:block;width:auto;height:34px;max-width:150px;object-fit:contain;object-position:left center}
.footer-copy{color:#9baaba;font-size:.79rem;line-height:1.6;max-width:420px;margin:10px 0 0}
.footer-links{display:grid;gap:27px;padding-top:21px;justify-items:end;text-align:right}
.footer-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:.78rem}
.footer-row a{color:#9aaabd;transition:color .15s ease}
.footer-row a:hover{color:#eef3f7}
.footer-row span{color:#4d6786}
.footer-social{font-size:.82rem}
.footer-social a{color:#d3dde7;font-weight:600}
.footer-legal{font-size:.76rem}
.footer-legal a{color:#8697aa}
.footer-bottom{
  display:flex;align-items:baseline;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;
  border-top:1px solid #142438;margin-top:22px;padding-top:16px;
  color:#748597;font-size:.72rem;line-height:1.5;
}

@media(max-width:900px){
  .page-hero .page-lead{white-space:normal;max-width:680px}
  /* Fluid content with real gutters: 24px sides here, tightening on narrower
     phones. Nothing is fixed-width — .doc and its children keep only
     max-widths, so they simply fill the available column. */
  .shell{width:min(calc(100% - 48px),1400px)}
  .nav-links a:not(.nav-cta){display:none}
  .feature-list{grid-template-columns:1fr}
  .footer-inner{gap:24px}
  .footer-links{justify-items:start;text-align:left;gap:14px;padding-top:0}

  .doc{max-width:none;margin-top:24px}
  .doc .lede,
  .doc p,
  .doc ul{max-width:none}
  /* Only links get aggressive breaking — a long email or URL is the one thing
     that can genuinely exceed a narrow column. Ordinary prose keeps normal
     word breaking. */
  .doc a{overflow-wrap:anywhere}
  .doc h2{align-items:flex-start}
}

/* Phones: keep the header inside the viewport (logo + CTA otherwise overflow
   at 320px) and ease the display sizes without shrinking body copy. */
@media(max-width:560px){
  .shell{width:min(calc(100% - 40px),1400px)}
  .nav{height:74px;gap:12px}
  .brand img{height:36px;max-width:146px}
  .nav-cta{padding:10px 14px;font-size:.82rem}
  .page-hero{padding-top:26px}
  .page-hero h1{font-size:clamp(1.65rem,7vw,2rem)}
  .page-hero p{font-size:1rem}
  .doc section{padding-top:26px;margin-top:26px}
  .doc h2{font-size:1.02rem}
}

@media(max-width:380px){
  .shell{width:min(calc(100% - 32px),1400px)}
  .brand img{height:31px;max-width:126px}
  .nav-cta{padding:9px 11px;font-size:.75rem}
  .doc ul{padding-left:18px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .cta-simple .button{transition:none}
  .cta-simple .button:hover{transform:none}
}
