:root {
  --primary: #1f4e79;
  --secondary: #2f80a8;
  --accent: #f2b84b;
  --bg: #f7fafc;
  --text: #1f2933;
  --muted: #52606d;
  --line: #d9e2ec;
  --white: #ffffff;
  --soft: #eef5f9;
  --danger: #8a3b3b;
  --success: #2f6f4e;
  --radius: 8px;
  --shadow: 0 10px 28px rgba(31, 78, 121, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--text);
  background: var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  text-size-adjust: 100%;
}

body {
  margin: 0;
}

a {
  color: var(--primary);
  text-underline-offset: 0.2em;
}

a:focus-visible,
.button:focus-visible,
.button-secondary:focus-visible {
  outline: 3px solid rgba(242, 184, 75, 0.9);
  outline-offset: 3px;
}

img,
svg {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-inner,
.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
}

.nav a:hover {
  color: var(--primary);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button {
  color: var(--white);
  background: var(--primary);
}

.button:hover {
  background: #173f62;
}

.button-secondary {
  color: var(--primary);
  background: var(--soft);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  background: #e0eef5;
}

.button-large {
  min-height: 50px;
  padding: 12px 18px;
}

.hero {
  padding: 62px 0 48px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 38px;
  align-items: center;
}

.eyebrow {
  color: var(--secondary);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
}

h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 16px;
  font-size: 3.25rem;
}

h2 {
  margin: 0 0 18px;
  font-size: 2.1rem;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 680px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.trust-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 14px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  background: var(--soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.preview-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.preview-panel .mini-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.message-card {
  border-left: 4px solid var(--accent);
  background: #fffaf0;
  padding: 14px;
  border-radius: 6px;
}

.compact-list {
  margin: 16px 0 0;
  padding: 0;
}

.compact-list li {
  list-style: none;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.section {
  padding: 54px 0;
}

.section.white {
  background: var(--white);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 18px;
}

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

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

.product-band,
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: start;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.feature-card h3 {
  font-size: 1.04rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--success);
  font-weight: 800;
}

.pain-grid .feature-card {
  min-height: 124px;
}

.section-lead {
  color: var(--muted);
  max-width: 720px;
}

.price-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.featured-plan {
  border: 2px solid var(--primary);
}

.muted-plan {
  box-shadow: none;
}

.price {
  margin: 8px 0 4px;
  color: var(--primary);
  font-size: 2.4rem;
  line-height: 1.1;
  font-weight: 800;
}

.testimonial {
  margin: 0;
}

.testimonial blockquote {
  margin: 0 0 14px;
}

.testimonial figcaption {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.final-cta {
  color: #ffffff;
  background: var(--primary);
}

.final-cta .eyebrow,
.final-cta .lead,
.final-cta p {
  color: #e6f0f7;
}

.final-cta h2 {
  color: #ffffff;
}

.final-cta .button {
  background: #ffffff;
  color: var(--primary);
}

.final-cta .button-secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.white .card {
  background: var(--bg);
}

.list-clean {
  padding-left: 1.2em;
}

.list-clean li {
  margin: 0.45em 0;
}

.flow {
  display: grid;
  gap: 10px;
  counter-reset: flow;
}

.flow li {
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}

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

.flow li::before {
  counter-increment: flow;
  content: counter(flow);
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  font-weight: 800;
}

.breadcrumb {
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #9aa5b1;
}

.page-title {
  padding: 38px 0 28px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.content {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 56px;
}

.example {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin: 16px 0;
}

.ng {
  color: var(--danger);
  background: #fff5f5;
  border: 1px solid #f3caca;
  border-radius: var(--radius);
  padding: 16px;
}

.badge {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--primary);
  background: var(--soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.site-footer {
  padding: 42px 0;
  color: #d9e2ec;
  background: #17212b;
}

.site-footer a {
  color: #ffffff;
}

.site-footer .small {
  color: #b9c7d3;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 8px;
  font-weight: 800;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.footer-links a {
  font-size: 0.92rem;
}

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

.small {
  color: var(--muted);
  font-size: 0.92rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  overflow-wrap: anywhere;
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding: 36px 0 34px;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .product-band,
  .pricing-grid,
  .final-cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .section {
    padding: 40px 0;
  }

  .compact-flow {
    grid-template-columns: 1fr;
  }

  .button,
  .button-secondary {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .wrap,
  .content {
    width: min(100% - 24px, 1120px);
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .nav {
    gap: 14px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: 1.95rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .price {
    font-size: 2rem;
  }

  .card,
  .price-card,
  .preview-panel {
    padding: 16px;
  }
}
