/* GrafMails — shared landing styles (font system + mobile-first) */

:root {
  --bg: #04060a;
  --panel: #070c14;
  --line: rgba(120, 180, 255, 0.14);
  --orange: #e4640b;
  --orange-lt: #ff7a1a;
  --orange-dk: #a8410a;
  --orange-btn-top: #f26a10; /* gradient top stop — keeps white large-bold text ≥3:1 (WCAG AA) */
  --text: #e6edf6;
  --muted: #8b98ab;
  --green: #25e0a4;
  --cyan: #38bdf8;
  --amber: #ffb020;

  /* Font roles — 3 families, clear hierarchy */
  --f-brand: "Luckiest Guy", cursive;           /* logo + hero headline only */
  --f-heading: "Barlow Condensed", sans-serif;    /* section titles, card/plan headings, buttons */
  --f-mono: "Share Tech Mono", monospace;         /* labels, chips, HUD, footer links */
  --f-body: "Ubuntu", -apple-system, sans-serif;  /* body copy, lists, paragraphs */

  --header-h: 4rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --transition: 0.18s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Typography scale */
h1, h2, h3 {
  font-family: var(--f-heading);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}

p {
  margin-bottom: 0.875rem;
}

ul, ol {
  margin: 0 0 1.125rem 1.35rem;
}

li + li {
  margin-top: 0.5rem;
}

strong {
  color: #fff;
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--orange);
  color: #fff;
  padding: 0.6rem 1rem;
  font-family: var(--f-heading);
  font-weight: 700;
  border-radius: 0.5rem;
}

.skip-link:focus {
  left: max(0.75rem, var(--safe-left));
  top: max(0.75rem, var(--safe-top));
}

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.wrap--narrow {
  width: min(860px, calc(100% - 2rem));
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: var(--safe-top);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 9, 15, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(120, 180, 255, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-brand);
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  letter-spacing: 0.04em;
  color: #fff;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(228, 100, 11, 0.45));
}

.brand .mk {
  color: var(--orange-lt);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 0.6rem;
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cdd6e2;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: #fff;
}

.nav-link[aria-current="page"] {
  color: var(--orange-lt);
  border-bottom-color: var(--orange);
}

/* Buttons — heading font for consistency with UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  font-family: var(--f-heading);
  font-size: 1.2rem; /* ≥18.66px bold = WCAG "large text" → 3:1 contrast threshold */
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 122, 26, 0.55);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff !important;
  background: linear-gradient(180deg, var(--orange-btn-top) 0%, var(--orange) 48%, var(--orange-dk) 100%);
  border: 2px solid #6d2905;
  border-radius: 9px;
  box-shadow: 0 4px 0 #6d2905, 0 10px 18px rgba(0, 0, 0, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #6d2905, 0 6px 12px rgba(0, 0, 0, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  color: #fff !important;
  background: rgba(10, 14, 22, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
}

.btn-ghost:hover {
  background: rgba(228, 100, 11, 0.22);
  border-color: rgba(255, 122, 26, 0.6);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-h) + var(--safe-top) + 2.5rem) 0 calc(5rem + var(--safe-bottom));
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
}

.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%) scale(1.02);
  object-fit: cover;
  border: 0;
  pointer-events: none;
}

.hero-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg) center / cover no-repeat;
  opacity: 1;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero-poster.is-hidden {
  opacity: 0;
}

.hero-dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 50% 55% at 50% 50%, rgba(4, 6, 10, 0.98) 0%, rgba(4, 6, 10, 0.5) 75%, transparent 100%),
    linear-gradient(180deg, rgba(4, 6, 10, 0.75) 0%, rgba(4, 6, 10, 0.88) 100%);
  pointer-events: none;
}

.hero-vig {
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(228, 100, 11, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 100, 11, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 50%, transparent 100%);
}

.hero-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(228, 100, 11, 0.45);
  z-index: 2;
  pointer-events: none;
}

