/* Montoya Marketing: shared styles for every page.
   Brand tokens and components come from the Results.html concept. Mobile first; wider screens add on below. */

:root {
  --ink: #15181D;
  --bone: #F4F2ED;
  --paper: #FBFAF7;
  --brass: #A87B22;
  --brass-text: #7F5C14;
  --brass-on-ink: #C9A04A;
  --brass-tint: #F6EEDC;
  --slate: #4B5763;
  --slate-on-ink: #A3ACB5;
  --muted-mark: #9AA3AC;
  --rule: #D3CCBD;
  --rule-on-ink: #2F353D;
  /* Page surfaces: warm sand instead of near-white, so the page is easy on the eyes */
  --sand: #E8E2D6;
  --card: #F5F2EB;
  --inset: #EEE9DF;
  --accent: #9A701C; /* brass, a hair deeper so headline words stay readable on sand */
  /* Soft glows (gold on dark, warm on sand) for buttons and picture cards */
  --glow-btn: 0 0 0 1px rgba(201, 160, 74, 0.35), 0 8px 28px -6px rgba(201, 160, 74, 0.55);
  --glow-btn-hover: 0 0 0 1px rgba(214, 175, 92, 0.55), 0 10px 38px -4px rgba(201, 160, 74, 0.75);
  --glow-ink-btn: 0 10px 26px -10px rgba(168, 123, 34, 0.65), 0 2px 6px -2px rgba(21, 24, 29, 0.35);
  --glow-ink-btn-hover: 0 14px 34px -10px rgba(168, 123, 34, 0.8), 0 2px 6px -2px rgba(21, 24, 29, 0.35);
  --glow-dark-card: 0 0 0 1px rgba(201, 160, 74, 0.2), 0 0 70px -12px rgba(201, 160, 74, 0.32), 0 40px 80px -30px rgba(0, 0, 0, 0.75);
  --glow-card: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 28px 56px -30px rgba(122, 92, 20, 0.5), 0 2px 8px -4px rgba(21, 24, 29, 0.14);
  --lift: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 14px 30px -24px rgba(122, 92, 20, 0.45);
  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --gutter: 20px;
  --section: clamp(64px, 9vw, 128px);
  --radius: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* Logo colors (light version); dark areas swap these */
  --logo-m: #15181D;
  --logo-pin: #A87B22;
  --logo-word: #15181D;
  --logo-tag: #4B5763;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
svg { display: block; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.6vw + 1rem, 4.75rem); line-height: 1; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 3.2vw + 1.1rem, 3.25rem); line-height: 1.06; letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
/* One italic accent per headline: Space Grotesk has no italic, so it switches to Plex Sans Italic */
h1 em, h2 em { font-family: var(--sans); font-style: italic; font-weight: 500; color: var(--accent); letter-spacing: -0.02em; padding-right: 0.04em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 88px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.label { font: 500 0.75rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); display: flex; align-items: center; gap: 12px; }
.label::after { content: ""; height: 1px; width: 32px; background: currentColor; opacity: 0.5; }
.meta { font: 500 0.72rem/1.35 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.lede { text-wrap: pretty; font-size: clamp(1.08rem, 0.5vw + 1rem, 1.25rem); line-height: 1.5; color: var(--slate); max-width: 36em; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bone); padding: 12px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* Spanish visitors: keep the page blank for a beat until the Spanish text is in (falls back to visible after 1.5s) */
.es-wait body { opacity: 0; animation: mm-show 1ms 1.5s forwards; }
@keyframes mm-show { to { opacity: 1; } }

/* Motion: things fade up the first time they scroll into view (only when JS runs) */
[data-reveal] { transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js [data-reveal]:not(.in) { opacity: 0; transform: translateY(18px); }

/* ---------- Buttons: the same pair everywhere they appear ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 999px; font: 600 1.02rem/1 var(--sans); text-decoration: none; border: 1.5px solid var(--ink); white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, box-shadow .25s, transform .15s; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: var(--bone); box-shadow: var(--glow-ink-btn); }
.btn-primary:hover { background: #2A2F37; box-shadow: var(--glow-ink-btn-hover); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.btn-sm { flex: none; min-height: 44px; padding: 0 16px; font-size: 0.95rem; gap: 8px; }
.btn-sm svg { width: 17px; height: 17px; }
.reach { font-size: 0.92rem; color: var(--slate); }
.reach a { font: 600 0.92rem var(--mono); color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.more-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--ink); }
.more-link span { transition: transform .2s var(--ease); }
.more-link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.top { position: relative; z-index: 30; border-bottom: 1px solid var(--rule-on-ink); transition: box-shadow .3s; }
.top .wrap { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.home { display: block; margin-right: auto; padding-block: 11px; border-radius: 6px; }
.logo { width: min(220px, calc(100vw - 2 * var(--gutter) - 162px)); height: auto; aspect-ratio: 385 / 56; }
.lang { display: flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px; gap: 2px; flex: none; }
.lang[hidden] { display: none; }
.lang button { all: unset; position: relative; cursor: pointer; font: 600 0.78rem/1 var(--mono); letter-spacing: 0.06em; min-width: 42px; height: 34px; display: grid; place-items: center; border-radius: 999px; color: var(--slate); -webkit-tap-highlight-color: transparent; }
.lang button::after { content: ""; position: absolute; inset: -6px -2px; } /* 46×46 tap area around a 34px pill */
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.lang button:focus-visible { outline: 3px solid var(--brass-on-ink); outline-offset: 2px; }
.on-ink .lang { border-color: rgba(244, 242, 237, 0.55); }
.on-ink .lang button { color: var(--slate-on-ink); }
.on-ink .lang button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.top-nav { display: none; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; color: var(--slate-on-ink); text-decoration: none; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--bone); }
.top-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brass-on-ink); text-decoration-thickness: 2px; text-underline-offset: 7px; }
/* Phones: the header text button is an icon; the hero buttons and the bottom bar carry the words */
.top .btn-sm { width: 44px; padding: 0; }
.top .btn-sm .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-block: 28px 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 80% 40% at 50% 78%, rgba(201, 160, 74, 0.16), transparent 70%); }
.hero-grid { display: grid; gap: 44px; }
.hero-copy { display: grid; gap: 20px; align-content: start; }
.hero .label::after { display: none; }
.hero .label svg { width: 11px; height: 18px; color: var(--brass-on-ink); flex: none; }
.hero h1 span { display: block; }
.hero-pricing h1 { font-size: clamp(2.2rem, 5vw + 1rem, 4.25rem); }
.hero-pricing .hero-copy { max-width: 780px; }
.hero .report { display: none; } /* the sample report only shows beside the pricing hero on wide screens */
.hero .actions { margin-top: 4px; }
.hero .reach { margin-top: -6px; }

