/* Direction D4 — "Night Plaza". Dark indigo base, neon-outline vector art with soft glow, glowing arch mirror as brand motif.
Identity accents: 真人 coral (solid) · AI 分身 violet (dashed) · 官方 AI 居民 mint (solid outline, hexagon).
Stance accents are kept separate from identity: 正方 ▲ amber · 反方 ● sky (+ stripes). Every text pair ≥ 4.5:1 (see CONTRAST.md). */
:root{
  color-scheme:dark;
  --font:"Plus Jakarta Sans","PingFang SC","HarmonyOS Sans SC","MiSans","Noto Sans CJK SC","Microsoft YaHei",system-ui,sans-serif;
  --bg:#15112A; --bg-2:#1B1535; --bg-3:#211A40; --ink:#F4EEF8; --ink-2:#DCD3EA; --muted:#ADA3C6;
  --surface:#211A3D; --surface-2:#2A2249; --surface-ai:#241D4A;
  --line:#3A3160; --line-strong:#5A4D88; --line-ink:#DCD3EA;
  --accent:#FF8466; --on-accent:#15112A; --accent-ink:#FF9C82; --accent-tint:#3A2131;
  --human:#FF8466; --on-human:#15112A;
  --twin:#B3A2FF; --twin-ink:#C4B6FF; --twin-tint:#2C2456; --on-twin:#15112A;
  --resident:#4FD8B4; --res-ink:#5FE0BE; --resident-tint:#15302F;
  --debate:#F5C04A; --pro:#F5C04A; --pro-fill:#F5C04A; --pro-tint:#33291A; --con:#7CC0FF; --con-fill:#5AA8F5; --con-tint:#182944;
  --warn:#F5C04A; --warn-tint:#2E2516; --ok-fill:#1E9C80;
  --human-fill:#FF8466; --human-deep:#FFB39E; --face:#15112A; --twin-line:#B3A2FF; --res-line:#4FD8B4; --res-tint:#15302F;
  --amber-fill:#F5C04A; --ground:#1F1840; --shadow-c:rgba(0,0,0,.45);
  --glow-twin:0 0 0 1px rgba(179,162,255,.55),0 0 28px -4px rgba(179,162,255,.45);
  --shadow:0 0 0 1px var(--line),0 24px 60px -24px rgba(0,0,0,.7);
  --focus:0 0 0 3px var(--bg),0 0 0 5px var(--res-line);
}
/* Direction D3 — Soft Organic, grown-up, "plaza stage". Same AA token set as D2; new composition, type scale and section rhythm. */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:16px;line-height:1.7;color:var(--ink);background:var(--bg)}
h1,h2,h3,p{margin:0} h1,h2,h3{font-weight:800;text-wrap:balance;letter-spacing:-.02em}
a{color:inherit}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:where(a,button,input,summary,textarea):focus-visible{outline:none;box-shadow:var(--focus);border-radius:10px}
.wrap{max-width:1240px;margin:0 auto;padding:0 32px}
svg{display:block}
/* header */
.site-header{position:sticky;top:0;z-index:5;background:rgba(21,17,42,.86);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}

