:root {
  --brand-ink: #103f56;
  --brand-deep: #0a2432;
  --brand-sand: #f5f0e8;
  --brand-paper: #fcfaf6;
  --brand-accent: #b7783f;
  --brand-mint: #dce9eb;
  --line: rgba(16, 63, 86, 0.12);
  --text: #17313f;
  --muted: #5e7380;
  --shadow: 0 24px 60px rgba(10, 36, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(183, 120, 63, 0.12), transparent 32%),
    linear-gradient(180deg, var(--brand-paper) 0%, #eef3f2 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

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

.page-shell {
  min-height: 100vh;
}

.topbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 63, 86, 0.18);
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  color: var(--muted);
}

.top-links a.active {
  color: white;
  background: var(--brand-ink);
  border-color: var(--brand-ink);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 24px;
}

.hero-panel {
  overflow: hidden;
  position: relative;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(135deg, var(--brand-ink), #175671 65%, #7e532f 100%);
  color: white;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: end;
  margin-top: 20px;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-copy p {
  max-width: 700px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

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

.button-secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stat-card {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.hero-stat-card h2,
.hero-stat-card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-stat-card p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.hero-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15px;
}

.content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px 64px;
}

.section-heading {
  margin: 30px 0 16px;
}

.section-heading span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
}

.section-heading p {
  max-width: 820px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.card,
.pricing-card,
.cta-strip {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 40px rgba(10, 36, 50, 0.07);
}

.card {
  padding: 22px;
}

.card strong {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--brand-mint);
  color: var(--brand-ink);
  font-size: 16px;
}

.card h3,
.pricing-card h3 {
  margin: 16px 0 10px;
  font-size: 24px;
}

.card p,
.pricing-card p,
.cta-strip p,
.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 18px;
}

.band-panel {
  padding: 26px;
  border-radius: 30px;
  background: var(--brand-sand);
  border: 1px solid rgba(183, 120, 63, 0.12);
}

.band-panel.dark {
  color: white;
  background: linear-gradient(140deg, var(--brand-deep), var(--brand-ink));
}

.band-panel h3 {
  margin: 0 0 14px;
  font-size: 28px;
}

.band-panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.band-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.band-list li {
  padding: 12px 0;
  border-top: 1px solid rgba(16, 63, 86, 0.12);
}

.dark .band-list li {
  border-top-color: rgba(255, 255, 255, 0.12);
}

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

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

.faq-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 40px rgba(10, 36, 50, 0.06);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  gap: 20px;
}

.legal-summary,
.legal-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 40px rgba(10, 36, 50, 0.06);
}

.legal-summary {
  position: sticky;
  top: 18px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.legal-meta span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-mint);
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 700;
}

.legal-summary h2,
.legal-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.legal-summary p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.legal-summary ul,
.legal-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal-summary li,
.legal-card li {
  margin-bottom: 10px;
}

.legal-stack {
  display: grid;
  gap: 16px;
}

.legal-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.pricing-card {
  padding: 26px;
}

.pricing-card.featured {
  position: relative;
  overflow: hidden;
  color: white;
  background: linear-gradient(145deg, var(--brand-ink), #1a5b74 74%, #a26c3c 100%);
}

.pricing-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
}

.price-line {
  margin: 18px 0 8px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-line small {
  font-size: 16px;
  font-weight: 700;
}

.feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 12px 0;
  border-top: 1px solid rgba(16, 63, 86, 0.12);
}

.pricing-card.featured .feature-list li {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.cta-strip {
  margin-top: 24px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-grid,
  .band,
  .card-grid,
  .pricing-grid,
  .cta-strip,
  .legal-shell {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-panel,
  .card,
  .pricing-card,
  .band-panel,
  .cta-strip {
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding-top: 18px;
  }

  .hero,
  .content,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-panel {
    padding: 24px;
  }

  .top-links a,
  .button {
    width: 100%;
  }

  .top-links {
    width: 100%;
  }
}