/* Hedfones — custom AI agents for small business
   Brand tokens taken from the live hedfones.com:
   black ground, #FAFAFA text, #E15F09 accent (#C45308 for solid fills),
   Anton for display (uppercase, 0.05em tracking) + Montserrat for everything else. */

:root {
  --bg: #000000;
  --bg-alt: #0F0F0F;
  --bg-card: #131414;
  --bg-raised: #171818;
  --fg: #FAFAFA;
  --fg-muted: #BFBFBF;
  --fg-dim: #808080;
  --line: rgba(250, 250, 250, 0.08);
  --line-strong: rgba(250, 250, 250, 0.2);

  --accent: #E15F09;
  --accent-strong: #C45308;
  --accent-tint: #EFA573;
  --accent-deep: #963F06;
  --accent-soft: rgba(225, 95, 9, 0.16);
  --accent-faint: rgba(225, 95, 9, 0.07);
  --accent-border: rgba(225, 95, 9, 0.38);
  --accent-glow: rgba(225, 95, 9, 0.22);
  --green: #4AC97E;

  --paper: #FAFAFA;
  --paper-ink: #171818;
  --paper-muted: #6B6B6B;
  --paper-rule: #BFBFBF;
  --ink-green: #2E7D4F;
  --ink-red: #963F06;

  --display: 'Anton', 'Haettenschweiler', 'Arial Narrow', Impact, sans-serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --pad: 20px;
  --max: 1360px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--accent); }

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--accent-strong);
  color: #FAFAFA;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0.05em; }

h1 {
  font-weight: 400;
  font-size: clamp(2.25rem, 6.2vw, 4.125rem);
  line-height: 1.04;
  letter-spacing: normal;
  text-wrap: balance;
}

h2 {
  font-weight: 400;
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  line-height: 1.09;
}

h3 { font-weight: 400; font-size: 1.3125rem; }

p { margin: 0; }

.lede {
  font-size: clamp(1.03rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 34em;
}

.body { font-size: 1rem; line-height: 1.6; color: var(--fg-muted); max-width: 46em; }

.microcopy { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--primary {
  background: var(--accent-strong);
  color: #FAFAFA;
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent);
  color: #FAFAFA;
  transform: translateY(-1px);
  box-shadow: 0 10px 38px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--ghost:hover { color: var(--fg); border-color: var(--accent-border); }

.btn--block { width: 100%; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 13, 11, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand__word {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav__links { display: none; gap: 30px; align-items: center; }
.nav__links a { font-size: 0.9375rem; font-weight: 500; color: var(--fg-muted); }
.nav__links a:hover { color: var(--fg); }

.nav .btn { min-height: 42px; padding: 10px 18px; font-size: 0.9375rem; }

/* ---------- Sections ---------- */

/* Keep anchor targets clear of the sticky header. */
[id] { scroll-margin-top: 88px; }

.section { padding: 64px 0; }
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }

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

.hero { padding: 48px 0 40px; }
.hero__grid { display: grid; gap: 40px; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.hero__actions .btn { width: 100%; }

.hero__demo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  background: radial-gradient(ellipse at 60% 15%, var(--accent-faint) 0%, rgba(0, 0, 0, 0) 68%);
}

/* ---------- Message bubbles ---------- */

.bubble {
  max-width: min(340px, 88%);
  padding: 13px 17px;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.bubble--them {
  align-self: flex-start;
  background: var(--bg-raised);
  border-radius: 18px 18px 18px 6px;
}
.bubble--agent {
  align-self: flex-end;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 18px 18px 6px 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-card);
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  align-self: flex-start;
}

.tag--booked {
  align-self: flex-end;
  border-radius: 12px;
  border-color: rgba(74, 201, 126, 0.35);
  color: var(--green);
}

/* ---------- EQ divider ---------- */

.eq {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 0 32px;
}
.eq span {
  width: 5px;
  border-radius: 3px;
  background: var(--accent-soft);
}
.eq span.tall { background: var(--accent-border); }

/* ---------- Before / after ---------- */

.compare { display: grid; gap: 16px; }

.compare__card {
  background: var(--bg);
  border: 1px solid rgba(244, 241, 234, 0.09);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.compare__card--good {
  border-color: var(--accent-border);
  box-shadow: 0 12px 48px var(--accent-faint);
}

.label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
}
.label--accent { color: var(--accent); }

.tl-row { display: flex; gap: 14px; align-items: baseline; }
.tl-time {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--fg-dim);
  min-width: 72px;
  flex-shrink: 0;
}
.tl-row--good .tl-time { color: var(--accent); }
.tl-text { font-size: 0.9375rem; }
.tl-text--dim { color: var(--fg-muted); font-style: italic; }
.tl-out { display: flex; align-items: center; gap: 9px; color: var(--fg-muted); font-size: 0.9375rem; }

/* ---------- Demo ---------- */

.demo { display: grid; gap: 36px; align-items: start; }

.thread {
  background: var(--bg-alt);
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 26px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.thread__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.thread__name { font-weight: 600; font-size: 0.9375rem; }
.thread__meta { font-family: var(--mono); font-size: 10.5px; color: var(--fg-dim); }
.thread__stamp {
  align-self: center;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-dim);
  padding-top: 4px;
}

.attach {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-raised);
  border-radius: 18px 18px 18px 6px;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--fg-muted);
}

