:root {
  --ink: #111a20;
  --muted: #5f6d74;
  --paper: #f6f7f3;
  --panel: #ffffff;
  --line: #dce4e0;
  --teal: #0a7673;
  --cyan: #27a4b2;
  --amber: #c79135;
  --dark: #071116;
  --shadow: 0 24px 80px rgba(16, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  color: #fff;
  background: rgba(7, 17, 22, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 228px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  color: var(--dark);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.12;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

nav a {
  padding: 8px 11px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
  padding: 118px clamp(20px, 6vw, 84px) 76px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.8;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 12, 16, 0.96), rgba(5, 12, 16, 0.78) 44%, rgba(5, 12, 16, 0.36) 78%),
    linear-gradient(0deg, rgba(7, 17, 22, 0.96), rgba(7, 17, 22, 0) 34%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.hero-payment-card {
  position: absolute;
  z-index: 2;
  top: 124px;
  right: clamp(20px, 5vw, 76px);
  width: min(286px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(7, 17, 22, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36), 0 0 42px rgba(240, 183, 87, 0.2);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-payment-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 35%, rgba(240, 183, 87, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle at 55% 75%, rgba(39, 164, 178, 0.9) 0 1px, transparent 2px);
  background-size: 86px 86px, 112px 112px, 96px 96px;
  animation: sparkle-drift 7s linear infinite;
  opacity: 0.55;
  pointer-events: none;
}

.hero-payment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.3) 45%, transparent 52% 100%);
  transform: translateX(-120%);
  animation: shine-sweep 3.8s ease-in-out infinite;
  pointer-events: none;
}

.shine-badge,
.hero-payment-card strong,
.hero-payment-card p,
.hero-payment-card a,
.hero-payment-card small {
  position: relative;
  z-index: 1;
}

.shine-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(240, 183, 87, 0.18);
  color: #f0b757;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-payment-card strong {
  display: block;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-payment-card p {
  margin: 10px 0 16px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.hero-payment-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 7px;
  background: #fff;
  color: var(--dark);
  font-weight: 800;
}

.hero-payment-card small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 800;
}

@keyframes sparkle-drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(22px, -18px, 0) rotate(12deg);
  }
}

@keyframes shine-sweep {
  0%,
  44% {
    transform: translateX(-120%);
  }
  72%,
  100% {
    transform: translateX(120%);
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 6.5vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 7px;
  font-weight: 800;
}

.primary-action {
  background: #fff;
  color: var(--dark);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 42px 0 0;
}

.hero-metrics div {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.hero-metrics dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.section {
  padding: 84px clamp(20px, 6vw, 84px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.welcome,
.models,
.agent,
.mini-course {
  background: #eaf1ef;
}

.welcome-grid,
.model-table,
.example-grid,
.resource-grid,
.checklist-grid,
.pricing-grid,
.payment-flow {
  display: grid;
  gap: 18px;
}

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

.welcome-grid article,
.model-table article,
.example-grid article,
.resource-grid article,
.contact-card,
.split-panel,
.checklist-grid label,
.price-card,
.payment-flow article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.05);
}

.welcome-grid article,
.model-table article,
.example-grid article,
.resource-grid article,
.contact-card,
.checklist-grid label,
.price-card,
.payment-flow article {
  padding: 24px;
}

.welcome-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
  padding: 26px;
  align-items: stretch;
}

.clean-list {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.clean-list li + li {
  margin-top: 8px;
}

pre {
  margin: 0;
  padding: 20px;
  overflow: auto;
  border-radius: 8px;
  background: #071116;
  color: #eafdfd;
  font-size: 14px;
  line-height: 1.55;
}

.model-table,
.example-grid,
.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing {
  background: var(--dark);
  color: #fff;
}

.pricing .section-heading .eyebrow,
.pricing .plan-label {
  color: #f0b757;
}

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

.price-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.price-card h3,
.price-card .price {
  color: #fff;
}

.price-card.featured {
  background: #fff;
  color: var(--ink);
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.price-card.featured h3,
.price-card.featured .price {
  color: var(--ink);
}

.plan-label {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
}

.payments {
  background: #f7f8f5;
}

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

.payment-flow article {
  min-height: 210px;
}

.payment-flow span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.payment-flow strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.payment-flow p {
  color: var(--muted);
}

.mini-shell {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.mini-copy,
.pay-card,
.queue-board > div {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.05);
}

.mini-copy {
  padding: clamp(28px, 4vw, 42px);
  position: relative;
  overflow: hidden;
}

.mini-copy::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -42px;
  bottom: -58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 183, 87, 0.34), rgba(240, 183, 87, 0));
}

.mini-copy h2 {
  max-width: 760px;
}

.mini-copy > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.spark-price {
  display: inline-grid;
  gap: 4px;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 8px;
  background: #071116;
  color: #fff;
  box-shadow: var(--shadow);
}

.spark-price span,
.spark-price small {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.spark-price strong {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.pay-card {
  padding: 26px;
}

.pay-card p {
  color: var(--muted);
}

.pay-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  border-radius: 7px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.pay-card small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
}

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

.queue-board > div {
  padding: 22px;
}

.queue-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-weight: 800;
}

.queue-board strong,
.queue-board p {
  display: block;
}

.queue-board p {
  color: var(--muted);
}

.model-table article {
  border-top: 5px solid var(--teal);
}

.model-table strong,
.model-table span,
.example-grid code,
.resource-grid span {
  display: block;
}

.model-table span {
  margin: 10px 0;
  color: var(--teal);
  font-weight: 800;
}

.example-grid code {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #edf4f3;
  color: #0a6764;
  font-weight: 800;
  white-space: normal;
}

.resources {
  background: var(--dark);
  color: #fff;
}

.resources .section-heading p,
.resources .resource-grid span {
  color: #f0b757;
}

.resource-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.resource-grid h3 {
  color: #fff;
}

.resource-grid span {
  margin-top: 16px;
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  min-height: 190px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 8px;
  color: var(--muted);
}

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

.checklist-grid label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 86px;
  font-weight: 800;
}

.checklist-grid input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.contact {
  background: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.contact-card a {
  color: var(--teal);
  font-weight: 800;
}

.plain-email {
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--dark);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .welcome-grid,
  .model-table,
  .example-grid,
  .resource-grid,
  .steps,
  .checklist-grid,
  .pricing-grid,
  .payment-flow,
  .queue-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-panel,
  .contact-inner,
  .mini-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: 960px;
    align-items: flex-end;
    padding: 430px 18px 54px;
  }

  .hero-payment-card {
    position: absolute;
    top: 178px;
    right: 18px;
    width: calc(100% - 36px);
    margin: 0;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 12, 16, 0.68), rgba(5, 12, 16, 0.92) 52%, rgba(5, 12, 16, 0.98)),
      linear-gradient(0deg, rgba(7, 17, 22, 0.96), rgba(7, 17, 22, 0) 30%);
  }

  .hero-metrics,
  .welcome-grid,
  .model-table,
  .example-grid,
  .resource-grid,
  .steps,
  .checklist-grid,
  .pricing-grid,
  .payment-flow,
  .queue-board {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .section {
    padding: 62px 18px;
  }

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