:root {
  color-scheme: dark;
  --bg: #07101d;
  --bg-soft: #0c1726;
  --panel: #111f31;
  --panel-strong: #152840;
  --line: #263b52;
  --line-soft: #1c2e43;
  --text: #f5f8fc;
  --muted: #a9b8ca;
  --green: #55e990;
  --green-strong: #2dcc72;
  --green-dark: #062b1a;
  --blue: #7fb4ff;
  --danger: #ff8f8f;
  --warning: #ffc86b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(38, 91, 158, 0.22), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #8af5b4;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.narrow {
  width: min(800px, 100%);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgba(91, 120, 151, 0.3);
  background: rgba(7, 16, 29, 0.88);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.08rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #05140d;
  background: linear-gradient(135deg, #80ffae, var(--green-strong));
  box-shadow: 0 8px 22px rgba(45, 204, 114, 0.22);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.primary-nav a {
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--text);
}

.hero {
  min-height: 690px;
  padding-block: 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.88fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.hero h1,
.article-header h1,
.error-page h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero .lede {
  max-width: 650px;
  margin: 1.75rem 0 0;
  color: #c2cede;
  font-size: clamp(1.08rem, 2vw, 1.27rem);
}

.eyebrow,
.card-label {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trust-row span {
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
}

.mailbox-card {
  min-height: 390px;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(24, 46, 73, 0.96), rgba(10, 24, 40, 0.98));
  box-shadow: var(--shadow);
}

.mailbox-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.mailbox-card > div > p:not(.card-label, .microcopy, .countdown, .status-message) {
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.text-button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(127, 180, 255, 0.75);
  outline-offset: 3px;
}

.button-primary {
  background: var(--green);
  color: #06150d;
}

.button-primary:hover {
  background: #81f4ac;
  color: #06150d;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(8, 19, 32, 0.55);
  color: var(--text);
}

.button-secondary:hover {
  border-color: #54708f;
  color: var(--text);
}

.button-wide {
  width: 100%;
  margin-top: 1.35rem;
}

.microcopy,
.reviewed {
  color: #8192a6;
  font-size: 0.8rem;
}

.microcopy {
  margin: 0.85rem 0 0;
}

.address-heading,
.message-view-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.address-heading h2 {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.13rem;
}

.countdown {
  margin: 1rem 0 0;
  color: var(--warning);
  font-variant-numeric: tabular-nums;
}

.status-message {
  color: var(--muted);
  font-size: 0.88rem;
}

.error-message {
  margin: 1rem 0 0;
  color: var(--danger);
}

.inbox-table-wrap,
.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.inbox-table {
  width: 100%;
  margin-top: 1.25rem;
  border-collapse: collapse;
  font-size: 0.8rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.8rem;
  border: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text);
  background: rgba(24, 43, 65, 0.75);
}

td {
  color: var(--muted);
}

.inbox-table button {
  border: 0;
  background: none;
  color: var(--green);
  font-weight: 700;
}

.message-view {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.message-view h3 {
  margin: 0;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--green);
}

.message-frame {
  width: 100%;
  min-height: 420px;
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.quick-answer {
  padding-block: 3rem;
  border-block: 1px solid var(--line-soft);
  background: rgba(15, 30, 48, 0.62);
}

.quick-answer h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.quick-answer p {
  margin: 0;
  color: #c2cede;
}

.section {
  padding-block: clamp(4.3rem, 8vw, 7rem);
}

.section-contrast {
  border-block: 1px solid var(--line-soft);
  background: #091423;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.3rem;
}

.section-heading h2,
.split-grid h2,
.article-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps-grid article,
.warning-card {
  padding: 1.65rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.steps-grid h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1.25rem;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--green);
  font-weight: 800;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.check-list,
.cross-list {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.cross-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.8rem;
  color: #c2cede;
}

.check-list li::before,
.cross-list li::before {
  position: absolute;
  left: 0;
  font-weight: 900;
}

.check-list li::before {
  content: "✓";
  color: var(--green);
}

.cross-list li::before {
  content: "×";
  color: var(--danger);
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}

.fact-list div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.fact-list div:nth-child(odd) {
  padding-right: 2rem;
}

.fact-list div:nth-child(even) {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.fact-list dt,
.prose dt {
  color: var(--text);
  font-weight: 750;
}

.fact-list dd,
.prose dd {
  margin: 0;
  color: var(--muted);
}

.detail-link {
  margin-top: 1.4rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 1.2rem 2rem 1.2rem 0;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.faq-list p {
  max-width: 800px;
  margin: -0.35rem 0 1.25rem;
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: #8192a6;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.article {
  width: min(900px, calc(100% - 2.5rem));
  padding-block: 2.25rem 6rem;
}

.article-header {
  padding-block: clamp(3rem, 7vw, 5.7rem) 2.2rem;
}

.article-header h1 {
  font-size: clamp(2.65rem, 6vw, 4.8rem);
}

.article-header .lede {
  max-width: 760px;
  margin: 1.45rem 0 0;
  color: #c2cede;
  font-size: 1.18rem;
}

.answer-box {
  margin-bottom: 3rem;
  padding: 1.5rem;
  border: 1px solid rgba(85, 233, 144, 0.34);
  border-radius: var(--radius);
  background: rgba(6, 43, 26, 0.34);
}

.answer-box strong {
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.answer-box p {
  margin: 0.45rem 0 0;
  color: #d8e4f2;
  font-size: 1.08rem;
}

.prose {
  color: #bdc9d8;
}

.prose h2 {
  margin: 3rem 0 0.8rem;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.prose h3 {
  margin: 2rem 0 0.5rem;
  color: var(--text);
}

.prose p {
  margin: 0.8rem 0;
}

.prose li {
  margin: 0.45rem 0;
}

.prose code {
  padding: 0.15rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #081322;
  color: #d9e9fc;
}

.prose blockquote {
  margin: 1.4rem 0;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--green);
  background: var(--bg-soft);
  color: #d6e1ee;
  font-size: 1.08rem;
}

.prose dl {
  margin: 1.4rem 0;
}

.prose dl div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.article-cta {
  margin-top: 4rem;
  padding: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.article-cta h2 {
  font-size: 1.6rem;
}

.article-cta p:not(.eyebrow) {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.site-footer {
  padding-block: 4rem 2rem;
  border-top: 1px solid var(--line-soft);
  background: #050c15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}

.footer-grid p {
  max-width: 480px;
  color: #8394a8;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-grid nav strong {
  margin-bottom: 0.35rem;
}

.footer-grid nav a {
  color: #9dafc3;
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-soft);
  color: #718398;
  font-size: 0.78rem;
}

.consent-banner {
  position: fixed;
  z-index: 50;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: min(850px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid #39516d;
  border-radius: 15px;
  background: #122238;
  box-shadow: var(--shadow);
}

.consent-banner p {
  margin: 0;
  color: #c0cddd;
  font-size: 0.88rem;
}

.consent-actions {
  display: flex;
  gap: 0.6rem;
  flex: none;
}

.error-page {
  min-height: 65vh;
  padding-block: 7rem;
}

.error-page h1 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
}

.error-page p:not(.eyebrow) {
  max-width: 620px;
  margin: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-block: 4rem;
  }

  .mailbox-card {
    min-height: 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .fact-list div:nth-child(odd),
  .fact-list div:nth-child(even) {
    padding-inline: 0;
    border-left: 0;
  }
}

@media (max-width: 700px) {
  .shell,
  .article {
    width: min(100% - 1.5rem, 1160px);
  }

  .header-inner {
    min-height: 64px;
  }

  .primary-nav a:not(:first-child) {
    display: none;
  }

  .hero {
    padding-block: 2.5rem 3.25rem;
    gap: 2.25rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.3vw, 2.8rem);
  }

  .trust-row {
    margin-top: 1.4rem;
  }

  .address-heading,
  .article-cta,
  .consent-banner,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .address-heading .button,
  .article-cta .button {
    width: 100%;
  }

  .fact-list div,
  .prose dl div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .consent-actions .button {
    flex: 1;
  }

  .inbox-table {
    min-width: 600px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
