:root {
  --blue: #0a84ff;
  --blue-dark: #0066cc;
  --blue-soft: #eef6ff;
  --gold: #d4a657;
  --gold-dark: #8a641f;
  --gold-soft: #fff4dc;
  --ink: #101418;
  --muted: #586270;
  --line: #d9e1ea;
  --surface: #ffffff;
  --page: #fbfcfe;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(251, 252, 254, 0.92);
  border-bottom: 1px solid rgba(217, 225, 234, 0.72);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: min(190px, 48vw);
  height: auto;
}

.nav-cta,
.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: var(--blue);
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--blue-dark);
}

.button.full {
  width: 100%;
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.section-shell {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
}

.pay-hero {
  padding: 58px 0 80px;
}

.eyebrow,
.plan-label {
  width: fit-content;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  background: var(--blue-soft);
}

.section-heading h1,
.pay-hero h1 {
  max-width: 650px;
  margin: 16px 0 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.pay-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 410px);
  gap: 18px;
  align-items: start;
  margin-top: 28px;
}

.pay-panel,
.pay-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
}

.pay-panel {
  display: grid;
  gap: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
}

label span,
legend {
  color: #3c4652;
  font-size: 14px;
  font-weight: 800;
}

input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid #cbd8e5;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.14);
}

fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.radio-card,
.radio-pill {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
}

.radio-card strong {
  display: block;
  margin-bottom: 4px;
}

.radio-card span,
.radio-pill span {
  color: #4d5662;
  line-height: 1.4;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.seat-tool {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.stepper {
  display: grid;
  grid-template-columns: 36px 70px 36px;
}

.stepper button,
.stepper input {
  height: 36px;
  border: 1px solid #cbd8e5;
  border-radius: 0;
  text-align: center;
  background: #fff;
}

.stepper button {
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}

.stepper button:first-child {
  border-radius: 8px 0 0 8px;
}

.stepper button:last-child {
  border-radius: 0 8px 8px 0;
}

.pay-summary {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 14px;
}

.pay-summary h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0;
}

.pay-summary p:not(.plan-label) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.summary-lines {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.summary-lines div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-lines span {
  color: var(--muted);
}

.form-status {
  min-height: 22px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.form-status[data-state="success"] {
  color: #067647;
}

.fine-print {
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 30px;
  color: var(--muted);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
  font-weight: 720;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-inner a {
  color: #39424e;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--blue);
}

@media (max-width: 860px) {
  .pay-layout {
    grid-template-columns: 1fr;
  }

  .pay-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .section-shell {
    width: auto;
    max-width: none;
    padding: 0 16px;
  }

  .pay-hero {
    padding: 34px 0 48px;
  }

  .pay-hero h1 {
    font-size: 42px;
  }

  .form-grid,
  .term-grid {
    grid-template-columns: 1fr;
  }

  .seat-tool {
    align-items: stretch;
    flex-direction: column;
  }

  .summary-lines div {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }
}
