/* Every ink page on collinmallery.com: the homepage (with home.css on top), the industry pages, Terms,
   Privacy, Planning Center, 404/410 and /marketing (with mk.css on top). Fonts, colors, base, the header,
   menu and footer (routes/site-chrome.ts), and the secondary pages (routes/landing.ts). /start and the call
   and deposit pages stay on landing.css. High Desert on ink, 2026. Mobile breakpoint 860px. */
@font-face { font-family: "Anton"; src: url("/_cm/fonts/anton.woff2?v=d0fa07ff63") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/_cm/fonts/instrument-sans.woff2?v=2ee17598a9") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/_cm/fonts/jetbrains-mono.woff2?v=83c005d49d") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --sand-50: #fbf7f0; --sand-100: #f3ece0; --sand-200: #efe6d7; --sand-300: #e8dfd0; --sand-500: #d9cfbf; --sand-600: #cbbfad;
  --ink-900: #1f1a16; --ink-800: #2c2621; --ink-600: #5a5047; --ink-500: #7a6f63; --ink-400: #a39888; --ink-300: #b8ad9f; --ink-200: #e4dccf;
  --rust-600: #c2461f; --rust-400: #e0835f; --sage-600: #5f6e53; --sage-400: #a9b89a; --sage-100: #e3e7da;
  --ochre-100: #f6ead2; --ochre-ink: #7a520c; --line: rgba(31,26,22,.15);
  --display: "Anton", "Oswald", Impact, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4.4vw, 64px);
  --section-y: clamp(72px, 10vw, 120px);
  --ease: cubic-bezier(.2,.7,.3,1);
  --nav-h: 76px;
  --glass: rgba(44,38,33,.5);
}
@media (max-width: 860px) { :root { --nav-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
/* The page scrollbar in the page's own colors; the gutter is kept even while scrolling is held, so nothing moves. */
html { background: var(--ink-900); scrollbar-width: thin; scrollbar-color: #c4532d #1f1a16; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #1f1a16; }
::-webkit-scrollbar-thumb { background: #c4532d; border-radius: 10px; border: 3px solid #1f1a16; }
::-webkit-scrollbar-thumb:hover { background: #e07a52; }
::-webkit-scrollbar-corner { background: #1f1a16; }
body { margin: 0; background: var(--ink-900); color: var(--sand-100); font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--rust-400); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rust-400); outline-offset: 2px; }
[hidden] { display: none !important; }
.h-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--sand-100); color: var(--ink-900); font-weight: 600; }
.h-skip:focus { left: 8px; position: fixed; }

/* ---------- Bits ---------- */
.h-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.h-dot--open { background: var(--sage-600); }
.h-dot--live { background: var(--sage-400); }
.h-eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; font: 600 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.h-eyebrow--sage { color: var(--sage-400); }
.h-eyebrow--rust { color: var(--rust-400); }
.h-eyebrow--rust-dark { color: var(--rust-600); }
.h-k { font: 600 11px var(--mono); letter-spacing: .14em; color: var(--ink-300); }
.h-k--sand { color: var(--sand-300); }
.h-k--faint { font-weight: 500; letter-spacing: 0; color: var(--ink-400); }
.h-k--gap { margin-bottom: 8px; }

.h-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; font-family: var(--body); font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: filter .15s, background .15s; }
.h-btn--xl { padding: 22px 40px; font-size: 20px; }
.h-btn--lg { padding: 14px 22px; font-size: 15px; }
.h-btn--md { height: 42px; padding: 0 20px; font-size: 14.5px; }
.h-btn--sm { height: 34px; padding: 0 14px; font-size: 13px; }
.h-btn--xs { height: 28px; padding: 0 11px; font-size: 12px; }
.h-btn--rust { background: var(--rust-600); color: var(--sand-50); }
.h-btn--light { background: var(--sand-50); color: var(--ink-900); }
.h-btn--outline-light { background: transparent; color: var(--sand-100); box-shadow: inset 0 0 0 1.5px var(--ink-300); }
.h-btn--ghost { background: transparent; color: var(--ink-600); }
.h-btn--rust:hover { color: var(--sand-50); filter: brightness(.92); }
.h-btn--light:hover { color: var(--ink-900); background: var(--sand-200); }
.h-btn--outline-light:hover { color: var(--sand-100); background: rgba(243,236,224,.1); }
.h-btn--ghost:hover { background: rgba(31,26,22,.06); }
.h-btn[data-block] { width: 100%; }

.h-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; font: 600 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.h-tag--rust { background: var(--rust-600); color: var(--sand-50); }
.h-tag--outline { background: transparent; color: var(--ink-200); box-shadow: inset 0 0 0 1px var(--ink-400); }
.h-tag--ochre { background: var(--ochre-100); color: var(--ochre-ink); }
.h-tag--sage { background: var(--sage-100); color: var(--sage-600); }

/* ---------- Header ---------- */
.h-top { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; background: rgba(31,26,22,0); }
.h-top.is-solid { background: rgba(31,26,22,.96); box-shadow: 0 1px 0 rgba(243,236,224,.12); }
/* A soft dark wash under the clear header, so its links and status read over bright towers. */
.h-top::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(22,18,15,.8) 0%, rgba(22,18,15,.45) 60%, rgba(22,18,15,0) 100%); transition: opacity .25s; }
.h-top.is-solid::before { opacity: 0; }
.h-top:not(.is-solid) .h-links, .h-top:not(.is-solid) .h-status { text-shadow: 0 1px 10px rgba(0,0,0,.75), 0 0 2px rgba(0,0,0,.6); }
.h-nav { height: var(--nav-h); padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.h-logo { display: flex; align-items: center; justify-self: start; }
.h-logo img { height: 28px; width: auto; display: block; }
.h-links { display: flex; gap: clamp(14px, 2vw, 32px); white-space: nowrap; font: 600 11.5px var(--mono); letter-spacing: clamp(.06em, .9vw, .14em); text-transform: uppercase; color: var(--ink-200); }
.h-acts { justify-self: end; display: flex; align-items: center; gap: 20px; }
.h-status { display: flex; align-items: center; gap: 8px; font: 600 11px var(--mono); letter-spacing: .12em; color: var(--ink-300); white-space: nowrap; }
.h-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(243,236,224,.1); box-shadow: inset 0 0 0 1px rgba(243,236,224,.18); flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.h-burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--sand-100); transition: transform .25s; }
.h-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.h-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.h-menu { position: fixed; inset: 64px 0 0; z-index: 49; padding: 28px 20px 32px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(31,26,22,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); animation: hPop .3s var(--ease); overflow-y: auto; }
.h-menu__links { display: flex; flex-direction: column; }
.h-menu__links a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(243,236,224,.12); font-family: var(--display); text-transform: uppercase; font-size: 40px; line-height: 1; color: var(--sand-100); }
.h-menu__n { font: 600 11px var(--mono); letter-spacing: .12em; color: var(--ink-400); }
.h-menu__foot { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; }
.h-menu__status { display: flex; align-items: center; gap: 8px; font: 600 11px var(--mono); letter-spacing: .12em; color: var(--ink-300); }
@media (max-width: 1100px) { .h-status { display: none; } }
@media (max-width: 860px) {
  .h-nav { grid-template-columns: auto 1fr; }
  .h-links { display: none; }
  .h-burger { display: flex; }
  .h-acts { gap: 12px; }
  .h-acts .h-btn--md { height: 34px; padding: 0 14px; font-size: 13px; }
}

