:root {
  /* Source-aligned neutrals */
  --ivory: #fbf8f1;
  --linen: #f3ecdf;
  --parchment: #e8d9c6;
  --sand: #cbb49e;
  --taupe: #9b806c;

  /* Contrast accents */
  --sanctuary-green: #293f35;
  --sanctuary-green-deep: #1f3029;
  --deep-ink: #211d18;
  --clay: #8b4f3f;
  --moss: #6f806b;
  --golden-brown: #a97853;

  /* Functional */
  --surface: #fffdf8;
  --border: #ddd1c2;
  --muted-text: #6d6158;
  --focus: #325f95;

  --shadow-sm: 0 8px 22px rgba(33, 29, 24, 0.08);
  --shadow: 0 18px 44px rgba(33, 29, 24, 0.12);
  --shadow-lg: 0 34px 80px rgba(31, 48, 41, 0.22);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
  /* Single shared horizontal gutter so nav, hero, and every section share one left/right edge */
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--deep-ink);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

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

::selection {
  background: var(--sanctuary-green);
  color: var(--ivory);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Atmosphere: grain + scroll progress ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--clay), var(--golden-brown), var(--moss));
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  background: rgba(251, 248, 241, 0);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.is-stuck {
  background: rgba(251, 248, 241, 0.86);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px) saturate(1.1);
  padding-top: 11px;
  padding-bottom: 11px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-name { line-height: 1; }

.brand-mark {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border: 2px solid var(--sanctuary-green);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--parchment);
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(180deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a {
  position: relative;
  text-decoration: none;
}
.nav-links a:not(.nav-cta) {
  padding: 4px 0;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  padding: 11px 28px;
  color: var(--ivory);
  background: var(--sanctuary-green);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--sanctuary-green-deep);
  box-shadow: 0 12px 26px rgba(31, 48, 41, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--sanctuary-green);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 76px);
  margin-top: -76px;
  padding: clamp(120px, 14vh, 180px) var(--gutter) clamp(60px, 8vh, 90px);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(111, 128, 107, 0.18), transparent 60%),
    radial-gradient(90% 70% at 10% 90%, rgba(169, 120, 83, 0.12), transparent 55%),
    linear-gradient(180deg, var(--ivory), var(--linen));
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.5;
}
.orb-1 {
  top: -8%; right: 18%;
  width: clamp(180px, 26vw, 340px);
  height: clamp(180px, 26vw, 340px);
  background: radial-gradient(circle at 35% 30%, rgba(203, 180, 158, 0.55), transparent 70%);
  transform: translateY(var(--py, 0));
}
.orb-2 {
  bottom: -6%; left: 6%;
  width: clamp(150px, 20vw, 280px);
  height: clamp(150px, 20vw, 280px);
  background: radial-gradient(circle at 60% 40%, rgba(111, 128, 107, 0.4), transparent 70%);
  transform: translateY(var(--py, 0));
}
.leaf {
  position: absolute;
  color: var(--moss);
  opacity: 0.35;
}
.leaf svg { width: clamp(40px, 6vw, 78px); height: auto; }
.leaf-1 { top: 14%; left: 4%; transform: rotate(-18deg) translateY(var(--py, 0)); }
.leaf-2 { bottom: 12%; right: 8%; transform: rotate(24deg) translateY(var(--py, 0)); }

.hero-copy { position: relative; z-index: 2; max-width: 660px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--clay);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(139, 79, 63, 0.16);
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(4.2rem, 13vw, 10rem);
  font-weight: 500;
}
h1 .line { display: block; }
h1 .line.italic {
  font-style: italic;
  font-weight: 400;
  color: var(--sanctuary-green);
  margin-left: 0.06em;
}
h1 .descriptor {
  margin-top: 10px;
  color: var(--clay);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.7vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
h3 { font-size: 1.5rem; font-weight: 600; }

.hero-lede {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted-text);
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 38px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 1.5px solid var(--sanctuary-green);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}
.button span { position: relative; z-index: 1; }
.button.primary { color: var(--ivory); background: var(--sanctuary-green); }
.button.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, var(--clay), var(--golden-brown));
  transform: translateY(102%);
  transition: transform 0.45s var(--ease);
}
.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.button.primary:hover::before { transform: translateY(0); }

