/* ==========================================================================
   Self-hosted fonts. No third-party requests: no visitor IP is sent to
   Google when this page loads.
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/bricolage-grotesque-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/bricolage-grotesque-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/bricolage-grotesque-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/bricolage-grotesque-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/caveat-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/caveat-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/space-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/space-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/space-mono-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/space-mono-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   The Host OS: "The Manual"
   A hand-annotated field guide, not a SaaS landing page.
   Printed & tactile: hard shadows, graph paper, highlighter, tape.
   ========================================================================== */

:root {
  --ink: #1a1917;
  --ink-soft: #46423b;
  --paper: #f4f1e6;
  --paper-bright: #fbf9f2;
  --marigold: #edb230;
  --tomato: #d4472a;
  --teal: #2f5d5c;
  --rule: #d8d2be;

  --font-head: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  --font-body: "Newsreader", Georgia, serif;
  --font-hand: "Caveat", cursive;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --stamp: 5px 5px 0 var(--ink);
  --stamp-sm: 3px 3px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.wrap-tight { max-width: 820px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
}

p { margin: 0 0 1em; }

/* ---------- Reusable marks ---------- */

/* Highlighter swipe behind text */
.hl { position: relative; white-space: nowrap; }
.hl::before {
  content: "";
  position: absolute;
  left: -0.08em; right: -0.08em;
  bottom: 0.16em;
  height: 0.34em;
  background: var(--marigold);
  transform: skewX(-14deg) rotate(-0.8deg);
  z-index: -1;
  border-radius: 1px;
}

/* Section number tag, like a manual chapter */
.chapter {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.chapter .num {
  font-weight: 700;
  color: var(--tomato);
}
.chapter .line {
  flex: 1;
  height: 1px;
  background: var(--rule);
  transform: translateY(-4px);
}

/* Handwritten margin note */
.margin-note {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--teal);
  transform: rotate(-2deg);
}

/* Graph paper + ruled backgrounds */
.grid-paper {
  background-image:
    linear-gradient(rgba(26, 25, 23, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 25, 23, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
}
.grid-paper-dark {
  background-image:
    linear-gradient(rgba(244, 241, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 230, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* ---------- Buttons: stamped, not floating ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 14px 26px;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  color: var(--ink);
  box-shadow: var(--stamp);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: var(--stamp-sm); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }

.btn-go { background: var(--tomato); color: var(--paper-bright); }
.btn-sun { background: var(--marigold); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; box-shadow: var(--stamp-sm); }
.btn-sm:hover { box-shadow: 2px 2px 0 var(--ink); }

.btn-invert {
  border-color: var(--paper);
  box-shadow: 5px 5px 0 var(--marigold);
  background: transparent;
  color: var(--paper);
}
.btn-invert:hover { box-shadow: 3px 3px 0 var(--marigold); }

/* ---------- Header: binder tab strip ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo-mark {
  width: 40px; height: 40px;
  border: 2px solid var(--ink);
  background: var(--marigold);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--stamp-sm);
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: flex-end;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: stretch;
}
/* Tabs that hang off the bottom edge like binder dividers */
.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-bottom: none;
  background: var(--paper-bright);
  margin-right: -2px;
  white-space: nowrap;
  transition: background 0.12s ease, transform 0.12s ease;
  position: relative;
  top: 2px;
}
.nav-links a:hover { background: var(--marigold); }

.nav-toggle {
  display: none;
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  box-shadow: var(--stamp-sm);
  font-size: 1.1rem;
  padding: 8px 12px;
  cursor: pointer;
  font-family: var(--font-mono);
}

/* ---------- Hero ---------- */

.hero {
  padding: 76px 0 0;
  border-bottom: 2px solid var(--ink);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 64px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 26px;
}
.hero h1 .line2 { display: block; }

.hero-sub {
  font-size: 1.2rem;
  max-width: 44ch;
  color: var(--ink-soft);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-note {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--teal);
  transform: rotate(-2.5deg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Taped-down photo */
.photo-tape {
  position: relative;
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  padding: 14px 14px 0;
  box-shadow: var(--stamp);
  transform: rotate(2deg);
  max-width: 330px;
  margin: 10px auto 0;
}
.photo-tape::before {
  content: "";
  position: absolute;
  top: -16px; left: 50%;
  width: 120px; height: 32px;
  background: rgba(237, 178, 48, 0.85);
  border: 1px solid rgba(26, 25, 23, 0.18);
  transform: translateX(-50%) rotate(-3deg);
}

.photo-frame {
  aspect-ratio: 1 / 1;
  background: var(--ink);
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Portrait-orientation source: bias the crop upward so the face stays centered
   in the square hero frame and the 4:5 About frame. */
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
/* Placeholder only shows if the photo is missing (script removes a failed img) */
.photo-frame img + .photo-placeholder { display: none; }

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 22px;
  color: var(--paper);
}
.photo-placeholder .initial {
  width: 88px; height: 88px;
  border: 2px solid var(--marigold);
  color: var(--marigold);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
}
.photo-placeholder small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.7;
  opacity: 0.75;
}

.photo-caption {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  text-align: center;
  padding: 10px 0 12px;
  line-height: 1.2;
}
.photo-caption span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* Spec strip, like a manual's spec table */
.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
  background: var(--paper-bright);
}
.spec {
  padding: 22px 28px;
  border-right: 2px solid var(--ink);
}
.spec:last-child { border-right: none; }
.spec dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.spec dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

/* ---------- Recognition: stamped award seals ---------- */

.recognition {
  background: var(--paper-bright);
  border-bottom: 2px solid var(--ink);
  padding: 54px 0 48px;
}

.recognition-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 30px;
}

.award-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.award {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--stamp-sm);
  padding: 22px 24px;
}

.award-seal {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--marigold);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.award-body h3 {
  font-size: 1.12rem;
  margin: 2px 0 6px;
}

.award-body p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

.award-body strong { color: var(--ink); }

.award-body a {
  color: var(--tomato);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.award-body a:hover { color: var(--ink); }

.recognition-note {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--teal);
  text-align: center;
  margin: 26px 0 0;
  transform: rotate(-1.2deg);
}

/* ---------- Section shell ---------- */

section { padding: 84px 0; }

.sec-dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.sec-dark h2, .sec-dark h3 { color: var(--paper-bright); }
.sec-dark .chapter .line { background: rgba(244, 241, 230, 0.25); }
.sec-dark .chapter { color: var(--paper); }
.sec-dark .chapter .num { color: var(--marigold); }

.sec-paper { border-bottom: 2px solid var(--ink); }

h2.big {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  max-width: 20ch;
}

.lede {
  font-size: 1.15rem;
  max-width: 58ch;
  color: var(--ink-soft);
}
.sec-dark .lede { color: rgba(244, 241, 230, 0.78); }

/* ---------- 01 Reassurance: annotated list, not cards ---------- */

.reassure-head {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
}
.reassure-head .margin-note {
  color: var(--marigold);
  border-left: 2px solid var(--marigold);
  padding-left: 18px;
}

.reassure-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244, 241, 230, 0.22);
}
.reassure-item {
  padding: 34px 34px 34px 0;
  border-right: 1px solid rgba(244, 241, 230, 0.22);
}
.reassure-item:not(:first-child) { padding-left: 34px; }
.reassure-item:last-child { border-right: none; padding-right: 0; }

