:root {
  --burgundy: #6b2538;
  --burgundy-deep: #43151f;
  --gold: #a98237;
  --gold-soft: #c9a55c;
  --paper: #fbf8f1;
  --cream: #f4eddf;
  --cream-deep: #e5d8be;
  --ink: #19140f;
  --ink-soft: #39322b;
  --teal: #16464a;
  --navy: #182233;
  --rule: #d7cdb8;
  --muted: #81796d;
  --white: #fffaf0;
  --danger: #9a392f;
  --shadow: 0 24px 60px rgba(25, 20, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 12px clamp(18px, 4vw, 58px);
  color: var(--white);
  background: rgba(25, 20, 15, 0.72);
  border-bottom: 1px solid rgba(255, 250, 240, 0.14);
  backdrop-filter: blur(16px);
  transition: background 160ms ease, min-height 160ms ease;
}

.site-header.is-scrolled {
  min-height: 60px;
  background: rgba(25, 20, 15, 0.9);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 165, 92, 0.86);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "EB Garamond", serif;
  font-style: italic;
  color: var(--gold-soft);
  font-size: 24px;
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-family: "EB Garamond", serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 0.9;
}

.brand small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 250, 240, 0.84);
}

nav a {
  text-decoration: none;
  padding: 8px 0;
}

.header-cta,
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.header-cta,
.btn.primary,
.btn.submit {
  color: var(--ink);
  background: var(--gold-soft);
}

.btn.primary.dark {
  color: var(--white);
  background: var(--burgundy);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 250, 240, 0.44);
  background: rgba(255, 250, 240, 0.08);
}

.btn.ghost.dark {
  color: var(--burgundy);
  border-color: rgba(77, 26, 40, 0.28);
  background: rgba(77, 26, 40, 0.05);
}

.btn.compact {
  min-height: 42px;
  width: 100%;
  margin-top: auto;
  color: var(--white);
  background: var(--burgundy);
}

.hero {
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 76px) 58px;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(25, 20, 15, 0.88) 0%, rgba(25, 20, 15, 0.68) 42%, rgba(25, 20, 15, 0.28) 100%),
    url("hero-strategy.jpg");
  background-size: cover;
  background-position: center;
}

.hero-copy {
  width: min(980px, 100%);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold-soft);
}

.section-kicker {
  color: var(--burgundy);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-family: "EB Garamond", serif;
  font-size: clamp(46px, 8vw, 94px);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: 0;
}

h2 {
  font-family: "EB Garamond", serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}

h3 {
  letter-spacing: 0;
}

.hero p {
  max-width: 730px;
  margin-bottom: 0;
  font-family: "EB Garamond", serif;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.18;
  color: rgba(255, 250, 240, 0.9);
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: var(--white);
  background: var(--burgundy);
  border-bottom: 4px solid var(--gold);
}

.proof-item {
  padding: 22px clamp(18px, 3vw, 36px);
  border-right: 1px solid rgba(255, 250, 240, 0.14);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(19px, 3vw, 30px);
  line-height: 1;
  color: var(--gold-soft);
}

.proof-item span {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  color: rgba(255, 250, 240, 0.82);
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 76px);
}

.demo-band {
  background: var(--paper);
  padding-top: clamp(36px, 5vw, 58px);
  padding-bottom: clamp(36px, 5vw, 58px);
}

.demo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.band {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: 36px;
}

.section-heading p,
.lead {
  margin-bottom: 0;
  font-family: "EB Garamond", serif;
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.26;
  color: var(--ink-soft);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
}

.framework-grid article {
  min-height: 196px;
  padding: 18px;
  border-right: 1px solid var(--rule);
}

.framework-grid article:nth-child(odd) {
  background: #fffdf8;
}

.framework-grid article:last-child {
  border-right: 0;
}

.framework-grid b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--gold-soft);
  background: var(--burgundy);
  font-family: "EB Garamond", serif;
  font-size: 23px;
  font-weight: 600;
}

.framework-grid h3 {
  margin-bottom: 8px;
  color: var(--burgundy-deep);
  font-size: 14px;
  line-height: 1.16;
}

.framework-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.package {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
}

.package.featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}

.package-label {
  width: fit-content;
  display: inline-flex;
  padding: 6px 9px;
  margin-bottom: 16px;
  border-radius: 6px;
  color: var(--burgundy-deep);
  background: var(--cream-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package h3 {
  margin-bottom: 12px;
  color: var(--burgundy);
  font-family: "EB Garamond", serif;
  font-size: 31px;
  line-height: 1;
}

.price {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
}

.delivery {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

ul {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--ink-soft);
}

li {
  margin: 8px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.method-list div {
  padding: 18px;
  border-left: 3px solid var(--gold);
  background: var(--white);
}

.method-list strong,
.method-list span {
  display: block;
}

.method-list strong {
  margin-bottom: 6px;
  color: var(--burgundy-deep);
}

.method-list span {
  color: var(--ink-soft);
  font-size: 14px;
}

.authority-panel {
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.authority-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--rule);
}

.authority-panel h3 {
  margin: 18px 0 8px;
  color: var(--burgundy);
  font-family: "EB Garamond", serif;
  font-size: 27px;
}

.authority-panel p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.deliverable-table {
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
}

.deliverable-table > div {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1fr;
}

.deliverable-table span {
  padding: 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 14px;
}

.deliverable-table span:first-child {
  color: var(--burgundy-deep);
  font-weight: 800;
}

.deliverable-table .table-head span {
  color: var(--white);
  background: var(--burgundy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.deliverable-table > div:last-child span {
  border-bottom: 0;
}

.form-section {
  background: linear-gradient(135deg, var(--burgundy-deep), #221017 52%, var(--teal));
  color: var(--white);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.form-copy h2,
.form-copy .lead {
  color: var(--white);
}

.form-copy .lead {
  color: rgba(255, 250, 240, 0.86);
}

.score-preview {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.08);
}

.score-preview span,
.score-preview small {
  display: block;
  color: rgba(255, 250, 240, 0.78);
  font-size: 12px;
}

.score-preview strong {
  display: block;
  margin: 8px 0 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 34px;
  color: var(--gold-soft);
}

.score-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.18);
}

.score-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gold-soft);
  transition: width 180ms ease;
}

.lead-form {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

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

label,
fieldset {
  display: block;
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  display: block;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
  font-weight: 500;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(201, 165, 92, 0.55);
  border-color: var(--gold);
}

fieldset {
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fffdf8;
}

legend {
  padding: 0 6px;
  color: var(--burgundy);
  font-weight: 800;
}

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

.check-grid label,
.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  font-weight: 600;
}

.check-grid input,
.consent input {
  width: auto;
  min-height: auto;
  margin: 4px 0 0;
}

.consent {
  margin: 18px 0;
  line-height: 1.4;
}

.btn.submit {
  width: 100%;
  border: 0;
  font-size: 15px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 76px);
  background: var(--ink);
  color: rgba(255, 250, 240, 0.74);
  font-size: 12px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
  font-family: "EB Garamond", serif;
  font-size: 23px;
  font-weight: 600;
}

