/* MetaSynx site look (the home page redesign, mock-up E, agreed 15-16 Nov 2026).
   Shared by every redesigned page: testing.html first; the new index.html extends it.
   Source of the values: docs/superpowers/mockups/2026-11-15-home/base.css + e.html. */
:root {
  --ink: #0C1117;          /* page background */
  --ink-deep: #080C11;
  --surface: #131A21;
  --raised: #1C2530;
  --lift: #0F151C;
  --line: #222C3A;
  --line-soft: #1A2230;
  --green: #00E08A;
  --blue: #00A1FF;
  --grad: linear-gradient(100deg, #00FF8F, #00A1FF);
  --text: #FFFFFF;
  --soft: #DCE2E9;
  --mute: #A3AEBC;
  --red: #EF5350;
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Archivo', system-ui, sans-serif;
  --display-stretch: 112%;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  background: var(--ink); color: var(--text);
  font-family: var(--body); font-size: 16.5px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-family: var(--display); font-stretch: var(--display-stretch); font-weight: 650; line-height: 1.06; letter-spacing: -0.022em; }
h2 { font-size: clamp(28px, 3.1vw, 42px); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ── header ── */
/* Gradient bar (operator, 17 Nov 2026): dark on the left, soft green then blue to the right; the bottom line takes the same colours. */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 1000; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent;
  background: linear-gradient(90deg, rgba(12,17,23,.88) 0%, rgba(12,17,23,.88) 40%, rgba(10,62,54,.88) 74%, rgba(8,56,90,.90) 100%); }
.site-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, var(--line-soft) 0%, var(--line-soft) 40%, rgba(0,255,143,.45) 74%, rgba(0,161,255,.6) 100%); }
.site-head .wrap { display: flex; align-items: center; height: 68px; gap: 36px; }
.site-head .logo { height: 48px; width: auto; }
.site-head nav { display: flex; gap: 30px; margin-left: auto; }
.site-head nav a { text-decoration: none; color: var(--soft); font-size: 15px; font-weight: 500; }
.site-head nav a:hover { color: #fff; }
.site-head .btn { padding: 9px 16px; font-size: 14.5px; white-space: nowrap; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 650; font-size: 15.5px; text-decoration: none; cursor: pointer;
  padding: 12px 22px; border-radius: 10px; border: 0; transition: transform .15s, filter .15s, box-shadow .15s, opacity .15s;
}
.btn-go { background: var(--grad); color: #04130D; }
.btn-go:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-quiet { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-quiet:hover { box-shadow: inset 0 0 0 1.5px var(--mute); }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn:disabled { opacity: .55; cursor: default; transform: none; filter: none; }

/* ── sections: each starts with the surface lift fading down ── */
.sec { padding: 120px 0; border-top: 1px solid var(--line-soft); background: linear-gradient(var(--surface), var(--ink) 380px); }
.sec.alt { background: linear-gradient(var(--surface), var(--lift) 380px); }
.sec-label { display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.sec-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.sec-lede { color: var(--soft); font-size: 18px; max-width: 34em; margin-top: 16px; }
h2 .grad-text.own-line { display: block; width: fit-content; }

/* ── the logo's dotted ring (drawn by siteRing() into an <svg class="ring">) ── */
.ring { position: absolute; pointer-events: none; opacity: .5; }
@media (prefers-reduced-motion: no-preference) { .ring.turning { animation: turn 110s linear infinite; } }
@keyframes turn { to { transform: rotate(360deg); } }

/* ── tester offer card ── */
.offer { max-width: 470px; padding: 20px 22px 18px; border-radius: 16px; border: 1px solid transparent; background: linear-gradient(160deg, #10201C, #0E1822) padding-box, var(--grad) border-box; }
.offer h3 { font-size: 18px; }
.offer .gets { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.offer .gets div { font-size: 14.5px; color: var(--soft); line-height: 1.35; }
.offer .gets b { display: block; width: fit-content; font-family: var(--display); font-stretch: var(--display-stretch); font-size: 30px; font-weight: 650; line-height: 1.05; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.offer p.when { margin-top: 14px; font-size: 14px; color: var(--soft); }

/* ── sign-up form (tester-signup.js) ── */
.signup-form { display: flex; flex-direction: column; gap: 10px; max-width: 470px; margin-top: 28px; }
.signup-form input { width: 100%; min-width: 0; padding: 13px 18px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: #fff; font: inherit; }
.signup-form input::placeholder { color: var(--mute); }
.signup-form input:focus { outline: none; border-color: var(--blue); }
.signup-form .picks { display: flex; gap: 10px; }
.signup-form .picks .btn { flex: 1; }
.signup-form .phones-q { font-size: 14.5px; color: var(--soft); margin-top: 4px; }
.signup-form .phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.signup-form .phones[hidden] { display: none; }
.signup-form .phones .btn { padding: 12px 10px; background: var(--surface); }
.signup-msg { margin-top: 14px; font-size: 15px; max-width: 470px; color: var(--soft); }
.signup-msg.ok { color: var(--green); }
.signup-msg.err { color: #F87171; }
.signup-msg:empty { display: none; }
.platforms { margin-top: 16px; font-size: 14.5px; color: var(--mute); }

/* ── footer ── */
footer { border-top: 1px solid var(--line-soft); padding: 56px 0 64px; color: var(--mute); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid img { height: 34px; width: auto; margin-bottom: 14px; }
.foot-grid h4 { color: #fff; font-size: 14.5px; font-weight: 600; margin-bottom: 10px; }
.foot-grid a { display: block; text-decoration: none; padding: 3px 0; }
.foot-grid a:hover { color: #fff; }
.foot-grid .addr { line-height: 28.5px; margin-top: -4px; }
.foot-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 13.5px; line-height: 1.6; }

/* ── contact modal (the site's one contact path, /contact) ── */
.contact-overlay { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 16px; }
.contact-overlay.open { display: flex; }
.contact-modal { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 36px 32px 30px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.contact-modal-close { position: absolute; top: 16px; right: 18px; background: none; border: 0; color: var(--mute); font-size: 26px; line-height: 1; cursor: pointer; }
.contact-modal-close:hover { color: #fff; }
.contact-modal h2 { font-size: 24px; }
.contact-subtitle { color: var(--soft); font-size: 15px; margin: 6px 0 24px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.contact-field label { font-size: 13px; font-weight: 600; color: var(--soft); }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--ink-deep); color: #fff; font: inherit; font-size: 15px; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { outline: none; border-color: var(--blue); }
.contact-field select option { background: var(--surface); }
.contact-field textarea { resize: vertical; min-height: 110px; }
.contact-submit { width: 100%; margin-top: 6px; }
.contact-form-msg { display: none; margin-top: 12px; font-size: 14.5px; text-align: center; }
.contact-success { text-align: center; padding: 18px 0 6px; }
.contact-success h3 { font-size: 20px; margin-bottom: 6px; }
.contact-success p { color: var(--soft); font-size: 15px; }

/* ── pricing cards + AI row + FAQ: shared by index.html #pricing and pricing.html (moved from home/home.css, 17 Nov 2026).
   The two pages carry the same card markup: change one, change both. ── */
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

/* ── pricing: a card per account kind. Green is Cloud, blue is VPS (the board's MT5 / MT4 tags are a separate thing) ── */
.trial { display: inline-block; margin-top: 22px; padding: 8px 16px; border-radius: 99px; font-size: 15px; font-weight: 500; border: 1px solid transparent; background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--grad) border-box; }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.way { --c: 0,224,138; display: flex; flex-direction: column; border-radius: 18px; padding: 30px 32px 0; border: 1px solid rgba(var(--c), .32); background: linear-gradient(160deg, rgba(var(--c), .11), rgba(var(--c), .02) 62%); }
.way.vps { --c: 0,161,255; }
.way h3 { font-size: 22px; display: flex; align-items: center; gap: 12px; }
.way h3 svg { width: 28px; height: 28px; fill: none; stroke: rgb(var(--c)); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fig { font-family: var(--display); font-stretch: 112%; font-weight: 650; font-size: 56px; line-height: 1; letter-spacing: -0.03em; margin-top: 18px; color: rgb(var(--c)); }
.fig small { font-size: 16.5px; font-stretch: 100%; font-weight: 500; letter-spacing: 0; color: var(--soft); margin-left: 10px; }
.way > p { color: var(--soft); margin-top: 16px; max-width: 31em; }
.route { display: flex; align-items: center; margin-top: 24px; font-size: 14px; color: var(--soft); }
.route > span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--ink); white-space: nowrap; }
.route > span.ours { border-color: rgba(var(--c), .7); background: rgba(var(--c), .12); color: #fff; font-weight: 600; line-height: 1.25; }
.route > span.ours small { display: block; font-size: 12.5px; font-weight: 400; color: var(--soft); }
.route i { flex: 1 1 18px; min-width: 14px; max-width: 34px; height: 1.5px; background: rgba(var(--c), .55); }
.need { margin: 26px -32px 0; margin-top: auto; padding: 16px 32px 18px; border-top: 1px solid rgba(var(--c), .22); font-size: 15px; color: var(--soft); }
.route + .need { margin-top: 26px; }
.way > p.need { max-width: none; }
.need b { color: rgb(var(--c)); font-weight: 600; margin-right: 4px; }
/* "learn more" links at the end of a line ("What testing involves", "How the AI Copilot works", "See what the setup takes"):
   bold text, the plain underline, the colour of the text around it (operator, 18 Nov 2026) */
a.more-link { color: var(--soft); font-weight: 600; white-space: nowrap; }
a.more-link:hover { color: #fff; }
.price-note { margin-top: 22px; max-width: 46em; color: var(--soft); font-size: 15.5px; }
.price-note b { color: #fff; font-weight: 600; }

/* the AI Copilot row: its own box with the brand-gradient border (operator, 16 Nov), so it reads apart from the cards' text */
.ai-plan { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) repeat(3, minmax(0, 1fr)); margin-top: 40px; border-radius: 18px; background: linear-gradient(160deg, rgba(0,255,143,.07), rgba(0,161,255,.03) 62%); }
.ai-plan::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); opacity: .32; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.ai-plan > div { padding: 26px 28px 28px; }
.ai-plan > div:first-child { padding-left: 32px; }
.ai-plan > div + div { border-left: 1px solid var(--line); }
.ai-plan h3 { font-size: 20px; }
.ai-plan p { color: var(--soft); font-size: 15px; margin-top: 8px; }
.ai-plan .q { font-family: var(--display); font-stretch: 112%; font-weight: 650; font-size: 38px; line-height: 1; letter-spacing: -0.02em; width: fit-content; }
.neutral { margin-top: 30px; max-width: 46em; color: var(--soft); font-size: 15.5px; }
.neutral b { color: #fff; font-weight: 600; }
/* desktop: one sentence per line (operator, 16 Nov); phone width: the sentences run on as one paragraph */
@media (min-width: 981px) { p.lines { max-width: none; } p.lines > span { display: block; } }

/* ── faq ── */
.faq-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: 18.5px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 7px; height: 7px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: translateY(-2px) rotate(45deg); transition: transform .25s, border-color .25s; }
.faq details[open] summary::after { transform: translateY(1px) rotate(225deg); border-color: var(--green); }
.faq summary:hover::after { border-color: #fff; }
/* opening / closing slides (browsers with ::details-content; others just snap) */
.faq { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } }
.faq details p { color: var(--soft); max-width: 40em; padding: 0 0 22px; margin-top: -4px; }

@media (max-width: 980px) {
  .ways { grid-template-columns: 1fr; }
  .way { padding: 24px 22px 0; }
  .need { margin-left: -22px; margin-right: -22px; padding-left: 22px; padding-right: 22px; }
  .route { flex-direction: column; align-items: flex-start; }
  .route i { flex: none; width: 1.5px; height: 12px; min-width: 0; margin-left: 22px; }
  .ai-plan { grid-template-columns: 1fr 1fr 1fr; }
  .ai-plan > div:first-child { grid-column: 1 / -1; padding: 22px 22px 20px; border-bottom: 1px solid var(--line); }
  .ai-plan > div { padding: 20px 12px 22px 16px; }
  .ai-plan > div:nth-child(2) { padding-left: 22px; border-left: 0; }
  .ai-plan .q { font-size: 30px; }
  .ai-plan p { font-size: 14px; }
  .trial { border-radius: 14px; }
  .faq summary { font-size: 17px; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr; }
  .sec { padding: 84px 0; }
  .signup-form .picks { flex-direction: column; }
  .platforms span { display: block; }
}
@media (max-width: 860px) {
  .site-head nav { display: none; }
  .site-head .wrap { justify-content: space-between; }
  .site-head .logo { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── legal pages (privacy.html + terms.html, 17 Nov 2026; refund / ai to follow): hero, "at a glance" cards,
   a contents list that stays put beside the text on desktop and folds into a tap-open list at phone width ── */
.l-hero { position: relative; overflow: hidden; padding: 68px 0 0; }
.l-hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 96px; }
.l-hero h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; }
.l-hero h1 .grad-text { display: block; width: fit-content; }
.l-hero .lede { color: var(--soft); font-size: 18px; max-width: 36em; margin-top: 20px; }
.l-hero .meta { color: var(--mute); font-size: 15px; margin-top: 18px; }
.l-hero .ring { right: -230px; top: -170px; width: 640px; height: 640px; will-change: transform; }
.l-hero .ring > svg { display: block; width: 100%; height: 100%; }

.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.glance > div { padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(0,255,143,.05), rgba(0,161,255,.02) 62%); }
.glance h3 { font-size: 18px; display: flex; align-items: flex-start; gap: 10px; }
.glance h3::before { content: ''; flex: none; margin-top: .42em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.glance p { color: var(--soft); font-size: 15px; margin-top: 8px; }
.glance-foot { color: var(--mute); font-size: 14.5px; margin-top: 20px; }

.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal > * { min-width: 0; }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
.toc summary { display: none; }
.toc ol { list-style: none; counter-reset: toc; border-left: 1px solid var(--line); }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--mute); text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.toc a::before { content: counter(toc); min-width: 1.3em; color: var(--mute); font-variant-numeric: tabular-nums; }
.toc a:hover { color: #fff; }
.toc a.on { color: #fff; border-left-color: var(--green); }

.doc { max-width: 47em; }
.doc > section { padding-top: 8px; }
.doc > section + section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line-soft); }
.doc h2 { font-size: clamp(24px, 2.2vw, 30px); display: flex; gap: 14px; align-items: baseline; }
.doc h2 .n { font-size: .8em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.doc h3 { font-size: 19px; margin: 30px 0 4px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--soft); font-size: 16.5px; line-height: 1.65; }
.doc p { margin-top: 14px; }
.doc b, .doc strong { color: #fff; font-weight: 600; }
.doc a { color: #fff; text-underline-offset: 3px; }
.doc ul { list-style: none; margin-top: 12px; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li + li { margin-top: 8px; }
.doc ul li::before { content: ''; position: absolute; left: 4px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); opacity: .8; }
.doc .note { margin-top: 20px; padding: 18px 22px; border-radius: 14px; border: 1px solid transparent; background: linear-gradient(160deg, #10201C, #0E1822) padding-box, var(--grad) border-box; }
.doc .note p { margin-top: 0; color: #fff; }
.doc .note p + p { margin-top: 8px; color: var(--soft); }
.doc .path { color: #fff; font-weight: 500; }

.ltable { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 15px; }
.ltable th { text-align: left; color: var(--mute); font-weight: 500; font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; padding: 0 14px 10px 0; border-bottom: 1px solid var(--line); }
.ltable td { vertical-align: top; color: var(--soft); line-height: 1.5; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line-soft); }
.ltable td:first-child { color: #fff; font-weight: 600; width: 26%; }
.ltable td:last-child { padding-right: 0; }

@media (max-width: 980px) {
  .l-hero .wrap { padding-top: 48px; padding-bottom: 72px; }
  .l-hero .ring { display: none; }
  .glance { grid-template-columns: 1fr; gap: 12px; }
  .legal { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .toc summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; }
  .toc summary::-webkit-details-marker { display: none; }
  .toc summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
  .toc[open] summary::after { transform: translateY(1px) rotate(225deg); border-color: var(--green); }
  .toc ol { border-left: 0; padding: 0 10px 12px; }
  .toc a { padding: 8px 8px; border-left: 0; }
  .doc > section + section { margin-top: 40px; padding-top: 36px; }
  /* tables become stacked rows at phone width */
  .ltable thead { display: none; }
  .ltable, .ltable tbody, .ltable tr, .ltable td { display: block; width: 100%; }
  .ltable tr { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .ltable td { border: 0; padding: 2px 0; }
  .ltable td:first-child { width: auto; margin-bottom: 4px; }
  .ltable td[data-h]::before { content: attr(data-h) ': '; color: var(--mute); }
}

/* ── sign in + sign up (signin.html, signup.html, 18 Nov 2026): one gradient-edged card under the turning ring ── */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth { position: relative; overflow: hidden; flex: 1; padding: 68px 0 0; }
.auth .ring { right: -230px; top: -170px; width: 640px; height: 640px; will-change: transform; }
.auth .ring > svg { display: block; width: 100%; height: 100%; }
.auth .wrap { position: relative; z-index: 1; display: flex; justify-content: center; padding-top: 72px; padding-bottom: 96px; }
.auth-card { width: 100%; max-width: 460px; padding: 34px 32px 30px; border-radius: 18px; border: 1px solid transparent; background: linear-gradient(160deg, #10201C, #0E1822) padding-box, var(--grad) border-box; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.auth-card .sec-label { font-size: 15px; margin-bottom: 14px; }
.auth-title { font-size: clamp(28px, 3vw, 36px); line-height: 1.08; }
.auth-title .grad-text { display: inline-block; }
.auth-sub { color: var(--soft); font-size: 16px; margin-top: 10px; }
.auth-ok { color: var(--green); font-size: 15px; margin-top: 10px; }
.auth-fields { margin-top: 26px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.auth-field label { font-size: 13px; font-weight: 600; color: var(--soft); }
.auth-field input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--ink-deep); color: #fff; font: inherit; font-size: 15.5px; }
.auth-field input::placeholder { color: var(--mute); opacity: .7; }
.auth-field input:focus { outline: none; border-color: var(--blue); }
.pw { position: relative; }
.pw input { padding-right: 64px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; padding: 6px 8px; background: none; border: 0; color: var(--mute); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.pw-toggle:hover { color: #fff; }
.pw-toggle svg { width: 20px; height: 20px; }
.auth-row { display: flex; justify-content: flex-end; margin: -4px 0 4px; }
.auth-row.left { justify-content: flex-start; margin: 8px 0 0; }
.auth-link { color: var(--soft); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.auth-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.auth-check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 2px; }
.auth-check input { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px; border: 1.5px solid var(--line); background: var(--ink-deep); cursor: pointer; }
.auth-check input:checked { border-color: transparent; background: var(--grad); }
.auth-check input:checked::after { content: ''; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px; border: solid #04130D; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.auth-check label { font-size: 14.5px; color: var(--soft); line-height: 1.5; cursor: pointer; }
.auth-check a { color: #fff; text-underline-offset: 3px; }
.auth-error { display: none; margin-top: 8px; color: #F87171; font-size: 14.5px; }
.auth-error.visible { display: block; }
.auth-submit { width: 100%; min-height: 48px; margin-top: 14px; }
.auth-alt { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-soft); text-align: center; color: var(--soft); font-size: 15px; }
.auth-alt a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.auth-done { text-align: center; }
.auth-done .mail { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 4px auto 22px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 30px rgba(0,224,138,.2), 0 0 60px rgba(0,161,255,.1); }
.auth-done .mail svg { width: 28px; height: 28px; fill: none; stroke: #04130D; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.auth-done p { color: var(--soft); font-size: 15.5px; margin-top: 10px; }
.auth-done p.small { color: var(--mute); font-size: 14.5px; }
.auth-done p a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.auth-busy { text-align: center; padding: 28px 0 18px; color: var(--soft); }
.auth-busy .spinner { margin-top: 16px; }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2.5px solid rgba(4,19,13,.3); border-top-color: #04130D; border-radius: 50%; animation: spin .6s linear infinite; vertical-align: middle; }
.spinner.light { border-color: rgba(0,224,138,.2); border-top-color: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }
.view-hidden, .auth .form-state.hidden { display: none; }
.auth .success-state { display: none; }
.auth .success-state.visible { display: block; }
@media (max-width: 980px) {
  .auth .ring { opacity: .22; right: -320px; }
  .auth .wrap { padding-top: 40px; padding-bottom: 64px; }
}
@media (max-width: 520px) {
  .auth .wrap { padding-left: 16px; padding-right: 16px; }
  .auth-card { padding: 26px 20px 24px; }
}

/* ── message pages (404.html, account-deleted.html, 18 Nov 2026): the legal hero on the logo's left edge,
   filling the screen above the footer ── */
.auth-page > .l-hero { flex: 1; }
.l-hero .lede + .lede { margin-top: 12px; }
.l-hero .lede a { color: #fff; text-underline-offset: 3px; }
