/* Public marketing pages. The app has its own styles and layout. */
:root {
  --marketing-width: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --ink-rule: #4a5243;
  --muted: #5e6458;
  --light-prose: #dde2d6;
  --rule-light: #c5ccbe;
  --mono: 'IBM Plex Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 120px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 17px/1.55 var(--font-body); }
body:has(.contact-drawer[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; border-bottom: 0; text-underline-offset: .24em; }
a:hover, a:focus-visible { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: .025em; }
h1 { font-size: clamp(43px, 4.15vw, 67px); line-height: .94; text-wrap: balance; }
h2 { font-size: clamp(35px, 4.1vw, 59px); line-height: .98; text-wrap: balance; }
h3 { font-size: 23px; letter-spacing: .025em; line-height: 1.05; }
p { max-width: 64ch; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--marketing-width)); margin-inline: auto; }
.eyebrow, .capture figcaption, .feature-line li > span, .proof p {
  font: 500 12px/1.45 var(--mono); letter-spacing: .095em; text-transform: uppercase;
}
.eyebrow { color: var(--link); margin-bottom: var(--s2); }
.skip-link { position: absolute; left: var(--s3); top: var(--s1); z-index: 12; padding: 10px 16px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 4; background: var(--white); border-bottom: 1px solid var(--rule-light); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex: 0 0 auto; text-decoration: none; }
.wordmark span { font: 800 22px/1 var(--font-display); letter-spacing: var(--track-logo); text-transform: uppercase; padding-top: 4px; white-space: nowrap; }
.wordmark img { object-fit: contain; }
.site-nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.site-nav a, .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; font-weight: 700; white-space: nowrap; gap: 5px; }
.site-nav a:hover, .site-nav [aria-current], .site-footer nav a:hover { text-decoration: underline; }
.site-nav .nav-signin { padding-left: clamp(14px, 2vw, 24px); border-left: 1px solid var(--rule-light); }

.hero, .closing, .site-footer { background: var(--ink); color: var(--white); }
.hero { padding-block: clamp(48px, 7vw, 106px); }
.hero-grid { display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1.3fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.hero .eyebrow, .closing .eyebrow { color: var(--sage-light); }
.hero h1 { text-wrap: initial; }
.hero-intro { margin-top: var(--s3); color: var(--light-prose); font-size: clamp(17px, 1.6vw, 20px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: var(--s4); }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 48px; padding: 10px 15px; border: 2px solid transparent; text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.25; }
.button span, .text-link span { font-size: 1.15em; }
.button-paper { background: var(--paper); color: var(--ink); }
.button-paper:hover { background: var(--ink); color: var(--white); border-color: var(--paper); }
.button-ink, .contact-tab { background: var(--ink); color: var(--white); }
.button-ink:hover, .contact-tab:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.capture { min-width: 0; border: 1px solid var(--ink); background: var(--paper); }
.capture figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; padding: 11px 14px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--rule-light); }
.capture figcaption span:last-child { color: var(--link); }
.capture a { display: block; }
.capture a:focus-visible { outline-offset: -4px; }
.capture img { width: 100%; height: auto; }
.hero .capture { border-color: var(--sage); }
.capture-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--s3); margin-top: var(--s5); }
.caption-note { margin: 12px 0 10px; color: var(--muted); font-size: 14px; }
.proof { background: var(--paper); border-bottom: 1px solid var(--rule-light); }
.proof-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 12px; }
.proof p { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.status-dot { width: 8px; height: 8px; background: var(--link); flex: none; }

.band { padding-block: clamp(56px, 7vw, 104px); }
.paper { background: var(--paper); }
.section-head, .closing-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: end; gap: clamp(18px, 6vw, 92px); }
.section-head > p, .section-head > div > p:not(.eyebrow) { padding-bottom: 3px; }
.section-head .text-link { margin-top: 10px; }
.feature-line { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: var(--s5) 0 var(--s2); padding: 0; border-block: 1px solid var(--rule-light); }
.feature-line li { padding: var(--s4) var(--s4) var(--s4) 0; }
.feature-line li + li { border-left: 1px solid var(--rule-light); padding-left: var(--s4); }
.feature-line li > span { display: block; color: var(--link); margin-bottom: var(--s3); }
.feature-line h3 { margin-bottom: var(--s1); }
.feature-line p { font-size: 16px; }
.founder, .split { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); align-items: center; gap: clamp(28px, 7vw, 106px); }
.founder > img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: center 26%; border: 1px solid var(--ink); }
.founder h2 + p, .split h2 + p, .closing h2 + p { margin-top: var(--s3); }
.founder .text-link, .split .text-link { margin-top: var(--s2); }
.closing { padding-block: clamp(48px, 6vw, 80px); }
.closing-grid { align-items: center; }
.closing-grid > a { justify-self: end; }
.closing h2 + p { color: var(--light-prose); }
.site-footer { border-top: 1px solid var(--ink-rule); padding-block: var(--s4) var(--s6); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: var(--s3); }
.site-footer p { color: var(--light-prose); font-size: 14px; }
.site-footer nav { gap: 0 18px; }