.reassure-item .mark {
  color: var(--marigold);
  margin-bottom: 16px;
  display: block;
}
.reassure-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.reassure-item p {
  color: rgba(244, 241, 230, 0.78);
  font-size: 1rem;
  margin: 0;
}

/* ---------- 02 Services: manual entries, not a card grid ---------- */

.entries { border-top: 2px solid var(--ink); }

.entry {
  display: grid;
  grid-template-columns: 88px 1fr 1.1fr;
  gap: 32px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.15s ease, padding 0.15s ease;
}
.entry:hover {
  background: var(--paper-bright);
  padding-left: 16px;
  padding-right: 16px;
}

.entry-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--tomato);
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.entry-icon {
  flex-shrink: 0;
  color: var(--ink);
}

.entry h3 {
  font-size: 1.55rem;
  margin: 0;
  padding-top: 2px;
}
.entry p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ---------- 03 About ---------- */

.about-inner {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  align-items: start;
}

.about-photo {
  position: relative;
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  padding: 14px;
  box-shadow: var(--stamp);
  transform: rotate(-1.6deg);
}
.about-photo .photo-frame { aspect-ratio: 4 / 5; }

.sticky-note {
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 172px;
  background: var(--marigold);
  border: 2px solid var(--ink);
  box-shadow: var(--stamp-sm);
  padding: 16px 18px;
  transform: rotate(4deg);
  font-family: var(--font-hand);
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--ink);
}

