:root {
  --ink: #16181D;
  --paper: #F2F2EE;
  --white: #FFFFFF;
  --muted: #4F545E;
  --line: #CFD0CA;
  --orange: #D9480F;
  --orange-dark: #A8380B;
  --orange-tint: #FDEBDD;
  --manila: #EAD9AA;
  --manila-edge: #C9B57E;
  --green: #1F5C45;
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --measure: 68ch;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; }

a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.skip:focus { left: 16px; top: 16px; z-index: 10; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { border-bottom: 2px solid var(--ink); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-top: 18px; padding-bottom: 18px;
}
.wordmark {
  font-family: var(--display); font-weight: 700; font-size: 1.6rem;
  letter-spacing: -0.02em; text-decoration: none; color: var(--ink);
}
.wordmark span { color: var(--orange); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 0.98rem; }
.site-nav a { text-decoration: none; padding: 6px 0; }
.site-nav a:hover { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 8px;
  font-family: var(--body); font-weight: 600; font-size: 1.05rem;
  text-decoration: none; border: 2px solid var(--ink); cursor: pointer;
}
.btn-primary { background: var(--orange); border-color: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }

/* Hero */
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.75rem); line-height: 0.98;
  letter-spacing: -0.03em; margin: 0 0 24px; max-width: 13ch;
}
.hero p { font-size: 1.25rem; max-width: 38ch; margin: 0 0 32px; color: #2B2E35; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tag-figure { margin: 0; display: flex; justify-content: center; }
.tag-figure svg { width: 100%; max-width: 420px; height: auto; transform: rotate(-4deg); }

/* Sections */
section.band { padding: 80px 0; border-top: 2px solid var(--ink); }
section.band.dark { background: var(--ink); color: var(--paper); border-top: none; }
section.band.dark a { color: var(--paper); }
h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 20ch;
}
h3 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; margin: 0 0 6px; }
.lede { font-size: 1.2rem; max-width: 52ch; margin: 0 0 40px; }
.dark .lede, .dark p { color: #D5D7DC; }

/* Ladder */
.ladder { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: none; }
.ladder li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center;
  background: var(--white); border: 2px solid var(--ink); border-radius: 10px;
  padding: 20px 24px;
}
.ladder li:nth-child(2) { margin-left: 5%; }
.ladder li:nth-child(3) { margin-left: 10%; }
.ladder li:nth-child(4) { margin-left: 15%; background: transparent; border-style: dashed; }
.ladder p { margin: 0; color: var(--muted); }
.ladder .when {
  font-weight: 600; font-size: 0.95rem; padding: 6px 12px; border-radius: 999px;
  background: var(--paper); white-space: nowrap;
}
.ladder li:first-child .when { background: var(--orange-tint); color: #8A2D06; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { border-top: 3px solid var(--paper); padding-top: 18px; }
.steps .n { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--orange); display: block; margin-bottom: 12px; }
.steps p { margin: 0; }

/* Two-column audience */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.split ul { margin: 0 0 28px; padding-left: 1.2em; }
.split li { margin-bottom: 10px; }
.callout {
  background: var(--white); border: 2px solid var(--ink); border-radius: 10px; padding: 20px 24px;
}
.callout p { margin: 0; }
.phone { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.01em; white-space: nowrap; }

/* Legal pages */
.legal .wrap { max-width: 820px; padding-top: 56px; padding-bottom: 88px; }
.legal h1 { font-family: var(--display); font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 8px; }
.legal .effective { color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 1.6rem; margin: 48px 0 12px; max-width: none; }
.legal h3 { margin-top: 28px; }
.legal p, .legal li { max-width: var(--measure); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal .box { background: var(--white); border: 2px solid var(--ink); border-radius: 10px; padding: 20px 24px; margin: 24px 0; }
.legal .box p:last-child { margin-bottom: 0; }

/* Opt-in example */
.optin-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 56px; align-items: start; }
.example-phone {
  background: #FBFAF6; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden;
}
.example-phone .shop-bar { background: var(--green); color: var(--white); padding: 22px 24px 26px; }
.example-phone .shop-name { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 18px; }
.example-phone .logo {
  width: 38px; height: 38px; border-radius: 8px; background: var(--white); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 0.85rem;
}
.example-phone h2 { color: var(--white); font-size: 1.9rem; margin: 0 0 8px; }
.example-phone .shop-bar p { margin: 0; color: #E3EEE8; font-size: 0.98rem; }
.example-form { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field input {
  font: inherit; font-size: 1.15rem; padding: 13px 14px; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); color: var(--ink);
}
.hint { font-size: 0.9rem; color: var(--muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; margin: 3px 0 0; flex: none; accent-color: var(--ink); }
.consent label { font-size: 0.92rem; line-height: 1.5; color: #2B2E35; }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); padding: 40px 0 56px; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer p { margin: 0; color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap, .split, .optin-layout { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .tag-figure { order: -1; }
  .tag-figure svg { max-width: 300px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ladder li { grid-template-columns: minmax(0, 1fr); }
  .ladder li:nth-child(n) { margin-left: 0; }
  section.band { padding: 64px 0; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}
