:root {
  --blue: #233b6e;
  --blue-deep: #172647;
  --gold: #dfcc8c;
  --cream: #eadeb4;
  --light: #eff0f4;
  --muted: #bfc7d9;
  --line: rgba(239, 240, 244, .2);
  color-scheme: dark;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--blue);
  color: var(--light);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; }
body { margin: 0; min-height: 100vh; background: var(--blue); line-height: 1.55; }
a { color: var(--cream); text-underline-offset: .2em; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: fixed; z-index: 10; top: 10px; left: 10px; padding: .7rem 1rem;
  background: var(--gold); color: var(--blue-deep); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.gateway-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 1180px; margin: 0 auto; padding: 1.15rem clamp(1rem, 4vw, 3rem);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--light); text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { width: 24px; height: 24px; border: 2px solid var(--gold); border-radius: 50%; position: relative; }
.brand-mark::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: 5px; height: 4px; border-bottom: 2px solid var(--gold); border-radius: 50%; }
.header-link { font-size: .88rem; font-weight: 700; }

.gateway-hero { max-width: 1180px; margin: 0 auto; padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem) clamp(4rem, 10vw, 8rem); }
.hero-copy { max-width: 850px; }
.section-label, .card-label { color: var(--gold); font-size: .75rem; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { text-wrap: balance; }
h1 { margin: .5rem 0 1.4rem; font: 500 clamp(3.8rem, 10vw, 8.2rem)/.92 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
h2 { margin: .45rem 0 .8rem; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.08; letter-spacing: -.035em; }
.intro { max-width: 760px; color: var(--light); font-size: clamp(1.12rem, 2vw, 1.4rem); }
.trial-message { max-width: 720px; margin: 1.4rem 0 0; padding: .9rem 1rem; border-left: 3px solid var(--gold); background: rgba(23, 38, 71, .48); color: var(--cream); }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 6vw, 5rem); }
.choice-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 320px; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 22px; background: var(--blue-deep); }
.choice-card-featured { background: linear-gradient(145deg, #1b2c52, var(--blue-deep)); box-shadow: 0 22px 60px rgba(10, 18, 36, .2); }
.choice-card-wide { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: minmax(180px, .55fr) minmax(280px, 1fr) auto; gap: 1rem 2rem; align-items: center; }
.choice-card-wide .card-label { grid-column: 1; }
.choice-card-wide h2 { grid-column: 1; }
.choice-card-wide p:not(.card-label) { grid-column: 2; grid-row: 1 / span 2; }
.choice-card-wide .secondary-button { grid-column: 3; grid-row: 1 / span 2; }
.choice-card > p:not(.card-label, .availability-note) { color: var(--muted); }
.choice-card > .primary-button, .choice-card > .secondary-button { margin-top: auto; }
.primary-button, .secondary-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .82rem 1.2rem;
  border-radius: 999px; font-weight: 750; text-align: center; text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease;
}
.primary-button { background: var(--gold); color: var(--blue-deep); }
.secondary-button { border: 1px solid rgba(239, 240, 244, .38); color: var(--light); }
.primary-button:hover, .secondary-button:hover { transform: translateY(-1px); }
.availability-note { margin: .8rem 0 0; color: var(--cream); font-size: .86rem; }

.gateway-footer { display: flex; justify-content: space-between; gap: 1.5rem; padding: 2rem max(1rem, calc((100vw - 1120px) / 2)); background: var(--blue-deep); color: var(--muted); font-size: .82rem; }
.gateway-footer nav { display: flex; gap: 1.2rem; }

@media (max-width: 760px) {
  .gateway-header { padding: .9rem 1rem; }
  .header-link { font-size: .76rem; }
  .gateway-hero { padding-top: 2.5rem; }
  h1 { font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card-wide { grid-column: auto; display: flex; align-items: flex-start; min-height: 320px; }
  .choice-card-wide .secondary-button { margin-top: auto; }
  .gateway-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; }
}
