:root {
  --ink: #071427;
  --navy: #061d38;
  --blue: #1688ff;
  --cyan: #58d4ff;
  --chrome: #dceeff;
  --mint: #30d5a3;
  --muted: #668096;
  --line: rgba(124, 199, 255, .18);
  --panel: rgba(255, 255, 255, .96);
  --shadow: 0 24px 70px rgba(3, 8, 21, .18);
  --font-display: "Space Age Orion", Arial, Helvetica, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(22, 136, 255, .035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(88, 212, 255, .03) 1px, transparent 1px),
    linear-gradient(180deg, #030815 0, #061d38 360px, #f4f8fc 360px, #f8fbff 100%);
  background-size: 42px 42px, 42px 42px, auto;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.purchase-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 18px;
}

.purchase-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  border: 1px solid rgba(220, 238, 255, .18);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(22, 136, 255, .16), rgba(220, 238, 255, .07) 18%, transparent 34%),
    linear-gradient(90deg, rgba(3, 8, 21, .96), rgba(6, 29, 56, .94) 52%, rgba(8, 46, 78, .9));
  box-shadow: 0 18px 42px rgba(3, 8, 21, .24);
  padding: 10px 14px;
  backdrop-filter: blur(12px);
}

.brand-lockup,
.product-top,
.hero-actions,
.product-actions,
.checkout-example,
.purchase-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand-lockup {
  min-width: 0;
}

.brand-lockup img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border: 1px solid rgba(220, 238, 255, .38);
  border-radius: 8px;
  background: #030815;
  box-shadow: 0 0 0 1px rgba(22, 136, 255, .16), 0 12px 28px rgba(0, 0, 0, .24);
}

.brand-lockup span {
  display: grid;
  min-width: 0;
}

.brand-lockup small,
.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-lockup strong {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.05;
}

.purchase-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.purchase-nav a {
  min-height: 34px;
  border: 1px solid rgba(220, 238, 255, .18);
  border-radius: 999px;
  color: #e8f6ff;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}

.purchase-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
  min-height: 520px;
  padding: clamp(28px, 5vw, 72px) 0 28px;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  color: #ffffff;
}

.hero-copy h1,
.section-head h2,
.checkout-panel h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-copy h1 {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 86px);
}

.hero-copy p {
  max-width: 840px;
  margin: 0;
  color: #cfe4f8;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.48;
}

.hero-panel,
.checkout-panel,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(246, 251, 255, .94)),
    #ffffff;
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: clamp(18px, 2vw, 28px);
}

.hero-panel img {
  width: min(220px, 72%);
  height: auto;
  object-fit: contain;
}

.hero-panel div {
  display: grid;
  gap: 5px;
  border-top: 1px solid rgba(124, 199, 255, .14);
  padding-top: 14px;
}

.hero-panel span,
.product-meta span,
.product-price span,
.checkout-panel p {
  color: var(--muted);
}

.hero-panel strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.28;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(124, 147, 170, .36);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f5f9fd);
  color: #0d4f8f;
  padding: 10px 14px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 8px 18px rgba(6, 29, 56, .075);
}

.btn.primary {
  border-color: rgba(88, 212, 255, .55);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 24%),
    linear-gradient(135deg, #075bb3, #1688ff 58%, #58d4ff);
  color: #ffffff;
}

.btn.compact {
  min-height: 36px;
  padding: 8px 11px;
  font-size: 13px;
}

.section-head {
  display: grid;
  gap: 8px;
  margin: 26px 0 14px;
}

.section-head h2,
.checkout-panel h2 {
  color: var(--navy);
  font-size: clamp(28px, 3.3vw, 48px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 16px;
}

.product-card {
  --product-accent: var(--blue);
  --product-glow: rgba(22, 136, 255, .16);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 470px;
  padding: 18px;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--product-accent), rgba(88, 212, 255, .38));
}

.product-top {
  position: relative;
  z-index: 1;
  align-items: flex-start;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-logo {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--product-accent) 32%, rgba(124, 199, 255, .16));
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(242, 248, 255, .84)),
    #ffffff;
  box-shadow: 0 16px 30px var(--product-glow);
}

.product-logo img {
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
}

.product-title {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.product-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: 0;
}

