:root {
  --bg: #faf4ea;
  --bg-soft: #f7efe3;
  --paper: #ffffff;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --gold: #b88a3b;
  --gold-strong: #8f6728;
  --border: #e8dccb;
  --dark: #111827;
  --dark-2: #1f2937;
  --sage: #667761;
  --rose: #b16f61;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
  --radius: 8px;
  --max: 1180px;
  --gh-font-heading: Georgia, "Times New Roman", serif;
  --gh-font-body: "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--gh-font-body);
  font-size: 17px;
  line-height: 1.65;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--gh-font-heading);
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.9rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0;
  color: var(--ink-soft);
}

.skip-link {
  left: 1rem;
  position: absolute;
  top: -4rem;
  z-index: 50;
}

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

.site-header {
  align-items: center;
  background: rgba(250, 244, 234, 0.92);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--gh-font-heading);
  gap: 0.75rem;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f6e7c7;
  display: inline-flex;
  font-family: var(--gh-font-heading);
  height: 42px;
  justify-content: center;
  width: 42px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav > a:not(.button) {
  color: var(--ink-soft);
}

.site-nav > a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  color: #fffaf1;
}

.button.primary:hover {
  background: var(--gold-strong);
}

.button.secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.button.small {
  min-height: 42px;
  padding: 0.6rem 0.9rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button-row.center {
  justify-content: center;
}

.hero {
  background: var(--bg);
  display: grid;
  overflow: hidden;
}

.hero-media {
  aspect-ratio: 1672 / 941;
  background: #f6ebdc;
  border-bottom: 1px solid var(--border);
  position: relative;
  width: 100%;
}

.hero-media::after {
  background: linear-gradient(180deg, rgba(250, 244, 234, 0) 72%, rgba(250, 244, 234, 0.26) 100%);
  content: "";
  inset: 0;
  position: absolute;
  pointer-events: none;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

.hero-copy {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(2.2rem, 4vw, 4rem) clamp(1.2rem, 4vw, 2.5rem) clamp(3.5rem, 6vw, 5.5rem);
  width: 100%;
}

.hero-copy p {
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 760px;
}

.hero-copy h1 {
  color: var(--ink);
  font-size: clamp(3rem, 5.8vw, 5.8rem);
  max-width: 920px;
}

.eyebrow {
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(4rem, 7vw, 7rem) clamp(1.2rem, 4vw, 2.5rem);
}

.section.split {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.section.band {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  max-width: none;
  padding-left: max(clamp(1.2rem, 4vw, 2.5rem), calc((100vw - var(--max)) / 2 + 2.5rem));
  padding-right: max(clamp(1.2rem, 4vw, 2.5rem), calc((100vw - var(--max)) / 2 + 2.5rem));
}

.section.dark {
  background: var(--dark);
  color: #fff;
  max-width: none;
  padding-left: max(clamp(1.2rem, 4vw, 2.5rem), calc((100vw - var(--max)) / 2 + 2.5rem));
  padding-right: max(clamp(1.2rem, 4vw, 2.5rem), calc((100vw - var(--max)) / 2 + 2.5rem));
}

.section.dark p,
.section.dark li {
  color: rgba(255, 255, 255, 0.8);
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 780px;
}

.card-grid,
.route-grid,
.service-grid,
.sample-grid,
.pricing-grid,
.mock-report {
  display: grid;
  gap: 1rem;
}

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

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

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

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

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

.card,
.route-card,
.service-card,
.sample-note,
.sample-grid article,
.price-card,
.post-card,
.mock-report article,
.notice {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.sample-note {
  max-width: 860px;
}

.sample-note h3 {
  font-family: var(--gh-font-body);
  font-size: 1rem;
  font-weight: 900;
  margin: 1.2rem 0 0.25rem;
}

.sample-note h3:first-child {
  margin-top: 0;
}

.card h3,
.route-card h3,
.service-card h3 {
  margin-bottom: 0.6rem;
}

.route-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.route-card a {
  border-top: 1px solid var(--border);
  color: var(--gold-strong);
  font-weight: 800;
  margin-top: auto;
  padding-top: 1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card .button {
  margin-top: auto;
}

.offer-table,
.comparison-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.offer-table div,
.comparison-table div {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  padding: 1rem 1.2rem;
}

.comparison-table.wide div {
  grid-template-columns: 1.2fr 0.5fr 0.8fr 1.2fr;
}

.offer-table div:last-child,
.comparison-table div:last-child {
  border-bottom: 0;
}

.steps,
.number-list {
  margin: 0;
  padding-left: 1.4rem;
}

.steps li,
.number-list li {
  margin-bottom: 0.8rem;
}

.sample-grid article span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-grid article strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0.45rem 0;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0 0.75rem 1.8rem;
  position: relative;
}

.check-list li::before {
  color: var(--sage);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.final-cta {
  text-align: center;
}

.page-hero {
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 4vw, 2.5rem) clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.page-hero.compact {
  max-width: 900px;
}

.page-hero p {
  margin: 1rem auto 0;
  max-width: 760px;
}

.delivery {
  color: var(--gold-strong);
  font-weight: 800;
}

.service-hero .button {
  margin-top: 1.5rem;
}

.router {
  display: grid;
  gap: 1rem;
}

.router-panel {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.router-panel h2 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.option-grid button {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  min-height: 42px;
  padding: 0.65rem 0.85rem;
}

.option-grid button.is-selected {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.capture-form {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.capture-form label {
  color: var(--ink);
  display: grid;
  font-weight: 800;
  gap: 0.4rem;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  width: 100%;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input[type="checkbox"] {
  min-height: 0;
  width: auto;
}

input[type="file"] {
  padding: 0.65rem;
}

.checkbox-label {
  align-items: start;
  display: grid;
  font-weight: 700;
  gap: 0.7rem;
  grid-template-columns: auto 1fr;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.category-strip a {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink-soft);
  padding: 0.55rem 0.8rem;
}

.post-feed {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
  display: grid;
  gap: 1rem;
}

.post-card img,
.post-placeholder {
  aspect-ratio: 16 / 10;
  background: var(--dark);
  color: #f6e7c7;
  display: grid;
  font-family: var(--gh-font-heading);
  font-size: 1.6rem;
  min-height: 180px;
  object-fit: cover;
  place-items: center;
  width: 100%;
}

.post-card h3 a {
  color: var(--ink);
}

.post-card span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  margin-top: 0.8rem;
}

.article {
  margin: 0 auto;
  max-width: 860px;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 4vw, 2.5rem);
}

.article-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.article-header img {
  margin-top: 2rem;
}

.article-content {
  font-size: 1.1rem;
}

.article-content a {
  color: var(--gold-strong);
  font-weight: 800;
}

.article-content h2,
.article-content h3 {
  margin: 2.5rem 0 1rem;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin-bottom: 1.2rem;
}

.article-content .kg-width-wide {
  margin-left: max(-140px, calc((100% - 100vw + 2.4rem) / 2));
  margin-right: max(-140px, calc((100% - 100vw + 2.4rem) / 2));
}

.article-content .kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.article-content .kg-width-full img,
.article-content .kg-width-wide img {
  width: 100%;
}

.article-cta {
  background: var(--dark);
  border-radius: var(--radius);
  color: #fff;
  margin-top: 3rem;
  padding: 2rem;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 900px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-item p {
  margin-top: 0.8rem;
}

.legal-copy {
  max-width: 780px;
}

.legal-copy p + p {
  margin-top: 1rem;
}

.notice a,
.legal-copy a {
  color: var(--gold-strong);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-page {
  display: grid;
  min-height: calc(100vh - 76px);
  padding: 2rem 1rem;
  place-items: center;
}

.link-shell {
  display: grid;
  gap: 0.8rem;
  max-width: 460px;
  text-align: center;
  width: 100%;
}

.link-shell .brand-mark {
  margin: 0 auto;
}

.link-shell .button {
  width: 100%;
}

.redirect-page {
  display: grid;
  min-height: calc(100vh - 76px);
  padding: 2rem;
  place-items: center;
  text-align: center;
}

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 4vw, 3rem) 2rem;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  margin: 0 auto;
  max-width: var(--max);
}

.site-footer h3 {
  color: #fff;
  font-family: var(--gh-font-body);
  font-size: 0.92rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.45rem;
}

.footer-brand {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem auto 0;
  max-width: var(--max);
  padding-top: 1rem;
}

@media (max-width: 920px) {
  h1 {
    font-size: 3.5rem;
  }

  .nav-toggle {
    background: var(--dark);
    border: 0;
    border-radius: var(--radius);
    color: #fff;
    display: inline-flex;
    font: inherit;
    padding: 0.55rem 0.8rem;
  }

  .site-nav {
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 1rem;
    position: absolute;
    right: 0;
    top: 75px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .section.split,
  .card-grid.six,
  .card-grid.four,
  .route-grid,
  .service-grid,
  .pricing-grid,
  .sample-grid,
  .mock-report,
  .post-feed,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table.wide div,
  .offer-table div,
  .comparison-table div {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 3rem;
  }

  .brand span:last-child {
    display: none;
  }

  .hero-media {
    aspect-ratio: 4 / 3;
  }

  .hero-media img {
    object-fit: contain;
  }

  .button {
    width: 100%;
  }

  .button-row {
    width: 100%;
  }
}
