@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f7f5;
  --paper-2: #edeeeb;
  --ink: #17191c;
  --muted: #5a6168;
  --rule: #d6d9d4;
  --brand: #c4235a;
  --brand-hi: #d5285f;
  --brand-lo: #ae1f50;
  --flag: #b45309;
  --saved: #18734a;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --cut: 14px;
  --header: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 8px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: break-word;
}

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

a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { line-height: 1.08; margin: 0; font-weight: 600; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 2rem; }
h3, h4 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }

main > section { padding: clamp(56px, 9vw, 112px) 0; border-top: 1px solid var(--rule); }
main > section.hero { border-top: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 1rem/1 var(--sans);
  min-height: 48px; padding: 15px 26px; text-decoration: none; cursor: pointer; text-align: center;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
  touch-action: manipulation;
}
.btn--solid {
  background: var(--brand); color: #fff;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.btn--solid:hover { background: var(--brand-lo); }
.btn--solid:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.btn--plain { background: transparent; color: var(--ink); border-color: var(--rule); border-radius: 4px; }
.btn--plain:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--brand); border-radius: 4px; }
.btn--light:hover { background: var(--paper); }

/* Header */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 500; font-size: 1.02rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand__logo { height: 26px; width: auto; }
/* Blinks a few times on load, then stays solid. */
.brand__cursor { color: var(--brand); animation: blink 1.1s steps(1) 4; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .brand__cursor { animation: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
  }
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header); }
.nav__menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__menu a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav__menu a:hover { color: var(--brand); }
.nav__menu .nav__cta { border: 1px solid var(--ink); padding: 8px 14px; border-radius: 4px; }
.nav__menu .nav__cta:hover { background: var(--ink); color: var(--paper); }
.nav__toggle {
  display: none; font: 500 0.9rem var(--mono); background: none; color: var(--ink);
  border: 1px solid var(--rule); border-radius: 4px; min-height: 44px; padding: 8px 14px; cursor: pointer;
  touch-action: manipulation;
}
.nav__back { color: var(--ink); text-decoration: none; font-size: 0.95rem; padding: 10px 0; }
.nav__back:hover { color: var(--brand); }

@media (max-width: 760px) {
  .nav__toggle { display: inline-block; }
  .nav__menu {
    display: none; position: absolute; top: var(--header); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: 4px var(--gutter) 16px;
    box-shadow: 0 16px 32px -20px rgba(23, 25, 28, .35);
    max-height: calc(100vh - var(--header)); max-height: calc(100dvh - var(--header)); overflow-y: auto;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu li a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule); }
  .nav__menu li:last-child a { border-bottom: 0; }
  .nav__menu .nav__cta {
    margin-top: 12px; padding: 14px; text-align: center; border: 0;
    background: var(--brand); color: #fff; border-radius: 4px;
  }
  .nav__menu .nav__cta:hover { background: var(--brand-lo); color: #fff; }
}