.hero-corner.tl { top: calc(var(--header-h) + var(--safe-top) + 0.75rem); left: 1rem; border-right: 0; border-bottom: 0; }
.hero-corner.tr { top: calc(var(--header-h) + var(--safe-top) + 0.75rem); right: 1rem; border-left: 0; border-bottom: 0; }
.hero-corner.bl { bottom: 1rem; left: 1rem; border-right: 0; border-top: 0; }
.hero-corner.br { bottom: 1rem; right: 1rem; border-left: 0; border-top: 0; }

.hud-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 0.75rem 0 calc(0.9rem + var(--safe-bottom));
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 6, 10, 0.85) 30%, rgba(3, 5, 8, 0.97) 100%);
}

.hud-ticker .run {
  display: inline-block;
  padding-left: 100%;
  animation: tick 30s linear infinite;
  font-family: var(--f-mono);
  font-size: clamp(0.65rem, 2.5vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #eef6f1;
}

.hud-ticker .run b { color: var(--green); }
.hud-ticker .run i { color: var(--orange-lt); font-style: normal; }
.hud-ticker .run u { color: var(--cyan); text-decoration: none; }

@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--f-mono);
  font-size: clamp(0.65rem, 2vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-lt);
}

.hero-title {
  font-family: var(--f-brand);
  font-size: clamp(2rem, 9vw, 4.125rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0.65rem 0 0.25rem;
  text-wrap: balance;
  text-shadow: 2px 3px 0 rgba(0, 0, 0, 0.45), 0 0 36px rgba(228, 100, 11, 0.22);
}

.hero-title em {
  color: var(--orange-lt);
  font-style: normal;
  display: block;
}

.hero-lead {
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 2.8vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  color: #cdd6e2;
  margin-top: 0.875rem;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
}

.hero-chips li {
  font-family: var(--f-mono);
  font-size: clamp(0.7rem, 2.2vw, 0.75rem);
  letter-spacing: 0.04em;
  color: #b9c4d4;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(120, 180, 255, 0.2);
  border-radius: 999px;
  background: rgba(6, 12, 20, 0.6);
}

.hero-chips li::before {
  content: "✓ ";
  color: var(--green);
}

/* Sections */
section.band {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7.5rem) 0;
  border-top: 1px solid rgba(120, 180, 255, 0.08);
}

section.band.alt {
  background: radial-gradient(ellipse 120% 90% at 50% 0%, rgba(228, 100, 11, 0.05), transparent 60%), #05080e;
}

.kicker {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-lt);
  margin-bottom: 0.6rem;
}

.sec-title {
  font-size: clamp(1.65rem, 5vw, 2.875rem);
  line-height: 1.02;
  text-wrap: balance;
}

#enc-title {
  scroll-margin-top: calc(var(--header-h) + var(--safe-top) + 1rem);
}

.sec-intro {
  font-family: var(--f-body);
  color: var(--muted);
  font-size: clamp(0.95rem, 2.5vw, 1.125rem);
  max-width: 40rem;
  margin-top: 0.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card {
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.9), rgba(6, 10, 17, 0.9));
  border: 1px solid rgba(120, 180, 255, 0.12);
  border-radius: 14px;
  padding: clamp(1.25rem, 3vw, 1.625rem);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.6;
}

.card__icon {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--orange-lt);
  background: rgba(228, 100, 11, 0.12);
  border: 1px solid rgba(228, 100, 11, 0.3);
  margin-bottom: 1rem;
}

.card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.card h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.375rem);
  margin-bottom: 0.5rem;
}

.card p {
  font-family: var(--f-body);
  color: #aeb9c8;
  font-size: 0.9375rem;
  margin: 0;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.375rem;
  margin-top: 2.5rem;
}

.plan {
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.9), rgba(6, 10, 17, 0.92));
  border: 1px solid rgba(120, 180, 255, 0.14);
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 1.875rem);
}

.plan--feat {
  border-color: rgba(228, 100, 11, 0.5);
  box-shadow: 0 0 0 1px rgba(228, 100, 11, 0.25), 0 24px 60px rgba(0, 0, 0, 0.5);
}

.plan__tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 5px;
  background: rgba(228, 100, 11, 0.16);
  color: var(--orange-lt);
  border: 1px solid rgba(228, 100, 11, 0.35);
  margin-bottom: 0.875rem;
}