.site-footer p {
  margin-bottom: 0;
}

.thank-you {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(25, 20, 15, 0.86), rgba(25, 20, 15, 0.48)),
    url("hero-strategy.jpg") center / cover;
}

.thank-you-panel {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.thank-you-panel h1 {
  color: var(--burgundy);
  font-size: clamp(38px, 7vw, 64px);
}

.thank-you-panel p {
  color: var(--ink-soft);
  font-size: 17px;
}

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

.thank-you-actions .btn {
  background: var(--burgundy);
  color: var(--white);
}

.thank-you-actions .btn.secondary {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.demo-page {
  background: var(--paper);
}

.demo-hero {
  min-height: 68vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 76px) 58px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(25, 20, 15, 0.9), rgba(25, 20, 15, 0.54)),
    url("hero-strategy.jpg") center / cover;
}

.demo-hero h1 {
  color: var(--white);
}

.demo-hero p {
  max-width: 760px;
  color: rgba(255, 250, 240, 0.88);
  font-family: "EB Garamond", serif;
  font-size: clamp(21px, 2.7vw, 30px);
  line-height: 1.2;
}

.demo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.demo-meta span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.09);
  color: rgba(255, 250, 240, 0.86);
  font-size: 13px;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.demo-main {
  max-width: 820px;
}

.demo-main h2 {
  margin: 34px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
}

.demo-main h2:first-of-type {
  margin-top: 0;
}

.demo-main p {
  color: var(--ink-soft);
  font-size: 16px;
}

.demo-side {
  position: sticky;
  top: 90px;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.demo-side h3 {
  color: var(--burgundy);
  font-family: "EB Garamond", serif;
  font-size: 27px;
}

.demo-side .btn + .btn {
  margin-top: 10px;
}

.score-big {
  margin: 6px 0 10px;
  color: var(--gold);
  font-family: "IBM Plex Mono", monospace;
  font-size: 72px;
  font-weight: 600;
  line-height: 1;
}

.score-table {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
}

.score-table div {
  padding: 18px;
  border-right: 1px solid var(--rule);
}

.score-table div:last-child {
  border-right: 0;
}

.score-table strong,
.score-table span {
  display: block;
}

.score-table strong {
  color: var(--burgundy-deep);
  font-size: 14px;
}

.score-table span {
  margin: 10px 0;
  color: var(--gold);
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  font-weight: 600;
}

.score-table p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.advantage-grid,
.unit-grid,
.risk-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.advantage-grid article,
.unit-grid div,
.risk-list div {
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
}

.advantage-grid h3 {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 15px;
}

.advantage-grid p,
.risk-list span {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.unit-grid div {
  min-height: 120px;
}

.unit-grid span,
.unit-grid strong {
  display: block;
}

.unit-grid span {
  color: var(--ink-soft);
  font-size: 13px;
}

.unit-grid strong {
  margin-top: 12px;
  color: var(--burgundy);
  font-family: "IBM Plex Mono", monospace;
  font-size: 28px;
}

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

.risk-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--burgundy-deep);
}

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

.sources ul {
  margin-top: 22px;
}

.sources a {
  color: var(--burgundy);
  font-weight: 700;
}

.sources p {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1080px) {
  nav a:not(:last-child) {
    display: none;
  }

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

  .framework-grid article {
    border-bottom: 1px solid var(--rule);
  }

  .framework-grid article:nth-child(even) {
    border-right: 0;
  }

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 84vh;
    padding: 96px 20px 42px;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .proof-item:nth-child(even) {
    border-right: 0;
  }

  .section-heading,
  .split,
  .form-layout,
  .site-footer,
  .demo-card,
  .demo-layout,
  .demo-cta {
    grid-template-columns: 1fr;
  }

  .framework-grid,
  .method-list,
  .form-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .framework-grid article {
    border-right: 0;
  }

  .deliverable-table {
    display: block;
    overflow-x: auto;
  }

  .deliverable-table > div {
    min-width: 760px;
  }

  .authority-panel {
    max-width: 340px;
  }

  .demo-side {
    position: static;
  }

  .score-table,
  .advantage-grid,
  .unit-grid,
  .risk-list {
    grid-template-columns: 1fr;
  }

  .score-table div {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .score-table div:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