.credentials {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.credentials li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.credentials li::before {
  content: "✕";
  color: var(--tomato);
  font-size: 0.7rem;
}

.signature {
  font-family: var(--font-hand);
  font-size: 2.4rem;
  color: var(--teal);
  transform: rotate(-3deg);
  display: inline-block;
  margin-top: 18px;
}

/* ---------- 04 Steps: dashed path ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  position: relative;
  margin-top: 46px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  border-top: 2px dashed var(--rule);
  z-index: 0;
}

.step { position: relative; z-index: 1; }
.step-badge {
  width: 56px; height: 56px;
  border: 2px solid var(--ink);
  background: var(--marigold);
  box-shadow: var(--stamp-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.step h3 { font-size: 1.28rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* ---------- For property managers ----------
   Deliberately calmer than the rest of the page: no graph paper, no
   handwriting, no stamps. The restraint is the signal to this audience. */

.pm { background: var(--paper-bright); }

.pm-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: start;
}

.pm-intro .lede { margin-bottom: 30px; }

.pm-points {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  counter-reset: pm;
}

.pm-points li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.pm-points .n {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--tomato);
  padding-top: 5px;
}

.pm-points h3 {
  font-size: 1.16rem;
  margin: 0 0 6px;
}

.pm-points p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.99rem;
}

/* ---------- Appendix page (/prompt) ---------- */

.appendix-hero {
  max-width: 780px;
  padding-top: 10px;
  padding-bottom: 20px;
}

.appendix-hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  margin-bottom: 24px;
}

.appendix-hero .hero-sub {
  max-width: 60ch;
}

.appendix-hero .hero-sub strong { color: var(--ink); }

/* Numbered list reused from the property-manager section, full width here */
.appendix-list { max-width: 860px; }
.appendix-list li { border-bottom-color: rgba(244, 241, 230, 0.22); }
.appendix-list { border-top-color: var(--paper); }
.sec-dark .appendix-list h3 { color: var(--paper-bright); }
.sec-dark .appendix-list p { color: rgba(244, 241, 230, 0.78); }
.sec-dark .appendix-list .n { color: var(--marigold); }

.appendix-narrow { max-width: 760px; }

.appendix-prereqs { border-top: 2px solid var(--ink); margin-top: 22px; }
.appendix-prereqs li { font-size: 1.02rem; }
.appendix-prereqs strong { color: var(--ink); }

.cta-email a { color: var(--paper-bright); }

/* ---------- Pricing: three doors ---------- */

.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: var(--stamp);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
}

.price-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--tomato);
  display: block;
  margin-bottom: 10px;
}

.price-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.price-amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 8px;
}

.price-amount small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.price-want {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--teal);
  margin: 0 0 20px;
  transform: rotate(-1deg);
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.price-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.price-list li::before {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  background: var(--marigold);
  border: 1.5px solid var(--ink);
  margin-top: 7px;
}