.product-tagline {
  margin: 0;
  color: color-mix(in srgb, var(--product-accent) 74%, #061d38);
  font-size: 14px;
  font-weight: 900;
}

.product-copy {
  margin: 0;
  color: #324b63;
  font-size: 15px;
  line-height: 1.5;
}

.product-feature-list,
.product-meta {
  display: grid;
  gap: 9px;
}

.product-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-feature-list li,
.product-meta div {
  border: 1px solid rgba(124, 199, 255, .14);
  border-radius: 8px;
  background: #f7fbff;
  padding: 9px 10px;
  color: #24435f;
  font-size: 13px;
  font-weight: 800;
}

.product-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-meta div {
  display: grid;
  gap: 4px;
}

.product-meta strong {
  color: var(--navy);
  line-height: 1.2;
}

.product-actions {
  flex-wrap: wrap;
  justify-content: space-between;
  align-self: end;
  margin-top: auto;
  border-top: 1px solid rgba(124, 199, 255, .14);
  padding-top: 14px;
}

.product-price {
  display: grid;
  gap: 2px;
}

.product-price strong {
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.checkout-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.checkout-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  gap: 18px;
  align-items: center;
  margin: 28px 0 36px;
  padding: clamp(18px, 2vw, 28px);
}

.checkout-panel p {
  max-width: 760px;
  margin: 10px 0 0;
  line-height: 1.5;
}

.checkout-example {
  min-width: 0;
  justify-content: flex-end;
}

.checkout-example code,
.checkout-example span {
  overflow: auto;
  max-width: 100%;
  border: 1px solid rgba(124, 199, 255, .18);
  border-radius: 8px;
  background: #071427;
  color: #dceeff;
  padding: 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
}

.checkout-alert {
  grid-column: 1 / -1;
  border: 1px solid rgba(168, 112, 0, .24);
  border-radius: 8px;
  background: #fff8e8;
  color: #6a4800;
  padding: 12px 14px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .purchase-topbar,
  .purchase-hero,
  .checkout-panel {
    grid-template-columns: 1fr;
  }

  .purchase-topbar {
    position: relative;
  }

  .purchase-nav,
  .checkout-example,
  .checkout-buttons {
    justify-content: flex-start;
  }

  .purchase-hero {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .purchase-shell {
    padding: 10px;
  }

  .purchase-topbar,
  .hero-panel,
  .product-card,
  .checkout-panel {
    padding: 14px;
  }

  .hero-actions,
  .product-actions,
  .product-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn,
  .checkout-buttons .btn {
    width: 100%;
  }
}

/* Clean storefront pass: no page-level light band can sit behind hero text. */
body {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(22, 136, 255, .022) 1px, transparent 1px),
    linear-gradient(0deg, rgba(48, 213, 163, .018) 1px, transparent 1px),
    linear-gradient(180deg, #eef5fb, #f8fbff 420px, #f5f8fc 100%);
  background-size: 44px 44px, 44px 44px, auto;
}

.purchase-shell {
  width: min(1440px, 100%);
  padding: clamp(12px, 1.4vw, 20px);
}

.purchase-topbar {
  min-height: 72px;
  border-color: rgba(124, 199, 255, .2);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .08), transparent 24%),
    linear-gradient(90deg, rgba(3, 8, 21, .98), rgba(6, 29, 56, .97) 54%, rgba(8, 46, 78, .94));
  box-shadow: 0 14px 34px rgba(3, 8, 21, .22);
}

.purchase-hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  min-height: 0;
  margin-top: clamp(14px, 1.5vw, 22px);
  border: 1px solid rgba(124, 199, 255, .24);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(88, 212, 255, .13), transparent 34%),
    linear-gradient(90deg, rgba(3, 8, 21, .99), rgba(6, 29, 56, .98) 54%, rgba(7, 50, 73, .95)),
    #061d38;
  box-shadow: 0 28px 76px rgba(3, 8, 21, .3);
  padding: clamp(28px, 4vw, 56px);
}

.purchase-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(88, 212, 255, .78), rgba(48, 213, 163, .48), transparent);
  pointer-events: none;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 920px;
  color: #ffffff;
  font-size: clamp(38px, 5.4vw, 76px);
  text-wrap: balance;
}

.hero-copy p {
  max-width: 820px;
  color: #cfe4f8;
}