html.h-lock { overflow: hidden; }
.h-menu__links a:hover { color: var(--rust-400); }

/* ---------- Footer (every ink page) ---------- */
.h-foot { padding: clamp(56px, 8vw, 96px) var(--gutter) 32px; border-top: 1px solid rgba(243,236,224,.12); display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); }
.h-foot__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.h-foot__brand { display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: var(--ink-200); }
.h-foot__brand img { height: 32px; width: auto; }
.h-foot__cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px 48px; padding-top: 28px; border-top: 1.5px solid rgba(243,236,224,.8); }
.h-foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.h-foot__k { margin-bottom: 4px; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-300); }
.h-foot__seo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 32px; }
.h-foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-300); }
.h-foot__status { display: flex; align-items: center; gap: 8px; }
@media (max-width: 860px) {
  .h-foot__cols { grid-template-columns: 1fr; }
  .h-foot__seo { grid-template-columns: 1fr; }
}

/* ---------- Secondary pages: shared pieces ---------- */
.s-eyebrow { margin: 0; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rust-400); }
.s-ghost { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(243,236,224,.5); font-weight: 600; font-size: 16px; }
.s-ghost:hover { background: rgba(243,236,224,.08); color: var(--sand-100); }
.s-cta-lg.h-btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
.s-row { display: flex; gap: 12px; flex-wrap: wrap; }
.s-h2 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .9; text-wrap: balance; }