.plan h3 {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
}

.plan__lead {
  font-family: var(--f-body);
  color: var(--muted);
  margin: 0.375rem 0 1.125rem;
}

.plan__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.plan__list li {
  position: relative;
  padding-left: 1.625rem;
  font-family: var(--f-body);
  color: #c3cede;
  font-size: 0.9375rem;
  margin: 0;
}

.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: rgba(37, 224, 164, 0.15);
  box-shadow: inset 0 0 0 2px var(--green);
}

.plan .btn {
  width: 100%;
}

.btn-note {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
  margin: 0.7rem 0 0;
}

.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  align-items: start;
}

.steps {
  list-style: none;
  counter-reset: s;
  margin-top: 0.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.steps li {
  counter-increment: s;
  position: relative;
  padding-left: 3.25rem;
  font-family: var(--f-body);
  color: #b9c4d4;
  margin: 0;
}

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -2px;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange-lt);
  background: rgba(228, 100, 11, 0.12);
  border: 1px solid rgba(228, 100, 11, 0.35);
}

.vaultbox {
  background: linear-gradient(180deg, rgba(228, 100, 11, 0.08), rgba(6, 10, 17, 0.6));
  border: 1px solid rgba(228, 100, 11, 0.28);
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 1.625rem);
}

.vaultbox h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.375rem);
  margin-bottom: 0.625rem;
}

.vaultbox p {
  font-family: var(--f-body);
  color: #c3cede;
  font-size: 0.9375rem;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.25rem;
  max-width: 52rem;
}

.faq details {
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.9), rgba(6, 10, 17, 0.9));
  border: 1px solid rgba(120, 180, 255, 0.14);
  border-radius: 12px;
}

.faq details[open] {
  border-color: rgba(228, 100, 11, 0.35);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-family: var(--f-body);
  font-weight: 700;
  color: #fff;
  min-height: 2.75rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--f-mono);
  font-size: 1.25rem;
  color: var(--orange-lt);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq summary:focus-visible {
  outline: 3px solid rgba(255, 122, 26, 0.55);
  outline-offset: 2px;
  border-radius: 12px;
}

.faq details > p {
  font-family: var(--f-body);
  color: #b9c4d4;
  padding: 0 1.25rem 1.1rem;
  margin: 0;
}

/* Settings / DNS tables (help page) */
.settings-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.75rem;
  font-family: var(--f-body);
  font-size: 0.9375rem;
}

.settings-table caption {
  text-align: left;
  font-family: var(--f-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.settings-table th,
.settings-table td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(120, 180, 255, 0.12);
  color: #b9c4d4;
}

.settings-table th {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-lt);
  background: rgba(228, 100, 11, 0.07);
}

.settings-table td:first-child {
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
}