/* Hero */
.hero { padding-top: clamp(40px, 9vw, 120px); padding-bottom: clamp(56px, 10vw, 128px); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.hero h1 { max-width: 15ch; text-wrap: balance; }
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 36ch; margin: 1.5rem 0 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.mail {
  margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 24px 48px -32px rgba(23, 25, 28, .35); overflow: hidden; position: relative;
}
.mail__bar {
  display: flex; align-items: center; gap: 14px; padding: 10px 16px;
  font: 400 0.8rem var(--mono); color: var(--muted);
  background: var(--paper); border-bottom: 1px solid var(--rule);
}
.mail__dots { display: inline-flex; gap: 6px; }
.mail__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.mail__tag {
  margin-left: auto; padding: 2px 8px; border: 1px solid var(--rule); border-radius: 999px;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.mail__head { padding: 16px 20px 12px; border-bottom: 1px dashed var(--rule); font-size: 0.95rem; }
.mail__head p { margin: 0 0 6px; overflow-wrap: anywhere; }
.mail__label { display: inline-block; width: 4.6em; color: var(--muted); font-size: 0.85rem; }
.mail__addr { color: var(--muted); font-family: var(--mono); font-size: 0.88rem; }
.mail__head .mail__addr { overflow-wrap: normal; }
.mail__addr .spot { color: var(--ink); font-weight: 500; margin: 0 1px; }
.mail__body { padding: 16px 20px 6px; font-size: 0.98rem; }
.mail__body p { margin: 0 0 10px; }
.spot {
  background: transparent; color: inherit; padding: 1px 3px; margin: 0 2px;
  border-radius: 4px; box-shadow: inset 0 0 0 2px var(--flag);
  background-color: rgba(180, 83, 9, .09);
  transition: box-shadow .35s, background-color .35s;
}
.mail__notes { list-style: none; margin: 0; padding: 10px 20px 4px; }
.note { font-size: 0.95rem; padding: 6px 0; transition: opacity .35s, transform .35s; }
.note__num { font-family: var(--mono); color: var(--flag); font-weight: 500; margin-right: 4px; }
.note[data-step="3"] .note__num { color: var(--saved); }
.stamp {
  margin: 8px 20px 20px; padding: 12px 16px;
  font: 500 1rem var(--mono); color: var(--saved);
  border: 2px solid var(--saved); border-radius: 6px; background: rgba(24, 115, 74, .07);
  transition: opacity .4s, transform .4s;
}
.mail.is-playing .spot:not(.is-on) { box-shadow: inset 0 0 0 2px transparent; background-color: transparent; }
.mail.is-playing .note:not(.is-on) { opacity: 0; transform: translateY(4px); }
.mail.is-playing .stamp:not(.is-on) { opacity: 0; transform: scale(.96); }

.checklist {
  margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 24px 48px -32px rgba(23, 25, 28, .35); overflow: hidden;
}
.checklist__items { list-style: none; margin: 0; padding: 8px 22px 12px; }
.checklist__items li { display: grid; grid-template-columns: 44px 1fr; gap: 6px; padding: 16px 0; border-bottom: 1px dashed var(--rule); color: var(--muted); font-size: 0.98rem; line-height: 1.45; }
.checklist__items li:last-child { border-bottom: 0; }
.checklist__items strong { display: block; color: var(--ink); font-size: 1.1rem; font-weight: 600; margin-bottom: 2px; }
.box { font: 500 1.05rem/1.5 var(--mono); color: var(--saved); transition: color .3s; }
.box::before { content: "[x]"; }
.checklist.is-playing li:not(.is-on) .box { color: #a3a8ad; }
.checklist.is-playing li:not(.is-on) .box::before { content: "[ ]"; }

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

/* Lists with a "> " marker; the marker hangs so wrapped lines align with the text. */
.topics, .promises { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.topics li, .promises li { position: relative; padding-left: 1.3em; border-bottom: 1px solid var(--rule); }
.topics li::before, .promises li::before {
  content: ">"; position: absolute; left: 0;
  font-family: var(--mono); font-weight: 400; color: var(--brand);
}
.topics li {
  font-size: clamp(1.2rem, 2.6vw, 1.85rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25;
  padding-top: 18px; padding-bottom: 18px;
}
.promises li { font-size: 1.2rem; font-weight: 500; line-height: 1.4; padding-top: 16px; padding-bottom: 16px; }

/* Business */
.section-lede { font-size: 1.15rem; color: var(--muted); max-width: 52ch; margin: -1.2rem 0 2.25rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--spaced { margin-top: 3.5rem; }
.steps li { font-size: 1.1rem; font-weight: 500; padding-right: 20px; }
.step__num {
  display: block; font: 500 0.95rem var(--mono); color: var(--brand);
  padding-bottom: 14px; margin-bottom: 16px;
  background-image: linear-gradient(to right, var(--muted) 50%, transparent 50%);
  background-size: 8px 1px; background-repeat: repeat-x; background-position: 0 100%;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; } }

/* Individuals */
.individuals { background: var(--paper-2); }
.ind__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ind__h3 { font-size: 1.5rem; margin-bottom: 1rem; }
@media (max-width: 900px) { .ind__grid { grid-template-columns: 1fr; } }

/* Pricing */
.price-group { font: 500 1rem var(--mono); color: var(--muted); margin: 0 0 16px; letter-spacing: 0; }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 2rem; }
.offers--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-bottom: 0; }
.offer {
  background: var(--paper); padding: 28px 26px 26px; position: relative;
  border: 1px solid var(--rule);
}
.offer--feature {
  background: var(--brand); color: #fff; border-color: var(--brand);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.offer__price { font: 500 1.6rem/1.2 var(--mono); letter-spacing: -0.03em; color: var(--brand); margin: 18px 0 14px; }
.offer--feature .offer__price { color: #fff; }
.offer__price + p { color: var(--muted); }
.offer--feature .offer__price + p { color: rgba(255, 255, 255, .9); }
.offer .btn { margin-top: 22px; }
.offer__next { margin-top: 12px; font-size: 0.88rem; line-height: 1.45; }
.offer--feature .offer__next { color: rgba(255, 255, 255, .9); }
.pricing__note { color: var(--muted); }
.pricing__note + .price-group { margin-top: 3.5rem; }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .offers--two { grid-template-columns: 1fr; } }

/* About */
.about__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.about__grid--solo { grid-template-columns: minmax(0, 1fr); }
.about__photo {
  aspect-ratio: 4 / 5; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { margin-bottom: 0.4rem; }
.about__role { font: 500 0.95rem var(--mono); color: var(--brand); margin-bottom: 1.25rem; }
.about__bio { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; max-width: 34ch; }
@media (max-width: 680px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 180px; }
}

/* Contact */
.contact h2 { margin-bottom: 0.6rem; }
.contact__lede { color: var(--muted); margin-bottom: 2rem; }
.contact__row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--ink); padding: 32px 0 calc(44px + env(safe-area-inset-bottom));
  font-size: 0.9rem; color: var(--muted);
}
.footer__grid { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.footer__logo { height: 22px; width: auto; margin-right: auto; }
.footer__grid a { color: var(--muted); }
.footer__grid a:hover { color: var(--ink); }

/* Legal pages */
.legal-page main { padding: clamp(40px, 8vw, 96px) 0; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.5rem; }
.legal h2 { font-size: 1.3rem; margin: 2.4rem 0 0.75rem; }
.legal p { margin-bottom: 1rem; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.5rem; }
.legal__h3 { font-size: 1.08rem; margin: 1.6rem 0 0.6rem; }
.legal__updated { font: 400 0.85rem var(--mono); color: var(--muted); margin-bottom: 2rem; }

/* 404 */
.notfound { padding: clamp(64px, 12vw, 140px) 0; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.notfound p { color: var(--muted); font-size: 1.15rem; max-width: 40ch; margin-bottom: 2rem; }

/* Phones */
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  h2 { margin-bottom: 1.6rem; }
  .section-lede { font-size: 1.08rem; margin: -0.8rem 0 1.75rem; }

  .hero__lede { margin: 1.1rem 0 1.75rem; }
  .hero__actions .btn { flex: 1 1 0; padding-left: 16px; padding-right: 16px; }
  .stamp { font-size: 0.95rem; }

  .mail__head, .mail__body, .mail__notes { padding-left: 16px; padding-right: 16px; }
  .stamp { margin-left: 16px; margin-right: 16px; }
  .checklist__items { padding-left: 16px; padding-right: 16px; }
  .checklist__items li { grid-template-columns: 38px 1fr; padding: 14px 0; }

  /* Steps become a compact numbered list instead of a tall stack. */
  .steps--spaced { margin-top: 2.25rem; }
  .steps { grid-template-columns: 1fr; gap: 0; border-top: 1px dashed var(--muted); }
  .steps li {
    display: grid; grid-template-columns: 3em 1fr; align-items: baseline;
    padding: 14px 0; border-bottom: 1px dashed var(--rule); font-size: 1.05rem;
  }
  .step__num { padding: 0; margin: 0; background: none; }

  .ind__h3 { font-size: 1.35rem; }
  .promises li { font-size: 1.1rem; }

  .offer { padding: 24px 20px 22px; }
  .offer__price { margin: 14px 0 10px; }
  .offer .btn { display: flex; width: 100%; }

  .contact__row { flex-direction: column; }
  .contact__row .btn { width: 100%; }

  .footer__grid { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__logo { margin: 0 0 6px; }
  .footer__grid a { display: inline-block; padding: 4px 0; }
}

@media (max-width: 380px) {
  .hero__actions .btn { flex-basis: 100%; }
  .mail__label { width: 4em; }
}
