:root {
  --white: #ffffff;
  --off-white: #f7f9fc;
  --slate: #475569;
  --slate-dark: #334155;
  --royal: #2563eb;
  --royal-dark: #1d4ed8;
  --navy: #0f172a;
  --navy-muted: #1e293b;
  --text: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--slate);
}

a:hover {
  color: var(--slate-dark);
}

img,
video {
  max-width: 100%;
  display: block;
}

/* Banner */
.site-banner {
  background: var(--slate);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-banner__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.site-banner__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-banner__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-banner__nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-banner__nav a:hover {
  color: var(--white);
}

.site-banner__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--royal);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.site-banner__cta:hover {
  background: var(--royal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Layout */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  background: rgba(71, 85, 105, 0.1);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__lead {
  margin: 0 auto 2rem;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--primary:hover {
  background: var(--navy-muted);
  border-color: var(--navy-muted);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.btn--secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn--trial {
  background: var(--royal);
  color: var(--white);
  border-color: var(--royal);
}

.btn--trial:hover {
  background: var(--royal-dark);
  border-color: var(--royal-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.hero__billing {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__billing a {
  color: var(--royal);
  font-weight: 500;
}

.hero__billing a:hover {
  color: var(--royal-dark);
}

.hero__note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero__proof-before,
.hero__proof-after {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
  text-align: left;
}

.hero__proof-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.hero__proof-after .hero__proof-label {
  color: var(--royal);
}

.hero__proof-arrow {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--royal);
}

/* Story (problem + guide) */
.story {
  padding: 0 0 2.5rem;
}

.story__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.story__block {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.story__block--problem {
  background: var(--white);
}

.story__block--guide {
  background: var(--off-white);
}

.story__block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  color: var(--navy);
}

.story__block p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9875rem;
}

.story__guide-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
}

/* Plan steps */
.features {
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--border);
}

.features__title {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.features__intro {
  margin: 0 auto 1.75rem;
  text-align: center;
  color: var(--text-muted);
  max-width: 28rem;
}

.plan-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 40rem;
  margin-inline: auto;
}

.plan-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.plan-step__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
}

.plan-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--navy);
}

.plan-step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Media section */
.media-section {
  padding: 0 0 4rem;
}

.media-section__header {
  text-align: center;
  margin-bottom: 2rem;
}

.media-section__header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.media-section__header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.media-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-card__label {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--navy);
}

.media-card__body {
  padding: 1rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  background: var(--off-white);
}

.media-card--video {
  grid-column: 1 / -1;
  max-width: 800px;
  margin-inline: auto;
  width: 100%;
}

.media-card--pdf {
  grid-column: 1 / -1;
  max-width: 400px;
  margin-inline: auto;
  width: 100%;
}

.media-card__body video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--navy);
  vertical-align: middle;
}

.media-card--pdf .media-card__body {
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.pdf-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.media-card--pdf p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 22rem;
}

.btn--download {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
  font-size: 0.9375rem;
  padding: 0.625rem 1.25rem;
}

.btn--download:hover {
  background: var(--slate-dark);
  border-color: var(--slate-dark);
  color: var(--white);
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
  margin-bottom: 0;
}

.cta-band .page {
  max-width: 640px;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band__success {
  font-size: 1.0625rem;
}

.cta-band__action {
  margin-bottom: 1.5rem !important;
}

.cta-band__billing {
  margin: 1rem 0 0 !important;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band__billing a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-band__billing a:hover {
  color: var(--white);
}

.cta-band__aside {
  margin: 1.25rem 0 0 !important;
  font-size: 0.875rem;
}

.cta-band__aside a {
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.site-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 0.75rem;
}

.site-footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__links a:hover,
.site-footer__links a[aria-current="page"] {
  color: var(--navy);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal {
  padding: 2.5rem 0 3rem;
  max-width: 42rem;
}

.legal h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.legal__updated {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.125rem;
  color: var(--navy);
}

.legal p {
  margin: 0 0 1rem;
  color: var(--text);
}

.legal a {
  color: var(--royal);
}

.legal__list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text);
}

.legal__list li {
  margin-bottom: 0.35rem;
}

.help-toc ul {
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  columns: 2;
  gap: 2rem;
}

.help-toc a {
  color: var(--royal);
}

.help-pre {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.5;
}

.help-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9375rem;
}

.help-table th,
.help-table td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.help-table th {
  background: var(--off-white);
}

@media (max-width: 640px) {
  .site-banner {
    justify-content: center;
    text-align: center;
  }

  .site-banner__nav {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
