:root {
  /* Colors */
  --wh-bg: #f8f6f1;
  --wh-bg-warm: #efece5;
  --wh-surface: #ffffff;
  --wh-surface-muted: #faf9f6;
  --wh-primary: #1a3a2a;
  --wh-primary-hover: #245236;
  --wh-text: #1a1a1a;
  --wh-text-secondary: #4a4a4a;
  --wh-text-muted: #6b6b6b;
  --wh-border: #e2ded7;
  --wh-border-light: #edeae4;
  --wh-accent-green: #2d6b45;
  --wh-accent-green-light: #e8f0eb;
  --wh-accent-red: #c0392b;
  --wh-accent-red-light: #fdf0ee;
  --wh-accent-amber: #b8860b;
  --wh-accent-amber-light: #fef9ec;
  --wh-accent-blue: #2D6BC4;
  --wh-accent-blue-hover: #2560b3;
  --wh-accent-blue-light: #eaf1fb;

  /* Typography */
  --wh-font-display: 'DM Serif Display', Georgia, serif;
  --wh-font-body: 'DM Sans', -apple-system, sans-serif;

  /* Spacing */
  --wh-space-xs: 4px;
  --wh-space-sm: 8px;
  --wh-space-md: 16px;
  --wh-space-lg: 24px;
  --wh-space-xl: 40px;
  --wh-space-2xl: 64px;
  --wh-space-3xl: 72px;

  /* Radius */
  --wh-radius-sm: 8px;
  --wh-radius-md: 12px;
  --wh-radius-lg: 16px;
  --wh-radius-full: 100px;

  /* Layout */
  --wh-container: 1120px;
  --wh-shadow: 0 16px 40px rgba(18, 49, 38, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--wh-font-body);
  background: var(--wh-bg);
  color: var(--wh-text);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

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

p,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--wh-font-display);
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h3 {
  font-family: var(--wh-font-body);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

.container {
  width: min(var(--wh-container), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 2rem));
}

.section {
  padding: var(--wh-space-3xl) 0;
}

.muted {
  background: var(--wh-bg-warm);
}

/* ========== Header ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 242, 236, 0.92);
  border-bottom: 1px solid rgba(224, 219, 211, 0.7);
  backdrop-filter: blur(10px);
}

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

.brand {
  font-family: var(--wh-font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Hamburger toggle — hidden on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--wh-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-nav a:not(.button) {
  color: var(--wh-text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.header-nav a:not(.button):hover {
  color: var(--wh-text);
}

/* ========== Eyebrow / Labels ========== */

.eyebrow,
.card-label,
.step-number {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--wh-accent-green);
  background: var(--wh-accent-green-light);
  padding: 5px 12px;
  border-radius: var(--wh-radius-full);
  font-family: var(--wh-font-body);
}

/* ========== Body text ========== */

.lead {
  font-size: 1.05rem;
  color: var(--wh-text-secondary);
  max-width: 62ch;
  line-height: 1.7;
}

.section-intro {
  color: var(--wh-text-secondary);
  margin: 1rem 0 2rem;
}

.microcopy {
  font-size: 13px;
  color: var(--wh-text-muted);
  margin-top: var(--wh-space-sm);
}

/* ========== Hero ========== */

.hero {
  padding-top: 6rem;
  padding-bottom: var(--wh-space-3xl);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin: 2rem 0 1rem;
}

/* ========== Buttons ========== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--wh-radius-full);
  background: var(--wh-accent-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--wh-font-body);
  border: 1px solid var(--wh-accent-blue);
  transition: transform 0.15s ease, background 0.15s ease;
  cursor: pointer;
  text-decoration: none;
}

.button:hover {
  background: var(--wh-accent-blue-hover);
  transform: translateY(-1px);
}

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

.button-secondary:hover {
  background: var(--wh-surface);
  border-color: var(--wh-text-secondary);
}

.button-small {
  padding: 8px 16px;
}

/* ========== Cards ========== */

.card {
  background: var(--wh-surface);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-md);
  padding: 22px;
}

.card-icon {
  padding-top: 26px;
}

.card-icon-svg {
  display: block;
  color: var(--wh-accent-green);
  margin-bottom: 14px;
}

.card h3 {
  margin-bottom: 6px;
}

.card p {
  font-size: 14px;
  color: var(--wh-text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========== Hero preview card ========== */

.hero-card {
  padding: 1.25rem;
  box-shadow: var(--wh-shadow);
}

.hero-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0;
}

.artifact-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.artifact-badge,
.artifact-tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--wh-radius-full);
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--wh-accent-green-light);
  color: var(--wh-accent-green);
}

