:root {
  --bg: #f8f2e9;
  --bg-deep: #f1e3cc;
  --paper: #fffaf3;
  --paper-strong: #fffdf8;
  --ink: #142736;
  --ink-soft: #274154;
  --muted: #5f6d78;
  --muted-strong: #425562;
  --line: rgba(20, 39, 54, 0.12);
  --line-strong: rgba(20, 39, 54, 0.2);
  --accent: #ab582f;
  --accent-dark: #8d431f;
  --gold: #c7a04b;
  --success: #2f7a5c;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-card: 0 18px 46px rgba(20, 39, 54, 0.08);
  --shadow-soft: 0 24px 80px rgba(20, 39, 54, 0.12);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(199, 160, 75, 0.18), transparent 32rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 42%, #f7efe2 100%);
  color: var(--ink);
  font: 16px/1.6 "Manrope", "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.88);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(20, 39, 54, 0.14);
}

.brand-text {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transform: translateY(-1px);
}

.nav-cta {
  flex-shrink: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(171, 88, 47, 0.24);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: 0 20px 36px rgba(141, 67, 31, 0.28);
}

.button:focus-visible,
.nav-links a:focus-visible,
.modal-close:focus-visible,
.confirm-check input:focus-visible {
  outline: 3px solid rgba(171, 88, 47, 0.24);
  outline-offset: 2px;
}

.button-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(20, 39, 54, 0.06);
  color: var(--ink);
  box-shadow: none;
}

.button-soft {
  background: rgba(20, 39, 54, 0.06);
  color: var(--ink);
  border-color: transparent;
  box-shadow: none;
}

.button-soft:hover,
.button-soft:focus-visible {
  background: rgba(20, 39, 54, 0.1);
  box-shadow: none;
}

.button-small {
  min-height: 42px;
  padding: 0.72rem 1.1rem;
  font-size: 0.95rem;
}

.button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.45;
}

main {
  padding-bottom: 4rem;
}

.hero {
  padding: clamp(2.75rem, 6vw, 5rem) 0 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.82fr);
  gap: 1.35rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.surface-card,
.story-card,
.resource-card,
.step-card,
.proof-card {
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.9);
  box-shadow: var(--shadow-card);
}

.hero-copy,
.hero-panel,
.surface-card {
  border-radius: var(--radius-xl);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(1.7rem, 4vw, 3rem);
  background:
    radial-gradient(circle at top right, rgba(199, 160, 75, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 247, 237, 0.92) 100%);
}

.hero-copy::after {
  content: "";
  position: absolute;
  width: 19rem;
  height: 19rem;
  right: -4rem;
  top: -6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(171, 88, 47, 0.12), transparent 68%);
  pointer-events: none;
}

.eyebrow,
.card-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.78rem;
  border: 1px solid rgba(20, 39, 54, 0.08);
  border-radius: 999px;
  background: rgba(20, 39, 54, 0.05);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.hero-panel h2,
.story-card h3,
.resource-card h3,
.step-card h3,
.cta-band h2,
.modal-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.hero-copy h1 {
  max-width: 11ch;
  margin-top: 1rem;
  font-size: clamp(3rem, 7vw, 5.7rem);
}

.hero-copy .lead,
.section-heading p,
.hero-panel p,
.story-card p,
.resource-card p,
.step-card p,
.cta-band p,
.modal-card p,
.fine-print {
  color: var(--muted);
}

.hero-copy .lead {
  max-width: 56ch;
  margin: 1rem 0 0;
  font-size: 1.1rem;
  color: var(--muted-strong);
}

.hero-actions,
.inline-links,
.button-row,
.tag-list,
.chip-row,
.resource-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.7rem 0 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--muted-strong);
}

.feature-list li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  flex: 0 0 auto;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.28rem rgba(171, 88, 47, 0.14);
}

.hero-panel {
  padding: clamp(1.35rem, 3vw, 2rem);
  background:
    radial-gradient(circle at top left, rgba(199, 160, 75, 0.22), transparent 16rem),
    linear-gradient(180deg, #173245 0%, #122937 100%);
  color: #eef5f7;
}

.hero-panel h2 {
  margin-top: 0.85rem;
  color: #fff6ec;
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-panel p,
.hero-panel .fine-print {
  color: rgba(238, 245, 247, 0.82);
}

.hero-panel .eyebrow {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f2e3bd;
}

.mini-stack {
  display: grid;
  gap: 0.9rem;
}

.mini-card {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.mini-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: 0.96rem;
}

.mini-card p {
  margin: 0;
  font-size: 0.95rem;
}

.section {
  padding-top: 1.1rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.35rem;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.section-heading p {
  margin: 0.7rem 0 0;
  font-size: 1.05rem;
}

.card-grid-3,
.card-grid-2 {
  display: grid;
  gap: 1rem;
}

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

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

.proof-card,
.story-card,
.resource-card,
.step-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem;
}

.proof-card {
  background: rgba(255, 253, 248, 0.86);
}

.proof-card h3,
.story-card h3,
.resource-card h3,
.step-card h3 {
  margin: 0.55rem 0 0.45rem;
  font-size: 2rem;
}

.proof-card p,
.story-card p,
.resource-card p,
.step-card p {
  margin: 0;
}

.card-meta {
  display: block;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.card-link:hover,
.card-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.inline-links a,
.footer-links a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.inline-links a:hover,
.inline-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.tag-list {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  background: rgba(20, 39, 54, 0.06);
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.kicker {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.75rem;
  padding: clamp(1.45rem, 4vw, 2.5rem);
  border: 1px solid rgba(20, 39, 54, 0.14);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 18rem),
    linear-gradient(135deg, #ead2bd 0%, #d8b073 56%, #c68e69 100%);
  box-shadow: var(--shadow-soft);
}

.cta-band h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.cta-band p {
  max-width: 46rem;
  margin: 0.5rem 0 0;
  color: rgba(20, 39, 54, 0.82);
}

.note-box {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(171, 88, 47, 0.14);
  border-radius: var(--radius-md);
  background: rgba(171, 88, 47, 0.06);
}

.note-box strong {
  display: block;
  margin-bottom: 0.25rem;
}

.footer {
  padding: 2.6rem 0 4rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal {
  width: min(640px, calc(100% - 1rem));
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
}

.modal::backdrop {
  background: rgba(20, 39, 54, 0.48);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  padding: clamp(1.35rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.modal-card h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-strong);
  color: var(--ink);
  cursor: pointer;
}

.confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(20, 39, 54, 0.04);
}

.confirm-check input {
  margin-top: 0.2rem;
}

.confirm-check span {
  color: var(--muted-strong);
}

.fine-print {
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .card-grid-2,
  .card-grid-3,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-cta .button {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 100%;
  }
}