.demo__side { display: flex; flex-direction: column; gap: 28px; }
.steps { display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; gap: 18px; align-items: baseline; }
.step__time {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--accent);
  min-width: 84px;
  flex-shrink: 0;
}
.step__text { font-size: 1rem; line-height: 1.5; }

.ping {
  background: var(--bg-card);
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 540px;
}
.ping__body { display: flex; flex-direction: column; gap: 6px; }
.ping__meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--fg-dim); }
.ping__text { font-size: 0.9375rem; line-height: 1.5; }

.kicker { display: flex; flex-direction: column; gap: 10px; }
.kicker h3 { font-weight: 700; font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.15; }

/* ---------- Mini flows (dental / legal) ---------- */

.mini-flows { display: flex; flex-direction: column; gap: 20px; margin-top: 44px; }
.mini-grid { display: grid; gap: 16px; }

.mini {
  background: var(--bg-alt);
  border: 1px solid rgba(244, 241, 234, 0.09);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section--alt .mini { background: var(--bg); }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow__step {
  background: var(--bg-raised);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 0.8125rem;
}
.mini__note { font-size: 0.875rem; line-height: 1.55; color: var(--fg-muted); }

/* ---------- Job description card ---------- */

.split { display: grid; gap: 36px; align-items: center; }
.split__copy { display: flex; flex-direction: column; gap: 20px; }

.checks { display: flex; flex-direction: column; gap: 12px; }
.check { display: flex; gap: 12px; align-items: baseline; font-size: 0.9375rem; line-height: 1.5; }

.jd {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 14px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.jd__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--paper-ink);
  padding-bottom: 14px;
}
.jd__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.15em; color: var(--paper-muted); }
.jd__label--warn { color: var(--ink-red); }
.jd__role { display: flex; flex-direction: column; gap: 5px; }
.jd__role h3 { font-weight: 700; font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.jd__sub { font-size: 0.8125rem; color: var(--paper-muted); }
.jd__block { display: flex; flex-direction: column; gap: 9px; }
.jd__list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.jd__list li { display: flex; gap: 10px; font-size: 0.9375rem; line-height: 1.5; }
.jd__yes { color: var(--ink-green); font-weight: 700; }
.jd__no { color: var(--ink-red); font-weight: 700; }
.jd__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--paper-rule);
  padding-top: 16px;
}
.jd__stamp {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: 5px 13px;
  letter-spacing: 0.12em;
}

/* ---------- Job cards ---------- */

.jobs { display: grid; gap: 16px; }

.job {
  background: var(--bg-alt);
  border: 1px solid rgba(244, 241, 234, 0.09);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.job__for { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--fg-dim); }
.job__text { font-size: 0.9375rem; line-height: 1.55; color: var(--fg-muted); }

.job--open {
  background: transparent;
  border: 1.5px dashed var(--accent-border);
  justify-content: center;
}
.job__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9375rem;
}
.job__link:hover { color: var(--accent); text-decoration: underline; }