.price-aside {
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Rubber-stamped urgency note */
.founding-wrap {
  text-align: center;
  margin: 34px 0 0;
}

.founding-stamp {
  display: inline-block;
  border: 2px dashed var(--ink);
  background: var(--marigold);
  box-shadow: var(--stamp-sm);
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  transform: rotate(-1.4deg);
}

.price-promise {
  margin: 34px auto 0;
  max-width: 62ch;
  text-align: center;
  font-size: 1.05rem;
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}

/* ---------- 05 FAQ: index cards ---------- */

.faq-stack {
  display: grid;
  gap: 16px;
  margin-top: 42px;
}

.faq-card {
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  box-shadow: var(--stamp-sm);
  padding: 0 24px;
}
.faq-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--tomato);
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.faq-card[open] { box-shadow: var(--stamp); }
.faq-card[open] summary { border-bottom: 1px dashed var(--rule); }
.faq-card[open] summary::after { transform: rotate(45deg); }
.faq-card p {
  margin: 0;
  padding: 18px 0 22px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ---------- CTA ---------- */

.cta {
  background: var(--tomato);
  color: var(--paper-bright);
  border-bottom: 2px solid var(--ink);
  text-align: center;
}
.cta h2 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  max-width: 18ch;
  margin: 0 auto 18px;
  color: var(--paper-bright);
}
.cta .lede {
  margin: 0 auto 34px;
  color: rgba(251, 249, 242, 0.9);
  max-width: 48ch;
}
.cta .chapter { color: var(--paper-bright); justify-content: center; }
.cta .chapter .line { display: none; }
.cta .chapter .num { color: var(--ink); }
.cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .btn-invert { border-color: var(--paper-bright); box-shadow: 5px 5px 0 var(--ink); }
.cta .btn-invert:hover { box-shadow: 3px 3px 0 var(--ink); }

.cta-email {
  margin: 30px 0 0;
  font-size: 1.02rem;
  color: rgba(251, 249, 242, 0.88);
}
.cta-email a {
  color: var(--paper-bright);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.cta-email a:hover { color: var(--marigold); }

/* ---------- Footer: back cover ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(244, 241, 230, 0.2);
}
.footer-grid .logo { color: var(--paper); margin-bottom: 16px; }
.footer-grid .logo-text small { color: rgba(244, 241, 230, 0.6); }
.footer-blurb {
  max-width: 34ch;
  font-size: 0.98rem;
  color: rgba(244, 241, 230, 0.75);
  margin: 0;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--marigold);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--paper);
  opacity: 0.78;
  font-size: 0.98rem;
  padding: 5px 0;
}
.footer-col a:hover { opacity: 1; color: var(--marigold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 230, 0.5);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-inner,
  .about-inner,
  .reassure-head { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; }
  .photo-tape { transform: rotate(2deg); margin-left: 0; }
  .reassure-list, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .reassure-item {
    padding: 26px 0;
    border-right: none;
    border-bottom: 1px solid rgba(244, 241, 230, 0.22);
  }
  .reassure-item:not(:first-child) { padding-left: 0; }
  .entry { grid-template-columns: 1fr; gap: 14px; }
  .specs { grid-template-columns: 1fr; }
  .spec { border-right: none; border-bottom: 2px solid var(--ink); }
  .spec:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-photo { max-width: 400px; }
  .award-row { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; }
  .pm-inner { grid-template-columns: 1fr; gap: 40px; }
  .sticky-note { right: -14px; bottom: -30px; }
}

@media (max-width: 940px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper-bright);
    border-bottom: 2px solid var(--ink);
    padding: 10px 0;
  }
  .site-header.open .nav-links a {
    border: none;
    border-bottom: 1px solid var(--rule);
    margin: 0;
    top: 0;
    padding: 14px 28px;
  }
  .nav .btn { display: none; }
  /* Keep the tagline on one line so the header stays compact */
  .logo-text small { font-size: 0.5rem; letter-spacing: 0.09em; white-space: nowrap; }
  section { padding: 60px 0; }
  .hero { padding-top: 48px; }
}
