/* remoteNX website. Dark first, light via prefers-color-scheme. No external requests. */

:root {
  color-scheme: dark light;
  --bg: #000000;
  --bg-alt: #0b0d12;
  --card: #15171d;
  --card-2: #1d2028;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --accent: #4d9bff;
  --violet: #a78bfa;
  --teal: #4dd0e1;
  --danger: #ff6b6b;
  --ok: #30d158;
  --btn: #1f6fe0;
  --btn-text: #ffffff;
  --nav: rgba(10, 11, 15, 0.72);
  --glow-a: rgba(31, 111, 224, 0.42);
  --glow-b: rgba(109, 63, 214, 0.34);
  --frame: #2a2d35;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  --radius: 28px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --bg-alt: #f5f5f7;
    --card: #f5f5f7;
    --card-2: #ffffff;
    --line: rgba(0, 0, 0, 0.1);
    --text: #1d1d1f;
    --text-2: #6e6e73;
    --accent: #0b5fd0;
    --violet: #6d3fd6;
    --teal: #0a6670;
    --danger: #d32f2f;
    --ok: #15803d;
    --btn: #0b5fd0;
    --nav: rgba(255, 255, 255, 0.76);
    --glow-a: rgba(31, 111, 224, 0.18);
    --glow-b: rgba(109, 63, 214, 0.14);
    --frame: #1d1d1f;
    --shadow: 0 30px 70px rgba(16, 24, 40, 0.18);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--font);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code, kbd, .mono { font-family: var(--mono); font-size: 0.92em; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--btn); color: var(--btn-text); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

/* Wordmark as in the app: "remote" in semibold + the NX letterform cut in colour from the
   app icon (sitegen/nx_color.py), so it keeps the icon's own gradient and ribbon shading.
   The glyph sits on the text baseline at cap height; a soft glow only on dark pages. */