.button.secondary { color: var(--sanctuary-green); background: transparent; }
.button.secondary:hover {
  transform: translateY(-3px);
  background: rgba(41, 63, 53, 0.06);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 540px;
  margin: 0;
}
.proof-row div {
  padding: 18px 16px;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(4px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.proof-row div:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.proof-row dt {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--sanctuary-green);
}
.proof-row dt .dim { color: var(--sand); margin: 0 1px; }
.proof-row dd {
  margin: 6px 0 0;
  color: var(--muted-text);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* Hero previews */
.hero-previews {
  position: relative;
  z-index: 2;
  min-height: min(620px, 72vw);
}
.preview {
  position: absolute;
  width: min(40vw, 320px);
  padding: 8px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  will-change: transform;
  transition: box-shadow 0.4s var(--ease);
}
.preview-one { top: 4%; left: -2%; transform: rotate(-5deg) translateY(var(--py, 0)); z-index: 2; }
.preview-two { top: 20%; right: 0; transform: rotate(4deg) translateY(var(--py, 0)); z-index: 3; }
.preview-three { bottom: 0; left: 22%; transform: rotate(-1.5deg) translateY(var(--py, 0)); z-index: 1; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
}
.scroll-hint-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--taupe), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint-line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--clay);
  animation: scrollDown 1.8s var(--ease) infinite;
}
@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ---------- Outcomes ---------- */
.outcomes {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--sanctuary-green);
  color: var(--ivory);
}
.outcome {
  position: relative;
  min-height: 150px;
  padding: 34px 30px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.3;
  border-right: 1px solid rgba(251, 248, 241, 0.14);
  transition: background 0.4s var(--ease);
}
.outcome::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 30px;
  width: 26px;
  height: 1.5px;
  background: var(--golden-brown);
}
.outcome { padding-top: 56px; }
.outcome:hover { background: var(--sanctuary-green-deep); }
.outcome:last-child { border-right: none; }
/* Align the outer cells' content to the shared page gutter while the band stays full-bleed */
.outcome:first-child { padding-left: var(--gutter); }
.outcome:first-child::before { left: var(--gutter); }
.outcome:last-child { padding-right: var(--gutter); }

/* ---------- Sections ---------- */
.section,
.gallery-section,
.use-cases,
.checkout-section {
  position: relative;
  z-index: 2;
  padding: clamp(64px, 10vw, 116px) var(--gutter);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-heading h2 { margin-top: 16px; }
.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted-text);
  font-size: 1.08rem;
}

/* Category + use cases */
.category-grid,
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.category-card,
.use-case-grid article,
.checkout-panel,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.category-card {
  padding: 30px 26px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--sand);
}
.category-card h3 { margin-bottom: 12px; }

.category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  color: var(--ivory);
  background: var(--clay);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(139, 79, 63, 0.28);
}

.category-card p,
.use-case-grid p,
.steps p,
.checkout-copy p,
.checkout-panel p,
.faq-list p { color: var(--muted-text); }

.category-card ul,
.checkout-panel ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.category-card li,
.checkout-panel li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}
.category-card li::before,
.checkout-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--moss);
}

/* ---------- Gallery ---------- */
.gallery-section {
  background:
    radial-gradient(100% 60% at 0% 0%, rgba(203, 180, 158, 0.25), transparent 60%),
    var(--linen);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  padding: 7px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.gallery-grid img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow);
}

/* ---------- How it works ---------- */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.split-intro { position: sticky; top: 110px; }
.split-intro h2 { margin: 16px 0; }
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.steps li:hover { transform: translateX(8px); box-shadow: var(--shadow-sm); }
.steps span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: var(--ivory);
  background: var(--sanctuary-green);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}
.steps h3 { margin-bottom: 6px; }

/* ---------- Use cases ---------- */
.use-cases {
  color: var(--ivory);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(169, 120, 83, 0.22), transparent 55%),
    var(--sanctuary-green);
}
.use-cases .eyebrow { color: var(--golden-brown); }
.use-cases .eyebrow-dot { background: var(--golden-brown); box-shadow: 0 0 0 4px rgba(169, 120, 83, 0.2); }
.use-cases .section-heading p:not(.eyebrow) { color: var(--parchment); }
.use-case-grid article {
  padding: 30px 26px;
  color: var(--ivory);
  background: rgba(251, 248, 241, 0.06);
  border-color: rgba(251, 248, 241, 0.18);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}
.use-case-grid article:hover {
  transform: translateY(-6px);
  background: rgba(251, 248, 241, 0.11);
}
.use-case-grid h3 { margin-bottom: 10px; }
.use-case-grid p { color: var(--parchment); }

