/* Tradelatch theme-toggle stylesheet (Nov 21, 2026).
   One file, written top to bottom: tokens, type, layout, components, pages.
   Fonts are the same in both themes (OFL, self-hosted): Libre Franklin 700/800 for
   headlines and labels, Source Sans 3 400/600 for body. Themes differ only in color. */

:root {
  /* Default: dark theme. A true dark version of the light palette: neutral near-black
     surfaces, off-white ink, and the same forest-green accent family, lifted for contrast. */
  --paper: #121413;
  --paper-2: #1A1C1B;
  --white: #202321;
  --ink: #ECECE7;
  --ink-2: #BDBFBA;
  --ink-3: #9A9D98;
  --rule: #2B2E2C;
  --rule-strong: rgba(236, 236, 231, 0.32);
  --accent: #6DB88C;
  --accent-dark: #8FCBA4;
  --night: #1B1E1C;
  --night-2: #232624;
  --night-text: #ECECE7;
  --night-muted: #B3B6B1;
  --night-rule: rgba(236, 236, 231, 0.18);
  --night-btn-bg: #ECECE7;
  --night-btn-fg: #17191B;
  --night-btn-hover: #FFFFFF;
  --error: #F08A78;
  --header-bg: rgba(18, 20, 19, 0.94);
  --sticky-bg: rgba(18, 20, 19, 0.97);
  --btn-hover: #FFFFFF;
  --selection-bg: #2F5A43;
  --selection-fg: #ECECE7;
  --grain: none;
  --phone-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.6);
  --input-border: #6A6D69;
  --legal-body: #D3D5D0;

  --serif: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Libre Franklin", system-ui, sans-serif;
  --display-weight: 800;
  --display-track: -0.03em;
  --h3-weight: 700;
  --ledger-weight: 700;
  --label-weight: 700;
  --meta-weight: 700;

  --wrap: 1160px;
  --reading: 700px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 68px;
  --sec-y: clamp(44px, 5.5vw, 76px);
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] {
  /* simp11: light only. Paper, near-black ink, one forest-green accent. */
  --paper: #F5F5F2;
  --paper-2: #ECECE7;
  --white: #FFFFFF;
  --ink: #17191B;
  --ink-2: #45494D;
  --ink-3: #5E6266;
  --rule: #DADAD3;
  --rule-strong: #17191B;
  --accent: #1F5C3A;
  --accent-dark: #8FCBA4;
  --night: #17191B;
  --night-2: #23272A;
  --night-text: #F5F5F2;
  --night-muted: #BDBAB2;
  --night-rule: rgba(245, 245, 242, 0.16);
  --night-btn-bg: #F5F5F2;
  --night-btn-fg: #17191B;
  --night-btn-hover: #FFFFFF;
  --error: #A3321F;
  --header-bg: rgba(245, 245, 242, 0.94);
  --sticky-bg: rgba(245, 245, 242, 0.97);
  --btn-hover: #2E3235;
  --selection-bg: #CFE5D6;
  --selection-fg: #17191B;
  --grain: none;
  --phone-shadow: 0 24px 48px -28px rgba(23, 25, 27, 0.35);
  --input-border: #ADA99F;
  --legal-body: #2A2D30;
}

@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/libre-franklin-700.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/libre-franklin-800.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/source-sans-3-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/source-sans-3-600.woff2") format("woff2"); }


/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--grain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; color: inherit; }
p { margin: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
::selection { background: var(--selection-bg); color: var(--selection-fg); }

h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  font-feature-settings: "kern", "liga";
}
h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; }
h3 { font-family: var(--sans); font-weight: var(--h3-weight); font-size: 19px; line-height: 1.35; letter-spacing: -0.005em; }
h1 em, h2 em, .hl { font-style: normal; color: inherit; }
.nowrap { white-space: nowrap; }

.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--reading { width: min(100%, calc(var(--reading) + 2 * var(--gutter))); }
.measure { max-width: var(--reading); }

