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

:root {
  --brand-start: #ee2e2d;
  --brand-end: #ea8323;
  --action: #52658c;
  --action-dark: #3d4d6d;
  --action-soft: #e9edf4;
  --text-dark: #25282f;
  --text-mid: #656a73;
  --text-light: #656a73;
  --line: #ded8cc;
  --surface: #fffdf9;
  --canvas: #f6f3ec;

  /* Site-only elevation and foreground-on-fill tokens. Color components are
     derived from the ink swatch; not part of the core palette. */
  --on-action: #fff;
  --shadow-card: 0 8px 24px rgba(37, 40, 47, 0.04);
  --shadow-card-strong: 0 16px 42px rgba(37, 40, 47, 0.08);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Nav ---- */

.nav {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-logo {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  flex-shrink: 0;
}

.nav-links a {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--action-dark);
}

.nav-cta {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  color: var(--on-action);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.9;
}

/* ---- Hero ---- */

.hero {
  color: var(--text-dark);
  background: var(--canvas);
  padding: 64px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  display: block;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  color: var(--on-action);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
}

.hero-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ---- Section shared ---- */

section {
  padding: 48px 0;
  scroll-margin-top: 80px;
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

section h2 + p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 28px;
}

/* ---- Problem ---- */

.problem {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 40px 0;
}

.problem-list {
  display: grid;
  gap: 10px;
  max-width: 720px;
  padding-left: 1.2rem;
}

.problem-list li {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

.problem-list strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* ---- Solution ---- */

.solution {
  background: var(--action-soft);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.solution-card {
  padding: 20px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.solution-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.55;
}

.solution-card a,
.pricing-body a:not(.pricing-cta),
.refund a {
  color: var(--action-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.solution-card a:hover,
.pricing-body a:not(.pricing-cta):hover,
.refund a:hover {
  color: var(--action);
}

.solution-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--action-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--action-dark);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ---- Pricing ---- */

.pricing {
  background: var(--surface);
  text-align: center;
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  background: var(--surface);
  box-shadow: var(--shadow-card-strong);
}

.pricing-header {
  background: var(--action);
  color: var(--on-action);
  padding: 24px 20px;
}

.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.85;
}

.pricing-body {
  padding: 20px;
}

.pricing-body ul {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-body li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.pricing-body li:last-child {
  border-bottom: none;
}

.pricing-body .label {
  color: var(--text-mid);
  font-weight: 500;
}

.pricing-body .value {
  font-weight: 600;
  color: var(--text-dark);
}

.pricing-body .extra-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 8px;
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  color: var(--on-action);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.pricing-cta:hover {
  color: var(--on-action);
  opacity: 0.92;
}

/* ---- Refund ---- */

.refund {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text-dark);
  background: var(--action-soft);
  text-align: center;
}

.refund h2 {
  max-width: 540px;
  margin: 0 auto 20px;
}

.refund h2 + p {
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ---- Legal ---- */

.legal-page {
  background: var(--canvas);
}

.legal-masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.legal-masthead__container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.legal-masthead__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.legal-masthead__brand img {
  display: block;
  height: 42px;
  width: auto;
}

.legal-masthead__nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.legal-masthead__nav a {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.legal-masthead__nav a:hover {
  color: var(--action-dark);
}

.legal {
  padding: 56px 0 72px;
}

.legal__container {
  max-width: 820px;
}

.legal__header,
.legal__contents,
.legal__section {
  background: transparent;
}

.legal__header {
  margin-bottom: 32px;
}

.legal__eyebrow {
  color: var(--action-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.legal__header h1 {
  font-size: 2.3rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

.legal__updated {
  color: var(--text-light);
  font-size: 0.95rem;
}

.legal p,
.legal li {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.7;
}

.legal p + p,
.legal ul + p,
.legal ol + p {
  margin-top: 12px;
}

.legal a {
  color: var(--action-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__contents {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 56px;
  padding: 20px 24px;
  background: var(--surface);
}

.legal__contents h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.legal__contents ol {
  display: grid;
  gap: 8px;
  list-style-position: outside;
  padding-left: 1.4rem;
}

.legal__section {
  margin-bottom: 64px;
  padding: 0;
  scroll-margin-top: 32px;
}

.legal__section h3[id] {
  scroll-margin-top: 32px;
}

.legal__section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.legal__section h3 {
  font-size: 1.12rem;
  margin: 22px 0 6px;
}

.legal__section p {
  max-width: 78ch;
}

.legal ol,
.legal__section ul {
  margin: 10px 0 16px;
  padding-left: 1.35rem;
}

.legal__section ul {
  list-style-position: outside;
}

.legal__section li + li {
  margin-top: 4px;
}

/* ---- Footer ---- */

.footer {
  background: var(--surface);
  color: var(--text-light);
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  height: 24px;
  width: auto;
  opacity: 0.72;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--text-light);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--action-dark);
}

.footer-copy {
  font-size: 0.8rem;
}

/* ---- Mobile ---- */

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav .container {
    gap: 8px;
  }

  .nav-logo {
    height: 48px;
    max-width: 100%;
  }

  .nav-links {
    width: 100%;
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .hero {
    padding: 32px 0 44px;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.25rem);
    line-height: 1.08;
    margin-bottom: 18px;
  }

  .hero p {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 28px;
  }

  .hero-cta {
    padding: 14px 20px;
  }

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

  section {
    padding: 44px 0;
    scroll-margin-top: 24px;
  }

  section h2 {
    font-size: 2rem;
    line-height: 1.12;
    margin-bottom: 14px;
  }

  section h2 + p {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .problem {
    padding: 44px 0;
  }

  .problem-list {
    gap: 14px;
  }

  .problem-list li {
    font-size: 1rem;
    line-height: 1.55;
  }

  .pricing-price {
    font-size: 2.5rem;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }

  .legal {
    padding: 36px 0 48px;
  }

  .legal__header h1 {
    font-size: 1.75rem;
  }

  .legal__contents {
    padding: 18px 20px;
  }

  .legal-masthead__container {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    padding-bottom: 18px;
    padding-top: 18px;
  }

  .legal-masthead__brand img {
    height: 42px;
  }

  .legal-masthead__nav {
    gap: 12px 18px;
    justify-content: flex-start;
  }
}
