:root {
  --bg-top: #dff0ff;
  --bg-bottom: #9cc7ef;
  --panel: rgba(248, 252, 255, 0.82);
  --panel-strong: rgba(239, 247, 255, 0.95);
  --line: rgba(21, 64, 106, 0.12);
  --line-strong: rgba(21, 64, 106, 0.2);
  --ink: #132f4d;
  --muted: #577493;
  --deep: #0e4f87;
  --accent: #2f78c0;
  --accent-soft: #d9ecff;
  --green: #1f8a63;
  --green-soft: #dff7eb;
  --gold: #c28d22;
  --shadow: 0 28px 72px rgba(20, 60, 97, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.marketing-body {
  color: var(--ink);
  font-family: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 22%),
    radial-gradient(circle at bottom right, rgba(83, 154, 220, 0.35), transparent 26%),
    linear-gradient(155deg, var(--bg-top), var(--bg-bottom));
}

a,
button,
input {
  font: inherit;
}

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

h1,
h2,
h3,
p,
ul,
span,
strong {
  margin: 0;
}

.brand-shell {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 26px 0 44px;
}

.topbar,
.hero-panel,
.content-section {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 999px;
  background: rgba(248, 252, 255, 0.72);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--deep);
}

.brand-mark-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0f5d9a, #39b38e);
  color: white;
  letter-spacing: 0.04em;
}

.topnav,
.topbar-actions,
.hero-actions,
.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topnav {
  flex-wrap: wrap;
  justify-content: center;
}

.topnav a,
.text-link {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}

.topnav a:hover,
.text-link:hover {
  background: rgba(255, 255, 255, 0.66);
  color: var(--deep);
}

.topnav a.active {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(217, 236, 255, 0.94));
  color: var(--deep);
  box-shadow: inset 0 0 0 1px rgba(21, 64, 106, 0.1);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

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

.primary-button {
  color: white;
  background: linear-gradient(145deg, #0f5f9d, #2c7cc7);
  box-shadow: 0 14px 28px rgba(17, 87, 146, 0.22);
}

.secondary-button {
  color: var(--deep);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(220, 237, 255, 0.94));
  border-color: rgba(21, 64, 106, 0.12);
}

.hero-panel,
.content-section {
  border-radius: var(--radius-xl);
  padding: 28px;
  background: var(--panel);
}

.hero-panel {
  margin-top: 18px;
}

.hero-layout,
.preview-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  align-items: stretch;
}

.hero-copy,
.preview-copy,
.section-head,
.info-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.eyebrow,
.card-kicker,
.showcase-label,
.source-label,
.step-number {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow,
.card-kicker,
.showcase-label,
.source-label {
  color: var(--accent);
}

h1 {
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 720px;
}

h2 {
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.02rem;
}

.hero-tagline {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--deep);
}

.hero-text,
.section-head p,
.hero-notes,
.feature-list,
.info-card p,
.step-card p,
.source-card p,
.preview-text,
.site-footer,
.coming-soon-note,
.stack-list {
  color: var(--muted);
  line-height: 1.66;
}

.hero-notes {
  display: grid;
  gap: 8px;
  max-width: 760px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(21, 64, 106, 0.08);
}

.hero-notes strong {
  color: var(--deep);
}

.hero-showcase,
.preview-frame {
  display: grid;
}

.showcase-card,
.preview-shell,
.product-card,
.step-card,
.source-card,
.info-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 242, 255, 0.94));
}

.showcase-card,
.preview-shell,
.product-card,
.source-card,
.info-card {
  padding: 22px;
}

.showcase-card {
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(63, 195, 143, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(230, 242, 255, 0.95));
}

.showcase-top,
.preview-header,
.source-card,
.final-banner,
.saved-row,
.product-grid,
.steps-grid,
.source-grid,
.two-column-grid {
  display: grid;
}

.showcase-top,
.preview-header {
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
  font-size: 0.82rem;
}

.score-orb {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(239, 252, 245, 0.98), rgba(218, 244, 231, 0.95));
}

.score-orb span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.score-orb strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--deep);
}