/* ---------- Industry page hero ---------- */
.s-hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--nav-h)); padding: 124px var(--gutter) clamp(48px, 7vw, 96px); min-height: min(100vh, 940px); display: flex; flex-direction: column; justify-content: center; }
.s-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.s-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,26,22,.95) 0%, rgba(31,26,22,.86) 42%, rgba(31,26,22,.5) 72%, rgba(31,26,22,.62) 100%), linear-gradient(180deg, rgba(31,26,22,.92) 0%, rgba(31,26,22,.4) 16%, rgba(31,26,22,0) 30%, rgba(31,26,22,0) 70%, #1f1a16 100%); }
.s-hero__glow { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 60% at 74% 55%, rgba(196,84,46,.16), rgba(196,84,46,0) 70%); }
.s-hero__in { position: relative; width: 100%; max-width: 1480px; margin: 0 auto; }
.s-crumbs ol { list-style: none; margin: 0 0 clamp(28px, 4vw, 48px); padding: 0; display: flex; gap: 10px; align-items: center; font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-300); }
.s-crumbs li + li::before { content: "/"; margin-right: 10px; }
.s-crumbs [aria-current] { color: var(--sand-100); }
.s-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.s-hero--photo .s-hero__grid { grid-template-columns: minmax(0, 1fr) 380px; }
.s-hero__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.s-h1 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 6vw, 100px); line-height: .88; letter-spacing: -.005em; text-wrap: balance; }
.s-h1 span { color: var(--rust-400); }
.s-lead { margin: 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-200); max-width: 680px; text-wrap: pretty; }
.s-meta { margin: 0; font: 600 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-300); }
.s-meta span { color: var(--sand-100); }
.s-proof { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px 24px; flex-wrap: wrap; font: 600 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-200); }
.s-proof li { display: flex; align-items: center; gap: 8px; }
.s-proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage-400); }

/* The Growth plan card (pages without an example site). */
.s-plan { padding: 28px; border-radius: 24px; background: var(--sand-50); color: var(--ink-900); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); }
.s-plan__k { margin: 0; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); }
.s-plan__price { margin: 0; display: flex; align-items: baseline; gap: 6px; font-size: 18px; font-weight: 600; }
.s-plan__price span { font-family: var(--display); font-weight: 400; font-size: 84px; line-height: .85; }
.s-plan__setup { margin: 0; font-size: 15px; color: var(--ink-600); }
.s-plan .h-btn { width: 100%; height: 52px; font-size: 16px; }
.s-plan__fine { margin: 0; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); text-align: center; }