.settings-table code {
  font-family: var(--f-mono);
  font-size: 0.9em;
  color: #ffd9b8;
  background: rgba(228, 100, 11, 0.1);
  border: 1px solid rgba(228, 100, 11, 0.25);
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll .settings-table {
  min-width: 34rem;
}

.dns-table td:last-child code {
  word-break: break-all;
  white-space: normal;
}

.dns-dkim {
  background: rgba(228, 100, 11, 0.08);
  border: 1px solid rgba(228, 100, 11, 0.25);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  overflow-x: auto;
  font-size: 0.85rem;
}

.dns-dkim code {
  font-family: var(--f-mono);
  color: #ffd9b8;
  word-break: break-all;
  white-space: pre-wrap;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 1rem;
  padding: 0;
  list-style: none;
}

.pill {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(228, 100, 11, 0.12);
  color: var(--orange-lt);
  border: 1px solid rgba(228, 100, 11, 0.3);
}

.fineprint {
  font-size: 0.85rem;
  color: var(--muted);
}

.copy-btn {
  margin-left: 0.45rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: #b9c4d4;
  background: rgba(6, 12, 20, 0.7);
  border: 1px solid rgba(120, 180, 255, 0.25);
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  cursor: pointer;
  vertical-align: middle;
}

.copy-btn:hover {
  color: #fff;
  border-color: rgba(255, 122, 26, 0.6);
}

.copy-btn.is-copied {
  color: var(--green);
  border-color: rgba(37, 224, 164, 0.5);
}

.copy-btn:focus-visible {
  outline: 2px solid rgba(255, 122, 26, 0.55);
  outline-offset: 1px;
}

/* 404 */
.err-code {
  font-family: var(--f-brand);
  font-size: clamp(4.5rem, 20vw, 9rem);
  line-height: 1;
  color: var(--orange-lt);
  text-shadow: 2px 3px 0 rgba(0, 0, 0, 0.45), 0 0 36px rgba(228, 100, 11, 0.22);
  margin-bottom: 0.5rem;
}

.link-more {
  color: var(--orange-lt);
  font-family: var(--f-mono);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  display: inline-block;
  margin-top: 1rem;
}

.link-more:hover {
  text-decoration: underline;
}

/* Article page */
.page-main {
  padding: calc(var(--header-h) + var(--safe-top) + 2.5rem) 0 calc(3rem + var(--safe-bottom));
}

.page-main h1 {
  font-size: clamp(1.75rem, 5.5vw, 3.25rem);
  margin-bottom: 0.875rem;
}

.page-main .lead {
  font-family: var(--f-body);
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  color: #c3cede;
  margin-bottom: 2.375rem;
}

.page-main h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.875rem);
  margin: 2.625rem 0 0.875rem;
}

.page-main p,
.page-main li {
  font-family: var(--f-body);
  color: #b9c4d4;
}

.page-main ::marker {
  color: var(--orange-lt);
  font-weight: 700;
}

.note {
  background: linear-gradient(180deg, rgba(228, 100, 11, 0.09), rgba(6, 10, 17, 0.6));
  border: 1px solid rgba(228, 100, 11, 0.3);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  padding: 1.125rem 1.25rem;
  margin: 1.625rem 0;
}

.cta-banner {
  margin-top: 3.25rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.9), rgba(6, 10, 17, 0.92));
  border: 1px solid rgba(228, 100, 11, 0.4);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1rem, 3vw, 1.625rem);
  box-shadow: 0 0 0 1px rgba(228, 100, 11, 0.18), 0 24px 60px rgba(0, 0, 0, 0.5);
}

.cta-banner h2 {
  margin: 0 0 0.625rem;
}

.cta-banner p {
  max-width: 32.5rem;
  margin: 0 auto 1.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(120, 180, 255, 0.1);
  padding: clamp(2rem, 5vw, 2.5rem) 0 calc(2rem + var(--safe-bottom));
  background: #05080e;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
  text-align: center;
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.375rem;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.site-footer__links a {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: #c3cede;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.site-footer__links a:hover {
  color: var(--orange-lt);
}

.site-footer p {
  font-family: var(--f-body);
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 0;
}

.site-footer .mk {
  color: var(--orange-lt);
}

/* Mobile */
@media (max-width: 900px) {
  .grid-3,
  .plans,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    align-items: center;
    padding-bottom: calc(4.5rem + var(--safe-bottom));
  }

  .hero-corner {
    display: none;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
    max-width: 20rem;
  }

  /* Primary action first under the thumb on mobile */
  .hero-cta .btn-primary {
    order: -1;
  }

  .hud-ticker {
    opacity: 0.85;
  }
}

@media (max-width: 560px) {
  .wrap,
  .wrap--narrow,
  .site-header__inner {
    width: calc(100% - 1.25rem);
  }

  .nav .btn {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    /* keep ≥1.2rem bold: below that, white-on-orange fails WCAG contrast */
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.4rem;
  }

  .hero-copy {
    width: calc(100% - 1.25rem);
    padding: 0;
  }

  .hero-title {
    font-size: clamp(1.85rem, 10vw, 2.75rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .card:hover {
    transform: none;
  }
}

@media (max-width: 400px) {
  .hud-ticker {
    display: none;
  }

  .nav {
    gap: 0.35rem;
  }

  /* Too tight for text links; they remain in the footer and in-page CTAs */
  .nav-link {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hud-ticker .run,
  .card {
    animation: none !important;
    transition: none !important;
  }
}