.contact-tab { display: none; }
.contact-ready .contact-tab {
  display: inline-flex; position: fixed; z-index: 5;
  bottom: max(16px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right));
  border-color: var(--white);
}
.contact-drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(100%, 460px); max-width: none; height: 100%; height: 100dvh; max-height: none;
  padding: 0; border: 0; border-left: 2px solid var(--ink);
  background: var(--paper); color: var(--ink); overscroll-behavior: contain;
}
.contact-drawer::backdrop { background: rgba(37,40,33,.72); }
.contact-drawer[open] { animation: drawer-in .18s cubic-bezier(.33,0,.15,1) both; }
@keyframes drawer-in { from { transform: translateX(28px); } to { transform: translateX(0); } }
.drawer-inner { padding: max(var(--s3), env(safe-area-inset-top)) clamp(20px, 6vw, 36px) max(var(--s4), env(safe-area-inset-bottom)); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); margin-bottom: var(--s2); }
.drawer-top .eyebrow { margin: 0; }
.drawer-close { width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 28px; line-height: 1; }
.drawer-close:hover { background: var(--ink); color: var(--white); }
.contact-drawer h2 { font-size: clamp(33px, 7vw, 41px); margin-bottom: var(--s2); }
.contact-drawer h2:focus, [data-lead-done] h3:focus { outline: none; }
.contact-drawer p { font-size: 15px; }
.contact-drawer .eyebrow { font-size: 12px; }
.fields { margin: var(--s3) 0 var(--s2); display: grid; gap: 10px; }
.fields label { display: block; font-size: 14px; font-weight: 700; }
.fields input, .fields select, .fields textarea { display: block; width: 100%; min-height: 44px; margin-top: 4px; padding: 8px 10px; background: var(--white); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; font: 16px/1.35 var(--font-body); }
.fields select { padding-right: 24px; }
.fields textarea { resize: vertical; }
.trap { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.optional, .privacy-note { font-weight: 400; color: var(--muted); }
.drawer-submit { width: 100%; }
.drawer-submit:disabled { opacity: .65; cursor: wait; }
[data-lead-status]:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[data-lead-status]:not(:empty), .contact-drawer .privacy-note { margin-top: var(--s1); }
.contact-drawer .privacy-note { font-size: 13px; }
.privacy-note a { text-decoration: underline; }
[data-lead-status].error { color: var(--alert); }
[data-lead-done] { padding: var(--s4) 0; border-top: 1px solid var(--rule-light); }
[data-lead-done] p { margin: var(--s2) 0 var(--s3); }

.guide h1 { max-width: 17ch; }
.guide .snapshot { margin: var(--s3) 0 var(--s1); font-weight: 700; }
.guide .lede { margin-top: var(--s2); }
.vs { margin-block: var(--s4); border: 1px solid var(--rule-light); }
.vs-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-bottom: 1px solid var(--rule-light); }
.vs-row:last-child { border: 0; }
.vs-row > h3 { grid-column: 1/-1; padding: var(--s2) var(--s3); background: var(--ink); color: var(--white); }
.vs-row > p { max-width: none; padding: var(--s3); }
.vs-row > p + p { border-left: 1px solid var(--rule-light); background: var(--white); }
.vs .who { display: block; font: 600 12px var(--mono); margin-bottom: var(--s1); }
.vs-head { display: none; }
.vs-cta { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.guide .sources { font-size: 14px; }
.guide a:not(.button) { text-decoration: underline; }
.guide .sources li { margin: 8px 0; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: var(--s4); }
}
@media (max-width: 760px) {
  .header-inner { display: grid; gap: 0; padding-top: 3px; }
  .wordmark { justify-self: start; }
  .site-nav { width: 100%; gap: 0 clamp(9px,3vw,20px); border-top: 1px solid var(--rule-light); }
  .site-nav a { font-size: 14px; }
  .site-nav .nav-signin { padding-left: 0; border: 0; }
  .nav-about { display: none !important; }
  .hero-grid, .section-head, .split, .closing-grid { grid-template-columns: minmax(0,1fr); }
  .hero { padding-block: 40px 28px; }
  .hero h1 { max-width: 15ch; }
  .hero-intro { margin-top: var(--s2); }
  .actions { margin-top: var(--s3); }
  .proof-inner { min-height: 0; align-items: start; flex-wrap: wrap; gap: 7px 18px; }
  .proof p { font-size: 10px; }
  .feature-line { margin-top: var(--s4); }
  .feature-line li, .feature-line li + li { padding: var(--s3) var(--s2); }
  .feature-line li:first-child { padding-left: 0; }
  .feature-line li:last-child { padding-right: 0; }
  .feature-line h3 { font-size: 19px; }
  .founder { gap: var(--s4); }
  .closing-grid > a { justify-self: start; }
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 520px) {
  .feature-line, .capture-pair, .founder, .vs-row { grid-template-columns: minmax(0,1fr); }
  .feature-line li, .feature-line li + li { padding: var(--s2) 0; border-left: 0; }
  .feature-line li + li { border-top: 1px solid var(--rule-light); }
  .feature-line li > span { margin-bottom: var(--s1); }
  .founder > img { max-width: 350px; }
  .capture figcaption { font-size: 10px; padding: 8px 9px; }
  .contact-drawer { border-left: 0; }
  .vs-row > p + p { border-left: 0; border-top: 1px solid var(--rule-light); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-drawer[open] { animation: none; }
}