.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; display: inline-block; flex: none; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--radius); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; color: var(--paper); }
#main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.kicker, .eyebrow {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-weight: var(--meta-weight);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 12px;
}
.kicker::before, .eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 22px;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-weight: 600; font-size: 16.5px; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover, .btn:focus-visible { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-light { background: var(--night-btn-bg); border-color: var(--night-btn-bg); color: var(--night-btn-fg); }
.btn-light:hover, .btn-light:focus-visible { background: var(--night-btn-hover); border-color: var(--night-btn-hover); color: var(--night-btn-fg); }
.btn-arrow-i { width: 18px; height: 18px; transition: transform 160ms ease; }
.btn:hover .btn-arrow-i { transform: translateX(3px); }
.link-quiet { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.link-quiet:hover { text-decoration-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.link-arrow .icon { transition: transform 160ms ease; }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 30;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}
header.is-scrolled, header.is-solid { border-bottom-color: var(--rule); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: block; flex: none; }

.logo { position: relative; }
.logo img { width: 150px; height: auto; }
.logo-on-light { display: none; }
.logo-on-dark { display: block; }
html[data-theme="light"] .logo-on-light { display: block; }
html[data-theme="light"] .logo-on-dark { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.theme-toggle {
  appearance: none; -webkit-appearance: none;
  width: 40px; height: 40px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink);
  cursor: pointer;
}
.theme-toggle:hover { background: var(--paper-2); color: var(--ink); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-icon { display: none; width: 22px; height: 22px; }
html[data-theme="dark"] .theme-icon-sun,
html:not([data-theme="light"]) .theme-icon-sun { display: block; }
html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: block; }
.nav { display: none; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
header .btn-sm { margin-left: 0; }
.header-nav { display: flex; align-items: center; }
.header-nav a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 8px 12px;
  color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 15px;
}
.header-nav a:hover { color: var(--accent); }
.header-nav a[aria-current="page"] { color: var(--accent); }
@media (max-width: 420px) {
  .header-inner { gap: 12px; }
  .header-actions { gap: 4px; }
  .logo img { width: 112px; }
  .theme-toggle { width: 36px; height: 36px; flex: none; }
  .header-nav a { padding: 8px 8px; font-size: 14px; }
  header .btn-sm { padding: 8px 10px; font-size: 13px; white-space: nowrap; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; gap: 56px; }
.hero-text { max-width: 660px; }
.hero h1 { margin-bottom: 20px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.flow { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; max-width: 620px; border-top: 1.5px solid var(--ink); }
.flow li { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.4; color: var(--ink); }
.flow-n { flex: none; width: 22px; font-family: var(--mono); font-size: 13px; color: var(--accent); }
@media (min-width: 700px) {
  .flow { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rule); }
  .flow li { display: block; padding: 12px 18px 14px 0; border-bottom: 0; font-size: 15.5px; }
  .flow li + li { padding-left: 18px; border-left: 1px solid var(--rule); }
  .flow-n { display: block; margin-bottom: 6px; }
}
.hero-note { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.terms-apply { color: inherit; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.terms-apply:hover { color: var(--accent); }
.hero-demo { margin: 0; justify-self: center; width: 100%; max-width: 340px; }
.demo-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: center; }
  .hero-demo { justify-self: end; }
}

/* ---------- Phone demo ---------- */
.phone {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  color: var(--ink);
  border: 8px solid var(--ink);
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--phone-shadow);
}
.phone--hero { width: 100%; }
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px 0; font-size: 12px; font-weight: 600; }
.phone-status-glyphs { display: flex; align-items: center; gap: 6px; }
.phone-head { padding: 6px 20px 10px; text-align: center; border-bottom: 1px solid var(--rule); }
.phone-name { font-weight: 600; font-size: 15.5px; }
.phone-sub { font-size: 12px; color: var(--ink-3); }
.phone .tag {
  align-self: center; margin: 10px 16px 0; padding: 2px 10px;
  border: 1px solid var(--rule); border-radius: 999px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
}
.phone-thread { position: relative; flex: 1; padding: 12px 14px 22px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 84%; padding: 9px 12px; border-radius: 18px; font-size: 14.5px; line-height: 1.4; }
.msg.out { align-self: flex-end; background: #2F7550; color: #FFFFFF; border-bottom-right-radius: 6px; }
.msg.in { align-self: flex-start; background: #2B2F2D; color: var(--ink); border-bottom-left-radius: 6px; }
.sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.sys .icon { width: 14px; height: 14px; }
.sys-missed { color: #F2A596; background: #3A211D; }
.sys-done { color: #9AD3AE; background: #1F3327; }
.typing { display: none; position: absolute; left: 14px; gap: 4px; padding: 10px 12px; background: #2B2F2D; border-radius: 16px; }
.typing.is-on { display: flex; }
.typing.out { left: auto; right: 14px; background: #2F7550; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: typ 1s 4; }
.typing.out span { background: #CFE5D6; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
.typing:not(.is-on) span { animation-play-state: paused; }
@keyframes typ { 0%, 80%, 100% { opacity: 0.35; } 40% { opacity: 1; } }
.phone-replay {
  position: absolute; right: 12px; bottom: 12px; min-width: 44px; min-height: 36px; padding: 6px 12px;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--ink);
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.phone-replay:hover { border-color: var(--ink); }
.phone-replay[hidden] { display: none; }

/* The example thread is a phone screen. Dark by default; the light theme keeps the white screen. */
.phone { border-color: #333735; }
html[data-theme="light"] .phone {
  --ink: #17191B;
  --ink-3: #5E6266;
  --rule: #DADAD3;
  --white: #FFFFFF;
  background: #FFFFFF;
  color: #17191B;
  border-color: #17191B;
}
html[data-theme="light"] .sys-missed { color: #9A2B1F; background: #F6E4DF; }
html[data-theme="light"] .sys-done { color: #2F5B3A; background: #E3EEE3; }

html.js.motion [data-animate="true"] .msg,
html.js.motion [data-animate="true"] .sys { opacity: 0; transform: translateY(6px); transition: opacity 260ms ease, transform 260ms var(--ease); }
html.js.motion [data-animate="true"] .msg.is-in,
html.js.motion [data-animate="true"] .sys.is-in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.sec { padding: var(--sec-y) 0; }
.sec + .sec:not(.sec--book):not(.sec--cal) { padding-top: calc(var(--sec-y) * .6); }
.sec > .wrap { position: relative; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-sub { color: var(--ink-2); font-size: 18px; max-width: 30em; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 5fr 6fr; align-items: end; gap: 48px; }
  .sec-sub { justify-self: start; padding-bottom: 6px; }
}

/* How it works: three numbered stations on one rule */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { border-top: 1.5px solid var(--ink); padding: 20px 0 32px; display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; }
.steps-n { grid-row: span 2; font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--accent); padding-top: 3px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps li { display: block; padding: 22px 0 0; }
  .steps-n { display: block; margin-bottom: 36px; }
  .steps h3 { font-size: 21px; }
}

/* What you get: a ledger, not cards */
.ledger { margin: 0; border-bottom: 1px solid var(--rule); }
.ledger-row { display: grid; gap: 6px; padding: 24px 0; border-top: 1px solid var(--rule); }
.ledger dt { font-family: var(--serif); font-weight: var(--ledger-weight); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }
.ledger dd { margin: 0; color: var(--ink-2); max-width: 34em; }
.ledger dt a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 6px; }
.ledger dt a:hover { color: var(--accent); text-decoration-color: currentColor; }
@media (min-width: 900px) {
  .ledger-row { grid-template-columns: 5fr 6fr; gap: 48px; align-items: baseline; padding: 30px 0; }
}

/* Founder */
.founder { display: grid; gap: 28px; max-width: 920px; }
.founder-photo { width: 100%; max-width: 288px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; filter: saturate(0.9); }
.founder-copy h2 { margin-bottom: 20px; }
.founder-copy p { font-size: 19px; line-height: 1.6; color: var(--ink); max-width: 32em; }
.founder-copy p + p { margin-top: 14px; }
.founder-copy .founder-cta { margin-top: 28px; }
@media (min-width: 760px) {
  .founder { grid-template-columns: 288px 1fr; gap: 56px; align-items: center; }
  .founder-photo { width: 288px; }
}

/* FAQ */
.faq { border-bottom: 1px solid var(--rule); max-width: 860px; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-q { font: inherit; margin: 0; }
.faq-q button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-weight: var(--ledger-weight); font-size: clamp(21px, 2vw, 25px); line-height: 1.25; color: var(--ink);
}
.faq-q .icon { width: 20px; height: 20px; color: var(--ink-3); transition: transform 160ms ease; }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-inner { padding: 0 0 24px; color: var(--ink-2); max-width: 40em; }
.faq.is-ready .faq-item:not(.is-open) .faq-body { display: none; }


.faq-more { margin-top: 28px; }
.faq-more .icon { width: 16px; height: 16px; }
/* Book band: the one contrasting section */
.book, .sec--book { background: var(--night); color: var(--night-text); padding: clamp(72px, 9vw, 120px) 0; }
.book h2, .sec--book h2 { color: var(--night-text); }
.book a:not(.btn), .sec--book a:not(.btn) { color: var(--night-text); }
.book a:not(.btn):hover, .sec--book a:not(.btn):hover { color: var(--accent-dark); }
.book-grid { display: grid; gap: 40px; }
.book-main h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; max-width: 13em; }
.book-grid--solo .guarantee-full { max-width: 40em; }
.book-grid--solo .book-main h2 { max-width: 17em; }
.guarantee-full { margin-top: 24px; color: var(--night-muted); font-size: 18px; max-width: 32em; }
.book-side { display: grid; gap: 22px; align-content: start; justify-items: start; }
.book-lede { font-size: 19px; color: var(--night-text); max-width: 22em; }
.cta-email { display: flex; align-items: center; gap: 8px; color: var(--night-muted); font-size: 15px; }
.cta-email .icon { width: 16px; height: 16px; }
@media (min-width: 960px) {
  .book-grid { grid-template-columns: 7fr 4fr; gap: 72px; align-items: end; }
  .book-side { border-left: 1px solid var(--night-rule); padding-left: 40px; }
  .book-grid--solo { grid-template-columns: 1fr; }
}

.sec-cta { margin-top: clamp(36px, 5vw, 56px); }

/* Closing: the Cal.com calendar on the page */
.sec--cal { padding-bottom: clamp(72px, 9vw, 120px); }
.cal-frame { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(8px, 2vw, 20px); }
.cal-inline { width: 100%; overflow: auto; }
.cal-inline:empty { display: grid; place-items: center; min-height: 600px; }
.cal-frame { position: relative; }
.cal-loading { position: absolute; top: 48px; left: 0; right: 0; margin: 0; text-align: center; font-size: 15px; color: var(--ink-2); z-index: 0; }
.cal-loading[hidden] { display: none; }
.cal-inline { position: relative; z-index: 1; }
.cal-fallback { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0; padding: 16px 8px 8px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 15px; }
.cal-fallback .btn { min-height: 44px; padding: 10px 16px; font-size: 15px; background: transparent; color: var(--ink); }
.cal-fallback .btn:hover { background: var(--paper-2); color: var(--ink); }
@media (max-width: 759px) {
  .sec--cal .wrap { padding-inline: 10px; }
  .sec--cal .sec-head { padding-inline: calc(var(--gutter) - 10px); }
  .cal-frame { padding: 0; border-radius: 6px; }
  .cal-inline:empty { min-height: 720px; }
}

/* Careers line */
.roles { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.roles-line { font-size: 16px; color: var(--ink-2); }
.roles-line a { color: var(--ink); font-weight: 600; margin-left: 6px; }

/* ---------- Footer (simplified Nov 24, 2026: brand + 3 labeled columns + quiet "Listed on" row) ---------- */
footer { border-top: 1px solid var(--rule); padding: 56px 0 32px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
html[data-theme="light"] footer { --ink-3: #5E6266; }
.footer-inner { display: grid; gap: 40px; }
.footer-top { display: grid; gap: 36px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; }
.footer-logo img { width: 22px; height: 22px; }
.footer-about { margin: 14px 0 0; max-width: 30em; }
.footer-email { margin: 4px 0 0; }
.footer-email a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
.footer-email a:hover { text-decoration-color: var(--ink); }
.footer-social { list-style: none; display: flex; gap: 2px; margin: 14px 0 0 -12px; padding: 0; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius); color: var(--ink-2); }
.footer-social a:hover { color: var(--ink); background: var(--rule); }
.footer-social svg { width: 18px; height: 18px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.footer-col:first-child { grid-column: 1 / -1; }
.footer-h { margin: 0 0 8px; font-family: var(--serif); font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-block; padding: 6px 0; color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 860px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: start; }
  .footer-nav { grid-template-columns: repeat(3, auto); gap: 64px; }
  .footer-col:first-child { grid-column: auto; }
}
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-3); }
.footer-copy { margin: 0; }
.footer-badges { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.footer-saascubes { display: inline-block; opacity: 0.85; }
.footer-saascubes:hover { opacity: 1; }
.footer-launchnest,
.footer-badges a[href="https://twelve.tools"] {
  display: inline-flex; align-items: center; min-height: 24px;
  font-weight: 600; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 4px;
}
.footer-launchnest:hover,
.footer-badges a[href="https://twelve.tools"]:hover { color: var(--ink); text-decoration-color: var(--ink); }
.footer-saascubes img { display: block; height: 22px; width: auto; aspect-ratio: 175 / 54; }
.footer-saascubes img.footer-saascubes-light { display: none; }
html[data-theme="light"] .footer-saascubes img.footer-saascubes-dark { display: none; }
html[data-theme="light"] .footer-saascubes img.footer-saascubes-light { display: block; }
.footer-seolisting { display: inline-block; opacity: 0.85; }
.footer-seolisting:hover { opacity: 1; }
.footer-seolisting img { display: block; height: 22px; width: auto; aspect-ratio: 166 / 48; }
.footer-seolisting img.footer-seolisting-light { display: none; }
html[data-theme="light"] .footer-seolisting img.footer-seolisting-dark { display: none; }
html[data-theme="light"] .footer-seolisting img.footer-seolisting-light { display: block; }

/* ---------- Phone-width sticky Book bar ---------- */
.sticky { display: none; }
@media (max-width: 759px) {
  .sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--sticky-bg); border-top: 1px solid var(--rule);
  }
  .sticky .btn { width: 100%; }
  body.is-past-hero:not(.is-book-in-view) .sticky { display: block; }
  body:has(.sticky) footer { padding-bottom: 96px; }
}

/* ---------- Service pages ---------- */
.page-top { padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 6vw, 88px); }
.page-top-grid > * { max-width: 820px; }
.page-top h1 { margin-bottom: 24px; }
.page-top-copy { display: grid; gap: 32px; justify-items: start; }
.row-grid { display: grid; gap: 16px; }
.row-copy { display: grid; gap: 14px; color: var(--ink-2); font-size: 18px; max-width: 36em; }
@media (min-width: 900px) { .row-grid { grid-template-columns: 5fr 6fr; gap: 48px; } }
.tl--plain { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.tl--plain li { counter-increment: s; position: relative; padding: 14px 0 14px 48px; border-top: 1px solid var(--rule); }
.tl--plain li:last-child { border-bottom: 1px solid var(--rule); }
.tl--plain li::before { content: "0" counter(s); position: absolute; left: 0; top: 16px; font-family: var(--mono); font-size: 13px; color: var(--accent); }
.service-related { font-size: 16px; }
.service-related a { color: var(--ink); }

.service-faq { display: grid; gap: 22px; }
.service-faq h3 { margin: 0; font-size: 18px; }
.service-faq p { margin: 0; }
.row-copy--example { align-content: start; }
.row-copy--example h2 { margin-bottom: 6px; }
.terms--pair { display: grid; gap: 48px; }
.terms-main h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.05; max-width: 13em; }
.terms-main p { margin-top: 20px; color: var(--night-muted); font-size: 18px; }
.terms-foot { display: grid; gap: 18px; justify-items: start; align-content: start; }
.terms-foot p { color: var(--night-muted); }
.terms-book { font-size: clamp(26px, 2.6vw, 32px) !important; }
.terms-foot .btn { background: var(--night-btn-bg); border-color: var(--night-btn-bg); color: var(--night-btn-fg); }
.terms-foot .btn:hover { background: var(--night-btn-hover); border-color: var(--night-btn-hover); color: var(--night-btn-fg); }
@media (min-width: 960px) {
  .terms--pair { grid-template-columns: 7fr 4fr; gap: 72px; align-items: end; }
  .terms-foot { border-left: 1px solid var(--night-rule); padding-left: 40px; }
}

/* ---------- Legal pages ---------- */
main.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.legal h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; margin: 0 0 16px; }
.legal h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--rule); }
.legal h3 { font-size: 17px; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--legal-body); }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 18px; padding-left: 1.25em; }
.legal li { margin: 0 0 8px; }
.legal li::marker { color: var(--ink-3); }
.legal a { color: var(--accent); }
.legal em { color: var(--ink-3); }
.legal strong { font-weight: 600; color: var(--ink); }

/* ---------- Careers ---------- */
.careers-top { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); }
.careers-title { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; margin: 0 0 clamp(28px, 4vw, 48px); }
.careers-top .measure { max-width: none; display: grid; gap: 48px; }
.apply-intro h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 0 0 14px; }
.apply-intro h3 { font-size: 17px; margin: 24px 0 8px; }
.roles-teaser { font-size: 18px; color: var(--ink-2); }
.apply-intro ul { padding-left: 1.2em; }
.apply-intro li { margin-bottom: 8px; color: var(--ink-2); }
.apply-intro p { color: var(--ink-2); }
.apply-intro p + p, .apply-intro p + ul { margin-top: 12px; }
.apply-intro strong { color: var(--ink); font-weight: 600; }
.apply-disclaimer { margin-top: 20px; padding-left: 16px; border-left: 2px solid var(--accent); font-size: 15px; }
@media (min-width: 1040px) {
  .careers-top .measure { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
  .careers-top .measure > #apply { position: sticky; top: calc(var(--header-h) + 24px); }
}
#apply { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(22px, 3vw, 36px); }
#apply-success { scroll-margin-top: calc(var(--header-h) + 16px); }

.read-details { margin: 16px 0 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.read-details summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  cursor: pointer; list-style: none; font-weight: 600; color: var(--ink);
}
.read-details summary::-webkit-details-marker { display: none; }
.read-details summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--accent); }
.read-details[open] summary::after { content: "\2212"; }
.read-details[open] { padding-bottom: 16px; }
.read-details > *:not(summary) { margin-top: 10px; }

