:root {
  color-scheme: dark;
  --ink: #061421;
  --navy: #07182a;
  --panel: #10223d;
  --paper: #f4f7f5;
  --text: #eef6f3;
  --muted: #b9c8d2;
  --mint: #57dda8;
  --cyan: #5bc5ee;
  --gold: #f4c55c;
  --line: rgba(238, 246, 243, 0.18);
  --danger: #ff7c76;
  --success: #68e3ae;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 20; background: var(--paper); color: var(--ink); padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(6, 20, 33, 0.86); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.04rem; font-weight: 850; }
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.28));
}
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-weight: 700; }
.nav-links a, .nav-button { text-decoration: none; }
.nav-button { padding: 0; border: 0; background: transparent; color: inherit; font-weight: inherit; cursor: pointer; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-button:hover, .nav-button:focus-visible { color: var(--text); }
.hero {
  min-height: min(720px, calc(100svh - 24px));
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #071a31 url('/brand/nine-below-hero-v2.webp') center / cover no-repeat;
}
.hero-shade { position: absolute; inset: 0; background: rgba(3, 12, 24, 0.28); }
.hero-content { position: relative; z-index: 1; padding-top: 104px; padding-bottom: 48px; }
.hero-content > * { max-width: 650px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
h1, h2 { margin: 0; letter-spacing: 0; line-height: 1; }
h1 { font-size: clamp(4rem, 9vw, 7.6rem); }
h2 { font-size: clamp(2.25rem, 5vw, 4.6rem); }
.hero-copy { margin: 24px 0 0; color: #dce9ec; font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 570px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-weight: 850; cursor: pointer; }
.button:disabled { cursor: wait; opacity: 0.62; }
.button--primary { background: var(--mint); color: var(--ink); }
.button--secondary { border-color: rgba(255,255,255,0.52); background: rgba(7,24,42,0.74); }
.button--quiet { border-color: var(--line); background: transparent; color: var(--muted); }
.band { padding: 92px 0; }
.band--light { background: var(--paper); color: var(--ink); }
.band--light p { color: #405365; }
.band--dark { background: #10223d; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr); gap: clamp(44px, 8vw, 112px); align-items: start; }
.split p:not(.eyebrow), .compact > p:not(.eyebrow) { max-width: 660px; margin: 26px 0 0; font-size: 1.08rem; }
.feature-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(6,20,33,0.18); }
.feature-list li { display: grid; gap: 3px; padding: 16px 0; border-bottom: 1px solid rgba(6,20,33,0.18); }
.feature-list strong { font-size: 1.08rem; }
.feature-list span { color: #52677a; }
.band--gallery { background: #dce8e7; color: var(--ink); overflow: hidden; }
.gallery-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr); gap: clamp(36px, 7vw, 96px); align-items: end; margin-bottom: 44px; }
.gallery-heading p:not(.eyebrow) { margin: 0; color: #405365; }
.screen-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.screen-gallery figure { margin: 0; }
.screen-gallery img { display: block; width: 100%; height: auto; border: 1px solid rgba(6,20,33,0.2); border-radius: 8px; background: var(--navy); box-shadow: 0 14px 28px rgba(6,20,33,0.16); }
.screen-gallery figure:nth-child(even) { margin-top: 36px; }
.screen-gallery figcaption { padding-top: 10px; color: #405365; font-size: 0.88rem; font-weight: 800; text-align: center; }
.compact { max-width: 820px; margin-inline: auto; }
.text-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--cyan); font-weight: 800; }
footer { border-top: 1px solid var(--line); background: #061421; color: var(--muted); }
.footer-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner a { color: var(--mint); }
.footer-support, .case-back { padding: 0; border: 0; background: transparent; color: var(--mint); font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

.support-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: min(880px, calc(100dvh - 28px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(91,197,238,0.35);
  border-radius: 8px;
  background: #132845;
  color: var(--text);
  box-shadow: 0 28px 80px rgba(0,0,0,0.52);
}
.support-dialog::backdrop { background: rgba(3,12,22,0.78); backdrop-filter: blur(4px); }
.dialog-header { position: sticky; z-index: 2; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 26px 28px 22px; border-bottom: 1px solid var(--line); background: #17304f; }
.dialog-header h2 { font-size: clamp(2rem, 7vw, 3.2rem); }
.dialog-body { padding: 26px 28px 30px; }
.icon-button { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line); border-radius: 6px; background: #0b1e36; font-size: 2rem; line-height: 1; cursor: pointer; }
.support-form, .reply-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-form label, .reply-form label { display: grid; gap: 7px; color: var(--muted); font-size: 0.88rem; font-weight: 800; }
.support-form input, .support-form select, .support-form textarea, .reply-form textarea {
  width: 100%;
  border: 1px solid rgba(185,200,210,0.3);
  border-radius: 6px;
  background: #08182d;
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}
.support-form textarea, .reply-form textarea { resize: vertical; min-height: 138px; }
.support-form input:focus, .support-form select:focus, .support-form textarea:focus, .reply-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(91,197,238,0.16); }
.support-form small, .reply-form small { color: #8fa5b5; font-weight: 500; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }
.form-status { min-height: 1.4em; margin: 0; color: var(--danger); font-weight: 750; }
.submit-button { justify-self: start; min-width: 190px; }
.support-success { text-align: center; padding: 12px 10px 8px; }
.support-success h3 { margin: 8px 0 12px; font-size: 1.6rem; }
.support-success p:not(.eyebrow) { max-width: 520px; margin: 0 auto 24px; color: var(--muted); }
.support-success .button { margin: 5px; }
.success-mark { display: grid; width: 56px; height: 56px; margin: 0 auto 16px; place-items: center; border-radius: 50%; background: var(--success); color: var(--ink); font-size: 1.65rem; font-weight: 900; }

.site-header--solid { position: relative; background: #07182a; }
.site-header--solid .brand { color: var(--text); }
.support-page { min-height: 100vh; background: #e7eeee; color: var(--ink); }
.case-main { padding-top: 72px; padding-bottom: 100px; }
.case-loading, .case-error { max-width: 760px; padding: 70px 0; }
.case-loading h1, .case-error h1, .case-heading h1 { color: var(--ink); font-size: clamp(2.35rem, 7vw, 4.8rem); }
.case-error p:not(.eyebrow) { color: #405365; }
.case-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.case-reference { margin: 12px 0 0; color: #52677a; }
.status-chip { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #86a49c; border-radius: 999px; background: #d4e7df; color: #163b32; font-size: 0.8rem; font-weight: 900; }
.privacy-note { display: grid; gap: 2px; margin: 28px 0; padding: 16px 18px; border-left: 4px solid var(--gold); background: #fff8df; color: #55451d; }
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr); gap: 24px; align-items: start; }
.case-thread, .case-summary, .reply-form { border: 1px solid #c4d3d1; border-radius: 8px; background: white; }
.case-thread { padding: 24px; }
.case-thread h2, .case-summary h2, .reply-form h2 { margin: 0 0 18px; font-size: 1.25rem; }
.thread-list { display: grid; gap: 14px; }
.thread-entry { max-width: 88%; padding: 15px 16px; border-radius: 7px; background: #edf2f3; }
.thread-entry--requester { margin-left: auto; background: #dff5ec; }
.thread-entry p { margin: 8px 0 0; white-space: pre-wrap; }
.thread-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #52677a; font-size: 0.75rem; }
.thread-empty { color: #52677a; }
.case-summary { padding: 22px; }
.case-summary dl { margin: 0; }
.case-summary dl div { padding: 11px 0; border-top: 1px solid #dce5e4; }
.case-summary dt { color: #60746f; font-size: 0.75rem; font-weight: 850; text-transform: uppercase; }
.case-summary dd { margin: 3px 0 0; font-weight: 750; }
.reply-form { margin-top: 24px; padding: 24px; color: var(--ink); }
.reply-form label { color: #405365; }
.reply-form textarea { background: #f5f8f8; color: var(--ink); border-color: #aebfbc; }

.deletion-main { padding-top: 64px; padding-bottom: 100px; }
.deletion-heading { max-width: 820px; }
.deletion-heading h1 { color: var(--ink); font-size: clamp(3rem, 8vw, 6rem); }
.deletion-heading > p:not(.eyebrow) { max-width: 700px; color: #405365; font-size: 1.12rem; }
.deletion-callout, .deletion-warning, .deletion-options, .deletion-help, .deletion-success {
  margin-top: 28px;
  border: 1px solid #c4d3d1;
  border-radius: 8px;
  background: white;
}
.deletion-callout { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 26px; border-left: 5px solid var(--mint); }
.deletion-callout h2, .deletion-warning h2, .deletion-options h2, .deletion-help h2, .deletion-success h2 { color: var(--ink); font-size: clamp(1.65rem, 4vw, 2.5rem); }
.deletion-callout p:not(.eyebrow), .deletion-warning p, .deletion-options__heading > p:not(.eyebrow), .deletion-help p, .deletion-success > p:not(.eyebrow) { color: #405365; }
.deletion-badge { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; background: #d4f3e6; color: #163b32; font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
.deletion-warning { padding: 24px 26px; border-left: 5px solid var(--gold); background: #fff9e8; }
.deletion-warning p:last-child { margin-bottom: 0; font-weight: 750; color: #604d1d; }
.deletion-options { padding: 28px; }
.deletion-options__heading { max-width: 720px; margin-bottom: 24px; }
.deletion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.deletion-form { display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid #cbd7d5; border-radius: 8px; background: #f4f8f7; }
.deletion-form h3 { margin: 0; color: var(--ink); font-size: 1.28rem; }
.deletion-form div > p { margin: 4px 0 0; color: #52677a; }
.deletion-form label { display: grid; gap: 7px; color: #405365; font-size: 0.86rem; font-weight: 800; }
.deletion-form input {
  width: 100%;
  border: 1px solid #aebfbc;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}
.deletion-form input:focus { border-color: #218eb8; box-shadow: 0 0 0 3px rgba(33,142,184,0.14); }
.deletion-form .form-status { margin-top: auto; color: #9a302b; }
.verification-fields { display: grid; gap: 16px; }
.button--danger { background: #b8332e; color: white; }
.deletion-help { padding: 24px 26px; }
.deletion-help a { color: #166c8f; font-weight: 800; }
.deletion-success { padding: 40px 28px; text-align: center; }
.deletion-success .success-mark { margin-bottom: 18px; }
.deletion-success .button { margin-top: 10px; }

.nav-early-access { padding: 9px 13px; border-radius: 5px; background: var(--mint); color: var(--ink) !important; }
.early-access-page { min-height: 100vh; background: #07182a; }
.early-access-main { min-height: calc(100vh - 168px); padding: 136px 0 88px; background: radial-gradient(circle at 14% 12%, rgba(91,197,238,0.18), transparent 34%), linear-gradient(145deg, #07182a 0%, #102f4d 100%); }
.early-access-intro { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.78fr); gap: clamp(42px, 7vw, 96px); align-items: start; }
.early-access-intro h1, .early-access-action h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
.early-access-lede { max-width: 680px; margin: 24px 0 0; color: #d5e4e8; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.early-access-points { display: grid; gap: 0; margin: 38px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.early-access-points li { display: grid; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.early-access-points span { color: var(--muted); }
.early-access-card { padding: clamp(24px, 4vw, 38px); border: 1px solid rgba(91,197,238,0.34); border-radius: 10px; background: rgba(16,34,61,0.96); box-shadow: 0 24px 70px rgba(0,0,0,0.34); }
.early-access-card h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.early-access-card h3 { margin: 12px 0; font-size: 1.55rem; }
.muted-light { color: var(--muted); }
.early-access-form { display: grid; gap: 18px; margin-top: 24px; }
.early-access-form > label:not(.choice), .early-access-form .form-grid > label { display: grid; gap: 7px; color: var(--muted); font-size: 0.88rem; font-weight: 800; }
.early-access-form input:not([type="checkbox"]), .early-access-form select, .early-access-form textarea { width: 100%; border: 1px solid rgba(185,200,210,0.34); border-radius: 6px; background: #08182d; color: var(--text); padding: 13px 14px; outline: none; }
.early-access-form textarea { resize: vertical; }
.early-access-form input:focus, .early-access-form select:focus, .early-access-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(91,197,238,0.16); }
.early-access-form fieldset { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.early-access-form legend { margin-bottom: 9px; color: var(--muted); font-size: 0.88rem; font-weight: 800; }
.choice { display: flex; gap: 11px; align-items: flex-start; padding: 13px; border: 1px solid rgba(185,200,210,0.22); border-radius: 6px; background: rgba(7,24,42,0.58); cursor: pointer; }
.choice input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--mint); }
.choice span { display: grid; gap: 2px; color: var(--text); }
.choice small { color: var(--muted); }
.choice--future { border-style: dashed; }
.consent { padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 0.86rem; }
.consent span { color: var(--muted); }
.optional { color: #8fa5b5; font-size: 0.76rem; font-weight: 600; }
.form-fineprint { margin: 0; color: #8fa5b5; font-size: 0.78rem; }
.form-fineprint a { color: var(--cyan); }
.form-status[data-tone="success"] { color: var(--success); }
.early-access-success { padding: 32px 10px 10px; text-align: center; }
.early-access-success p { color: var(--muted); }
.early-access-action { min-height: 100vh; display: grid; place-items: center; padding-top: 120px; padding-bottom: 80px; }
.action-card { width: min(680px, 100%); }
.action-card--wide { width: min(820px, 100%); }
.action-card > p:not(.eyebrow) { color: var(--muted); }
.platform-guidance { display: grid; gap: 10px; margin-top: 24px; }
.platform-guidance p { margin: 0; padding: 14px 16px; border-left: 4px solid var(--cyan); background: rgba(7,24,42,0.64); color: var(--muted); }
.action-card > .button { width: auto; margin: 16px 8px 0 0; }
#feedback-success { text-align: center; }

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1120px); }
  .site-header { position: absolute; }
  .nav { min-height: 64px; }
  .nav-links a:not(:last-child) { display: none; }
  .nav-links .nav-button { display: none; }
  .hero {
    min-height: min(720px, calc(100svh - 12px));
    align-items: end;
    background-position: 72% 64px;
    background-size: auto 52%;
  }
  .hero-shade { background: rgba(3, 12, 24, 0.36); }
  .hero-content { padding-top: 390px; padding-bottom: 54px; }
  h1 { font-size: 4.25rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .band { padding: 66px 0; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 18px; }
  .screen-gallery { display: flex; gap: 14px; margin-inline: -14px; padding: 0 14px 18px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .screen-gallery figure { width: min(72vw, 300px); flex: 0 0 auto; margin-top: 0 !important; scroll-snap-align: center; }
  .footer-inner { padding: 26px 0; align-items: flex-start; flex-direction: column; }
  .form-grid, .case-layout, .deletion-grid { grid-template-columns: 1fr; }
  .case-heading { flex-direction: column; }
  .dialog-header, .dialog-body { padding-inline: 20px; }
  .case-main { padding-top: 48px; }
  .deletion-main { padding-top: 44px; }
  .deletion-callout { flex-direction: column; }
  .deletion-options { padding: 20px; }
  .nav-early-access { padding: 7px 10px; }
  .early-access-main { padding-top: 100px; }
  .early-access-intro { grid-template-columns: 1fr; }
  .early-access-action { padding-top: 94px; }
  .action-card > .button { width: 100%; margin-right: 0; }
}

@media (max-width: 720px) and (max-height: 700px) {
  .hero {
    min-height: calc(100svh - 8px);
    background-position: 72% 56px;
    background-size: auto 34%;
  }
  .hero-content { padding-top: 205px; padding-bottom: 22px; }
  .eyebrow { margin-bottom: 8px; font-size: 0.68rem; }
  h1 { font-size: 3.2rem; }
  .hero-copy { margin-top: 12px; font-size: 0.98rem; }
  .actions { gap: 8px; margin-top: 16px; }
  .button { min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