.artifact-window {
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-lg);
  background: linear-gradient(180deg, #fcfbf8 0%, #f3efe6 100%);
  overflow: hidden;
}

.artifact-toolbar {
  display: flex;
  gap: 0.45rem;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(224, 219, 211, 0.8);
  background: rgba(255, 255, 255, 0.75);
}

.artifact-toolbar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: var(--wh-radius-full);
  background: var(--wh-border);
}

.artifact-body {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.artifact-panel {
  border-radius: var(--wh-radius-md);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(224, 219, 211, 0.9);
}

.artifact-panel p:last-child {
  margin-bottom: 0;
}

.artifact-kicker {
  margin-bottom: 0.35rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--wh-accent-green);
}

.artifact-panel-top,
.artifact-panel-split {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.artifact-panel-highlight {
  border-color: rgba(30, 77, 61, 0.22);
  box-shadow: inset 0 0 0 1px rgba(30, 77, 61, 0.06);
}

.artifact-note {
  color: var(--wh-text-secondary);
}

.artifact-score {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ========== Audit Preview (sample excerpt) ========== */

.audit-preview {
  background: var(--wh-surface);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-lg);
  overflow: hidden;
  margin-top: var(--wh-space-lg);
}

.audit-preview-header {
  padding: var(--wh-space-md) var(--wh-space-lg);
  background: var(--wh-surface-muted);
  border-bottom: 1px solid var(--wh-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audit-preview-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--wh-accent-green);
}

.audit-preview-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--wh-text-muted);
  background: var(--wh-bg);
  padding: 4px 12px;
  border-radius: var(--wh-radius-full);
}

.audit-block {
  padding: 20px 24px;
  border-bottom: 1px solid var(--wh-border-light);
}

.audit-block:last-child {
  border-bottom: none;
}

.audit-block-muted {
  background: var(--wh-surface-muted);
}

.audit-block-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.audit-block-label.green {
  color: var(--wh-accent-green);
}

.audit-block-label.red {
  color: var(--wh-accent-red);
}

.audit-block-label.amber {
  color: var(--wh-accent-amber);
}

.audit-block h4 {
  font-family: var(--wh-font-body);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 0;
  color: var(--wh-text);
}

.audit-block p {
  font-size: 14px;
  color: var(--wh-text-secondary);
  line-height: 1.65;
}

.audit-block p:last-child {
  margin-bottom: 0;
}

/* ========== Grids ========== */

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

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

.grid.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.steps .card {
  min-height: 100%;
}

.fit-lead {
  color: var(--wh-text-secondary);
  font-size: 15px;
  margin-bottom: var(--wh-space-md);
}

/* ========== Checklists ========== */

.checklist,
.signal-list {
  padding-left: 1.1rem;
}

.checklist li,
.signal-list li {
  margin-bottom: 0.7rem;
}

.checklist-muted li {
  color: var(--wh-text-secondary);
}

/* ========== Identity ========== */

.identity-section {
  display: flex;
  gap: var(--wh-space-lg);
  align-items: flex-start;
  max-width: 760px;
}

.identity-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--wh-radius-full);
  background: var(--wh-primary);
  color: #fff;
  font-family: var(--wh-font-display);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.identity-section h2 {
  font-size: 1.3rem;
  margin-bottom: var(--wh-space-sm);
}

.identity-section p {
  color: var(--wh-text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.identity-link {
  color: var(--wh-accent-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.identity-link:hover {
  color: var(--wh-accent-blue-hover);
}

/* ========== Pricing ========== */

.pricing-card {
  background: var(--wh-surface);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-lg);
  padding: var(--wh-space-xl);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wh-space-xl);
  align-items: stretch;
}

.pricing-left {
  border-right: 1px solid var(--wh-border);
  padding-right: var(--wh-space-xl);
}

.pricing-header {
  margin-bottom: var(--wh-space-md);
}

.pricing-amount {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  margin-bottom: 0;
}

.pricing-note {
  font-size: 14px;
  color: var(--wh-text-muted);
  margin-bottom: 0;
}

.pricing-desc {
  color: var(--wh-text-secondary);
  font-size: 15px;
  margin-bottom: var(--wh-space-lg);
}

.pricing-includes {
  list-style: none;
  padding: 0;
  margin-bottom: var(--wh-space-lg);
}

.pricing-includes li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--wh-border-light);
  font-size: 14px;
  color: var(--wh-text-secondary);
  padding-left: 1.5rem;
  position: relative;
}