.wm { font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; display: inline-flex; align-items: baseline; gap: 0.12em; }
.wm .nx { display: inline-block; height: 0.74em; width: auto; border-radius: 0; aspect-ratio: 778 / 480; filter: drop-shadow(0 0 0.06em rgba(10, 139, 252, 0.45)) drop-shadow(0 0 0.2em rgba(122, 92, 252, 0.22)); }
@media (prefers-color-scheme: light) { .wm .nx { filter: none; } }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 14px; }
.nav-links a { color: var(--text); opacity: 0.86; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; text-decoration: none; color: var(--accent); }
.lang {
  font-size: 13px; font-weight: 600; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px;
}
.lang:hover { text-decoration: none; border-color: var(--accent); }
.menu { display: none; margin-left: auto; }
.menu summary {
  list-style: none; cursor: pointer; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: var(--text);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel {
  position: absolute; left: 0; right: 0; top: 52px;
  background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 18px;
}
.menu-panel a { display: block; padding: 12px 0; color: var(--text); font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu { display: block; }
  .nav .lang { margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border-radius: 999px;
  font: 600 17px/1.2 var(--font); letter-spacing: -0.01em;
  background: var(--btn); color: var(--btn-text); border: 0;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-soon {
  background: var(--card-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); cursor: default;
}
.btn-soon:hover { filter: none; }
.btn-soon small { display: block; font-size: 11px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.btn-soon .stack { text-align: left; line-height: 1.15; }
.btn svg { width: 22px; height: 22px; flex: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }

/* Hero */
.hero { position: relative; text-align: center; padding: 72px 16px 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -10% -20% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(40% 45% at 35% 60%, var(--glow-a), transparent 70%),
    radial-gradient(35% 40% at 68% 55%, var(--glow-b), transparent 70%);
  filter: blur(10px);
}
.hero > * { position: relative; }
.hero-icon {
  width: 112px; height: 112px; margin: 0 auto 26px; border-radius: 25px;
  box-shadow: 0 18px 50px rgba(31, 111, 224, 0.45);
}
.hero h1 { font-size: clamp(56px, 11vw, 128px); line-height: 1; letter-spacing: -0.05em; }
.hero .lede {
  font-size: clamp(26px, 4.2vw, 46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12;
  margin: 18px auto 14px; max-width: 18em;
}
.hero .sub { color: var(--text-2); font-size: clamp(17px, 2vw, 21px); max-width: 34em; margin: 0 auto 30px; }
.hero .beta-note { color: var(--text-2); font-size: 14px; margin-top: 16px; }

.devices { position: relative; margin: 64px auto 0; width: min(1000px, 100% - 32px); padding-bottom: 40px; }
.frame {
  background: var(--frame); padding: 10px; border-radius: 34px; box-shadow: var(--shadow);
}
.frame img { border-radius: 24px; width: 100%; }
.frame-ipad { width: 82%; border-radius: 30px; padding: 12px; }
.frame-ipad img { border-radius: 20px; }
.frame-phone { width: 30%; position: absolute; right: 0; bottom: 0; border-radius: 40px; padding: 8px; }
.frame-phone img { border-radius: 33px; }
.frame-solo { width: min(320px, 78vw); margin-inline: auto; border-radius: 44px; padding: 9px; }
.frame-solo img { border-radius: 36px; }
@media (max-width: 600px) {
  .frame-ipad { width: 92%; padding: 6px; border-radius: 18px; }
  .frame-ipad img { border-radius: 13px; }
  .frame-phone { width: 38%; padding: 5px; border-radius: 24px; bottom: 0; }
  .frame-phone img { border-radius: 20px; }
}

/* Sections */
.section { padding: clamp(88px, 12vw, 160px) 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow { font-size: 17px; font-weight: 600; margin: 0 0 12px; }
.eyebrow.rdp { color: var(--accent); }
.eyebrow.ssh { color: var(--violet); }
.eyebrow.blast { color: var(--teal); }
.eyebrow.ok { color: var(--ok); }
.h-xl { font-size: clamp(40px, 7vw, 80px); letter-spacing: -0.045em; line-height: 1.04; }
.h-l { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.035em; }
.intro { font-size: clamp(19px, 2.2vw, 24px); color: var(--text-2); max-width: 36em; margin: 22px 0 0; line-height: 1.4; }
.intro strong { color: var(--text); font-weight: 600; }
.center { text-align: center; }
.center .intro { margin-inline: auto; }

.grid { display: grid; gap: 20px; margin-top: 56px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .g2, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border-radius: var(--radius); padding: 32px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.section.alt .card { background: var(--card-2); }
.card h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { color: var(--text-2); margin: 0; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; color: var(--text-2); }
.card li { padding: 7px 0; border-top: 1px solid var(--line); }
.card li:first-child { border-top: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.card .ico svg { width: 24px; height: 24px; }
.tint-rdp { background: rgba(77, 155, 255, 0.16); color: var(--accent); }
.tint-blast { background: rgba(77, 208, 225, 0.14); color: var(--teal); }
.tint-ssh { background: rgba(167, 139, 250, 0.16); color: var(--violet); }
.tint-ok { background: rgba(48, 209, 88, 0.14); color: var(--ok); }
@media (prefers-color-scheme: light) {
  .tint-rdp { background: rgba(11, 95, 208, 0.08); }
  .tint-blast { background: rgba(10, 102, 112, 0.08); }
  .tint-ssh { background: rgba(109, 63, 214, 0.08); }
  .tint-ok { background: rgba(21, 128, 61, 0.08); }
}
.proto { position: relative; overflow: hidden; }
.proto .tag { font: 700 13px/1 var(--mono); letter-spacing: 0.04em; padding: 6px 9px; border-radius: 7px; display: inline-block; margin-bottom: 18px; }

/* Split layout: text + image */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

.cmd-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cmd-list li {
  font: 15px/1.4 var(--mono); background: var(--card); padding: 12px 16px; border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line); overflow-wrap: anywhere;
}
.section.alt .cmd-list li { background: var(--card-2); }
.cmd-list .p { color: var(--violet); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.pills li { font-size: 15px; padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.section.alt .pills li { background: var(--card-2); }
.center .pills { justify-content: center; }

/* Device row */
.device-card { text-align: left; }
.device-card .glyph { height: 64px; display: flex; align-items: flex-end; margin-bottom: 22px; color: var(--text); }
.device-card .glyph svg { height: 100%; width: auto; }

/* Live Activity mock */
.la-stage { display: grid; gap: 28px; justify-items: center; padding: 40px 0 8px; }
.island {
  display: flex; align-items: center; gap: 12px; background: #000; color: #f5f5f7;
  border-radius: 999px; padding: 10px 18px 10px 10px; min-width: 280px; justify-content: space-between;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 50px rgba(0, 0, 0, 0.5);
}
.island .l { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.island .dot { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #1f6fe0, #6d3fd6); display: grid; place-items: center; font: 800 10px/1 var(--font); }
.island .t { font: 600 15px/1 var(--font); font-variant-numeric: tabular-nums; color: #30d158; }
.la-card {
  width: min(400px, 100%); border-radius: 26px; padding: 18px 20px;
  background: rgba(28, 30, 38, 0.92); color: #f5f5f7;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), var(--shadow);
}
.la-card .row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 15px; }
.la-card .row:first-of-type { border-top: 0; }
.la-card .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; font-size: 13px; color: #a1a1a6; }
.la-card .badge { font: 700 11px/1 var(--mono); padding: 5px 7px; border-radius: 6px; }
.la-card .b-rdp { background: rgba(77, 155, 255, 0.13); color: #4d9bff; }
.la-card .b-ssh { background: rgba(167, 139, 250, 0.13); color: #a78bfa; }
.la-card .b-blast { background: rgba(77, 208, 225, 0.18); color: #4dd0e1; }
.la-card .name { flex: 1; font-weight: 600; }
.la-card .time { color: #a1a1a6; font-variant-numeric: tabular-nums; }
.la-wall {
  border-radius: 40px; padding: 48px 20px; width: 100%;
  background: radial-gradient(80% 70% at 30% 20%, #1f3e86, transparent 70%), radial-gradient(70% 70% at 80% 90%, #4b2a9a, transparent 70%), #07090f;
}

/* Organisation block */
.mdm-box { font: 14px/1.6 var(--mono); background: #0b0d12; color: #d7dbe4; border-radius: 22px; padding: 24px; overflow-x: auto; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.mdm-box .k { color: #4d9bff; }
.mdm-box .s { color: #4dd0e1; }
.mdm-box .c { color: #a1a1a6; }
.mdm-box .v { color: #a78bfa; }

/* Tiers */
.tier { display: flex; flex-direction: column; }
.tier .price { font-size: 15px; color: var(--text-2); margin: 6px 0 18px; }
.tier .soon { margin-top: auto; padding-top: 22px; font-size: 15px; font-weight: 600; color: var(--accent); }
.tier.featured { box-shadow: inset 0 0 0 2px var(--accent); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .ctas { margin-top: 36px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 13px; color: var(--text-2); background: var(--bg-alt); }
.footer nav ul { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0 0 22px; }
.footer nav a { color: var(--text); }
.footer p { margin: 0 0 6px; }
.footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }

/* Document pages */
.doc-hero { padding: 72px 0 24px; }
.doc-hero h1 { font-size: clamp(40px, 7vw, 64px); letter-spacing: -0.04em; }
.doc-hero p { font-size: 21px; color: var(--text-2); margin-top: 14px; }
.doc { padding: 24px 0 96px; }
.doc h2 { font-size: clamp(26px, 3.4vw, 32px); margin: 56px 0 16px; letter-spacing: -0.025em; }
.doc h3 { font-size: 20px; margin: 30px 0 10px; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--text); }
.doc .muted { color: var(--text-2); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text-2); font-weight: 600; }
.placeholder { background: rgba(255, 107, 107, 0.14); color: var(--danger); padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.toc { background: var(--card); border-radius: 20px; padding: 20px 24px; box-shadow: inset 0 0 0 1px var(--line); }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 0 22px; color: var(--text-2); }
.faq .a p, .faq .a li { color: var(--text-2); }
.faq-group { margin-top: 48px; }
.faq-group h2 { margin-top: 0; }

.contact-card { margin-top: 40px; }
.contact-card .btn { margin-top: 18px; }

.release { padding: 32px 0; border-top: 1px solid var(--line); }
.release header { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; margin-bottom: 18px; }
.release h2 { margin: 0; font-size: 32px; }
.release time, .release .build { color: var(--text-2); font-size: 15px; }
.release ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.release li { background: var(--card); border-radius: 18px; padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.release li strong { display: block; font-size: 17px; margin-bottom: 4px; }
.release li span { color: var(--text-2); font-size: 15px; }

/* Subtle scroll reveal, only with JS and without reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media (prefers-color-scheme: light) {
  .placeholder { background: transparent; box-shadow: inset 0 0 0 1px var(--danger); }
}

/* Device showcase: two tablet-size frames at a shared height */
.showcase { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3vw, 32px); margin-top: 56px; }
.frame-tab { padding: 8px; border-radius: 26px; flex: 0 1 auto; }
.frame-tab img { height: clamp(240px, 42vw, 540px); width: auto; border-radius: 18px; }
@media (max-width: 480px) { .frame-tab { padding: 5px; border-radius: 16px; } .frame-tab img { height: 220px; border-radius: 11px; } }
@media (max-width: 480px) { .mdm-box { font-size: 12px; padding: 18px; } }
.doc > .faq-group:first-child { margin-top: 8px; }
.doc ul.pills { padding-left: 0; }

/* Round 2 */
.more { margin-top: 36px; }
.more-btn { margin-top: 28px; }
.note { margin-top: 20px; font-size: 15px; color: var(--text-2); }
.nav-links .nav-beta { color: var(--accent); opacity: 1; font-weight: 600; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu { display: block; }
}

/* Round 2: detail pages */
.page-hero { padding: clamp(64px, 9vw, 112px) 0 24px; }
.page-hero .intro { margin-top: 18px; }
.subnav { margin: 28px 0 8px; }
.subnav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.subnav a {
  display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--text);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.subnav a:hover { text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.section.tight { padding: clamp(56px, 8vw, 96px) 0; }
.feature-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.feature-list li strong { color: var(--text); font-weight: 600; }
.feature-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent); }
.shots { display: flex; gap: clamp(10px, 2vw, 20px); justify-content: center; align-items: flex-end; }
.frame-phone-s { flex: 0 1 220px; min-width: 0; padding: 6px; border-radius: 30px; }
.frame-phone-s img { border-radius: 25px; }
.frame-tab-s { flex: 0 1 300px; min-width: 0; padding: 7px; border-radius: 22px; }
.frame-tab-s img { border-radius: 16px; }
.frame-ipad-s { padding: 9px; border-radius: 24px; }
.frame-ipad-s img { border-radius: 16px; }
@media (max-width: 480px) {
  .frame-phone-s { padding: 4px; border-radius: 18px; }
  .frame-phone-s img { border-radius: 15px; }
}
.spec-card {
  background: var(--card); border-radius: var(--radius); padding: 36px; box-shadow: inset 0 0 0 1px var(--line);
}
.section.alt .spec-card { background: var(--card-2); }
.spec-card .tag { font: 700 13px/1 var(--mono); letter-spacing: 0.04em; padding: 6px 9px; border-radius: 7px; display: inline-block; }
.spec-big { font-size: clamp(48px, 7vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin: 18px 0 8px; }
.spec-card .muted { color: var(--text-2); }
.status-banner {
  margin: 8px 0 0; padding: 16px 20px; border-radius: 16px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), inset 4px 0 0 var(--accent); color: var(--text-2);
}
.status-banner strong { color: var(--text); }
.tiers-grid { margin-top: 32px; }
.tier-h { font-size: 28px; letter-spacing: -0.02em; }
.tier .feature-list { margin-top: 18px; gap: 10px; font-size: 15px; }
.tier .feature-list li { color: var(--text); }
.tier em { color: var(--text-2); font-style: normal; }
.table-scroll { overflow-x: auto; }
.doc table.policy { min-width: 560px; }
.doc table.policy code { font-size: 13px; overflow-wrap: anywhere; }
.st { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.st-now { color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); }
.st-plan { color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.steps { padding-left: 1.3em; }
.steps li { margin: 12px 0; }
.card-h { margin-top: 0 !important; }
.doc table.policy { min-width: 520px; }
.doc table.policy code { overflow-wrap: normal; white-space: nowrap; color: var(--text); }
.doc table.policy .ptype { display: block; font-size: 13px; font-weight: 400; color: var(--text-2); margin-top: 2px; }
@media (max-width: 600px) {
  .doc table.policy { min-width: 0; }
  .doc table.policy thead { display: none; }
  .doc table.policy tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .doc table.policy th, .doc table.policy td { display: block; border: 0; padding: 2px 0; }
}

/* Round 3: beta join card, contact form */
.join-card {
  margin: 8px 0 8px; padding: 28px; border-radius: var(--radius); background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line); text-align: center;
}
.join-card .muted { margin: 16px 0 0; color: var(--text-2); font-size: 15px; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 19px; }
.contact-form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--text-2); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  font: 17px/1.4 var(--font); color: var(--text); background: var(--bg);
  border: 1px solid var(--field-line); border-radius: 12px; padding: 11px 14px; width: 100%; min-height: 44px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error, .doc .field-error { margin: 0; color: var(--danger); font-size: 15px; font-weight: 600; }
.field-hint, .doc .field-hint { margin: 0; color: var(--text-2); font-size: 14px; }
.field.check { grid-template-columns: 24px 1fr; align-items: start; column-gap: 12px; }
.field.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--btn); }
.field.check label { font-weight: 400; color: var(--text-2); }
.field.check .field-error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }
.contact-form .btn[disabled] { opacity: 0.7; cursor: progress; }
.form-status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok, .doc .form-status.ok { color: var(--ok); }
.form-status.bad, .doc .form-status.bad { color: var(--danger); }
:root { --field-line: rgba(255, 255, 255, 0.42); }
@media (prefers-color-scheme: light) { :root { --field-line: rgba(0, 0, 0, 0.42); } }
.doc table.policy td:last-child { width: 10.5em; }
.doc table.policy .st { white-space: normal; border-radius: 10px; line-height: 1.3; padding: 3px 8px; }
.doc table.trust td:last-child { width: auto; }
@media (max-width: 600px) { .doc table.policy td:last-child { width: auto; } }