/* ---------- Checkout ---------- */
.checkout-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background:
    radial-gradient(80% 70% at 100% 100%, rgba(111, 128, 107, 0.2), transparent 60%),
    var(--parchment);
}
.checkout-copy { max-width: 640px; }
.checkout-copy h2 { margin: 16px 0; }
.checkout-panel {
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
}
.checkout-panel h3 {
  font-size: 2.2rem;
  margin-bottom: 6px;
}
.bundle-label {
  margin: 0 0 4px;
  color: var(--clay);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.price {
  margin: 10px 0 18px;
  color: var(--deep-ink);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
}
.full-width { width: 100%; margin-top: 26px; }
.checkout-note { margin: 14px 0 0; font-size: 0.86rem; }

.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.lead-form label {
  color: var(--deep-ink);
  font-weight: 800;
  line-height: 1.3;
}
.lead-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.lead-form input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  color: var(--deep-ink);
  background: var(--ivory);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font: inherit;
}
.lead-form input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-color: var(--focus);
}
.lead-form .button {
  min-width: 138px;
  cursor: pointer;
}
.lead-form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.84rem;
}
.lead-form-status[data-state="success"] { color: var(--sanctuary-green); }
.lead-form-status[data-state="warning"],
.lead-form-status[data-state="error"] { color: var(--clay); }

/* ---------- FAQ ---------- */
.faq-section { }
.faq-list { display: grid; gap: 14px; max-width: 820px; }
.faq-list details {
  padding: 6px 26px;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.faq-list details[open] { border-color: var(--sand); box-shadow: var(--shadow-sm); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  background: var(--clay);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list p { margin: 0 0 18px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px var(--gutter);
  color: var(--ivory);
  background: var(--deep-ink);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { border-color: var(--parchment); box-shadow: inset 0 0 0 4px rgba(232, 217, 198, 0.25); }
.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}
.footer-product { margin: 2px 0 0; color: var(--sand); font-size: 0.9rem; }
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--parchment);
  font-size: 0.92rem;
  font-weight: 600;
}
.footer-links a {
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--ivory);
}
.footer-top {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--parchment);
  transition: color 0.3s var(--ease);
}
.footer-top:hover { color: var(--ivory); }

/* ---------- Policy and support pages ---------- */
.legal-main {
  position: relative;
  z-index: 2;
  padding: clamp(112px, 13vh, 150px) var(--gutter) clamp(70px, 9vw, 120px);
  background:
    radial-gradient(85% 48% at 90% 0%, rgba(111, 128, 107, 0.14), transparent 65%),
    linear-gradient(180deg, var(--ivory), var(--linen));
}
.legal-shell {
  width: min(100%, 900px);
}
.legal-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal-main h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  line-height: 0.92;
}
.legal-intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted-text);
  font-size: clamp(1.06rem, 2vw, 1.22rem);
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  color: var(--muted-text);
  font-size: 0.92rem;
  font-weight: 600;
}
.legal-content {
  display: grid;
  gap: 28px;
  margin-top: clamp(42px, 6vw, 68px);
}
.legal-content section {
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.legal-content h2 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  line-height: 1;
}
.legal-content h3 {
  margin: 22px 0 8px;
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.15;
}
.legal-content p,
.legal-content li {
  color: var(--muted-text);
}
.legal-content p {
  margin: 0 0 14px;
}
.legal-content ul,
.legal-content ol {
  margin: 12px 0 0;
  padding-left: 22px;
}
.legal-content a {
  color: var(--sanctuary-green);
  font-weight: 700;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.support-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.support-card h3 {
  margin-top: 0;
}
.support-card p:last-child {
  margin-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
    padding-top: clamp(110px, 16vh, 150px);
  }
  .hero-previews { order: -1; min-height: min(440px, 80vw); margin-bottom: 16px; }
  .preview { width: min(46vw, 250px); }
  .scroll-hint { display: none; }

  .outcomes,
  .category-grid,
  .use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcome { min-height: 130px; }
  .outcome:nth-child(2) { border-right: none; }

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

  .split-section,
  .checkout-section { grid-template-columns: 1fr; }
  .split-intro { position: static; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 55;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    width: min(78vw, 320px);
    padding: 80px 36px;
    font-size: 1.15rem;
    background: rgba(251, 248, 241, 0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(33, 29, 24, 0.18);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-cta { padding: 12px 24px; }
  .nav-toggle { display: flex; z-index: 56; }
  body.nav-open { overflow: hidden; }

  .hero { padding-top: 120px; }
  h1 { font-size: clamp(3.6rem, 19vw, 6rem); }

  .proof-row,
  .outcomes,
  .category-grid,
  .use-case-grid { grid-template-columns: 1fr; }
  .outcome { border-right: none; }
  .outcome:nth-child(2) { border-right: none; }

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

  .preview { width: min(58vw, 230px); }
  .preview-one { left: 2%; }
  .preview-two { right: 2%; }

  .steps li { grid-template-columns: 1fr; gap: 14px; }
  .steps li:hover { transform: none; }
  .lead-form-row { grid-template-columns: 1fr; }
  .lead-form .button { width: 100%; }

  .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint-line::after { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-parallax] { transform: none !important; }
}
