:root {
  color-scheme: dark;
  --ink:#0a0b0f; --panel:#111219; --paper:#f5f4f1; --muted:#9599a8; --faint:#6b7080;
  --line:rgba(255,255,255,.1); --violet:#8b7cf6; --violet-2:#a99bff; --live:#5ad19a;
  --pad:clamp(20px,4vw,44px); --maxw:1120px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
* { box-sizing:border-box; }
[hidden] { display:none!important; }
html,body { height:100%; }
body { margin:0; min-height:100vh; display:flex; flex-direction:column; background:var(--ink); color:var(--paper); line-height:1.55; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
a { color:inherit; }
button,input,select { font:inherit; }

.glow { position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(48% 42% at 50% 16%, rgba(139,124,246,.20), transparent 60%),
    radial-gradient(40% 40% at 84% 92%, rgba(255,150,90,.08), transparent 60%),
    radial-gradient(40% 40% at 10% 96%, rgba(90,160,255,.08), transparent 60%),
    var(--ink); }

/* ---- Top bar ---- */
.topbar { position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; max-width:var(--maxw); margin:0 auto; padding:22px var(--pad); }
.wordmark { font-weight:800; font-size:19px; letter-spacing:-.02em; text-decoration:none; }
.wordmark span { color:var(--violet); }
.topbar-actions { display:flex; align-items:center; gap:18px; }
.pill { display:inline-flex; align-items:center; gap:8px; padding:6px 12px; border:1px solid var(--line); border-radius:999px; font:600 11px/1 "DM Mono",ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; color:#c9ccd6; }
.pill i { width:6px; height:6px; border-radius:50%; background:var(--live); box-shadow:0 0 0 0 rgba(90,209,154,.5); animation:beat 2.6s ease-out infinite; }
.login-button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 18px; border:1px solid rgba(255,255,255,.72); border-radius:11px; background:var(--paper); color:#14151c; font-size:14px; font-weight:750; text-decoration:none; box-shadow:0 8px 24px rgba(0,0,0,.24); transition:transform .16s ease, background .2s ease, box-shadow .2s ease; }
.login-button:hover { transform:translateY(-1px); background:#fff; box-shadow:0 10px 28px rgba(0,0,0,.34); }
.login-button:focus-visible { outline:3px solid rgba(169,155,255,.45); outline-offset:3px; }
.ghost { font-size:13.5px; color:#cfd2db; text-decoration:none; padding-bottom:2px; border-bottom:1px solid transparent; transition:border-color .2s ease; }
.ghost:hover { border-color:var(--violet); }

/* ---- Shared bits ---- */
.stage { position:relative; z-index:1; flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; width:100%; max-width:var(--maxw); margin:0 auto; padding:40px var(--pad) 56px; }
.owl { position:relative; width:120px; height:120px; animation:float 6s ease-in-out infinite; }
.owl::before { content:''; position:absolute; inset:-16%; border-radius:50%; z-index:-1; background:conic-gradient(from 210deg,#5aa0ff,#8b7cf6,#ff8a5a,#8b7cf6,#5aa0ff); filter:blur(24px); opacity:.5; animation:spin 20s linear infinite; }
.owl img { width:100%; height:100%; border-radius:50%; display:block; box-shadow:0 20px 50px rgba(0,0,0,.5); }
.owl .live { position:absolute; right:8px; bottom:8px; width:16px; height:16px; border-radius:50%; background:var(--live); border:3px solid var(--ink); box-shadow:0 0 12px rgba(90,209,154,.6); }
.owl-sm { width:72px; height:72px; margin:0 auto; }
.owl-sm .live { width:11px; height:11px; right:3px; bottom:3px; border-width:2px; }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; height:52px; padding:0 24px; border:1px solid var(--line); border-radius:13px; background:transparent; color:#fff; font-size:15px; font-weight:600; text-decoration:none; cursor:pointer; white-space:nowrap; transition:transform .16s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.btn span { transition:transform .2s ease; }
.btn:hover span { transform:translateX(4px); }
.btn-primary { background:var(--paper); color:#14151c; border-color:var(--paper); box-shadow:0 8px 24px rgba(0,0,0,.28); }
.btn-primary:hover { transform:translateY(-1px); background:#fff; }
.btn-primary:disabled { opacity:.6; transform:none; cursor:default; }
.btn-block { width:100%; }

.consent { display:inline-flex; align-items:flex-start; gap:10px; max-width:44ch; color:#9297a8; font-size:12.5px; line-height:1.5; text-align:left; cursor:pointer; }
.consent input { appearance:none; flex:0 0 auto; width:17px; height:17px; margin:1px 0 0; border:1px solid #565c70; border-radius:5px; background:transparent; cursor:pointer; transition:background .15s ease, border-color .15s ease; }
.consent input:checked { background:var(--violet); border-color:var(--violet); box-shadow:inset 0 0 0 3px var(--ink); }
.status { min-height:18px; margin:0; font:400 13px/1.5 "DM Mono",ui-monospace,monospace; color:#8f94a4; }
.status.error { color:#ff9385; }
.status.success { color:#87e6b6; }
.trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }

/* ---- Teaser hero ---- */
.headline { margin:32px 0 0; font-size:clamp(52px,9.5vw,104px); font-weight:800; letter-spacing:-.045em; line-height:1; }
.headline span { color:var(--violet); }
.lede { margin:22px 0 0; max-width:18ch; font-size:clamp(23px,3.4vw,36px); font-weight:600; letter-spacing:-.02em; line-height:1.15; color:#ecebf1; }
.support { margin:16px 0 0; max-width:52ch; font-size:16.5px; line-height:1.6; color:var(--muted); }
.support strong { color:#d9dbe3; font-weight:700; }
.purpose { width:100%; margin:46px 0 4px; text-align:left; }
.purpose-head { max-width:650px; margin:0 auto 20px; text-align:center; }
.purpose-kicker { margin:0 0 8px; color:var(--violet-2); font:700 10.5px/1.3 "DM Mono",ui-monospace,monospace; letter-spacing:.16em; text-transform:uppercase; }
.purpose h2 { margin:0; color:#fff; font-size:clamp(24px,3.4vw,36px); line-height:1.12; letter-spacing:-.025em; }
.purpose-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.purpose-grid article { min-height:190px; padding:24px; border:1px solid var(--line); border-radius:18px; background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.022)); }
.purpose-grid article > span { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:rgba(139,124,246,.13); color:var(--violet-2); font:700 10px/1 "DM Mono",ui-monospace,monospace; }
.purpose-grid h3 { margin:22px 0 8px; font-size:19px; letter-spacing:-.015em; }
.purpose-grid p { margin:0; color:#aeb2c0; font-size:14px; line-height:1.65; }
.google-purpose { display:grid; grid-template-columns:minmax(240px,.7fr) minmax(320px,1.3fr); align-items:center; gap:32px; margin-top:12px; padding:24px; border:1px solid rgba(139,124,246,.3); border-radius:18px; background:rgba(139,124,246,.075); }
.google-purpose h2 { font-size:22px; }
.google-purpose div > a { display:inline-block; margin-top:12px; }
.google-purpose > p { margin:0; color:#c1c4cf; font-size:14px; line-height:1.65; }
.google-purpose a { color:#fff; font-size:13px; font-weight:750; line-height:1.4; text-decoration:none; }
.google-purpose a span { display:inline-block; transition:transform .2s ease; }
.google-purpose a:hover { color:var(--violet-2); }
.google-purpose a:hover span { transform:translateX(4px); }
.join { margin-top:38px; width:min(600px,100%); display:flex; flex-direction:column; align-items:center; gap:16px; }
.join-row { display:flex; gap:10px; width:100%; }
.join input[type=email], .join select { height:52px; padding:0 16px; border:1px solid var(--line); border-radius:13px; background:rgba(255,255,255,.04); color:#fff; font-size:15px; transition:border-color .2s ease, background .2s ease; }
.join input[type=email] { flex:1; min-width:0; }
.join select { flex:0 0 auto; width:136px; color:#dfe0ea; }
.join select option { background:#14151c; color:#f5f4f1; }
.join input::placeholder { color:#6b7080; }
.join input:focus, .join select:focus { outline:0; border-color:var(--violet); background:rgba(139,124,246,.08); }
.existing-user { margin:0; color:#aeb2c0; font-size:13.5px; }
.existing-user a { color:#fff; font-weight:700; text-underline-offset:4px; }
.existing-user a:hover { color:var(--violet-2); }

/* ---- Public policy pages ---- */
.launch-nav { position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:18px; width:100%; max-width:900px; margin:0 auto; padding:24px var(--pad); }
.back-link { color:#b7bac6; font-size:13px; font-weight:650; text-decoration:none; }
.back-link:hover { color:#fff; }
.legal-page { position:relative; z-index:1; flex:1; width:100%; padding:32px var(--pad) 72px; }
.legal-copy { width:min(760px,100%); margin:0 auto; padding:clamp(26px,5vw,54px); border:1px solid var(--line); border-radius:22px; background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02)); box-shadow:0 30px 80px rgba(0,0,0,.3); }
.legal-copy .kicker { margin:0 0 12px; color:var(--violet-2); font:700 10.5px/1.3 "DM Mono",ui-monospace,monospace; letter-spacing:.16em; }
.legal-copy h1 { margin:0 0 24px; font-size:clamp(34px,6vw,54px); line-height:1.04; letter-spacing:-.04em; }
.legal-copy h2 { margin:32px 0 8px; font-size:20px; letter-spacing:-.015em; }
.legal-copy p { margin:0 0 16px; color:#b9bdc9; font-size:15px; line-height:1.75; }
.legal-copy a { color:var(--violet-2); }

/* ---- Sign-in card ---- */
.card { width:min(440px,100%); padding:clamp(30px,5vw,44px); border:1px solid var(--line); border-radius:22px; background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); box-shadow:0 30px 80px rgba(0,0,0,.45); text-align:center; }
.eyebrow { margin:20px 0 0; font:600 11px/1 "DM Mono",ui-monospace,monospace; letter-spacing:.2em; text-transform:uppercase; color:var(--violet-2); }
.card-title { margin:12px 0 0; font-size:clamp(32px,5vw,42px); font-weight:800; letter-spacing:-.03em; }
.card-sub { margin:10px 0 26px; color:var(--muted); font-size:15px; }
.card form { display:grid; gap:16px; text-align:left; }
.field { display:grid; gap:8px; }
.field label { font:600 10.5px/1 "DM Mono",ui-monospace,monospace; letter-spacing:.12em; text-transform:uppercase; color:#a2a7b6; }
.field input { height:50px; padding:0 15px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.04); color:#fff; font-size:15px; transition:border-color .2s ease, background .2s ease; }
.field input::placeholder { color:#5c6172; }
.field input:focus { outline:0; border-color:var(--violet); background:rgba(139,124,246,.08); }
.card .btn { margin-top:4px; }
.card .status { margin-top:16px; text-align:center; }
.card-link { margin:15px auto 0; padding:2px; border:0; background:transparent; color:var(--violet-2); font-size:13.5px; font-weight:650; cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
.card-link:hover { color:#fff; }
.card form[hidden] { display:none; }
.card-foot { margin:22px 0 0; font-size:13.5px; color:var(--faint); }
.card-foot a { color:var(--violet-2); text-decoration:none; }
.card-foot a:hover { text-decoration:underline; text-underline-offset:3px; }

/* ---- Footer ---- */
.foot { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; max-width:var(--maxw); margin:0 auto; padding:22px var(--pad); font:400 12px/1.4 "DM Mono",ui-monospace,monospace; color:var(--faint); }
.foot nav { display:flex; gap:18px; }
.foot a { color:#8a8fa1; text-decoration:none; }
.foot a:hover { color:#fff; }

@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-9px); } }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes beat { 0% { box-shadow:0 0 0 0 rgba(90,209,154,.5); } 70%,100% { box-shadow:0 0 0 8px transparent; } }

@media (max-width:560px) {
  .topbar { padding-top:16px; padding-bottom:16px; }
  .join-row { flex-wrap:wrap; }
  .join input[type=email] { flex:1 1 100%; }
  .join select { flex:1 1 42%; width:auto; }
  .join .btn { flex:1 1 42%; }
  .pill { display:none; }
  .login-button { min-height:44px; padding:0 17px; }
  .purpose { margin-top:38px; }
  .purpose-grid { grid-template-columns:1fr; }
  .purpose-grid article { min-height:0; padding:20px; }
  .purpose-grid h3 { margin-top:16px; }
  .google-purpose { grid-template-columns:1fr; gap:14px; padding:20px; }
  .legal-page { padding-top:14px; }
}
@media (min-width:561px) and (max-width:860px) { .google-purpose { grid-template-columns:1fr 1.2fr; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }

/* Product-branded sign-in for the private PropStac subscription. */
body.propstac-login .glow { background:radial-gradient(circle,rgba(214,235,88,.22),transparent 68%); }
body.propstac-login #betaMark { width:72px; height:72px; display:grid; place-items:center; margin-inline:auto; border-radius:20px; background:linear-gradient(145deg,#d6eb58,#9dd8bf); color:#17311d; font-size:34px; font-weight:900; }
body.propstac-login #betaMark img,body.propstac-login #betaMark b { display:none; }
body.propstac-login #betaMark::after { content:"P"; }
body.propstac-login #betaBack,body.propstac-login #betaInvite { display:none; }