/* ---------- How it works ---------- */

.how { display: grid; gap: 26px; }
.how__step { display: flex; gap: 16px; }
.how__num { font-family: var(--mono); font-size: 0.875rem; font-weight: 600; color: var(--accent); min-width: 26px; }
.how__body { display: flex; flex-direction: column; gap: 7px; }
.how__body h3 { font-size: 1.1875rem; }
.how__body p { font-size: 0.9375rem; line-height: 1.55; color: var(--fg-muted); }

/* ---------- Channels ---------- */

.channels { display: flex; flex-direction: column; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-alt);
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.875rem;
  font-weight: 500;
}
.section--alt .chip { background: var(--bg); }

/* ---------- Requirements list ---------- */

.needs { display: flex; flex-direction: column; gap: 14px; }
.need { display: flex; align-items: center; gap: 12px; font-size: 1.0625rem; color: var(--fg-dim); }
.need s { text-decoration: line-through; }
.need--yes { color: var(--fg); font-weight: 600; }

/* ---------- CTA + form ---------- */

.cta {
  padding: 72px 0;
  background: radial-gradient(ellipse at 50% 100%, var(--accent-faint) 0%, rgba(0, 0, 0, 0) 62%);
}
.cta__grid { display: grid; gap: 40px; align-items: start; }
.cta__copy { display: flex; flex-direction: column; gap: 18px; }
.cta__copy h2 { font-size: clamp(2rem, 4.6vw, 3.625rem); line-height: 1.06; text-wrap: balance; }
.cta__copy h2 .alt { color: var(--accent); }

.form {
  background: var(--bg-alt);
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__head { display: flex; flex-direction: column; gap: 6px; }
.form__head h3 { font-size: 1.25rem; }
.form__head p { font-size: 0.875rem; color: var(--fg-muted); }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.875rem; font-weight: 500; }
.field__hint { font-size: 0.8125rem; color: var(--fg-dim); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); outline: none; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23BFBFBF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 44px;
}

.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 40px 0 36px; }
.footer__inner { display: flex; flex-direction: column; gap: 20px; }
.footer__top { display: flex; flex-direction: column; gap: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { font-size: 0.875rem; color: var(--fg-muted); }
.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--fg-dim);
}
.footer__legal a { color: var(--fg-dim); font-size: 0.8125rem; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__legal-links a:hover { color: var(--fg-muted); }
.form__consent { font-size: 0.8125rem; line-height: 1.5; color: var(--fg-dim); margin: 0; }
.form__consent a { color: var(--fg-muted); text-decoration: underline; }

/* ---------- Thanks page ---------- */

.thanks {
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 50% 20%, var(--accent-faint) 0%, rgba(0, 0, 0, 0) 62%);
}
.thanks__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  max-width: 40em;
  padding: 72px 0;
}

/* ---------- Blog ---------- */

.nav__links a[aria-current="page"] { color: var(--fg); }

.blog { padding: 48px 0 72px; }
.blog__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.blog__empty { color: var(--fg-muted); }

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
}
.post-card {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s ease;
}
.post-card:hover { border-color: var(--accent-border); }
.post-card__date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }
.post-card__title { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.12; text-wrap: balance; }
/* Stretch the title link so the whole card is clickable. */
.post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card__desc { font-size: 0.9375rem; line-height: 1.55; color: var(--fg-muted); max-width: 46em; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--accent); font-weight: 600; font-size: 0.9375rem; }

.post { padding-top: 40px; }
.post__inner { max-width: 720px; margin: 0 auto; padding: 0 var(--pad) 64px; }
.post__head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; margin-bottom: 36px; }
.post__head h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
.post__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 0.875rem; font-weight: 500; color: var(--fg-muted); }
.post__meta { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); }
.post__image { display: block; width: 100%; height: auto; margin-bottom: 36px; border: 1px solid var(--line); border-radius: 14px; }