.careers-legal { padding: 0 0 clamp(64px, 8vw, 112px); }
.careers-legal .measure--legal { max-width: var(--reading); }
.careers-legal h2 { margin-top: 0; }

.apply-form { display: flex; flex-direction: column; gap: 24px; }
.apply-form[hidden] { display: none !important; }
.apply-progress { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--ink-3); min-height: 1.2em; }
.apply-step label:not(.consent-item) {
  display: block; margin-bottom: 16px;
  font-family: var(--serif); font-weight: var(--label-weight); font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.01em; color: var(--ink);
}
.optional { font-family: var(--sans); font-size: 0.5em; color: var(--ink-3); letter-spacing: 0; }
.apply-step input[type="text"], .apply-step input[type="email"], .apply-step input[type="tel"], .apply-step input[type="number"], .apply-step textarea {
  width: 100%; padding: 14px 16px;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--input-border); border-radius: var(--radius);
  font-size: 18px; line-height: 1.4;
  transition: border-color 160ms ease;
}
.apply-step input:hover, .apply-step textarea:hover { border-color: var(--ink-2); }
.apply-step input:focus-visible, .apply-step textarea:focus-visible { border-color: var(--ink); outline: 2px solid var(--accent); outline-offset: 2px; background: var(--white); }
.apply-step textarea { resize: vertical; min-height: 7em; }
.field-error, .apply-form-error { margin-top: 10px; color: var(--error); font-size: 15px; }
.apply-consent { display: flex; flex-direction: column; gap: 16px; margin-bottom: 12px; }
.consent-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.consent-item input[type="checkbox"] { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.consent-item a, .apply-privacy a, .apply-helper a { color: var(--accent); }
.turnstile-wrap { min-height: 65px; margin: 8px 0; }
.apply-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.apply-helper, .apply-privacy { font-size: 14px; line-height: 1.6; color: var(--ink-3); margin-top: 14px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.apply-success { padding: 8px 0; }
.apply-success h3 { font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(28px, 3vw, 36px); margin-bottom: 10px; }
.apply-success p { color: var(--ink-2); }
.apply-form.apply-busy { opacity: 0.7; pointer-events: none; }

/* Stepped form (JS on): one question at a time, round arrow buttons */
.apply-nav { display: none; }
html.js .apply-form:not(.is-stepped) .apply-step:not([data-step="1"]) { display: none; }
html.js .apply-form.is-stepped .apply-nav[hidden] { display: none; }
html.js .apply-form.is-stepped .apply-nav:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
html.js .apply-form.is-stepped.is-mid [data-apply-submit],
html.js .apply-form.is-stepped.is-start [data-apply-submit] { display: none; }
html.js .apply-form.is-stepped .apply-step { display: none; }
html.js .apply-form.is-stepped .apply-step.is-current { display: block; }
html.js .apply-form.is-end [data-apply-next] { visibility: hidden; }
.apply-circle {
  flex: none; width: 52px; height: 52px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.apply-circle svg { width: 22px; height: 22px; display: block; }
.apply-circle:hover, .apply-circle:focus-visible { background: var(--paper-2); }
.apply-nav [data-apply-next] { background: var(--ink); color: var(--paper); }
.apply-nav [data-apply-next]:hover, .apply-nav [data-apply-next]:focus-visible { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--paper); }
.apply-circle:disabled, .apply-circle[aria-disabled="true"] { opacity: 0.3; cursor: not-allowed; background: transparent; color: var(--ink); }
.apply-nav-mid { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.apply-dots { display: flex; gap: 5px; margin: 0; padding: 0; list-style: none; align-items: center; }
.apply-dots li { width: 14px; height: 3px; border-radius: 2px; background: var(--rule); transition: width 200ms ease, background-color 200ms ease; }
.apply-dots li.is-done { background: var(--ink-3); }
.apply-dots li.is-current { width: 26px; background: var(--accent); }
.apply-form.is-stepped { gap: 20px; }

html.js.motion .apply-form.is-stepped .apply-stage { position: relative; overflow: hidden; }
html.js.motion .apply-form.is-stepped .apply-step {
  display: block; position: absolute; left: 0; right: 0; top: 0; width: 100%;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(24px, 0, 0);
  transition: opacity 0.36s ease, transform 0.36s cubic-bezier(0.22, 0.68, 0, 1), visibility 0s linear 0.36s;
}
html.js.motion .apply-form.is-stepped .apply-step.is-current { position: relative; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; z-index: 2; }
html.js.motion .apply-form.is-stepped .apply-step.is-pre-fwd,
html.js.motion .apply-form.is-stepped .apply-step.is-pre-back { position: absolute; opacity: 0; visibility: visible; transition: none; }
html.js.motion .apply-form.is-stepped .apply-step.is-pre-fwd { transform: translate3d(24px, 0, 0); }
html.js.motion .apply-form.is-stepped .apply-step.is-pre-back { transform: translate3d(-24px, 0, 0); }
html.js.motion .apply-form.is-stepped .apply-step.is-leave-fwd,
html.js.motion .apply-form.is-stepped .apply-step.is-leave-back { position: absolute; opacity: 0; visibility: hidden; z-index: 1; }
html.js.motion .apply-form.is-stepped .apply-step.is-leave-fwd { transform: translate3d(-24px, 0, 0); }
html.js.motion .apply-form.is-stepped .apply-step.is-leave-back { transform: translate3d(24px, 0, 0); }

/* ---------- Blog (Nov 22, 2026) ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.blog-top { padding-bottom: clamp(24px, 4vw, 48px); }
.blog-list-sec { padding-top: clamp(16px, 3vw, 32px); }
.blog-filters-wrap { position: relative; margin: 0 0 24px; min-width: 0; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.blog-filters[hidden] { display: none; }
.blog-filter {
  box-sizing: border-box;
  min-height: 36px; height: 36px; padding: 0 14px; border: 1px solid var(--rule-strong); border-radius: 999px;
  background: transparent; color: var(--ink-2); font-family: var(--sans); font-weight: 600; font-size: 14px;
  line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.blog-filter:hover { border-color: var(--ink); color: var(--ink); }
.blog-filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.blog-filter:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .post-list { grid-template-columns: 1fr 1fr; gap: 24px; } }
.post-card { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px; border: 1px solid var(--rule); border-radius: 16px; background: var(--white); transition: border-color 160ms ease, transform 160ms ease; }
.post-card[hidden] { display: none; }
.post-card:hover { border-color: var(--accent); }
.post-meta { margin: 0; font-family: var(--mono); font-weight: var(--meta-weight); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.post-cat { color: var(--accent); }
.post-card-title { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.post-card-title a:focus-visible { outline: none; }
.post-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-excerpt { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.post-card .link-arrow { justify-self: start; margin-top: 4px; }
.blog-search { margin: 0 0 14px; max-width: 40em; }
.blog-search-field { position: relative; display: flex; align-items: center; }
.blog-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--ink-3); pointer-events: none;
}
.blog-search-field input[type="search"] {
  width: 100%; min-height: 44px; padding: 10px 44px 10px 40px;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: var(--white); color: var(--ink); font-size: 16px;
  appearance: none; -webkit-appearance: none;
}
.blog-search-field input[type="search"]::placeholder { color: var(--ink-3); }
.blog-search-field input[type="search"]:hover { border-color: var(--ink); }
.blog-search-field input[type="search"]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.blog-search-field input[type="search"]::-webkit-search-decoration,
.blog-search-field input[type="search"]::-webkit-search-cancel-button,
.blog-search-field input[type="search"]::-webkit-search-results-button,
.blog-search-field input[type="search"]::-webkit-search-results-decoration { -webkit-appearance: none; appearance: none; }
.blog-search-clear {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: var(--radius);
  background: transparent; color: var(--ink-2);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.blog-search-clear:hover { color: var(--ink); background: var(--paper-2); }
.blog-search-clear:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.blog-search-clear[hidden] { display: none; }
@media (max-width: 768px) {
  .blog-index .blog-top {
    padding-top: 20px;
    padding-bottom: 12px;
  }
  .blog-index .blog-top h1 { margin-bottom: 10px; }
  .blog-index .blog-top .lead { font-size: 16.5px; line-height: 1.45; }
  .blog-index .blog-list-sec { padding-top: 8px; }
  .blog-search { margin: 0 0 10px; }
  .blog-search-field input[type="search"] { min-height: 42px; }
  .blog-filters-wrap {
    margin: 0 calc(-1 * var(--gutter)) 14px;
  }
  .blog-filters-wrap::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 28px;
    pointer-events: none;
    background: linear-gradient(to right, transparent, var(--paper));
    z-index: 1;
  }
  .blog-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    gap: 8px;
    margin: 0;
    padding: 4px var(--gutter);
  }
  .blog-filters::-webkit-scrollbar { display: none; }
  .blog-filter {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 13px;
    height: 34px;
    min-height: 34px;
    padding: 0 12px;
  }
  .blog-index .post-card { padding: 20px 18px; }
}
.blog-empty { margin: 8px 0 0; padding: 24px 28px; border: 1px dashed var(--rule-strong); border-radius: 16px; color: var(--ink-2); font-size: 17px; }
.blog-empty[hidden] { display: none; }
.blog-empty p { margin: 0; }
.blog-empty .btn { margin-top: 16px; }
.blog-empty .btn[hidden] { display: none; }
.blog-home-list {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; gap: 0;
}
@media (min-width: 900px) {
  .blog-home-list { grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
}
.blog-home-item {
  display: grid; gap: 8px; align-content: start;
  margin: 0; padding: 20px 0 28px;
  border-top: 1.5px solid var(--ink);
}
.blog-home-title {
  font-family: var(--serif); font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  font-size: clamp(20px, 2vw, 24px); line-height: 1.2;
}
.blog-home-title a { color: var(--ink); text-decoration: none; }
.blog-home-title a:hover { color: var(--accent); }
.blog-home-item p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.blog-home-item .post-meta { letter-spacing: 0.05em; }
.blog-home-more { margin-top: 8px; }
.blog-rss { margin: 32px 0 0; font-size: 15px; }
.blog-rss a { color: var(--ink-2); }
.blog-rss a:hover { color: var(--ink); }

.post-head { padding: clamp(32px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.breadcrumb ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14.5px; color: var(--ink-3); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22em; }
@media (max-width: 560px) { .breadcrumb li:last-child { display: none; } }
.post-cat-link { color: inherit; text-decoration: none; }
.post-cat-link:hover { color: var(--ink); text-decoration: underline; }
.post h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin: 0 0 18px; }
.post-byline { margin: 0; color: var(--ink-3); font-size: 15.5px; }
.prose { padding-bottom: clamp(56px, 7vw, 96px); }
.prose > * { max-width: 100%; }
.prose p, .prose li { font-size: 18px; line-height: 1.65; color: var(--legal-body); }
.prose p { margin: 0 0 16px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin: 44px 0 14px; padding-top: 24px; border-top: 1px solid var(--rule); }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 1.25em; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--accent); }
.prose a.link-arrow { color: var(--ink); }
.example-text { margin: 0 0 18px; padding: 16px 20px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--paper-2); }
.example-text figcaption { margin: 0 0 6px; font-family: var(--mono); font-weight: var(--meta-weight); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.example-text p { margin: 0; color: var(--ink); font-size: 17.5px; }
.post-back { margin-top: 36px !important; }
.post-cta { display: grid; gap: 18px; justify-items: start; }
.post-cta p { margin: 0; color: var(--night-muted); }
.post-cta .btn { background: var(--night-btn-bg); border-color: var(--night-btn-bg); color: var(--night-btn-fg); }
.post-cta .btn:hover { background: var(--night-btn-hover); border-color: var(--night-btn-hover); color: var(--night-btn-fg); }

/* ---------- Reduced motion, print, forced colors ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-animate="true"] .msg, [data-animate="true"] .sys { opacity: 1 !important; transform: none !important; }
  .phone-replay { display: none !important; }
}
@media (forced-colors: active) {
  .btn, .apply-circle { border: 2px solid ButtonText; }
}
@media print {
  header, .sticky, .phone-replay, .roles { display: none !important; }
  body { background: #fff; }
  .book, .sec--book { background: #fff; color: #000; }
  .book h2, .sec--book h2 { color: #000; }
}

/* ---------- Blog email sign-up ---------- */
.subscribe { margin: 40px 0 0; padding: 24px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--paper-2); }
.subscribe .subscribe-title { margin: 0 0 14px; padding-top: 0; border-top: 0; font-size: clamp(22px, 2.4vw, 26px); line-height: 1.15; }
.subscribe-form { display: flex; flex-wrap: wrap; gap: 10px; }
.subscribe-form input[type="email"] {
  flex: 1 1 220px; min-width: 0; min-height: 44px; padding: 10px 14px;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--input-border); border-radius: var(--radius);
  font-size: 17px; line-height: 1.3; transition: border-color 160ms ease;
}
.subscribe-form input[type="email"]::placeholder { color: var(--ink-3); }
.subscribe-form input[type="email"]:hover { border-color: var(--ink-2); }
.subscribe-form input[type="email"]:focus-visible { border-color: var(--ink); outline: 2px solid var(--accent); outline-offset: 2px; background: var(--white); }
.subscribe-btn { min-height: 44px; }
.subscribe-btn[disabled] { opacity: 0.6; cursor: progress; }
.subscribe .subscribe-status { margin: 12px 0 0; font-weight: 600; color: var(--ink); }
.subscribe-status.is-error { color: var(--error); }
.subscribe .subscribe-consent { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.subscribe-consent a { color: var(--ink-2); }
.subscribe .subscribe-rss { margin: 8px 0 0; font-size: 14.5px; }
.subscribe-rss a { color: var(--ink-3); }
.subscribe-rss a:hover, .subscribe-consent a:hover { color: var(--ink); }



/* Missed-call cost calculator (/missed-call-calculator)
   Layout and results colors follow the calculator reference; tokens come from the site. */
#calculator { margin-bottom: 24px; }
#calculator .board {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
@media (min-width: 900px) {
  #calculator .board { grid-template-columns: 1fr 1fr; }
}
#calculator .inputs,
#calculator .results { padding: clamp(22px, 4vw, 36px); }
#calculator .inputs { background: var(--white); }
#calculator .inputs h2,
#calculator .results h2 { margin: 0 0 22px; }
#calculator .field { margin: 0 0 22px; }
#calculator .field label {
  display: block;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
#calculator .hint {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink-2);
}
#calculator .controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
#calculator .controls input[type="range"] {
  flex: 1;
  height: 44px;
  accent-color: var(--accent);
  cursor: pointer;
  background: transparent;
}
#calculator .number-box {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: 132px;
  padding: 0 10px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 160ms ease;
}
#calculator .number-box:hover { border-color: var(--ink-2); }
#calculator .number-box:focus-within {
  border-color: var(--ink);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  background: var(--white);
}
#calculator .number-box input::placeholder { color: var(--ink-3); }
#calculator .affix { color: var(--ink-2); font-weight: 600; }
#calculator .number-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  outline: none;
}
#calculator .number-box input::-webkit-outer-spin-button,
#calculator .number-box input::-webkit-inner-spin-button { appearance: none; margin: 0; }
#calculator .number-box input[type="number"] { appearance: textfield; -moz-appearance: textfield; }