.pricing-includes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--wh-accent-green);
  font-weight: 700;
}

.pricing-cta {
  width: 100%;
}

/* ========== FAQ ========== */

.faq-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--wh-border);
}

.faq-item summary {
  padding: 1.2rem 0;
  font-family: var(--wh-font-body);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--wh-text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  color: var(--wh-text-secondary);
  margin-bottom: 0;
  padding-bottom: 1.2rem;
}

.faq-item a {
  color: var(--wh-accent-blue);
  text-underline-offset: 2px;
}

/* ========== Final CTA ========== */

.final-cta {
  background: linear-gradient(180deg, var(--wh-bg) 0%, var(--wh-bg-warm) 100%);
}

.center {
  text-align: center;
}

/* ========== Form ========== */

.request-form {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--wh-surface);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-lg);
  box-shadow: var(--wh-shadow);
  text-align: left;
}

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

label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-sm);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 14px;
  background: var(--wh-surface);
  color: var(--wh-text);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(45, 107, 196, 0.2);
  border-color: var(--wh-accent-blue);
}

.button-submit {
  width: 100%;
}

/* ========== Dialog ========== */

.audit-dialog {
  border: none;
  border-radius: var(--wh-radius-lg);
  padding: 0;
  max-width: 540px;
  width: calc(100% - 2rem);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  background: var(--wh-surface);
}

.audit-dialog::backdrop {
  background: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(4px);
}

.dialog-inner {
  padding: var(--wh-space-xl);
  position: relative;
}

.dialog-inner h2 {
  font-size: 1.5rem;
  margin-bottom: var(--wh-space-xs);
}

.dialog-subtitle {
  color: var(--wh-text-secondary);
  margin-bottom: var(--wh-space-lg);
}

.dialog-close {
  position: absolute;
  top: var(--wh-space-md);
  right: var(--wh-space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--wh-text-muted);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.dialog-close:hover {
  color: var(--wh-text);
}

.audit-dialog .request-form {
  margin-top: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

/* ========== Footer ========== */

.site-footer {
  border-top: 1px solid var(--wh-border);
  color: var(--wh-text-secondary);
  padding: var(--wh-space-md) 0;
}

.footer-copy {
  font-size: 13px;
  color: var(--wh-text-muted);
  margin-bottom: 0;
}

/* ========== Placeholder shapes ========== */

.placeholder-shape {
  border: 2px dashed var(--wh-border);
  border-radius: var(--wh-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wh-text-muted);
  background: var(--wh-surface-muted);
}

.placeholder-hero {
  flex-direction: column;
  gap: 10px;
  padding: var(--wh-space-3xl) var(--wh-space-lg);
  min-height: 320px;
  border-radius: var(--wh-radius-lg);
}

.placeholder-hero span {
  font-size: 13px;
  font-weight: 500;
}

.placeholder-step-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--wh-radius-sm);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.placeholder-cta-deco {
  width: 56px;
  height: 56px;
  border-radius: var(--wh-radius-full);
  margin-bottom: var(--wh-space-lg);
}

/* ========== Back to top ========== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: var(--wh-radius-full);
  background: var(--wh-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.15s ease;
  z-index: 30;
}

.back-to-top:hover {
  transform: translateY(-2px);
  background: var(--wh-primary-hover);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ========== Responsive ========== */

@media (max-width: 900px) {
  .hero-grid,
  .grid.two-col,
  .cards-3,
  .cards-2x2,
  .pricing-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .pricing-left {
    border-right: none;
    padding-right: 0;
    padding-bottom: var(--wh-space-lg);
    border-bottom: 1px solid var(--wh-border);
  }

  .artifact-header,
  .artifact-panel-top,
  .artifact-panel-split {
    flex-direction: column;
  }

  .section {
    padding: var(--wh-space-2xl) 0;
  }

  .placeholder-hero {
    min-height: 200px;
  }

  /* Hamburger menu on mobile */
  .menu-toggle {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .header-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding-top: 0.75rem;
  }

  .header-nav.open {
    display: flex;
  }

  .header-nav a:not(.button) {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--wh-border-light);
  }

  .header-nav .button {
    width: 100%;
    margin-top: 0.75rem;
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (max-width: 640px) {
  h1 {
    max-width: none;
  }

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

  .card,
  .request-form {
    padding: 1.2rem;
  }
}