.hero-panel {
  border-color: rgba(220, 238, 255, .2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(240, 248, 255, .92)),
    #ffffff;
  box-shadow: 0 18px 42px rgba(3, 8, 21, .18);
}

.section-head {
  margin: clamp(24px, 3vw, 40px) 0 14px;
  border-bottom: 1px solid rgba(124, 199, 255, .16);
  padding-bottom: 12px;
}

.section-head h2,
.checkout-panel h2 {
  color: #081d35;
  text-wrap: balance;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(14px, 1.5vw, 20px);
}

.product-card {
  overflow: visible;
  min-height: 0;
  border-color: rgba(124, 199, 255, .18);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(6, 29, 56, .025), 0 16px 36px rgba(6, 29, 56, .065);
  padding: 18px;
}

.product-card::before {
  position: static;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 2px;
}

.product-card > *,
.product-top {
  position: static;
  z-index: auto;
}

.product-top {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
}

.product-logo {
  width: 64px;
  height: 64px;
  border-color: rgba(124, 199, 255, .2);
  background: #f7fbff;
  box-shadow: none;
}

.product-logo img {
  max-width: 52px;
  max-height: 52px;
}

.product-title h3 {
  color: #081d35;
  font-size: clamp(21px, 1.7vw, 26px);
  overflow-wrap: anywhere;
}

.product-tagline {
  color: #0d4f8f;
}

.product-copy {
  color: #344c63;
  font-size: 15px;
}

.product-feature-list li,
.product-meta div {
  background: #f6fbff;
  color: #24435f;
}

.product-actions {
  gap: 12px;
}

.checkout-buttons .btn {
  min-width: 148px;
}

.checkout-panel {
  border-color: rgba(124, 199, 255, .18);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(6, 29, 56, .025), 0 16px 36px rgba(6, 29, 56, .065);
}

@media (max-width: 980px) {
  .purchase-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .purchase-hero {
    padding: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .product-top {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .product-logo {
    width: 58px;
    height: 58px;
  }
}

/* Buyer-path storefront upgrade. */
@font-face {
  font-family: "Space Age Orion";
  src: url("assets/fonts/space-age.ttf") format("truetype");
  font-display: swap;
}

.space-brand,
.brand-lockup strong {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}

.brand-lockup strong {
  font-size: clamp(20px, 2vw, 28px);
}

.space-brand {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(88, 212, 255, .36);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #eaf8ff;
  padding: 8px 10px 7px;
  font-size: clamp(16px, 1.5vw, 22px);
}

.guided-head,
.inline-head {
  max-width: 1060px;
}

.section-head p {
  max-width: 980px;
  margin: 0;
  color: #526b82;
  font-size: 16px;
  line-height: 1.55;
}

.buyer-grid,
.why-grid,
.workflow-band {
  display: grid;
  gap: 16px;
}

.buyer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.buyer-card,
.why-section,
.workflow-band {
  border: 1px solid rgba(124, 199, 255, .18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(6, 29, 56, .025), 0 16px 36px rgba(6, 29, 56, .06);
}

.buyer-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
}

.buyer-card-top {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.buyer-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(124, 199, 255, .22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 136, 255, .1), rgba(88, 212, 255, .06)),
    #f6fbff;
  color: #0d4f8f;
  font-family: var(--font-display);
  font-size: 20px;
}

.buyer-card h3 {
  margin: 2px 0 0;
  color: #081d35;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
}

.buyer-card p {
  margin: 0;
  color: #344c63;
  line-height: 1.5;
}

.buyer-card ul,
.product-outcomes ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.buyer-card li,
.product-outcomes li {
  position: relative;
  padding-left: 18px;
  color: #24435f;
  font-size: 14px;
  line-height: 1.4;
}

.buyer-card li::before,
.product-outcomes li::before {
  content: "";
  position: absolute;
  top: .56em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #1688ff;
}

.buyer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.plan-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.plan-strip span {
  border: 1px solid rgba(88, 212, 255, .24);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(237, 248, 255, .72)),
    #ffffff;
  color: #0d4f8f;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.tier-note {
  color: #5c738b;
  font-size: 12px;
  font-weight: 800;
}

.role-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.role-tabs button {
  display: inline-grid;
  gap: 3px;
  min-width: 154px;
  min-height: 58px;
  justify-items: start;
  border: 1px solid rgba(124, 199, 255, .28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(237, 248, 255, .88)),
    #ffffff;
  color: #0d4f8f;
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(6, 29, 56, .075), inset 0 1px 0 rgba(255, 255, 255, .78);
}