/* Results panel uses the site's inverted --night tokens, same as the booking band. */
#calculator .results {
  background: var(--night);
  color: var(--night-text);
}
#calculator .results h2 { color: var(--night-text); }
#calculator .results h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--night-muted);
}
#calculator .group + .group { margin-top: 22px; }
#calculator .metrics {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
@media (min-width: 640px) {
  #calculator .metrics { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
#calculator .metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(245, 245, 242, 0.08);
}
@media (min-width: 640px) {
  #calculator .metric { display: block; }
}
#calculator .metric .period { font-size: 13px; color: var(--night-muted); }
#calculator .metric .amount {
  font-family: var(--serif);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  font-size: 22px;
  color: var(--night-text);
  white-space: nowrap;
}
#calculator .metric .amount.is-recovered { color: var(--accent-dark); }
#calculator .compare {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--night-rule);
  border-radius: var(--radius);
}
#calculator .compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 10px 0 0;
}
#calculator .compare dt { font-size: 13px; color: var(--night-muted); }
#calculator .compare dd {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--night-text);
}
#calculator .compare dd.is-recovered { color: var(--accent-dark); }
#calculator .leftover {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--night-rule);
  font-size: 15px;
  color: var(--night-text);
}
#calculator .leftover[hidden],
#calculator .price-note[hidden],
#calculator .field[hidden] { display: none; }
#calculator .price-note { margin-top: 12px; font-size: 14px; color: var(--night-muted); }
#calculator .estimate-note { margin-top: 20px; font-size: 15px; color: var(--night-muted); }
#calculator .cta-wrap { text-align: center; padding: 36px 0 16px; }
#calculator .cta-wrap .cta-email,
#calculator .cta-wrap .cta-email span,
#calculator .cta-wrap .cta-email a {
  justify-content: center;
  margin-top: 16px;
  color: var(--ink-2);
}
#calculator .cta-wrap .cta-email a:hover { color: var(--ink); }

