/* Wasatch Vector site styles. Editorial system from wasatchvector-design-handoff/DESIGN.md.
   Square corners, no shadows or gradients. Structure comes from rules, type and whitespace.
   Colors and type live in :root. Use the variables; don't add new hex values. */
:root {
  --ink: #111315;        /* text, heavy rules, black band, secondary buttons */
  --white: #FFFFFF;      /* page background */
  --mist: #F3F3F1;       /* subtle section contrast */
  --rule: #D9DAD7;       /* light dividers */
  --body: #3E4349;       /* supporting text on white */
  --body-2: #4A4F55;     /* body text in features, steps */
  --muted: #5A5F66;      /* labels on white */
  --muted-2: #6E7379;    /* captions, de-emphasized text */
  --on-dark: #A9ADB2;    /* body text on the black band */
  --on-dark-strong: #E4E5E7;
  --on-dark-muted: #8A8F95;
  --on-dark-rule: #3A3E43;
  --accent: #D2451E;     /* the one accent: primary buttons, eyebrows, step numbers, closing band */
  --font: 'Geist', 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 72px;        /* 40px on tablets, 20px on phones (see media queries below) */
  --section: clamp(72px, 9vw, 128px);
  color-scheme: light;
}

/* CTA switch: site-config.js sets <html data-cta="early|trial">. */
html:not([data-cta="trial"]) .if-trial { display: none !important; }
html[data-cta="trial"] .if-early { display: none !important; }

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: calc(1296px + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
@media (max-width: 1100px) { :root { --gutter: 40px; } }
@media (max-width: 640px) { :root { --gutter: 20px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Type */
.eyebrow { font-size: 15px; line-height: 1.4; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.eyebrow-muted { color: var(--muted-2); }
.display { font-size: clamp(52px, 8.2vw, 118px); line-height: 0.92; font-weight: 680; letter-spacing: -0.038em; }
.h-section { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.02; font-weight: 620; letter-spacing: -0.03em; }
.h-tier { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.04; font-weight: 620; letter-spacing: -0.03em; }
.h-closing { font-size: clamp(46px, 6.3vw, 90px); line-height: 0.96; font-weight: 650; letter-spacing: -0.034em; }
.h-item { font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -0.012em; hyphens: none; overflow-wrap: normal; }
.step .h-item { font-size: 29px; }
.subhead { font-size: 31px; line-height: 1.3; font-weight: 500; }
.lead { font-size: 27px; line-height: 39px; color: var(--body); }
.intro { font-size: 25px; line-height: 38px; color: var(--body); }
.text { font-size: 23px; line-height: 35px; color: var(--body-2); }
.tier .text, .tier .planned li { font-size: 24px; line-height: 37px; }
.small { font-size: 15px; line-height: 1.5; color: var(--muted-2); }
.strong { font-weight: 600; }
.stack > * + * { margin-top: 20px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 20px 32px; border: 0; font: 600 19px/1.1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--accent); }
.btn-sm { padding: 13px 22px; font-size: 17px; }
.band-accent .btn-ink:hover { background: var(--white); color: var(--ink); }
.band-black .btn-primary:hover { background: var(--white); color: var(--ink); }
.text-link { font-weight: 600; font-size: 19px; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }

/* Nav */
.site-header { background: var(--white); border-bottom: 1px solid var(--ink); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 18px; font-weight: 650; letter-spacing: 0.14em; color: var(--ink); white-space: nowrap; }
.wordmark img { width: 20px; height: 20px; }  /* Inner Peak: visible triangle about cap height plus a little */
.nav-menu { display: flex; align-items: center; gap: 40px; }
.nav-menu a:not(.btn) { text-decoration: none; font-size: 17px; font-weight: 500; }
.nav-menu a:not(.btn):hover { color: var(--muted); }
.nav-menu a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { display: block; }
@media (max-width: 960px) {
  .nav { min-height: 68px; }
  .nav-toggle { display: block; }
  .nav-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 0 var(--gutter) 24px; }
  .nav-open .nav-menu { display: flex; }
  .nav-menu a:not(.btn) { padding: 16px 0; font-size: 19px; border-bottom: 1px solid var(--rule); }
  .nav-menu .btn { margin-top: 20px; }
}

/* Sections */
.section { padding-block: var(--section); }
.band-mist { background: var(--mist); border-block: 1px solid var(--ink); }
.band-black { background: var(--ink); color: var(--white); }
.band-accent { background: var(--accent); color: var(--white); }
.band-black .text, .band-black .intro { color: var(--on-dark); }
.section-head { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 32px 72px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head > :first-child > * + * { margin-top: 20px; }
.section-head .aside { padding-bottom: 8px; }
.section-head .aside > * + * { margin-top: 18px; }
.section-head-solo { grid-template-columns: minmax(0, 900px); }
.section-head-top { align-items: start; }
.hero + .section { padding-top: clamp(56px, 6.5vw, 88px); }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 96px); }
.hero .eyebrow { margin-bottom: clamp(24px, 3vw, 40px); }
.hero-row { margin-top: clamp(36px, 4.5vw, 64px); padding: 40px 0 clamp(40px, 5vw, 72px); border-top: 1px solid var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 32px 56px; flex-wrap: wrap; }
.hero-row .lead { max-width: 720px; flex: 1 1 420px; }
.hero-row .actions { flex: 0 1 auto; }
.hero-note { margin-top: 14px; font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.hero-map img { width: 100%; height: auto; aspect-ratio: 1296 / 700; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 700px) { .hero-map img { height: auto; aspect-ratio: 4 / 3; } }
.caption-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; padding-top: 14px; font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }

/* Proof strip */
.proof { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--ink); list-style: none; padding: 0; }
.proof li { padding: 30px 0 30px 32px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; border-left: 1px solid var(--rule); }
.proof li:first-child { padding-left: 0; border-left: 0; }
.proof strong { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.025em; }
.proof span { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .proof { grid-template-columns: 1fr; }
  .proof li { padding: 22px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .proof li:first-child { border-top: 0; }
}

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.compare > div { padding: clamp(28px, 3.4vw, 48px) clamp(20px, 3.9vw, 56px) clamp(32px, 3.6vw, 52px); }
.compare > div > * + * { margin-top: 18px; }
.compare .usual { background: var(--mist); padding-left: clamp(20px, 2.8vw, 40px); }
.compare .ours { border-left: 1px solid var(--ink); }
.compare p:not(.eyebrow) { font-size: 30px; line-height: 42px; letter-spacing: -0.012em; }
.compare .usual p:not(.eyebrow) { color: var(--muted-2); font-weight: 400; }
.compare .ours p:not(.eyebrow) { font-weight: 560; letter-spacing: -0.015em; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare .ours { border-left: 0; border-top: 1px solid var(--ink); } }

/* Ruled columns (features): equal-width columns, 1px rules centred in a 64px gap */
.cols { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); column-gap: 64px; border-top: 1px solid var(--rule); list-style: none; padding: 0; }
.cols > * { position: relative; padding-top: 32px; }
.cols > * + *::before { content: ""; position: absolute; left: -32px; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.cols .h-item { margin-bottom: 12px; }
.cols-3 { --n: 3; }
.compare + .cols { margin-top: clamp(40px, 5vw, 72px); }
.nowrap { white-space: nowrap; }
@media (max-width: 1100px) {
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols > * { padding: 28px 0; border-bottom: 1px solid var(--rule); }
  .cols > *::before { display: none; }
  .cols > *:nth-child(2n)::before { display: block; }
}
@media (max-width: 640px) {
  .cols { grid-template-columns: 1fr; }
  .cols > * { padding: 24px 0; }
  .cols > *:nth-child(2n)::before { display: none; }
}

/* Feature list (product page): two columns of ruled rows */
.feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 72px; border-top: 3px solid var(--ink); }
.feature-list li { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.feature-list .h-item { margin-bottom: 8px; }
@media (max-width: 760px) { .feature-list { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 22px; }
.step-body { border-top: 3px solid var(--ink); padding-top: 20px; display: flex; gap: 20px; align-items: baseline; }
.step-num { font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); }
.step-body > div > * + * { margin-top: 8px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 48px; } }