/* The example site on a laptop (with its phone in front) — a link to the live example. */
.s-devices { position: relative; display: block; width: 100%; max-width: 860px; justify-self: center; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.s-devices--phone { padding: 0 11% 7% 0; }
.s-devices:hover { transform: translateY(-6px); }
.s-laptop__lid { background: #14110f; border-radius: 16px 16px 0 0; padding: 10px 10px 0; box-shadow: 0 0 0 1px rgba(243,236,224,.14); }
.s-laptop__bar { height: 26px; border-radius: 6px 6px 0 0; background: #ece4d6; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.s-laptop__bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9bead; flex: none; }
.s-laptop__host { margin-left: 10px; flex: 0 1 50%; min-width: 0; height: 16px; border-radius: 999px; background: #faf6ef; padding: 0 10px; display: flex; align-items: center; font-size: 10px; color: #8a7e6e; white-space: nowrap; overflow: hidden; }
.s-laptop__lid img, .s-shot-desk { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #2c2621; }
.s-laptop__base { position: relative; height: 14px; margin: 0 -5%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #ebe3d5, #b9ae9d); box-shadow: 0 34px 60px -22px rgba(0,0,0,.8); }
.s-laptop__base::after { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 5px; border-radius: 0 0 6px 6px; background: #a49a8a; }
.s-phone { background: #14110f; border-radius: 28px; padding: 6px; box-shadow: 0 0 0 1.5px #3d352e, 0 34px 60px -18px rgba(0,0,0,.8); }
.s-phone__screen { border-radius: 22px; overflow: hidden; background: #0b0908; display: flex; flex-direction: column; }
.s-phone__notch { height: 22px; display: flex; align-items: center; justify-content: center; flex: none; }
.s-phone__notch::after { content: ""; width: 34%; height: 12px; border-radius: 999px; background: #000; }
.s-phone img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 866; object-fit: cover; object-position: top; background: #2c2621; }
.s-devices__phone { position: absolute; right: 0; bottom: 0; width: 25%; }
/* Phones: just the phone, tilted, with its address. */
.s-mobile { position: relative; display: none; justify-content: center; padding: 8px 0 12px; }
.s-mobile::before { content: ""; position: absolute; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(196,84,46,.22), rgba(196,84,46,0) 62%); pointer-events: none; }
.s-mobile__tilt { position: relative; width: min(66vw, 270px); transform: rotate(-4deg); }
.s-mobile .s-phone { border-radius: 36px; }
.s-mobile .s-phone__screen { border-radius: 30px; }
.s-mobile__tag { position: absolute; left: -14px; bottom: 18%; transform: rotate(4deg); padding: 7px 12px; border-radius: 999px; background: var(--sand-50); color: var(--ink-900); font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 12px 24px -10px rgba(0,0,0,.6); white-space: nowrap; }

.s-summary { margin: clamp(40px, 6vw, 72px) var(--gutter) 0; padding-top: 24px; border-top: 1.5px solid rgba(243,236,224,.8); font-size: clamp(19px, 2vw, 28px); line-height: 1.4; max-width: 1100px; text-wrap: pretty; }
.s-summary strong { font-weight: 700; color: var(--rust-400); }

/* ---------- Industry page body ---------- */
.s-sec { padding: var(--section-y) var(--gutter) 0; }
.s-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.s-head .s-h2 { font-size: clamp(38px, 5.4vw, 80px); max-width: 900px; }
.s-head p { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.55; color: var(--ink-200); }
.s-needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.s-needs--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-needs li { padding: 24px; border-radius: 22px; background: rgba(243,236,224,.06); box-shadow: inset 0 0 0 1px rgba(243,236,224,.1); display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.s-needs__n { font: 600 11px var(--mono); letter-spacing: .14em; color: var(--rust-400); }
.s-needs h3 { margin: auto 0 0; font-size: 21px; line-height: 1.2; font-weight: 700; }
.s-needs p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-200); }

.s-example { margin: var(--section-y) var(--gutter) 0; padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: var(--sand-100); color: var(--ink-900); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.s-example__t { display: flex; flex-direction: column; gap: 18px; }
.s-example__t .s-eyebrow { font-size: 11px; color: var(--rust-600); }
.s-example__t .s-h2 { font-size: clamp(40px, 5vw, 72px); }
.s-example__t p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-600); max-width: 480px; }
.s-example__t a.h-btn { align-self: flex-start; height: 52px; padding: 0 26px; font-size: 16px; background: var(--ink-900); color: var(--sand-100); }
.s-example__t a.h-btn:hover { color: var(--sand-100); filter: brightness(1.2); }
.s-example__shots { position: relative; display: block; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.s-example__shots--phone { padding: 0 8% 10% 0; }
.s-example__shots:hover { transform: translateY(-4px); }
.s-example__shots picture { display: block; }
.s-example__shots .s-shot-desk { border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(31,26,22,.55); }
.s-example__phone { position: absolute; right: 0; bottom: 0; width: 26%; height: auto; border-radius: 18px; border: 5px solid var(--ink-900); box-shadow: 0 24px 40px -20px rgba(31,26,22,.6); }

.s-body { padding: var(--section-y) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.s-article { min-width: 0; max-width: 760px; }
.s-article section { padding-bottom: 56px; }
.s-article section:last-child { padding-bottom: 0; }
.s-article h2 { margin: 0 0 18px; scroll-margin-top: 96px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 3.6vw, 52px); line-height: .92; }
.s-article p { margin: 0 0 16px; font-size: 17.5px; line-height: 1.65; color: var(--ink-200); text-wrap: pretty; }
.s-article p strong { color: var(--sand-100); font-weight: 700; }
.s-article p a { color: var(--rust-400); text-decoration: underline; text-underline-offset: 3px; }
.s-points { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(243,236,224,.14); }
.s-points li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid rgba(243,236,224,.14); font-size: 17px; line-height: 1.55; color: var(--sand-100); }
.s-points li span:first-child { font: 600 11px var(--mono); letter-spacing: .1em; color: var(--rust-400); padding-top: 5px; }
.s-faqs { border-top: 1.5px solid rgba(243,236,224,.8); }
.s-faq { border-bottom: 1px solid rgba(243,236,224,.14); }
.s-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary:hover { color: var(--rust-400); }
.s-faq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; display: flex; align-items: center; justify-content: center; font: normal 500 16px var(--mono); transition: transform .2s; }
.s-faq[open] summary i { transform: rotate(45deg); }
.s-faq p { margin: 0; padding: 0 44px 22px 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-200); }

/* "On this page": sticky beside the article on wide screens, a fold-out above it on narrower ones. */
.s-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.s-toc { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1.5px solid rgba(243,236,224,.8); }
.s-toc__k { margin: 0 0 10px; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-300); }
.s-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.s-toc li { counter-increment: toc; }
.s-toc a { display: grid; grid-template-columns: 28px 1fr; padding: 7px 0; font-size: 15px; line-height: 1.35; color: var(--ink-200); }
.s-toc a::before { content: counter(toc, decimal-leading-zero); font: 600 11px var(--mono); color: var(--ink-300); padding-top: 2px; }
.s-toc a:hover { color: var(--rust-400); }
.s-side .h-btn { height: 52px; font-size: 16px; }
.s-fold { display: none; border-top: 1.5px solid rgba(243,236,224,.8); border-bottom: 1px solid rgba(243,236,224,.14); }
.s-fold summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font: 600 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.s-fold summary::-webkit-details-marker { display: none; }
.s-fold summary i { font-style: normal; transition: transform .2s; }
.s-fold[open] summary i { transform: rotate(45deg); }
.s-fold ol { list-style: none; margin: 0; padding: 0 0 12px; display: flex; flex-direction: column; }
.s-fold a { display: block; padding: 9px 0; font-size: 16px; color: var(--ink-200); }

.s-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.s-related li { display: flex; }
.s-related li a { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: 18px; background: rgba(243,236,224,.06); box-shadow: inset 0 0 0 1px rgba(243,236,224,.1); transition: background .15s; }
.s-related li a:hover { background: rgba(243,236,224,.11); color: var(--sand-100); }
.s-related__k { display: flex; justify-content: space-between; font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--rust-400); }
.s-related strong { font-size: 17px; line-height: 1.3; font-weight: 600; }
.s-related .s-h2 { margin-bottom: clamp(24px, 3vw, 40px); font-size: clamp(36px, 4.6vw, 68px); }

.s-end { margin-top: var(--section-y); padding: var(--section-y) var(--gutter); background: var(--rust-600); color: var(--sand-50); display: flex; flex-direction: column; gap: 28px; }
.s-end .s-h2 { font-size: clamp(52px, 7.6vw, 120px); line-height: .86; max-width: 1100px; }
.s-end__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.s-end__row p { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; max-width: 560px; }

@media (max-width: 1099px) {
  .s-needs, .s-needs--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-body { grid-template-columns: 1fr; }
  .s-side { display: none; }
  .s-fold { display: block; margin-bottom: 40px; }
}
@media (max-width: 999px) {
  .s-hero__grid, .s-hero--photo .s-hero__grid, .s-example { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .s-hero { padding-top: 92px; min-height: 0; }
  .s-hero__scrim { background: linear-gradient(180deg, rgba(31,26,22,.78) 0%, rgba(31,26,22,.88) 45%, #1f1a16 100%); }
  .s-meta { display: none; }
  .s-proof--ex { display: none; }
  .s-needs, .s-needs--6 { grid-template-columns: 1fr; }
  .s-devices--phone { display: none; }
  .s-mobile { display: flex; }
}

/* ---------- Terms, Privacy, Planning Center ---------- */
.d-head { padding: 72px var(--gutter) clamp(40px, 6vw, 72px); border-bottom: 1px solid rgba(243,236,224,.12); }
.d-head .s-eyebrow { margin-bottom: 20px; }
.d-title { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(64px, 11vw, 176px); line-height: .84; overflow-wrap: anywhere; }
.d-meta { margin: 24px 0 0; font: 600 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-300); }
.d-body { padding: clamp(40px, 6vw, 72px) var(--gutter) var(--section-y); display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.d-toc { position: sticky; top: 100px; display: flex; flex-direction: column; padding-top: 16px; border-top: 1.5px solid rgba(243,236,224,.8); max-height: calc(100vh - 120px); overflow-y: auto; }
.d-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.d-toc a { display: block; padding: 6px 0; font-size: 14.5px; line-height: 1.35; color: var(--ink-200); }
.d-toc a:hover { color: var(--rust-400); }
.d-body .s-fold { grid-column: 1 / -1; }
.d-prose { min-width: 0; max-width: 760px; }
.d-prose h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 44px; line-height: .92; margin: 56px 0 18px; color: var(--sand-100); scroll-margin-top: 96px; }
.d-prose > h2:first-child { margin-top: 0; }
.d-prose h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 28px 0 8px; color: var(--sand-100); }
.d-prose p { font-size: 17.5px; line-height: 1.65; margin: 0 0 16px; color: var(--ink-200); text-wrap: pretty; scroll-margin-top: 96px; }
.d-prose ul, .d-prose ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-200); }
.d-prose li { font-size: 17px; line-height: 1.6; margin: 0 0 8px; }
.d-prose strong { color: var(--sand-100); font-weight: 600; }
.d-prose a { color: var(--rust-400); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.d-prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; display: block; overflow-x: auto; }
.d-prose th, .d-prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(243,236,224,.14); vertical-align: top; color: var(--ink-200); }
.d-prose th { color: var(--sand-100); font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.d-prose code { font-family: var(--mono); font-size: .9em; }
@media (max-width: 1099px) {
  .d-body { grid-template-columns: 1fr; }
  .d-toc { display: none; }
  .d-body .s-fold { display: block; }
}
@media (max-width: 860px) {
  .d-head { padding-top: 48px; }
  .d-prose h2 { font-size: 32px; }
  .d-prose p { font-size: 16.5px; }
  .d-prose li { font-size: 16.5px; }
}

/* ---------- 404 / 410 ---------- */
.x-miss { position: relative; overflow: hidden; min-height: calc(100vh - var(--nav-h)); padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.x-miss__code { position: absolute; right: -2vw; bottom: -6vw; font-family: var(--display); font-size: clamp(220px, 42vw, 640px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(243,236,224,.12); pointer-events: none; -webkit-user-select: none; user-select: none; }
.x-miss__k { position: relative; margin: 0; display: flex; align-items: center; gap: 10px; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rust-400); }
.x-miss__k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rust-400); }
.x-miss h1 { position: relative; margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(56px, 9vw, 150px); line-height: .86; max-width: 1000px; }
.x-miss p:not(.x-miss__k) { position: relative; margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-200); }
.x-miss p a { color: var(--rust-400); text-decoration: underline; text-underline-offset: 3px; }

@keyframes hPop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .h-menu { animation: none; }
  .s-devices, .s-example__shots, .s-faq summary i, .s-fold summary i { transition: none; }
  .s-devices:hover, .s-example__shots:hover { transform: none; }
}