.score-grade,
.preview-grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(207, 244, 223, 0.98), rgba(168, 229, 194, 0.95));
  color: #0f6942;
  font-size: 2rem;
  font-weight: 900;
}

.score-orb .score-grade {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: end;
  line-height: 1;
  text-align: center;
}

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

.metric-row article {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.metric-row span,
.preview-title {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-row strong {
  display: block;
  margin-top: 8px;
  font-size: 1.12rem;
  color: var(--deep);
}

.factor-stack,
.preview-bars,
.stack-list {
  display: grid;
  gap: 12px;
}

.factor-line {
  display: grid;
  gap: 10px;
}

.factor-line strong {
  color: var(--ink);
}

.factor-line span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.factor-bar,
.mini-bar {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(188, 207, 228, 0.56);
}

.factor-bar span,
.mini-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2ed097, #39a2d8);
}

.factor-bar.gold span,
.mini-bar.gold span {
  background: linear-gradient(90deg, #f0b53f, #f3d55d);
}

.mini-bar.mint span {
  background: linear-gradient(90deg, #22c28c, #7ad9b1);
}

.content-section {
  margin-top: 18px;
}

.section-head {
  max-width: 760px;
}

.product-grid,
.steps-grid,
.source-grid,
.two-column-grid {
  gap: 16px;
  margin-top: 20px;
}

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

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

.product-card-live {
  background:
    radial-gradient(circle at top right, rgba(64, 196, 142, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(249, 255, 251, 0.99), rgba(231, 246, 239, 0.96));
}

.product-card-soon {
  background:
    radial-gradient(circle at top right, rgba(243, 189, 76, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.99), rgba(249, 239, 221, 0.96));
}

.feature-list,
.stack-list {
  padding-left: 18px;
}

.feature-list li + li,
.stack-list li + li {
  margin-top: 8px;
}

.coming-soon-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px dashed rgba(21, 64, 106, 0.12);
}

.steps-panel {
  background:
    linear-gradient(180deg, rgba(246, 251, 255, 0.97), rgba(236, 245, 255, 0.94)),
    radial-gradient(circle at top left, rgba(79, 165, 230, 0.16), transparent 28%);
}

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

.step-card {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.step-number {
  color: var(--deep);
}

.source-card {
  gap: 10px;
  align-content: start;
  min-height: 220px;
}

.source-card strong {
  font-size: 1.18rem;
  color: var(--deep);
}

.dual-column-section {
  background: var(--panel-strong);
}

.preview-section {
  align-items: center;
}

.preview-frame {
  align-items: stretch;
}

.preview-shell {
  display: grid;
  gap: 14px;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(57, 177, 142, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 243, 255, 0.95));
}

.preview-score {
  font-size: clamp(3.2rem, 5vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  color: var(--deep);
  font-weight: 900;
}

.compact-list {
  margin-top: 6px;
}

.final-banner {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(145deg, rgba(15, 79, 135, 0.96), rgba(35, 117, 183, 0.9)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 28%);
  color: white;
}

.final-banner .eyebrow,
.final-banner h2,
.final-banner p {
  color: white;
}

.final-banner p {
  opacity: 0.92;
}

.final-banner .secondary-button {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 6px 0;
}

.site-footer a {
  color: var(--deep);
  font-weight: 800;
}

@media (max-width: 1120px) {
  .hero-layout,
  .preview-section,
  .product-grid,
  .source-grid,
  .two-column-grid,
  .final-banner {
    grid-template-columns: 1fr;
  }

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

  .topbar {
    border-radius: 30px;
  }
}

@media (max-width: 860px) {
  .topbar,
  .topnav,
  .topbar-actions,
  .hero-actions,
  .card-actions,
  .showcase-top,
  .preview-header,
  .metric-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar {
    align-items: stretch;
  }

  .topnav,
  .topbar-actions {
    justify-content: flex-start;
  }

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

  .metric-row {
    display: grid;
  }
}

@media (max-width: 640px) {
  .brand-shell {
    width: min(100%, calc(100% - 18px));
    padding-top: 18px;
  }

  .topbar,
  .hero-panel,
  .content-section {
    padding: 18px;
  }
}