/* Image frames and slots: a labeled placeholder sits behind the image. If the file is missing,
   the img removes itself (onerror) and the label shows. Drop a correctly named file into
   public/assets/ and it appears with no HTML change. */
.frame { position: relative; border: 1px solid var(--ink); background: var(--white); overflow: hidden; }
.slot::before { content: "[" attr(data-slot) " · " attr(data-size) "]"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.frame picture { display: block; height: 100%; }
.frame img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.frame-label { position: absolute; top: 0; left: 0; z-index: 1; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 12px; }

/* Base / Pro */
.tiers { display: grid; grid-template-columns: 1fr 1px 1fr; gap: clamp(40px, 5vw, 72px); }
.tiers > .divider { background: var(--on-dark-rule); }
.tier { display: flex; flex-direction: column; gap: 22px; }
.tier .text { max-width: 520px; }
.tier .actions { padding-top: 8px; }
.tier-price { font-size: 21px; font-weight: 600; }
.tier .subhead { color: var(--on-dark-strong); }
.tier-pro .eyebrow, .tier-pro .h-tier { color: var(--on-dark-muted); }
.tier-pro .subhead, .tier-pro .text, .tier-pro li { color: var(--muted-2); }
.planned { list-style: none; padding: 0; border-top: 1px solid var(--on-dark-rule); }
.planned li { padding: 14px 0; border-bottom: 1px solid var(--on-dark-rule); }
.planned li strong { color: var(--on-dark-muted); font-weight: 600; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } .tiers > .divider { height: 1px; } }