/* ---------- Nov 25, 2026 simplify pass (design review fixes) ---------- */
p, li { text-wrap: pretty; }
.page-top .breadcrumb ol { margin-bottom: 20px; }
@media (max-width: 560px) { .page-top .breadcrumb li:last-child { display: inline-flex; } }
.sec--single .row-grid { grid-template-columns: 1fr; gap: 16px; }
.sec--single .row-copy { max-width: 65ch; }
.service-faq-more { margin-top: 8px; color: var(--ink-2); }
/* Fix 13: readable line length */
.faq { max-width: 68ch; }
.legal p, .legal li, .prose p, .prose li { max-width: 64ch; }
.post-head .eyebrow, .blog-top .eyebrow { text-transform: none; letter-spacing: 0; font-size: 15px; }
.post-head .eyebrow::before, .blog-top .eyebrow::before { display: none; }
/* Fix 14: careers disclaimer as a plain box, not a side stripe */
.apply-disclaimer { padding: 14px 16px; border: 1px solid var(--rule-strong); border-left-width: 1px; border-radius: var(--radius); }
/* Fix 6: blog example texts as text bubbles; plain post meta */
.example-text { max-width: 46ch; padding: 12px 16px; border: 1px solid var(--rule); border-left: 1px solid var(--rule); border-radius: 18px 18px 4px 18px; background: var(--paper-2); }
.example-text figcaption { font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.post-meta { font-family: var(--sans); font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; }
/* Fix 10: flatter calculator results */
#calculator .metric { background: none; border-radius: 0; padding: 10px 0; border-bottom: 1px solid var(--night-rule); }
@media (min-width: 640px) {
  #calculator .metrics { gap: 0; }
  #calculator .metric { padding: 6px 16px; border-bottom: 0; border-left: 1px solid var(--night-rule); }
  #calculator .metric:first-child { padding-left: 0; border-left: 0; }
}
#calculator .compare { padding: 16px 0 0; border: 0; border-top: 1px solid var(--night-rule); border-radius: 0; }
#calculator .compare dd.is-empty { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0; color: var(--night-muted); }
#calculator .compare dd.is-empty { font-family: var(--sans); }
.book-grid--solo .guarantee-full { max-width: 32em; }
.footer-saascubes img, .footer-seolisting img { height: auto; width: 120px; }

/* Photos (simp7): real Unsplash photos, credits in photo-credits.md */
.page-photo, .how-photo { margin: 0; }
.page-photo img, .how-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--rule); }
.page-photo { margin-top: 40px; max-width: 480px; }
/* How it works (simp8): number beside title, equal padding between rules, rule under the last step too */
.how-body { display: grid; gap: 40px; }
.how-photo { max-width: 480px; }
.how-body .steps { grid-template-columns: 1fr; gap: 0; border-bottom: 1.5px solid var(--ink); }
.how-body .steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; row-gap: 4px; align-items: baseline; padding: 24px 0; }
.how-body .steps-n { grid-row: 1; grid-column: 1; display: block; margin: 0; padding: 0; }
.how-body .steps h3 { grid-row: 1; grid-column: 2; margin: 0; }
.how-body .steps p { grid-column: 2; margin: 0; }
@media (min-width: 900px) {
  .how-body { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 72px; align-items: stretch; }
  .how-body .steps li { grid-template-columns: 56px 1fr; padding: 28px 0; }
  .how-photo { position: relative; max-width: none; }
  .how-photo img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  #how-it-works .sec-head { align-items: baseline; }
  #how-it-works .sec-sub { padding-bottom: 0; }
}
@media (min-width: 960px) {
  .page-top-grid--photo { display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 64px; align-items: center; }
  .page-top-grid--photo > :not(.page-photo) { grid-column: 1; }
  .page-top-grid--photo > .page-photo { grid-column: 2; grid-row: 1 / span 3; margin: 0; max-width: none; }
  .page-photo img { aspect-ratio: 4 / 5; }
}