/* Long-form text written in Markdown. */
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--fg-muted); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.25em; }
.prose > :first-child { margin-top: 0; }
.prose h2,
.prose h3 { font-family: var(--sans); font-weight: 700; letter-spacing: 0; color: var(--fg); }
.prose h2 { font-size: 1.5rem; line-height: 1.3; margin-top: 2em; }
.prose h3 { font-size: 1.1875rem; line-height: 1.35; margin-top: 1.75em; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-tint); }
.prose ul,
.prose ol { margin-bottom: 0; padding-left: 1.3em; }
.prose li + li,
.prose li > ul,
.prose li > ol { margin-top: 0.5em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin-left: 0; margin-right: 0; margin-bottom: 0; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--fg); }
.prose blockquote > * + * { margin-top: 0.75em; }
.prose img { display: block; height: auto; border-radius: 12px; }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin-top: 2.5em; margin-bottom: 2.5em; }
.prose code { font-family: var(--mono); font-size: 0.875em; background: var(--bg-raised); padding: 2px 6px; border-radius: 6px; }
.prose pre { margin-bottom: 0; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; overflow-x: auto; font-size: 0.875rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 0.9375rem; }
.prose th,
.prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-strong); }
.prose th { color: var(--fg); font-weight: 600; }

.post-cta {
  border-top: 1px solid var(--line);
  padding: 64px 0 72px;
  background: radial-gradient(ellipse at 50% 100%, var(--accent-faint) 0%, rgba(0, 0, 0, 0) 62%);
}
.post-cta__inner { max-width: 720px; margin: 0 auto; padding: 0 var(--pad); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.post-cta h2 { font-size: clamp(1.875rem, 4.2vw, 2.75rem); line-height: 1.08; text-wrap: balance; }

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

@media (min-width: 700px) {
  :root { --pad: 32px; }

  .section { padding: 88px 0; }
  .hero { padding: 72px 0 56px; }
  .hero__actions { flex-direction: row; width: auto; }
  .hero__actions .btn { width: auto; }

  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }

  .form { padding: 32px 30px; }

  .footer__top { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer__legal { flex-direction: row; align-items: center; justify-content: space-between; }

  .blog { padding: 72px 0 96px; }
  .post { padding-top: 56px; }
  .post__inner { padding-bottom: 80px; }
  .post-card { padding: 30px 32px; }
  .post-cta { padding: 88px 0 96px; }
}

@media (min-width: 1040px) {
  :root { --pad: 56px; }

  .section { padding: 104px 0; }
  .hero { padding: 90px 0 64px; }

  .nav__inner { padding-top: 20px; padding-bottom: 20px; }
  .nav__links { display: flex; }
  .brand__word { font-size: 1.4375rem; }

  .hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
  .hero__demo { padding: 32px 8px; }

  .demo { grid-template-columns: 420px minmax(0, 1fr); gap: 64px; }
  .demo__side { gap: 34px; padding-top: 6px; }
  .steps { gap: 24px; }
  .step__text { font-size: 1.0625rem; }

  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
  .jd { padding: 40px 42px; }

  .jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .how { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }

  .cta { padding: 116px 0; }
  .cta__grid { grid-template-columns: minmax(0, 1fr) 480px; gap: 72px; align-items: center; }

  .mini-flows { margin-top: 56px; }
  .section__head { margin-bottom: 44px; }
}

/* ---------- Toolkit ---------- */
/* Same card as the blog {% toolkit %} shortcode. The homepage band lays it out
   as a quiet row on wider screens. A plain link-out — no third-party form. */

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

.toolkit-band { padding: 0 0 8px; }

.toolkit {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.toolkit__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.toolkit__label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--accent);
  margin: 0;
}

.toolkit__text {
  margin: 0;
  color: var(--fg);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.45;
  max-width: 28em;
}

.toolkit .btn { width: 100%; text-align: center; white-space: normal; }
.toolkit a.btn { text-decoration: none; color: var(--fg); }
.toolkit a.btn:hover { color: var(--fg); }
.toolkit a.btn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

@media (min-width: 700px) {
  .toolkit--band {
    width: fit-content;
    max-width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 22px 36px;
    padding: 26px 32px;
  }
  .toolkit--band .toolkit__text { max-width: 40em; }
  .toolkit--band .btn { width: auto; flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