/* Split (text + figure) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.split-center { align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Closing band */
.closing .h-closing { max-width: 1000px; }
.closing-row { margin-top: clamp(36px, 4vw, 56px); padding-top: 40px; border-top: 1px solid var(--white); display: flex; justify-content: space-between; align-items: center; gap: 32px 56px; flex-wrap: wrap; }
.closing-row .lead { color: var(--white); max-width: 720px; flex: 1 1 420px; }
.closing-row .small { color: var(--white); margin-top: 12px; }
.closing .btn { padding: 24px 40px; font-size: 20px; }

/* Forms */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.field input { font: inherit; font-size: 19px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); width: 100%; }
.field input::placeholder { color: var(--muted-2); }
.field input:focus { outline: none; border-bottom: 2px solid var(--accent); padding-bottom: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .actions { margin-top: 12px; }
.form-status { font-size: 17px; min-height: 1.5em; font-weight: 500; }
.form-status.err { color: var(--accent); }
.form-panel { border-top: 3px solid var(--ink); padding-top: 32px; }

/* Prose (legal) */
.prose { max-width: 820px; }
.prose > * + * { margin-top: 18px; }
.prose p, .prose li { color: var(--body); }
.prose h2 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.012em; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); }
.prose h3 { font-size: 20px; font-weight: 600; margin-top: 28px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.draft-banner { border-top: 3px solid var(--accent); background: var(--mist); padding: 20px 24px; font-size: 17px; }
.draft-banner strong { color: var(--accent); letter-spacing: 0.08em; }

/* Footer */
.site-footer { border-top: 1px solid var(--ink); padding-block: 40px; font-size: 16px; color: var(--muted); }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 40px; }
.footer-bottom { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none; padding: 0; }
.footer-links a { text-decoration: none; color: var(--ink); font-weight: 500; }
.footer-links a:hover, .footer-legal a:hover { color: var(--accent); }
.footer-legal a { color: var(--muted); text-decoration: none; }

/* Additions */
.wordmark { text-transform: uppercase; }
.display-md { font-size: clamp(46px, 6.6vw, 96px); line-height: 0.96; }
.band-black .text-link { color: var(--white); }
.band-black .text-link:hover { color: var(--accent); }
.band-black .frame { border-color: var(--on-dark-rule); background: var(--ink); }
.band-black .small { color: var(--on-dark-muted); }
.band-accent .text-link:hover { color: var(--ink); }

/* Body sizes step down on tablets and phones (never below 18px) */
@media (max-width: 1100px) {
  .lead { font-size: 22px; line-height: 33px; }
  .intro { font-size: 21px; line-height: 32px; }
  .text { font-size: 20px; line-height: 30px; }
  .tier .text, .tier .planned li { font-size: 21px; line-height: 32px; }
  .compare p:not(.eyebrow) { font-size: 24px; line-height: 34px; }
  .h-item, .step .h-item { font-size: 23px; }
  .subhead { font-size: 26px; }
  .step-num { font-size: 38px; }
  .proof strong { font-size: 40px; }
}
@media (max-width: 640px) {
  .lead, .intro { font-size: 19px; line-height: 29px; }
  .text, .tier .text, .tier .planned li { font-size: 18px; line-height: 28px; }
  .compare p:not(.eyebrow) { font-size: 21px; line-height: 30px; }
  .h-item, .step .h-item { font-size: 21px; }
  .subhead { font-size: 23px; }
  .step-num { font-size: 34px; }
  .proof strong { font-size: 36px; }
}

/* Home hero map: shown whole at its native proportion (no crop), so source credits stay visible */
.hero-map.hero-map-full img { height: auto; aspect-ratio: auto; object-fit: initial; }

/* Signup form states */
.form-status:empty { display: none; }
.form-status.err { border-left: 3px solid var(--accent); padding: 12px 16px; background: var(--mist); color: var(--ink); }
.form-status.ok { border-left: 3px solid var(--ink); padding: 12px 16px; background: var(--mist); }
.form-success { border-left: 3px solid var(--accent); padding: 4px 0 4px 24px; }
.form-success:focus { outline: none; }
.form-success > * + * { margin-top: 12px; }
.turnstile:empty { display: none; }
[hidden] { display: none !important; }
