:root {
  color-scheme: light;
  --page: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #f0f1ff;
  --ink: #191b26;
  --muted: #62687a;
  --border: #e1e4ee;
  --border-strong: #cbd0df;
  --accent: #4f46e5;
  --accent-strong: #4338ca;
  --accent-deep: #312e81;
  --accent-soft: #ecebff;
  --live: #15945b;
  --shadow-card:
    0 22px 60px rgba(41, 45, 76, 0.09), 0 2px 6px rgba(31, 35, 60, 0.05);
  --shadow-featured:
    0 28px 70px rgba(79, 70, 229, 0.16), 0 2px 8px rgba(31, 35, 60, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family:
    "Plus Jakarta Sans",
    Inter,
    system-ui,
    -apple-system,
    sans-serif;
  background:
    radial-gradient(circle at 50% 0, rgba(79, 70, 229, 0.1), transparent 30rem),
    linear-gradient(rgba(79, 70, 229, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.025) 1px, transparent 1px),
    var(--page);
  background-size:
    auto,
    32px 32px,
    32px 32px,
    auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

svg {
  display: block;
}

code {
  padding: 0.14em 0.4em;
  border: 1px solid #dddff5;
  border-radius: 5px;
  color: var(--accent-deep);
  background: #f4f3ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85em;
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.42);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid rgba(203, 208, 223, 0.65);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand > span > span {
  color: var(--accent);
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(21, 148, 91, 0.12);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 0 72px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid #dcdaff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.eyebrow span {
  font-size: 0.58rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7vw, 5.35rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

h1 em {
  position: relative;
  color: var(--accent);
  font-style: normal;
}

h1 em::after {
  position: absolute;
  right: 2%;
  bottom: -0.08em;
  left: 2%;
  height: 0.08em;
  border-radius: 99px;
  background: var(--accent);
  content: "";
  transform: rotate(-1.5deg);
}

.hero__copy {
  max-width: 630px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.publish-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 590px);
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(31, 35, 60, 0.05);
  backdrop-filter: blur(12px);
}

.track-step {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  text-align: left;
  font-size: 0.84rem;
  font-weight: 800;
}

.track-step small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.track-node {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  font-size: 0.72rem;
}

.track-step--live .track-node {
  width: 13px;
  height: 13px;
  flex-basis: 13px;
  margin-inline: 6px;
  background: var(--live);
  box-shadow: 0 0 0 5px rgba(21, 148, 91, 0.12);
}

.track-line {
  width: 100%;
  height: 2px;
  margin-inline: 16px;
  background: linear-gradient(90deg, var(--accent), #aaa5f6);
}

.after-payment-note {
  width: 100%;
  margin-top: 34px;
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(31, 35, 60, 0.04);
}

.after-payment-note__title {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.after-payment-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.after-payment-step {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
}

.after-payment-note__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
}

.after-payment-line {
  width: 34px;
  height: 1px;
  flex: 0 0 34px;
  background: var(--border-strong);
}

.pricing {
  padding: 48px 0 96px;
}

.section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.section-heading h2,
.credits-explainer h2 {
  margin: 10px 0 0;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.plan-card--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-featured);
}

.featured-flag {
  position: absolute;
  top: 0;
  right: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 0 0 8px 8px;
  color: white;
  background: var(--accent);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-flag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}

.plan-card__top {
  min-height: 158px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.plan-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-period {
  float: right;
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.plan-card h3 {
  clear: both;
  margin-bottom: 9px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.plan-summary {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #3d4252;
  font-size: 0.91rem;
  line-height: 1.5;
}

.feature-list li > span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 0.68rem;
  font-weight: 900;
}

.payment-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 56px;
  margin-top: auto;
}

.trial-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}

.trial-note__label {
  padding: 4px 8px;
  border-radius: 5px;
  color: var(--live);
  background: #eaf8f0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trial-note strong {
  color: var(--ink);
}

stripe-buy-button {
  display: block;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}

.domain-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1.65;
}

.domain-note svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.domain-note p {
  margin: 0;
}

.domain-note strong {
  color: var(--ink);
}

.credits-explainer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 64px;
  margin-bottom: 96px;
  padding: 40px 46px;
  border: 1px solid #dcdafe;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.credits-copy {
  display: flex;
  align-items: center;
  gap: 20px;
}

.credits-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: var(--radius-md);
  color: white;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.24);
}

.credits-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.credits-explainer > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  border-top: 1px solid var(--border-strong);
  color: var(--muted);
  font-size: 0.78rem;
}

.brand--footer {
  color: var(--ink);
  font-size: 0.9rem;
}

.brand--footer .brand__mark {
  width: 30px;
  height: 30px;
}

footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .hero {
    padding-top: 72px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 590px;
    margin-inline: auto;
  }

  .credits-explainer {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    min-height: 74px;
  }

  .brand__mark {
    width: 32px;
    height: 32px;
  }

  .header-status {
    max-width: 96px;
    text-align: right;
    line-height: 1.35;
  }

  .hero {
    padding: 58px 0 54px;
  }

  h1 {
    margin-top: 24px;
    font-size: clamp(2.55rem, 13vw, 3.7rem);
  }

  .hero__copy {
    font-size: 0.96rem;
  }

  .after-payment-note {
    padding: 20px 16px;
  }

  .after-payment-steps {
    align-items: flex-start;
    flex-direction: column;
    max-width: 280px;
    margin-inline: auto;
    gap: 9px;
  }

  .after-payment-line {
    width: 1px;
    height: 13px;
    margin-left: 12px;
  }

  .publish-track {
    align-items: flex-start;
    padding: 15px 12px;
  }

  .track-step {
    flex-direction: column;
    gap: 7px;
    min-width: 64px;
    text-align: center;
    font-size: 0.74rem;
  }

  .track-step small {
    display: none;
  }

  .track-line {
    margin: 12px 5px 0;
  }

  .track-step--live .track-node {
    margin: 6px 0;
  }

  .pricing {
    padding: 40px 0 72px;
  }

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

  .plan-card {
    padding: 28px 22px 24px;
  }

  .featured-flag {
    right: 18px;
  }

  .plan-card__top {
    min-height: auto;
  }

  .plan-period {
    float: none;
    margin-bottom: 13px;
  }

  .feature-list {
    gap: 14px;
    margin-block: 24px 28px;
  }

  .feature-list li {
    align-items: flex-start;
    font-size: 0.86rem;
  }

  .feature-list li > span {
    margin-top: 1px;
  }

  .credits-explainer {
    gap: 24px;
    margin-bottom: 64px;
    padding: 28px 22px;
  }

  .credits-copy {
    align-items: flex-start;
    gap: 15px;
  }

  .credits-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .credits-icon svg {
    width: 22px;
    height: 22px;
  }

  footer {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding-block: 28px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