/* Rise-in (simp7) */
html.js.motion main [data-rise] { opacity: 0; transform: translate3d(0, 14px, 0); }
html.js.motion main [data-rise].is-up { opacity: 1; transform: none; transition: opacity 400ms cubic-bezier(0.2, 0.6, 0.3, 1), transform 400ms cubic-bezier(0.2, 0.6, 0.3, 1); }
@media (prefers-reduced-motion: reduce) { html main [data-rise] { opacity: 1 !important; transform: none !important; transition: none !important; } }
@media print { html main [data-rise] { opacity: 1 !important; transform: none !important; } }

/* simp9: one rhythm for heading rows and divider lists (How it works, What you get) */
@media (min-width: 900px) {
  .sec-head { align-items: baseline; }
  .sec-sub { padding-bottom: 0; }
}
.how-body .steps { border-bottom: 1px solid var(--rule); }
.how-body .steps li { border-top: 1px solid var(--rule); }
.ledger-row { padding: 24px 0; }
@media (min-width: 900px) {
  .ledger-row { padding: 28px 0; }
}

/* simp10: founder photo is a 4:5 portrait showing head and chest */
.founder-photo { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; max-width: 360px; }
@media (min-width: 900px) { .founder-photo { max-width: 288px; } }

/* simp9: rise-in a little more visible */
html.js.motion main [data-rise] { transform: translate3d(0, 24px, 0); }
html.js.motion main [data-rise].is-up { transition: opacity 575ms cubic-bezier(0.2, 0.6, 0.3, 1), transform 575ms cubic-bezier(0.2, 0.6, 0.3, 1); }