/* Hero card: a live sketch of a map search where your business climbs to the top */
.pack { position: relative; color: var(--ink); background: var(--paper); border: 1px solid rgba(201, 160, 74, 0.3); border-radius: var(--radius); overflow: hidden; box-shadow: var(--glow-dark-card); width: 100%; max-width: 460px; justify-self: center; }
.pack-search { display: flex; align-items: center; gap: 10px; margin: 14px; padding: 12px 16px; border: 1px solid #DAD6CC; border-radius: 999px; background: #fff; font-size: 0.95rem; min-height: 46px; overflow: hidden; }
.pack-search svg { width: 16px; height: 16px; color: var(--slate); flex: none; }
.q { white-space: nowrap; }
.caret { width: 1.5px; height: 1.15em; background: var(--ink); margin-left: -8px; flex: none; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pack-map { position: relative; height: 132px; background-color: #ECEAE3; background-image: linear-gradient(90deg, transparent 47%, #fff 47%, #fff 50%, transparent 50%), linear-gradient(0deg, transparent 58%, #fff 58%, #fff 61%, transparent 61%), linear-gradient(22deg, transparent 30%, #F7F5EF 30%, #F7F5EF 32.5%, transparent 32.5%); border-block: 1px solid #DAD6CC; }
.pack-map > .pin { position: absolute; width: 18px; height: 30px; color: var(--muted-mark); }
.pin { transform-origin: 50% 100%; }
.pin.drop { animation: drop .6s cubic-bezier(.3, 1.6, .5, 1) var(--d, 0ms) both; }
@keyframes drop { from { transform: translateY(-26px) scale(.8); opacity: 0; } }
.you-pin { position: absolute; width: 30px; height: 50px; }
.you-pin .pin { width: 30px; height: 50px; color: var(--brass); position: relative; z-index: 1; }
.ping { position: absolute; left: 50%; bottom: -5px; width: 38px; height: 13px; margin-left: -19px; border: 2px solid var(--brass); border-radius: 50%; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.toast { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; background: var(--ink); color: var(--bone); font: 600 0.8rem/1 var(--sans); padding: 10px 14px; border-radius: 999px; box-shadow: 0 10px 24px -12px rgba(21, 24, 29, .7); opacity: 0; transform: translateY(10px) scale(.95); transition: opacity .35s, transform .45s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: none; }
.toast svg { width: 14px; height: 14px; color: var(--brass-on-ink); }
.toast.show svg { animation: ring .9s ease-in-out 2; }
@keyframes ring { 20% { transform: rotate(-16deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-10deg); } 80% { transform: rotate(6deg); } }
.pack-list { --row: 66px; position: relative; height: calc(var(--row) * 3); }
.pack-list li { position: absolute; inset: 0 0 auto 0; height: var(--row); display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 0 16px; background: var(--paper); border-bottom: 1px solid #E4E0D7; transform: translateY(calc(var(--pos) * 100%)); transition: transform .85s var(--ease), background-color .4s; }
.pack-list.snap li { transition: none; }
.pack-list li .pin { width: 14px; height: 23px; color: var(--muted-mark); justify-self: center; }
.pack-list li.you { background: var(--brass-tint); z-index: 2; }
.pack-list li.you .pin { width: 18px; height: 30px; color: var(--brass); }
.pack-list b { display: block; font: 600 1rem/1.3 var(--display); }
.pack-list small { color: var(--slate); font-size: 0.85rem; }
.pk-line { display: block; height: 9px; border-radius: 9px; background: #E3E0D8; }
.pk-line + .pk-line { margin-top: 8px; height: 7px; }
.pk-call { font: 600 0.8rem/1 var(--sans); background: var(--ink); color: var(--bone); padding: 8px 14px; border-radius: 999px; }
.pk-call.pulse { animation: callPulse 1s ease-out 2; }
@keyframes callPulse { from { box-shadow: 0 0 0 0 rgba(168, 123, 34, .7); } to { box-shadow: 0 0 0 12px rgba(168, 123, 34, 0); } }
.pack figcaption { font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); padding: 12px 16px 16px; }

/* ---------- Sections ---------- */
section { padding-block: var(--section); }
.rule-top { border-top: 1px solid var(--rule); }
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px 20px; display: grid; gap: 18px; align-content: start; box-shadow: var(--lift); }
.strip { margin-top: clamp(32px, 5vw, 48px); padding-top: 24px; border-top: 1px solid var(--rule); display: grid; gap: 16px; align-items: center; }
.strip p { font: 600 1.15rem/1.35 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.strip p.terms-line { font: 400 1rem/1.5 var(--sans); letter-spacing: 0; color: var(--slate); }

/* Problem: three leaks, each shown as a small picture */
.leaks { display: grid; gap: 16px; }
.leak { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--lift); }
.viz { height: 200px; padding: 20px; border-bottom: 1px solid var(--rule); background: var(--inset); display: grid; align-content: center; gap: 10px; }
.leak-body { padding: 22px 20px 26px; display: grid; gap: 8px; align-content: start; }
.leak-body p { color: var(--slate); }

.rank-head, .rank li { display: grid; grid-template-columns: 22px 1fr 0.8fr; gap: 12px; align-items: center; }
.rank-head { font: 500 0.64rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.rank-head span:first-child { grid-column: 1 / 3; }
.rank ol { display: grid; gap: 8px; }
.rank li { min-height: 26px; }
.rank .n { font: 600 0.8rem/1 var(--mono); color: var(--slate); text-align: center; }
.rank i { display: block; height: 10px; width: var(--w); border-radius: 9px; background: #DCD5C7; }
.rank i.rv { background: var(--muted-mark); }
.rank .gap { display: block; min-height: 0; padding-left: 4px; font: 600 0.9rem/0.6 var(--mono); color: var(--slate); letter-spacing: 0.2em; }
.rank .you { background: var(--card); border: 1.5px solid var(--brass); border-radius: 8px; margin-inline: -8px; padding: 6px 8px; }
.rank .you .n { color: var(--brass-text); }
.rank .you b { font: 600 0.92rem/1 var(--display); }
.rank .you i.rv { background: var(--brass); }

.notif { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 12px 14px; box-shadow: 0 12px 24px -20px rgba(21, 24, 29, .5); }
.notif .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--brass-on-ink); display: grid; place-items: center; }
.notif .ico svg { width: 18px; height: 18px; }
.notif b { display: block; font: 600 0.95rem/1.25 var(--sans); }
.notif small { display: block; font-size: 0.82rem; color: var(--slate); line-height: 1.3; }
.notif time { font: 500 0.7rem/1 var(--mono); color: var(--slate); align-self: start; padding-top: 4px; }
.notif.dim { margin-inline: 10px; box-shadow: none; }
.notif.dim .ico { background: #DCD5C7; color: var(--slate); }

/* Mini bar rows (from the results design) */
.metric { font: 500 0.68rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.mini { display: grid; gap: 8px; }
.mini .row { display: grid; grid-template-columns: 74px 1fr 2.6em; align-items: center; gap: 10px; }
.mini .k { font: 500 0.68rem/1.1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }
.mini .track { display: block; height: 12px; }
.mini i { display: block; height: 100%; width: var(--w); min-width: 3px; background: var(--muted-mark); border-radius: 0 3px 3px 0; transform-origin: 0 50%; transition: transform 1s var(--ease) .1s; }
.mini .now i { background: var(--brass); transition-delay: .3s; }
.mini b { font: 600 1.15rem/1 var(--mono); text-align: right; color: var(--slate); }
.mini .now b { font-size: 1.5rem; color: var(--ink); letter-spacing: -0.02em; }
.mini .now .k { color: var(--ink); }
.js [data-play]:not(.in) .mini i { transform: scaleX(0); }
/* Rows that share one label column, so the bars line up */
.mini.flat { grid-template-columns: max-content 1fr 2.4em; column-gap: 12px; row-gap: 10px; align-items: center; }
.mini.flat .row { display: contents; }
.mini.flat i { background: var(--brass); }
.mini.flat b { color: var(--ink); }
.mini.unknown .track { height: 12px; border: 1.5px dashed var(--muted-mark); border-radius: 0 4px 4px 0; }
.mini.unknown b { color: var(--brass-text); }

/* How it works: numbered steps beside a sample report */
.how-grid { display: grid; gap: 32px; }
.do li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 22px 0; border-top: 1.5px solid var(--rule); }
.do li:last-child { padding-bottom: 0; }
.do .n { font: 500 0.85rem/1.5 var(--mono); color: var(--brass-text); }
.do h3 { margin-bottom: 6px; }
.do p { color: var(--slate); }
.report { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px 18px 18px; display: grid; gap: 16px; align-content: start; box-shadow: var(--glow-card); }
.report-total { display: flex; align-items: baseline; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.report-total b { font: 600 2.6rem/1 var(--mono); letter-spacing: -0.03em; }
.report .side { font-size: 0.95rem; line-height: 1.4; padding-top: 12px; border-top: 1px dashed var(--rule); }
.report .side b { font: 600 0.95rem var(--mono); }
.report .note { font: 500 0.7rem/1.5 var(--mono); color: var(--slate); }

/* ---------- Report header chips, chip lists ---------- */
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.chart-title { font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); max-width: 20em; padding-top: 6px; }
.chip { flex: none; font: 600 0.85rem/1 var(--mono); background: var(--ink); color: var(--bone); padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.chip.line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); padding: 6.5px 10.5px; }


.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 13px; font-size: 0.92rem; line-height: 1.25; }
.chips li::before { content: "✓"; font: 600 0.8rem/1 var(--mono); color: var(--brass-text); }
.chips li.etc { background: transparent; border-style: dashed; color: var(--slate); }
.chips li.etc::before { content: "+"; }
.source { font: 500 0.72rem/1.5 var(--mono); color: var(--slate); }


/* ---------- Calculator ---------- */
.calc { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; box-shadow: var(--glow-card); }
.calc-in, .calc-out { background: var(--card); padding: 24px 20px; display: grid; gap: 26px; align-content: start; }
.calc-out { background: var(--inset); }
.field { display: grid; gap: 10px; }
.field label { font-weight: 600; }
.money, .stepper { display: flex; align-items: center; min-height: 58px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--paper); font: 600 1.5rem/1 var(--mono); }
.money { padding-inline: 16px 8px; gap: 4px; }
.money:focus-within, .stepper:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.money input, .stepper input { all: unset; min-width: 0; width: 100%; height: 54px; font: inherit; color: var(--ink); }
.stepper { display: grid; grid-template-columns: 58px 1fr 58px; overflow: hidden; }
.stepper input { text-align: center; border-inline: 1px solid var(--rule); }
.stepper button { all: unset; display: grid; place-items: center; height: 100%; min-height: 54px; cursor: pointer; font: 500 1.6rem/1 var(--mono); -webkit-tap-highlight-color: transparent; }
.stepper button:hover { background: var(--inset); }
.stepper button:active { background: var(--rule); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; --fill: 8%; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(var(--brass), var(--brass)) 0 / var(--fill) 100% no-repeat, var(--rule); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--ink); border: 3px solid var(--card); box-shadow: 0 0 0 1.5px var(--ink), 0 4px 12px -2px rgba(168, 123, 34, 0.6); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--rule); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--brass); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 0 0 1.5px var(--ink); }
.range:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.range-ends { display: flex; justify-content: space-between; margin-top: -8px; }
.out { display: grid; gap: 6px; }
.out b { font: 600 clamp(2.1rem, 3vw + 1.2rem, 3rem)/1 var(--mono); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.out.big b { font-size: clamp(2.5rem, 4vw + 1.4rem, 3.8rem); color: var(--brass-text); }
.out .lbl { font-size: 1rem; color: var(--slate); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 92px; border-bottom: 1px solid var(--rule); }
.months i { display: block; height: calc(var(--m) / 12 * 100%); background: var(--muted-mark); border-radius: 3px 3px 0 0; transform-origin: 50% 100%; transition: transform .8s var(--ease) calc(var(--m) * 45ms); }
.months i:last-child { background: var(--brass); }
.js .calc:not(.in) .months i { transform: scaleY(0); }
.months-x { display: flex; justify-content: space-between; margin-top: -18px; }
.calc-note { font: 500 0.72rem/1.5 var(--mono); color: var(--slate); padding-top: 14px; border-top: 1px dashed var(--rule); }

/* ---------- Plans ---------- */
.setup-card { border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--card); padding: 24px 20px; display: grid; gap: 18px; box-shadow: var(--lift); }
.setup-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; }
.setup-top h3 { font-size: 1.6rem; margin-top: 8px; }
.setup-card > p { color: var(--slate); max-width: 40em; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0.4em; font: 500 0.92rem/1.3 var(--mono); color: var(--slate); }
.price > span { white-space: nowrap; }
.price[hidden] { display: none; }
.price .amt { font: 600 clamp(2.1rem, 2vw + 1.5rem, 2.6rem)/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.price .spend { display: inline-block; }
.price-ask { font: 600 1.05rem/1.4 var(--display); }
html:not(.js) .price-ask { display: block !important; }
html:not(.js) .price { display: none; }
.then { margin: 36px 0 16px; }
.tiers { display: grid; gap: 16px; }
.tier { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px 22px; display: grid; gap: 12px; align-content: start; box-shadow: var(--lift); }
.tier h3 { font-size: 1.5rem; }
.tier > p:last-child { color: var(--slate); }
.plans { display: grid; gap: 16px; }
.plan { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 22px 24px; display: grid; gap: 22px; grid-template-rows: auto 1fr auto; box-shadow: var(--lift); }
.plan-head { display: grid; gap: 12px; }
.plan-head h3 { font-size: 1.6rem; }
.plan-for { color: var(--slate); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding-block: 11px; border-top: 1px solid var(--rule); line-height: 1.45; }
.checks li::before { content: "✓"; font: 600 0.85rem/1.7 var(--mono); color: var(--brass-text); }
.checks li.all { font-weight: 600; }
.plan .btn { width: 100%; }
.plan-ads, .tier-ads { background: var(--ink); color: var(--bone); border-color: rgba(201, 160, 74, 0.3); box-shadow: var(--glow-dark-card); }
.plan-ads .price, .plan-ads .plan-for, .tier-ads .price, .tier-ads > p:last-child { color: var(--slate-on-ink); }
.plan-ads .price .amt, .tier-ads .price .amt { color: var(--bone); }
.plan-ads .checks li { border-color: var(--rule-on-ink); }
.plan-ads .checks li::before { color: var(--brass-on-ink); }
.plan-ads .meta, .tier-ads .meta { color: var(--brass-on-ink); }
.terms { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; color: var(--slate); }
.tag { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }

/* What's in the setup: numbered cards */
.feats { display: grid; gap: 12px; }
.feat { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 20px 24px; display: grid; gap: 8px; align-content: start; box-shadow: var(--lift); }
.feat .n { font: 500 0.85rem/1 var(--mono); color: var(--brass-text); margin-bottom: 6px; }
.feat p { color: var(--slate); }

/* Compare the plans */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; box-shadow: var(--glow-card); }
.compare th, .compare td { padding: 14px 12px; text-align: left; vertical-align: middle; border-top: 1px solid var(--rule); font-size: 0.98rem; line-height: 1.4; }
.compare thead th { border-top: 0; vertical-align: bottom; font: 600 1.05rem/1.2 var(--display); letter-spacing: -0.01em; }
.compare thead th small { display: block; margin-bottom: 6px; font: 500 0.64rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.compare th[scope="row"] { font-weight: 400; }
.compare thead th + th, .compare td { width: 25%; text-align: center; }
.compare .ads { background: var(--inset); }
.compare .y span[aria-hidden] { font: 600 1.1rem/1 var(--mono); color: var(--brass-text); }
.compare .x span[aria-hidden] { font: 500 1.1rem/1 var(--mono); color: var(--slate); }

/* ---------- Who I work with ---------- */
.who-grid { display: grid; gap: 16px; }
.who-grid h3.label { font-size: 0.75rem; }
.card h3.label:not(:first-child) { margin-top: 12px; }
.route { position: relative; display: grid; gap: 4px; }
.route::before { content: ""; position: absolute; left: 13px; top: 46px; bottom: 22px; width: 0; border-left: 2px dashed var(--muted-mark); }
.route h4 { padding-left: 40px; margin-top: 10px; }
.route h4:first-child { margin-top: 0; }
.stops li { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; min-height: 44px; padding-left: 40px; font: 600 1.15rem/1.2 var(--display); letter-spacing: -0.01em; }
.stops li::before { content: ""; position: absolute; left: 7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); }
.stops li.base::before { display: none; }
.stops li.base svg { position: absolute; left: 4px; top: 50%; width: 20px; height: 32px; margin-top: -20px; color: var(--brass); }
.stops .meta { color: var(--brass-text); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 32px; }
.portrait { width: 100%; max-width: 220px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); display: grid; place-items: center; --logo-m: #F4F2ED; --logo-pin: #C9A04A; box-shadow: var(--glow-dark-card); }
.portrait > svg { width: 40%; height: auto; aspect-ratio: 54 / 56; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { display: grid; gap: 18px; align-content: start; }
.about-copy p:not(.label) { font-size: 1.08rem; max-width: 36em; }
.facts { margin-top: 8px; border-top: 1px solid var(--rule); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--rule); }
.facts dt { font: 500 0.72rem/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.facts dd { font-weight: 600; text-align: right; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 8px; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 16px; font: 600 1.12rem/1.3 var(--display); letter-spacing: -0.01em; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 30px; height: 30px; border: 1.5px solid var(--ink); border-radius: 50%; transition: background-color .2s, color .2s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; background: currentColor; transition: transform .25s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm { background: var(--ink); color: var(--bone); }
details[open] .pm::after { transform: rotate(0deg); }
.faq summary:hover .pm { background: var(--ink); color: var(--bone); }
.faq .ans { padding: 0 44px 22px 0; color: var(--slate); max-width: 40em; }


/* ---------- Closing + footer (dark) ---------- */
/* ---------- Dark areas: header, hero, closing, call bar ---------- */
.on-ink { background: var(--ink); color: var(--bone); --logo-m: #F4F2ED; --logo-pin: #C9A04A; --logo-word: #F4F2ED; --logo-tag: #9AA4AE; }
.on-ink .label, .on-ink .meta { color: var(--slate-on-ink); }
.on-ink h1 em, .on-ink h2 em { color: var(--brass-on-ink); }
.on-ink .lede, .on-ink .reach { color: var(--slate-on-ink); }
.on-ink .reach a { color: var(--bone); text-decoration-color: var(--rule-on-ink); }
.on-ink .btn-primary, .plan-ads .btn-primary { background: var(--brass-on-ink); border-color: var(--brass-on-ink); color: var(--ink); box-shadow: var(--glow-btn); }
.on-ink .btn-primary:hover, .plan-ads .btn-primary:hover { background: #D6AF5C; border-color: #D6AF5C; box-shadow: var(--glow-btn-hover); }
.on-ink .btn-ghost { color: var(--bone); border-color: rgba(244, 242, 237, 0.55); }
.on-ink .btn-ghost:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.on-ink :focus-visible, .plan-ads :focus-visible { outline-color: var(--brass-on-ink); }

.close { position: relative; isolation: isolate; padding-block: 64px 56px; }
.close::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 85% 50%, rgba(201, 160, 74, 0.12), transparent 70%); }
.close-grid { display: grid; gap: 40px; }
.close-copy { display: grid; gap: 18px; justify-items: start; }
.close h2 { font-size: clamp(2.4rem, 5vw + 1rem, 4.25rem); }
.close .lede { color: var(--bone); font-size: clamp(1.15rem, 0.8vw + 1rem, 1.45rem); max-width: 30em; }
.close .actions { margin-top: 8px; width: 100%; }
footer { padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule-on-ink); }
footer .wrap { display: grid; gap: 18px; }
.foot-col { display: grid; gap: 14px; align-content: start; }
footer .logo { width: 200px; }
footer p { font-size: 0.88rem; line-height: 1.55; color: var(--slate-on-ink); }
footer a { color: var(--bone); text-decoration: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font: 600 0.95rem/1 var(--sans); border-bottom: 1px solid var(--rule-on-ink); }
.foot-links a.num { font-family: var(--mono); }

/* Closing: what the text message looks like (desktop only) */
.sms { display: none; gap: 12px; background: #1D2127; border: 1px solid rgba(201, 160, 74, 0.25); border-radius: 24px; padding: 20px 18px 26px; box-shadow: var(--glow-dark-card); }
.sms-to { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-on-ink); padding: 2px 4px 14px; border-bottom: 1px solid var(--rule-on-ink); }
.bub { max-width: 86%; padding: 12px 15px; border-radius: 20px; font-size: 0.98rem; line-height: 1.4; }
.bub.me { justify-self: end; background: var(--brass-on-ink); color: var(--ink); border-bottom-right-radius: 6px; }
.bub.me b { font-weight: 600; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.bub.them { justify-self: start; background: #2A2F37; color: var(--bone); border-bottom-left-radius: 6px; }

/* Sticky call bar (phones): slides up once the hero buttons scroll away, hides again at the closing section */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(21, 24, 29, 0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
.callbar.show { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.callbar .btn { min-height: 50px; padding-inline: 16px; }
.callbar .btn-primary { flex: 1.6 1 auto; }

/* ---------- Wider screens ---------- */
@media (min-width: 480px) {
  .logo { width: min(220px, calc(100vw - 2 * var(--gutter) - 276px)); }
  .top .btn-sm { width: auto; padding: 0 16px; }
  .top .btn-sm .lbl { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (min-width: 560px) {
  .btn { flex: 0 0 auto; }
}
@media (min-width: 640px) {
  .top-nav { display: flex; }
  .feats { grid-template-columns: 1fr 1fr; }
  .compare th, .compare td { padding: 16px 20px; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .leak { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .viz { height: auto; min-height: 200px; border-bottom: 0; border-right: 1px solid var(--rule); }
  .leak-body { align-content: center; }
}
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .top { position: sticky; top: 0; }
  .top.scrolled { box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.55); }
  .top .wrap { min-height: 72px; }
  .hero { padding-block: 56px 80px; }
  .card, .setup-card, .calc-in, .calc-out { padding: 28px; }
  .calc { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan { padding: 32px 28px 28px; }
  .strip { grid-template-columns: 1fr auto; }
  .about-grid { grid-template-columns: 280px 1fr; gap: 48px; }
  .portrait { max-width: none; }
  .close { padding-block: 104px 88px; }
  .foot { grid-template-columns: 1fr 1fr; gap: 32px 64px; }
  .callbar { display: none; }
}
@media (min-width: 960px) {
  .hero { padding-block: 72px 104px; }
  .hero::before { background: radial-gradient(ellipse 45% 70% at 80% 50%, rgba(201, 160, 74, 0.16), transparent 70%), radial-gradient(ellipse 40% 50% at 0% 0%, rgba(201, 160, 74, 0.05), transparent 70%); }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
  .pack { justify-self: end; }
  .leaks, .tiers, .feats { grid-template-columns: repeat(3, 1fr); }
  .how-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
  .report { position: sticky; top: 104px; padding: 26px 26px 22px; }
  .hero .report { display: grid; position: relative; top: auto; justify-self: end; width: 100%; max-width: 440px; color: var(--ink); border-color: rgba(201, 160, 74, 0.3); box-shadow: var(--glow-dark-card); }
  .who-grid { grid-template-columns: 1.35fr 1fr; }
  .about-grid { grid-template-columns: 360px 1fr; gap: 72px; align-items: center; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .faq-grid .head { position: sticky; top: 104px; align-self: start; }
  .close-grid { grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: center; }
  .sms { display: grid; }
}

/* Visitors who ask their device for less motion get a still page */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .js [data-reveal]:not(.in) { opacity: 1; transform: none; }
  .js [data-play]:not(.in) .mini i, .js .calc:not(.in) .months i { transform: none; }
  .ping, .caret { display: none; }
}