.role-tabs button span {
  color: #5c738b;
  font-size: 12px;
  font-weight: 800;
}

.role-tabs button.active {
  border-color: rgba(220, 238, 255, .72);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .22), transparent 28%),
    linear-gradient(135deg, #061d38 0, #0d4f8f 46%, #1688ff 100%);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(22, 136, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.role-tabs button.active span {
  color: #dceeff;
}

.tier-panel {
  display: grid;
  gap: 14px;
}

.tier-panel[hidden] {
  display: none;
}

.tier-panel-head {
  display: grid;
  gap: 6px;
  max-width: 900px;
}

.tier-panel-head h3 {
  margin: 0;
  color: #081d35;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.2;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.25vw, 16px);
}

.tier-card {
  min-width: 0;
}

.tier-topline {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tier-badge {
  border: 1px solid rgba(88, 212, 255, .3);
  border-radius: 999px;
  background: #edf8ff;
  color: #0d4f8f;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.tier-lists {
  display: grid;
  gap: 10px;
}

.tier-list-block,
.tier-support {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(124, 199, 255, .15);
  border-radius: 8px;
  background: #f7fbff;
  padding: 10px;
}

.tier-list-block span,
.tier-support span {
  color: #5c738b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tier-list-block strong,
.tier-support strong {
  color: #24435f;
  font-size: 14px;
  line-height: 1.4;
}

.tier-list-block ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier-list-block li {
  position: relative;
  padding-left: 16px;
  color: #24435f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.tier-list-block li::before {
  content: "";
  position: absolute;
  top: .58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #1688ff;
}

.why-section {
  margin-top: clamp(24px, 3vw, 40px);
  padding: clamp(18px, 2vw, 26px);
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.why-grid article,
.workflow-band div {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(124, 199, 255, .14);
  border-radius: 8px;
  background: #f7fbff;
  padding: 14px;
}

.why-grid strong,
.workflow-band strong {
  color: #081d35;
  font-size: 17px;
  line-height: 1.2;
}

.why-grid span,
.workflow-band p {
  margin: 0;
  color: #526b82;
  line-height: 1.45;
}

.workflow-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  padding: 14px;
}

.workflow-band div span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #061d38;
  color: #dceeff;
  font-family: var(--font-display);
  font-size: 15px;
}

.best-for,
.product-outcomes {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(124, 199, 255, .16);
  border-radius: 8px;
  background: #fbfdff;
  padding: 11px 12px;
}

.best-for span,
.product-outcomes span {
  color: #5c738b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.best-for strong {
  color: #24435f;
  font-size: 14px;
  line-height: 1.4;
}

.product-card {
  gap: 14px;
}

.product-card .eyebrow {
  color: #1688ff;
}

.product-feature-list li {
  line-height: 1.35;
}

.product-actions {
  align-items: end;
}

@media (max-width: 1120px) {
  .buyer-grid,
  .why-grid,
  .workflow-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .buyer-grid,
  .why-grid,
  .workflow-band,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .buyer-actions,
  .buyer-actions .btn,
  .role-tabs button {
    width: 100%;
  }

  .buyer-card,
  .why-section,
  .workflow-band {
    padding: 14px;
  }
}

/* Space Age is reserved for headers and titles; body copy stays easy to read. */
.hero-copy h1,
.section-head h2,
.checkout-panel h2,
.product-title h3,
.buyer-card h3,
.why-grid strong,
.workflow-band strong,
.brand-lockup strong,
.purchase-shell .space-brand {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}

.purchase-shell,
.purchase-shell p,
.purchase-shell a,
.purchase-shell li,
.purchase-shell span,
.purchase-shell small,
.purchase-shell strong,
.purchase-shell code,
.purchase-shell button,
.purchase-shell input,
.purchase-shell select,
.purchase-shell textarea {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.hero-copy h1,
.section-head h2,
.checkout-panel h2,
.product-title h3,
.buyer-card h3,
.why-grid strong,
.workflow-band strong,
.brand-lockup strong,
.purchase-shell .space-brand,
.purchase-shell .buyer-icon,
.purchase-shell .workflow-band div span {
  font-family: var(--font-display);
}

.hero-copy h1 {
  display: block;
  max-width: 1040px;
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.section-head h2,
.checkout-panel h2 {
  font-size: clamp(24px, 2.7vw, 40px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.why-grid strong,
.workflow-band strong {
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hero-copy p,
.section-head p,
.buyer-card p,
.buyer-card li,
.why-grid span,
.workflow-band p,
.product-copy,
.product-feature-list li,
.product-meta span,
.product-meta strong,
.best-for strong,
.product-outcomes li,
.product-price span,
.checkout-panel p,
.checkout-example code,
.checkout-example span {
  line-height: 1.44;
}

.hero-copy p,
.section-head p,
.checkout-panel p {
  line-height: 1.46;
}

.buyer-card p,
.buyer-card li,
.product-copy,
.product-feature-list li,
.product-outcomes li,
.tier-list-block li,
.best-for strong,
.tier-support strong,
.product-meta strong {
  line-height: 1.36;
}

.why-grid span,
.workflow-band p,
.product-meta span,
.product-price span,
.checkout-example code,
.checkout-example span {
  line-height: 1.34;
}

/* Blue/chrome pricing-gated storefront finish. */
:root {
  --chrome-edge: #edf8ff;
  --chrome-mid: #b8d6ed;
  --chrome-deep: #6f93b5;
}

body {
  background:
    linear-gradient(90deg, rgba(22, 136, 255, .055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(220, 238, 255, .052) 1px, transparent 1px),
    linear-gradient(180deg, #031225 0, #061d38 360px, #e9f3fb 360px, #f8fbff 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

.purchase-topbar {
  border-color: rgba(220, 238, 255, .34);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .15), transparent 22%),
    linear-gradient(90deg, #030815, #061d38 48%, #0d4f8f 78%, #1688ff);
  box-shadow: 0 18px 48px rgba(3, 8, 21, .32), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.purchase-nav a {
  border-color: rgba(220, 238, 255, .3);
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.purchase-hero {
  border-color: rgba(220, 238, 255, .34);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .12), transparent 18%, rgba(88, 212, 255, .16) 58%, transparent 80%),
    linear-gradient(135deg, #030815 0, #061d38 42%, #0d4f8f 76%, #1688ff 100%);
  box-shadow: 0 30px 90px rgba(3, 8, 21, .36), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.purchase-hero::before {
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--chrome-edge), #58d4ff, #1688ff, var(--chrome-edge), transparent);
}

.hero-panel,
.product-card,
.buyer-card,
.why-section,
.workflow-band,
.checkout-panel {
  border-color: rgba(124, 199, 255, .32);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(237, 248, 255, .92) 46%, rgba(255, 255, 255, .98)),
    #ffffff;
  box-shadow: 0 18px 46px rgba(6, 29, 56, .13), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.product-card::before {
  height: 6px;
  background: linear-gradient(90deg, var(--chrome-edge), var(--product-accent), #58d4ff, var(--chrome-edge));
  box-shadow: 0 0 22px var(--product-glow);
}

.product-logo,
.buyer-icon {
  border-color: rgba(88, 212, 255, .36);
  background:
    linear-gradient(135deg, #ffffff 0, #edf8ff 35%, #b8d6ed 58%, #ffffff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 26px rgba(13, 79, 143, .12);
}

.btn {
  border-color: rgba(111, 147, 181, .4);
  background: linear-gradient(135deg, #ffffff 0, #edf8ff 45%, #d8eaf8 100%);
  box-shadow: 0 10px 22px rgba(6, 29, 56, .1), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.btn.primary {
  border-color: rgba(220, 238, 255, .74);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .3), transparent 24%),
    linear-gradient(135deg, #061d38 0, #0d4f8f 38%, #1688ff 70%, #58d4ff 100%);
  box-shadow: 0 14px 30px rgba(22, 136, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.product-price {
  min-width: min(100%, 270px);
  border: 1px solid rgba(220, 238, 255, .28);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .13), transparent 28%),
    linear-gradient(135deg, #030815, #061d38 46%, #0d4f8f);
  padding: 11px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 22px rgba(6, 29, 56, .14);
}

.product-price strong {
  color: #ffffff;
  font-size: 18px;
}

.product-price span {
  color: #dceeff;
  font-size: 12px;
  font-weight: 800;
}

.workflow-band div span {
  background:
    linear-gradient(135deg, #061d38, #1688ff),
    #061d38;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}

.checkout-example code,
.checkout-example span {
  border-color: rgba(220, 238, 255, .28);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .08), transparent 32%),
    #071427;
  color: #edf8ff;
}

/* Hero headline spacing fix: keep Space Age, but avoid the oversized stacked-sign look. */
.hero-copy h1 {
  max-width: 940px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 400;
  line-height: .92;
  text-wrap: balance;
  overflow-wrap: normal;
}

@media (max-width: 980px) {
  .hero-copy h1 {
    max-width: 760px;
    font-size: 36px;
    line-height: .96;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 29px;
    line-height: 1;
  }
}

/* Center lower product/add-on cards so partial rows line up cleanly. */
.addon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(14px, 1.5vw, 20px);
}

.addon-grid .product-card {
  flex: 0 1 340px;
  width: min(100%, 340px);
}

@media (min-width: 1240px) {
  .addon-grid .product-card {
    flex-basis: 320px;
    width: 320px;
  }
}

@media (max-width: 720px) {
  .addon-grid .product-card {
    flex-basis: 100%;
    width: 100%;
  }
}

/* OrionOS mobile polish: stronger brand presence and collision-free page flow. */
@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .purchase-shell {
    padding: 10px;
  }

  .purchase-topbar {
    position: sticky;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: 0;
    padding: 12px;
    border-radius: 10px;
  }

  .brand-lockup {
    width: 100%;
    gap: 12px;
  }

  .brand-lockup img {
    width: 66px;
    height: 66px;
    min-width: 66px;
    border-radius: 10px;
  }

  .brand-lockup small {
    font-size: 11px;
    line-height: 1.1;
  }

  .brand-lockup strong {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1;
  }

  .purchase-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    justify-content: stretch;
  }

  .purchase-nav a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 9px 10px;
    text-align: center;
    white-space: normal;
    line-height: 1.14;
  }

  .purchase-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    margin-top: 10px;
    padding: 18px 0 14px;
  }

  .hero-copy {
    align-content: start;
    gap: 14px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.4vw, 39px);
    line-height: 1.08;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .hero-copy p,
  .section-head p,
  .checkout-panel p {
    max-width: 100%;
    font-size: 15.5px;
    line-height: 1.42;
  }

  .hero-actions,
  .product-actions,
  .buyer-actions,
  .checkout-buttons,
  .checkout-example {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    align-items: stretch;
    justify-content: stretch;
    gap: 9px;
  }

  .hero-actions .btn,
  .product-actions .btn,
  .buyer-actions .btn,
  .checkout-buttons .btn,
  .checkout-example .btn,
  .btn {
    min-height: 44px;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.15;
  }

  .hero-panel,
  .product-card,
  .buyer-card,
  .why-section,
  .workflow-band,
  .checkout-panel {
    overflow: hidden;
    padding: 14px;
  }

  .hero-panel img {
    width: min(180px, 70%);
  }

  .section-head {
    margin: 22px 0 12px;
    padding-inline: 2px;
  }

  .section-head h2,
  .checkout-panel h2 {
    font-size: clamp(24px, 7vw, 31px);
    line-height: 1.14;
  }

  .buyer-grid,
  .why-grid,
  .tier-grid,
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .role-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
  }

  .role-tabs button {
    width: 100%;
    min-height: 42px;
    white-space: normal;
  }

  .product-top {
    align-items: flex-start;
  }

  .product-meta {
    grid-template-columns: 1fr;
  }

  .product-price {
    width: 100%;
    min-width: 0;
  }

  .workflow-band,
  .checkout-panel {
    grid-template-columns: 1fr;
  }

  .checkout-panel {
    margin: 18px 0 28px;
  }

  .checkout-example code,
  .checkout-example span {
    width: 100%;
  }

  .product-card,
  .buyer-card,
  .why-section,
  .workflow-band,
  .checkout-panel {
    min-width: 0;
  }

  .product-card p,
  .product-card li,
  .buyer-card p,
  .buyer-card li,
  .why-section span,
  .workflow-band p,
  .checkout-panel p,
  .checkout-example code,
  .checkout-example span {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .purchase-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 29px;
    line-height: 1.1;
  }
}