/* simp11: light-theme details for the always-light phone screen, plus calculator accents.
   The theme toggle stays visible in both modes. */
.sec--book :focus-visible, .book :focus-visible, .post-cta :focus-visible, #calculator .results :focus-visible { outline-color: var(--accent-dark); }
#calculator .results { background: var(--night); }
#calculator .metric .amount.is-recovered, #calculator .compare dd.is-recovered { color: var(--accent-dark); }
html[data-theme="light"] .phone { --white: #FFFFFF; background: #FFFFFF; }
html[data-theme="light"] .msg.out, html[data-theme="light"] .typing.out { background: var(--accent); color: #FFFFFF; }
html[data-theme="light"] .typing.out span { background: #CFE5D6; }
html[data-theme="light"] .msg.in, html[data-theme="light"] .typing { background: #ECECE7; }

/* home-copy-preview (Nov 26, 2026): fuller homepage copy, kept quiet */
.ledger dd, .fit-copy p, .qa-item p, .setup p { text-wrap: pretty; }
.fit { display: grid; gap: 20px; }
.fit-copy { display: grid; gap: 16px; max-width: 34em; }
.fit-copy p { font-size: 19px; line-height: 1.6; color: var(--ink); }
@media (min-width: 900px) { .fit { grid-template-columns: 5fr 6fr; gap: 48px; align-items: baseline; } }
ol.setup { list-style: none; padding: 0; }
.setup h3 { font-family: var(--serif); font-weight: var(--ledger-weight); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.2; margin: 0; display: flex; gap: 14px; align-items: baseline; }
.setup-n { flex: none; font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--accent); }
.setup p { margin: 0; color: var(--ink-2); max-width: 34em; }
.qa { border-bottom: 1px solid var(--rule); max-width: 68ch; }
.qa-item { border-top: 1px solid var(--rule); }
.qa-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; font-family: var(--serif); font-weight: var(--ledger-weight); font-size: clamp(20px, 1.9vw, 24px); line-height: 1.25; color: var(--ink);
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary:hover { color: var(--accent); }
.qa-item summary .icon { flex: none; width: 20px; height: 20px; color: var(--ink-3); transition: transform 160ms ease; }
.qa-item[open] summary .icon { transform: rotate(180deg); }
.qa-item p { padding: 0 0 22px; margin: 0; color: var(--ink-2); max-width: 40em; }

/* mobile-cro-preview (Nov 26, 2026): tighter hero, demo up top, guarantee + calculator + Peter by the booking blocks */
/* Scoped to the homepage hero grid: trade pages put .hero-demo inside .row-grid, where a bare
   grid-area name would create an implicit extra column and squeeze the phone (mobilecro2 fix). */
.hero-grid { grid-template-areas: "top" "demo" "more" "trades"; gap: 28px; }
.hero-grid > .hero-top { grid-area: top; max-width: 660px; }
.hero-grid > .hero-demo { grid-area: demo; }
.hero-grid > .hero-more { grid-area: more; display: grid; gap: 18px; max-width: 560px; }
.hero-grid > .trades { grid-area: trades; }
.cta-row { margin-top: 24px; }
.hero-guarantee { margin: 14px 0 0; display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.hero-guarantee .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.hero-calc { margin: 0; display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
.hero-calc .link-arrow { justify-self: start; font-size: 16px; }
.hero-calc .link-arrow .icon { width: 16px; height: 16px; }
.with-peter { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.with-peter-img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; border: 1px solid var(--rule); background: var(--paper-2); }
.with-peter a { color: var(--ink); font-weight: 600; text-decoration-color: var(--rule-strong); }
.with-peter a:hover { color: var(--accent); }
.trades { border-top: 1px solid var(--rule); padding-top: 20px; }
.trades-label { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.trades-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.trades-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white);
  color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}
.trades-list a:hover { border-color: var(--accent); color: var(--accent); }
.trades-list .btn-arrow-i { width: 16px; height: 16px; color: var(--ink-3); }
.trades-list a:hover .btn-arrow-i { color: var(--accent); transform: translateX(2px); }
.book-side { display: grid; gap: 16px; }
.setup-qa { max-width: none; }
.setup-q { display: flex; gap: 14px; align-items: baseline; }
@media (min-width: 640px) { .trades-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "top demo" "more demo" "trades trades"; column-gap: 72px; row-gap: 28px; align-items: start; }
  .hero-top { align-self: end; }
  .hero-more { align-self: start; }
  .trades { margin-top: 24px; }
}
@media (max-width: 768px) {
  .hero { padding-top: 24px; }
  .hero h1 { margin-bottom: 14px; }
  .hero-grid > .hero-demo { max-width: 320px; }
}
/* Demo is no longer hidden while fonts load, so pin its header lines (zero CLS on font swap). */
.phone-status { height: 26px; line-height: 16px; }
.phone-name { line-height: 24px; min-height: 24px; }
.phone-sub { line-height: 16px; min-height: 16px; }
.demo-note { text-wrap: balance; }
/* Motion only around the demo: the 3 How it works steps keep a light fade. */
html.js.motion main .steps [data-rise] { transform: translate3d(0, 8px, 0); }
html.js.motion main .steps [data-rise].is-up { transition: opacity 320ms ease-out, transform 320ms ease-out; }

/* GA4 live (20261127live2): cookie banner (opt-in analytics) */
.cookie-settings { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; cursor: pointer; }
.cookie-settings:hover { color: var(--accent); }
.cookie-banner {
  position: fixed; z-index: 40; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 460px; padding: 16px 18px; display: grid; gap: 12px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: var(--phone-shadow);
  font-size: 15px; line-height: 1.5;
}
.cookie-banner[hidden] { display: none; }
.cookie-text { margin: 0; color: var(--ink-2); }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-banner .cookie-accept { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.cookie-banner .cookie-accept:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--paper); }
.cookie-banner .cookie-decline { background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); }
.cookie-banner .btn { min-height: 44px; padding-left: 20px; padding-right: 20px; }
.cookie-banner :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 759px) {
  body.has-cookie-banner .sticky { display: none !important; }
  .cookie-banner { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: none; }
}
@media print { .cookie-banner { display: none !important; } }

/* 20261127live2: pin header Blog link + Book button boxes so the web-font swap can't move them (mobile CLS 0). */
.header-nav a { box-sizing: border-box; width: 58px; height: 44px; padding: 0; justify-content: center; white-space: nowrap; }
header .btn-sm { box-sizing: border-box; width: 114px; height: 40px; padding-left: 0; padding-right: 0; justify-content: center; white-space: nowrap; }
.theme-toggle { box-sizing: border-box; width: 40px; height: 40px; flex: none; }
@media (max-width: 420px) {
  .header-nav a { width: 48px; padding: 0; }
  header .btn-sm { width: 92px; padding-left: 0; padding-right: 0; }
}