.site-header .wrap{display:flex;align-items:center;gap:28px;height:72px}
.logo{min-height:44px;display:flex;align-items:center;gap:10px;text-decoration:none}
.logo b{font-size:20px;font-weight:800;letter-spacing:-.01em}.logo small{font-size:12px;color:var(--muted);font-weight:600}
.site-nav{display:flex;gap:22px;margin-left:12px;font-weight:600;color:var(--ink-2)}
.site-nav a{text-decoration:none;padding:12px 2px;min-height:44px}
.site-nav a[aria-current]{color:var(--ink);box-shadow:inset 0 -3px 0 var(--accent)}
.hdr-cta{margin-left:auto;display:flex;gap:10px;align-items:center}
/* buttons */
.btn{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 24px;border-radius:999px;font:700 15.5px/1 var(--font);border:0;text-decoration:none;cursor:pointer;color:var(--ink)}
.btn-lg{height:60px;padding:0 32px;font-size:18px}
.btn-sm{height:44px;padding:0 18px;font-size:14.5px}
.btn-primary{background:var(--accent);color:var(--on-accent);box-shadow:0 0 24px -4px rgba(255,132,102,.6)}
.btn-ink{background:var(--accent);color:var(--on-accent)}
.btn-ghost{background:transparent;border:2px solid var(--line-strong);color:var(--ink)}
.btn-twin{background:var(--twin-tint);color:var(--twin-ink);border:2px dashed var(--twin-line)}
/* badges */
.badge{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 9px 0 7px;border-radius:8px;font-size:12.5px;font-weight:800;white-space:nowrap}
.badge svg{width:14px;height:14px}
.badge-human{background:var(--human);color:var(--on-human)}
.badge-twin{background:var(--twin-tint);color:var(--twin-ink);border:1.5px dashed var(--twin-line)}
.badge-resident{background:var(--resident-tint);color:var(--res-ink);border:1.5px solid var(--res-line)}
.badge-agent{background:#32204A;color:#E3B7FF;border:1.5px solid #D08CFF}

.chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 12px;border-radius:999px;background:var(--surface);font-size:13.5px;font-weight:700;color:var(--ink-2)}
.live{width:9px;height:9px;border-radius:50%;background:var(--res-line);box-shadow:0 0 0 4px var(--resident-tint)}
/* ================= HOME ================= */
.hero{background:radial-gradient(1200px 600px at 50% 70%,#2A1F5A 0,var(--bg) 70%);padding:40px 0 0;overflow:hidden;position:relative}
.hero-top{display:grid;grid-template-columns:1.35fr 1fr;gap:48px;align-items:end}
.hero h1{font-size:76px;line-height:1.08;letter-spacing:-.035em;margin-top:16px}
.hero h1 em{font-style:normal;color:var(--twin-ink);position:relative;white-space:nowrap}
.hero h1 em::after{content:"";position:absolute;left:-4px;right:-4px;bottom:4px;height:14px;border:2.5px dashed var(--twin-line);border-top:0;border-radius:0 0 14px 14px}
.hero .lede{font-size:18px;line-height:1.75;color:var(--ink-2)}
.hero .cta-row{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}
.hero .micro{font-size:13.5px;color:var(--muted);margin-top:10px}
.stage{position:relative;display:grid;grid-template-columns:1fr 660px 1fr;align-items:end;margin-top:28px;padding-bottom:40px}
.stage::before{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:1180px;height:150px;border-radius:50%;background:var(--ground);opacity:.9}
.stage .arch{position:absolute;left:50%;top:-10px;transform:translateX(-50%);width:780px;height:520px;border:3px solid var(--twin-line);border-bottom:0;border-radius:390px 390px 0 0;background:linear-gradient(180deg,rgba(239,235,253,.9),rgba(239,235,253,0) 80%);opacity:.9}
.stage .arch::after{content:"";position:absolute;inset:18px 18px 0;border:2px dashed var(--twin-line);border-bottom:0;border-radius:370px 370px 0 0;opacity:.5}
.stage .fig{position:relative;z-index:1}
.stage .fig svg{width:100%;height:auto}
.stage .fig.l{margin-right:-34px}.stage .fig.r{margin-left:-34px}
.stage .res{position:absolute;z-index:3;right:calc(50% - 350px);top:-50px;width:112px}
.today .row{padding-right:84px}
.today{position:relative;z-index:2;background:var(--surface);border-radius:28px;box-shadow:var(--shadow);padding:28px 30px 24px;border:1px solid var(--line)}
.today .row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;font-weight:700;color:var(--debate)}
.today .row .chip{background:var(--pro-tint);color:var(--debate)}
.today .row .ct{margin-left:auto;color:var(--muted);font-weight:600;display:flex;align-items:center;gap:8px}
.today h2{font-size:32px;line-height:1.25;margin:14px 0 18px;letter-spacing:-.025em}
.vs{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:relative}
.vs button{height:74px;border-radius:18px;border:2.5px solid;font:800 20px var(--font);display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer}
.vs .pro{background:var(--pro-tint);color:var(--pro);border-color:var(--pro)}
.vs .con{background:var(--con-tint) repeating-linear-gradient(135deg,transparent 0 9px,rgba(124,192,255,.12) 9px 13px);color:var(--con);border-color:var(--con)}
.vs .sym{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-size:15px;background:var(--surface)}
.vs .mid{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;background:var(--bg);color:var(--twin-ink);box-shadow:var(--glow-twin);display:grid;place-items:center;font-weight:800;font-size:14px;border:4px solid var(--surface)}
.pulse{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.pulse div{border-radius:14px;padding:10px 14px;font-size:14px;line-height:1.55;color:var(--ink-2);background:var(--surface-2)}
.pulse div.ai{background:var(--surface-ai);border:1.5px dashed var(--twin-line)}
.pulse .who{display:flex;gap:6px;align-items:center;margin-bottom:4px;font-weight:700;color:var(--ink)}
.today .lock{margin-top:12px;font-size:13.5px;color:var(--muted);display:flex;justify-content:space-between;gap:12px}
section.blk{padding:96px 0}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:800;letter-spacing:.08em;color:var(--accent-ink)}
.blk h2.big{font-size:52px;line-height:1.12;letter-spacing:-.03em;margin-top:10px}
.blk .sub{font-size:18px;color:var(--ink-2);margin-top:12px;max-width:680px}
.sec-night .scene{width:100%;height:auto;margin:40px 0 8px}
.idrow{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.idcard{border-radius:22px;padding:22px 24px;background:var(--surface);border:1px solid var(--line)}
.idcard h3{font-size:22px;margin:10px 0 6px}.idcard p{color:var(--ink-2);font-size:15px}.idcard .how{color:var(--muted);font-size:13.5px;margin-top:8px}
.idcard[data-author-type=twin]{border:2px dashed var(--twin-line);background:var(--twin-tint)}
.idcard[data-author-type=resident]{border:2px solid var(--res-line)}
.idcard[data-author-type=human]{border:2px solid var(--human-fill)}
.sec-mint{background:var(--sec-mint)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:48px;list-style:none;padding:0;position:relative}
.steps::before{content:"";position:absolute;left:40px;right:12%;top:46px;border-top:3px dashed var(--res-line)}
.steps li{position:relative;padding-right:28px}
.steps .n{display:grid;place-items:center;width:92px;height:92px;border-radius:30px;background:var(--surface);border:3px solid var(--ink);font-size:40px;font-weight:800;letter-spacing:-.04em}
.steps li:nth-child(2) .n{border:3px dashed var(--twin-line);color:var(--twin-ink)}
.steps li:nth-child(4) .n{background:var(--accent)}
.steps h3{font-size:22px;margin:22px 0 6px}.steps p{color:var(--ink-2);font-size:15.5px}
.result{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:40px;border-radius:30px;overflow:hidden;box-shadow:var(--shadow)}
.result .side{padding:36px 40px;min-height:300px}
.result .pro{background:var(--pro-tint)}
.result .con{background:var(--con-tint) repeating-linear-gradient(135deg,transparent 0 12px,rgba(124,192,255,.10) 12px 18px)}
.result .lab{font-size:18px;font-weight:800;display:flex;gap:10px;align-items:center}
.result .pro .lab{color:var(--pro)}.result .con .lab{color:var(--con)}
.result .pct{font-size:120px;font-weight:800;letter-spacing:-.05em;line-height:1;margin:14px 0 6px}
.result .pro .pct{color:var(--pro)}.result .con .pct{color:var(--con)}
.result blockquote{margin:18px 0 0;font-size:16px;color:var(--ink-2);background:var(--surface);border-radius:16px;padding:14px 18px}
.result blockquote.ai{background:var(--surface-ai);border:1.5px dashed var(--twin-line)}
.result blockquote footer{display:flex;gap:8px;align-items:center;margin-top:6px;font-size:13.5px;font-weight:700;color:var(--ink)}
.airef{display:flex;align-items:center;gap:14px;margin-top:18px;font-size:14px;color:var(--ink-2)}
.airef .bar{flex:1;height:16px;border-radius:8px;border:1.5px dashed var(--twin);background:var(--twin-tint);overflow:hidden}
.airef .bar span{display:block;height:100%;background:var(--twin-line);opacity:.5}
.cta-band{padding:96px 0;position:relative;overflow:hidden}
.cta-band .wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center}
.cta-band h2{font-size:60px;line-height:1.08;letter-spacing:-.035em}
.cta-band p{font-size:18px;margin-top:12px}
.join{background:var(--surface);border-radius:26px;padding:26px;box-shadow:var(--glow-twin)}
.join label.f{font-weight:800;font-size:15px}
.join .in{display:flex;gap:8px;margin-top:10px}
.join input[type=email]{flex:1;height:56px;min-height:56px;border-radius:999px;border:2px solid var(--line-strong);background:var(--bg);color:var(--ink);padding:0 20px;font:16px var(--font)}
.join .consent{display:flex;gap:10px;align-items:center;min-height:44px;font-size:13.5px;color:var(--muted);margin-top:8px}
.join .consent input{width:20px;height:20px}
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:56px}
.safe li{display:flex;gap:14px;padding:16px 0;border-top:1px solid var(--line)}
.safe ul{list-style:none;padding:0;margin:20px 0 0}
.safe .ic{flex:none;width:44px;height:44px;border-radius:14px;background:var(--resident-tint);color:var(--res-ink);display:grid;place-items:center}
.safe .ic svg{width:22px;height:22px}
.safe h3{font-size:17px}.safe p{font-size:14.5px;color:var(--ink-2)}
.faq details{border-top:1px solid var(--line);padding:4px 0}
.faq summary{min-height:56px;display:flex;align-items:center;font-weight:700;cursor:pointer;list-style:none}
.faq details p{color:var(--ink-2);font-size:15px;padding-bottom:12px}
.site-footer{padding:40px 0;font-size:14px;color:var(--muted)}
.site-footer.sec-night{color:var(--muted)}
.site-footer .wrap{display:flex;gap:24px;flex-wrap:wrap;align-items:center}
.site-footer a{min-height:44px;display:inline-flex;align-items:center}
/* ================= POST (arena) ================= */
.band{background:radial-gradient(900px 380px at 50% 100%,#2A1F5A 0,var(--bg) 75%);padding:28px 0 40px;position:relative;overflow:hidden}
.crumbs{font-size:14px;color:var(--muted)}.crumbs a{color:var(--ink-2);display:inline-flex;align-items:center;min-height:44px;padding:0 4px}
.band-grid{display:grid;grid-template-columns:1fr 360px;gap:40px;align-items:start;margin-top:14px}
.band h1{font-size:46px;line-height:1.15;letter-spacing:-.03em;margin:12px 0 16px}
.op{display:flex;gap:12px;align-items:flex-start}
.op p{color:var(--ink-2);font-size:16px}
.byline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.byline .name{font-weight:800;color:var(--ink);font-size:15px}
.av{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:15px}
.av.human{background:var(--human-fill);color:var(--on-human)}
.av.twin{background:var(--twin-tint);color:var(--twin-ink);border:2px dashed var(--twin-line)}
.av.resident{border-radius:12px;background:var(--resident-tint);color:var(--res-ink);border:2px solid var(--res-line)}
.mystate{background:var(--surface);border-radius:22px;padding:20px;box-shadow:var(--shadow)}
.mystate .v{font-weight:800;font-size:16px;display:flex;gap:8px;align-items:center}
.mystate p{font-size:14px;color:var(--muted);margin-top:6px}
.mystate .btn{width:100%;margin-top:12px}
.split{margin-top:26px}
.split>.bar{display:flex;height:64px;border-radius:18px;overflow:hidden;font-weight:800;font-size:20px}
.split>.bar .p{background:var(--pro-fill);color:var(--on-accent);display:flex;align-items:center;padding:0 22px;gap:10px}
.split>.bar .c{flex:1;background:var(--con-fill) repeating-linear-gradient(135deg,transparent 0 10px,rgba(21,17,42,.18) 10px 15px);color:var(--on-accent);display:flex;align-items:center;justify-content:flex-end;padding:0 22px;gap:10px}
.split .meta{display:flex;justify-content:space-between;gap:16px;margin-top:10px;font-size:14px;color:var(--ink-2);flex-wrap:wrap}
.split .airef{margin-top:10px}
.arena{display:grid;grid-template-columns:1fr 56px 1fr;gap:0;padding:40px 0 24px;position:relative}
.spine{display:flex;flex-direction:column;align-items:center}
.spine::before{content:"";flex:1;border-left:3px dashed var(--line-strong);order:2;margin-top:8px}
.spine b{width:48px;height:48px;border-radius:50%;background:var(--bg);color:var(--twin-ink);box-shadow:var(--glow-twin);display:grid;place-items:center;font-size:14px}
.col h2{display:flex;align-items:center;gap:12px;font-size:26px;padding:14px 20px;border-radius:18px;margin-bottom:18px}
.col h2 small{margin-left:auto;font-size:14px;font-weight:700;color:var(--ink-2);letter-spacing:0}
.col.pro h2{background:var(--pro-tint);color:var(--pro);box-shadow:inset 0 -4px 0 var(--pro-fill)}
.col.con h2{background:var(--con-tint);color:var(--con);box-shadow:inset 0 -4px 0 var(--con-fill)}
.col h2 .sym{width:34px;height:34px;border-radius:10px;background:var(--surface);display:grid;place-items:center;font-size:16px}
.msg{display:flex;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:16px 18px;margin-bottom:14px;box-shadow:0 1px 2px rgba(30,26,43,.05)}
.msg .body{flex:1;min-width:0}
.msg .text{margin-top:6px;font-size:15.5px;line-height:1.75}
.msg .acts{display:flex;gap:4px;margin-top:4px;font-size:13.5px;color:var(--muted)}
.msg .acts>*{min-height:44px;display:inline-flex;align-items:center;padding:0 8px;border-radius:10px;background:none;border:0;font:inherit;color:inherit;text-decoration:none}
.msg .acts>*:first-child{padding-left:0}
.msg.twin{background:var(--surface-ai);border:2px dashed var(--twin-line);position:relative;box-shadow:none}
.msg.twin .on-behalf{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--twin-ink);margin-top:2px}
.msg.twin .on-behalf svg{width:18px;height:18px}
.msg.pending{background:var(--warn-tint);border:2px dashed var(--warn)}
.msg .chip{background:var(--surface);min-height:28px}
.thread{margin-left:20px;padding-left:22px;border-left:3px solid var(--line);margin-bottom:14px}
.thread .msg{margin-bottom:10px}
.resident-card{grid-column:1/-1;display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:center;background:var(--resident-tint);border:2px solid var(--res-line);border-radius:22px;padding:18px 24px;margin:10px 0 26px}
.resident-card>svg{width:120px;height:auto}
.resident-card h3{font-size:18px;margin:6px 0 4px}.resident-card p{font-size:15px;color:var(--ink-2)}
.composer{background:var(--surface);border-radius:24px;padding:20px;box-shadow:var(--shadow);border:1px solid var(--line);margin:8px 0 56px}
.composer .pick{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-weight:700;font-size:14.5px}
.composer .pick button{min-height:44px;border-radius:12px;padding:0 14px;font:700 14.5px var(--font);border:2px solid}
.composer .pick .p{background:var(--pro-tint);color:var(--pro);border-color:var(--pro)}
.composer .pick .c{background:var(--surface);color:var(--con);border-color:var(--con)}
.composer textarea{background:var(--bg);color:var(--ink);width:100%;min-height:96px;margin-top:12px;border-radius:16px;border:2px solid var(--line-strong);padding:14px;font:16px/1.7 var(--font);resize:vertical}
.composer .row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}
.composer .row label{display:flex;gap:8px;align-items:center;min-height:44px;font-size:14px;color:var(--muted)}
.composer .row input{width:20px;height:20px}
.tabbar{display:none}
/* ================= MOBILE ================= */
@media (max-width:760px){
  .today .row{padding-right:0}
  .today .lock{flex-direction:column;gap:2px}
  .wrap{padding:0 18px}
  .site-header .wrap{height:60px;gap:12px}.site-nav{display:none}.hdr-cta .btn-ghost{display:none}
  .logo small{display:none}
  .hero{padding-top:20px}
  .hero-top{grid-template-columns:1fr;gap:14px}
  .hero h1{font-size:42px;line-height:1.12}
  .hero h1 em::after{height:9px;bottom:2px}
  .hero .lede{font-size:16px}
  .hero .cta-row .btn{flex:1;font-size:16px;padding:0 14px;height:56px}
  .stage{grid-template-columns:1fr 1fr;margin-top:18px;padding-bottom:20px}
  .stage .arch{width:340px;height:300px;top:-6px}
  .stage .fig.l,.stage .fig.r{margin:0 0 -26px;width:150px;justify-self:center}
  .stage .fig.l{order:1}.stage .fig.r{order:2}
  .today{order:3;grid-column:1/-1;padding:20px 18px;border-radius:24px}
  .stage .res{display:none}
  .today h2{font-size:23px}
  .today .row .ct{margin-left:0}
  .vs button{height:64px;font-size:17px}
  .pulse{grid-template-columns:1fr}
  section.blk{padding:60px 0}
  .blk h2.big{font-size:30px}
  .blk .sub{font-size:16px}
  .sec-night .scene{width:136%;max-width:none;margin-left:-18%}
  .idrow,.cols2{grid-template-columns:1fr;gap:14px}
  .steps{grid-template-columns:1fr;gap:26px}
  .steps::before{left:44px;top:20px;bottom:20px;right:auto;border-top:0;border-left:3px dashed var(--res-line)}
  .steps li{display:grid;grid-template-columns:92px 1fr;gap:16px;align-items:center}
  .steps h3{margin:0 0 4px}
  .result{grid-template-columns:1fr}
  .result .side{padding:24px;min-height:0}.result .pct{font-size:80px}
  .cta-band{padding:56px 0}.cta-band .wrap{grid-template-columns:1fr;gap:24px}.cta-band h2{font-size:40px}
  .join .in{flex-direction:column}.join .btn{height:56px}
  .band h1{font-size:30px}
  .band-grid{grid-template-columns:1fr;gap:18px}
  .split>.bar{height:56px;font-size:16px}.split .bar .p,.split>.bar .c{padding:0 14px}
  .arena{grid-template-columns:1fr;padding-top:24px}
  .spine{display:none}
  .col h2{font-size:21px;position:sticky;top:60px;z-index:2}
  .thread{margin-left:8px;padding-left:14px}
  .resident-card{grid-template-columns:72px 1fr;padding:16px}.resident-card>svg{width:72px}
  body.has-tabbar{padding-bottom:76px}
  .tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;height:68px;background:var(--surface);border-top:1px solid var(--line);z-index:6}
  .tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11.5px;font-weight:700;text-decoration:none;color:var(--muted);min-height:44px}
  .tabbar a[aria-current]{color:var(--accent-ink)}
  .tabbar svg{width:22px;height:22px}
}

/* ================= D4 night-plaza layer ================= */
body{background:var(--bg)}
section.blk{position:relative}
.alt{background:var(--bg-2)}
.eyebrow{color:var(--res-ink)}
.eyebrow::before{content:"";width:18px;height:18px;border:2px solid currentColor;border-bottom:0;border-radius:9px 9px 0 0}
.blk h2.big{padding-top:4px}
.divider{height:60px;max-width:1240px;margin:-52px auto -8px;padding:0 32px;position:relative;z-index:3}.divider svg{width:100%;height:60px}
/* hero = big plaza scene with the debate card inside the mirror */
.hero{padding:56px 0 0}
.hero-top{display:block;text-align:center;max-width:980px;margin:0 auto;position:relative;z-index:2}
.hero h1{font-size:68px;line-height:1.14;margin-top:18px;text-shadow:0 0 40px rgba(179,162,255,.25)}
.hero h1 em{color:var(--twin-ink)}
.hero h1 em::after{border-color:var(--twin-line)}
.hero .lede{max-width:760px;margin:16px auto 0}
.hero .cta-row{justify-content:center}
.hero .chip{background:var(--surface);box-shadow:0 0 0 1px var(--line)}
.stage{grid-template-columns:1fr 640px 1fr;margin-top:150px;padding-bottom:70px}
.stage::before{display:none}
.stage .arch{position:absolute;left:50%;top:-150px;transform:translateX(-50%);width:880px;height:640px;border:0;border-radius:0;background:none;opacity:1;z-index:0}
.stage .arch::after{display:none}
.stage .rings{position:absolute;left:50%;bottom:-20px;transform:translateX(-50%);width:1600px;height:260px;z-index:0}
.stage .fig.l{margin-right:-40px}.stage .fig.r{margin-left:-40px}
.stage .res{right:auto;left:calc(50% + 380px);top:-140px;width:240px}
.stage .res svg{width:100%;height:auto}
.today{background:rgba(33,26,61,.92);border:0;box-shadow:var(--glow-twin),0 30px 60px -20px rgba(0,0,0,.7);backdrop-filter:blur(6px)}
.today .row{padding-right:0}
.pulse div{background:var(--surface-2)}
.pulse div.ai{background:var(--surface-ai)}
.today .lock{color:var(--muted)}
.vs button{box-shadow:0 0 22px -8px currentColor}
/* identity cards: each in its own mini arch */
.idrow{margin-top:44px}
.idcard{background:var(--surface);text-align:center;padding:10px 24px 26px;border-radius:26px}
.idcard>svg{width:220px;height:auto;margin:0 auto 4px}
.idcard[data-author-type=human]{border:2px solid var(--human-fill);box-shadow:0 0 30px -10px rgba(255,132,102,.6)}
.idcard[data-author-type=twin]{border:2px dashed var(--twin-line);background:var(--surface-ai);box-shadow:0 0 30px -10px rgba(179,162,255,.6)}
.idcard[data-author-type=resident]{border:2px solid var(--res-line);box-shadow:0 0 30px -10px rgba(79,216,180,.55)}
.idcard .tags{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.idcard .tags span{font-size:12.5px;font-weight:700;color:var(--ink-2);background:var(--bg);border-radius:8px;padding:3px 9px}
/* steps as small arches on a glowing path */
.steps{margin-top:56px}
.steps::before{border-top:2px dashed var(--twin-line);opacity:.7;top:52px}
.steps .n{width:96px;height:104px;border-radius:48px 48px 10px 10px;background:var(--bg-2);border:2.5px solid var(--line-strong);color:var(--ink);box-shadow:none}
.steps li:nth-child(1) .n{border-color:var(--human-fill);color:var(--accent-ink);box-shadow:0 0 24px -6px rgba(255,132,102,.7)}
.steps li:nth-child(2) .n{border:2.5px dashed var(--twin-line);color:var(--twin-ink);box-shadow:0 0 24px -6px rgba(179,162,255,.7)}
.steps li:nth-child(3) .n{border-color:var(--res-line);color:var(--res-ink);box-shadow:0 0 24px -6px rgba(79,216,180,.6)}
.steps li:nth-child(4) .n{background:var(--accent);border-color:var(--accent);color:var(--on-accent);box-shadow:0 0 30px -4px rgba(255,132,102,.8)}
/* result split with a glowing arch seam */
.result{position:relative;box-shadow:0 0 0 1px var(--line),0 30px 60px -30px rgba(0,0,0,.7);overflow:visible;border-radius:30px}
.result .pro{border-radius:30px 0 0 30px;box-shadow:inset 0 3px 0 var(--pro-fill)}
.result .con{padding-left:72px;border-radius:0 30px 30px 0;box-shadow:inset 0 3px 0 var(--con-fill)}
.result .pct{text-shadow:0 0 34px currentColor}
.result .seam{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:84px;height:96px;border-radius:42px 42px 8px 8px;background:var(--bg);border:2.5px solid var(--twin-line);display:grid;place-items:center;font-weight:800;color:var(--twin-ink);box-shadow:var(--glow-twin);z-index:2}
.result blockquote{background:var(--bg)}
.result blockquote.ai{background:var(--surface-ai)}
/* CTA inside a large arch frame */
.cta-band .frame{position:relative;max-width:1100px;margin:0 auto;padding:110px 70px 64px;border:2.5px solid var(--twin-line);border-bottom:0;border-radius:550px 550px 0 0/240px 240px 0 0;box-shadow:0 -10px 50px -20px rgba(179,162,255,.55),inset 0 20px 60px -30px rgba(179,162,255,.35);background:linear-gradient(180deg,rgba(179,162,255,.10),transparent 70%)}
.cta-band .frame .inner{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center}
.cta-band h2{color:var(--ink)}
.cta-band .wrap{display:block}
.cta-band p{color:var(--ink-2)}
.cta-band .rings{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:1400px;height:160px;pointer-events:none}
.join label.f{color:var(--ink)}
.safe .ic{box-shadow:0 0 0 1.5px var(--res-line)}
.faq details{border-color:var(--line)}
.site-footer{background:#100C22;border-top:1px solid var(--line)}
/* post arena */
.band .rings{position:absolute;left:50%;bottom:-40px;transform:translateX(-50%);width:1600px;height:240px;pointer-events:none}
.band .wrap{position:relative;z-index:1}
.crumbs a{color:var(--ink-2)}
.band .chip{background:var(--pro-tint)}
.band h1{text-shadow:0 0 40px rgba(179,162,255,.22)}
.mystate{background:var(--surface);box-shadow:var(--glow-twin)}
.split>.bar{box-shadow:0 0 30px -8px rgba(245,192,74,.45);border:1px solid var(--line)}
.arena{grid-template-columns:1fr 84px 1fr}
.spine::before{border-left:2px dashed var(--twin-line);opacity:.6}
.spine b{width:64px;height:76px;border-radius:32px 32px 6px 6px;border:2.5px solid var(--twin-line);font-size:15px}
.col h2{background:var(--surface)!important;border:2px solid;box-shadow:none!important}
.col.pro h2{border-color:var(--pro-fill);color:var(--pro);box-shadow:0 0 26px -10px rgba(245,192,74,.7)!important}
.col.con h2{border-color:var(--con-fill);color:var(--con);box-shadow:0 0 26px -10px rgba(124,192,255,.7)!important}
.col h2 .sym{background:var(--bg)}
.msg{border:1.5px solid var(--line);box-shadow:none}
.msg.human{border-left:4px solid var(--human-fill)}
.msg.agent{background:var(--surface-ai);border-left:4px solid #D08CFF}
.msg.twin{background:var(--surface-ai);border:2px dashed var(--twin-line);box-shadow:0 0 22px -12px rgba(179,162,255,.8)}
.msg.pending{background:var(--warn-tint);border:2px dashed var(--warn)}
.msg .chip{background:var(--bg)}
.thread{border-left:2px solid var(--line-strong)}
.resident-card{background:var(--surface);border:2px solid var(--res-line);box-shadow:0 0 30px -12px rgba(79,216,180,.6)}
.resident-card a{color:var(--res-ink)}
.composer{background:var(--surface);border:0;box-shadow:var(--glow-twin)}
.composer .pick .p{background:var(--pro-tint)}.composer .pick .c{background:var(--bg)}
.tabbar{background:#100C22!important;border-top:1px solid var(--line)!important}
@media (max-width:760px){
  .hero{padding-top:28px}
  .hero-top{text-align:left}
  .hero h1{font-size:40px}
  .hero .lede{margin-left:0}
  .hero .cta-row{justify-content:flex-start}
  .stage{grid-template-columns:1fr 1fr;margin-top:96px;padding-bottom:30px}
  .today{grid-column:1/-1}
  .stage .arch{width:380px;height:330px;top:-80px}
  .stage .rings{width:900px;height:160px;bottom:-10px}
  .stage .fig.l,.stage .fig.r{width:160px;margin:0 0 -30px}
  .stage .res{display:none}
  .divider{padding:0 18px}
  .idcard>svg{width:170px}
  .steps .n{width:84px;height:92px;font-size:34px}
  .steps li{grid-template-columns:84px 1fr}
  .steps::before{left:42px;border-top:0}
  .result{display:flex;flex-direction:column}.result .pro{order:1}.result .con{order:3}
  .result .seam{order:2;position:relative;left:auto;top:auto;transform:none;margin:-30px auto;width:64px;height:72px}
  .result .con{padding-left:24px}
  .result .pro{border-radius:30px 30px 0 0}.result .con{border-radius:0 0 30px 30px}
  .cta-band{padding:56px 0}
  .cta-band .frame{padding:72px 18px 32px;border-radius:200px 200px 0 0/110px 110px 0 0}
  .cta-band .frame .inner{grid-template-columns:1fr;gap:22px}
  .cta-band h2{font-size:34px}
  .arena{grid-template-columns:1fr}
  .col h2{background:var(--surface)!important}
}
.lang-menu{display:flex;flex-wrap:wrap;gap:4px 8px;max-width:100%;align-items:center}
.lang-menu a{font-size:13px;font-weight:700;text-decoration:none;min-height:32px;display:inline-flex;align-items:center;padding:2px 4px}
.lang-menu a[aria-current="true"]{color:var(--accent-ink);box-shadow:inset 0 -2px 0 var(--accent)}
html[dir="rtl"] .site-nav{margin-left:0;margin-right:12px}
html[dir="rtl"] .hdr-cta{margin-left:0;margin-right:auto}
html[dir="rtl"] .site-header .wrap,.html[dir="rtl"] .foot{flex-wrap:wrap}
input[type="email"],input[type="url"],input[type="password"],input[dir="ltr"],textarea[dir="ltr"]{unicode-bidi:isolate}
html[dir="rtl"] input[dir="ltr"],html[dir="rtl"] textarea[dir="ltr"]{text-align:left}
html[dir="rtl"] .txt,html[dir="rtl"] textarea{max-width:100%}
@media(max-width:860px){
  .site-header .wrap{height:auto;min-height:72px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
  .hdr-cta{width:100%;margin-left:0;justify-content:flex-start}
  html[dir="rtl"] .hdr-cta{margin-right:0}
  .hero h1{font-size:42px}
}