/* Revenue preview (preview-revenue-2026): simplified calculator results + 60-second example walkthrough. */
#calculator .defaults-note { margin: -8px 0 22px; font-size: 15.5px; color: var(--ink-2); }
#calculator .results-prompt {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--night-text);
  text-wrap: pretty;
}
#calculator .results.is-waiting .lost-month,
#calculator .results.is-waiting .calc-math,
#calculator .results.is-waiting .calc-weeks,
#calculator .results.is-waiting .metrics,
#calculator .results.is-waiting .estimate-note { display: none; }
#calculator .controls input[type="range"][hidden] { display: none; }
#calculator .lost-month {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.1;
  color: var(--night-text);
}
#calculator .calc-math {
  margin: 0 0 8px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--night-text);
  text-wrap: pretty;
}
#calculator .calc-weeks { margin: 0 0 22px; font-size: 14px; color: var(--night-muted); }
#calculator .results .metrics { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) {
  #calculator .results .metrics { grid-template-columns: 1fr 1fr; }
}

#example [data-rise], #calculator [data-rise] { opacity: 1 !important; transform: none !important; }
#example { scroll-margin-top: calc(var(--header-h, 72px) + 20px); padding-top: 12px; }
.page-top-copy:has(.hero-guarantee) { gap: 20px; }
.walkthrough { }
.walkthrough-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.walkthrough .sec-sub { margin-bottom: 8px; }
.walk-note { margin: 0 0 22px; font-size: 15px; color: var(--ink-3); }
.walk-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .walk-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
.walk-step {
  margin: 0;
  padding: 16px 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--white);
  min-width: 0;
}
.walk-n {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.walk-step h3 { margin: 0 0 8px; font-size: 17.5px; }
.walk-step p { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.walk-bubble {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink);
}
.walk-bubble.is-out { border-radius: 16px 16px 4px 16px; }
.walk-bubble.is-in { border-radius: 16px 16px 16px 4px; }
.walk-who { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
#how-it-works .how-example-link { margin: 22px 0 0; font-size: 16.5px; color: var(--ink-2); }
.page-top-copy .hero-guarantee { margin-top: 0; }
.page-top-copy .with-peter { margin: 0; }

/* Comparison page (preview-revenue-2026) */
.compare-table-wrap { overflow-x: auto; margin: 0 0 28px; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
.compare-table th:first-child, .compare-table td:first-child { font-weight: 600; }
.compare-table thead th { font-weight: 600; }
.compare-choose { margin: 0 0 12px; padding: 0; }
.compare-choose li { margin: 0 0 10px; }
@media (max-width: 700px) {
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table tr { border-bottom: 1px solid var(--rule); padding: 14px 0; }
  .compare-table th, .compare-table td { border: 0; padding: 4px 0 8px; }
  .compare-table td::before { content: attr(data-label); display: block; font-weight: 600; margin-bottom: 2px; color: var(--ink-2); }
}
/* Add to styles.css (bump ?v=). Used by generated compare/guide/glossary pages. */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.cmp-table caption { text-align: left; font-weight: 600; padding-bottom: 8px; color: var(--ink-2); }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid rgba(0,0,0,.12); }
.cmp-table thead th { font-weight: 700; border-bottom-width: 2px; }
.cmp-table tbody th { font-weight: 600; width: 28%; }
.tpl-quote { margin: 0; padding: 14px 16px; border-left: 3px solid var(--accent-dark, #8FCBA4); background: rgba(0,0,0,.035); white-space: pre-wrap; font-size: 17px; border-radius: 4px; }
.glossary-list { display: grid; gap: 18px; margin: 0; }
.glossary-list dt { font-weight: 700; color: var(--ink); }
.glossary-list dd { margin: 4px 0 0; }
.sources-list { font-size: 15px; }

@media (max-width: 700px) {
  .cmp-table { min-width: 0; }
  .cmp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; width: 100%; }
  .cmp-table tr { border-bottom: 1px solid rgba(0,0,0,.12); padding: 10px 0; }
  .cmp-table th, .cmp-table td { border: 0; padding: 4px 0 8px; }
}

/* Preferred source: plain deeplink, no Google script. */
.preferred-source-sec { padding: 0 0 8px; }
.preferred-source {
  margin: 8px 0 36px;
  padding: 20px 0 0;
  border-top: 1px solid var(--rule);
  max-width: 34em;
}
.preferred-source p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-3);
}
.preferred-source-link {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
}
.preferred-source-link:hover,
.preferred-source-link:focus-visible {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--ink);
}

/* Labels for stacked comparison tables on phones (used by the 2027 options post). */
@media (max-width: 700px) {
  .cmp-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; }
}


/* Fade-on-scroll off: never hide [data-rise] content, on any page. */
html.js.motion main [data-rise],
html.js.motion main [data-rise].is-up {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* 20261129perf1: header "Book a call" keeps its 40px look but gets a 44px-tall touch target on phones. */
header .btn-sm { position: relative; }
header .btn-sm::before { content: ""; position: absolute; left: 0; right: 0; top: -4px; bottom: -4px; }

/* Dark palette pass (Dec 2, 2026): keep the light cookie banner exactly as it was before the theme ship. */
html[data-theme="light"] .cookie-banner { box-shadow: 0 10px 30px rgba(23, 25, 27, 0.10), 0 1px 3px rgba(23, 25, 27, 0.06); }
html[data-theme="light"] .cookie-banner .cookie-accept { color: #FFFFFF; }
html[data-theme="light"] .cookie-banner .cookie-accept:hover { background: #17482D; border-color: #17482D; color: #FFFFFF; }
/* Dark-only: table rules and template quote tint were black-alpha, which disappears on near-black. */
html:not([data-theme="light"]) .cmp-table th, html:not([data-theme="light"]) .cmp-table td { border-bottom-color: var(--rule); }
html:not([data-theme="light"]) .tpl-quote { background: var(--paper-2); }
@media (max-width: 700px) { html:not([data-theme="light"]) .cmp-table tr { border-bottom-color: var(--rule); } }

/* Design audit (Dec 2, 2026). */
/* Header: Blog sits flush right in its fixed box, so the gap Blog to sun equals sun to Book a call at every width. */
.header-nav a { justify-content: flex-end; }
/* Tap targets on phones and tablets: 44px rows for header logo, footer links and blog filters. */
header .logo { display: flex; align-items: center; min-height: 44px; }
@media (max-width: 960px) {
  .footer-col a { padding: 10px 0; }
  .footer-logo { min-height: 44px; }
  .blog-filter { min-height: 44px; height: 44px; }
}
/* Inner-page H1s were 76px and ran to 4-6 lines on long titles; cap them closer to the post and legal scale. The home hero keeps its size. */
.page-top h1 { font-size: clamp(36px, calc(3vw + 18px), 60px); line-height: 1.04; }
/* Home: Questions accordion runs the same width as Getting set up right above it (was capped at 68ch, so the two lists had different right edges). */
.qa { max-width: none; }
/* Home: six trade tiles fill two even rows of three instead of a row of four plus two empty cells. */
@media (min-width: 640px) { .trades-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Hero phone: room under the last status line so the Replay button no longer sits on top of "Details sent". */
html.motion .phone[data-animate="true"] .phone-thread { padding-bottom: 58px; }

/* Held fixes (Dec 2, 2026), owner approved. */
/* /about: the body continues the hero, so drop the stacked page-top + section padding that left a large empty band. */
.page-top--continue { padding-bottom: clamp(16px, 3vw, 28px); }
.sec--continue { padding-top: clamp(8px, 2vw, 16px); }
/* Home "What you get": make the two service links 44px tall without changing the type or the row grid. */
.ledger dt a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
}
/* Calculator: number boxes were 132px, tight for values like 2500 or 50000 plus the $ or % affix. */
#calculator .number-box { width: 180px; max-width: 100%; }
