/* WatchPoint Finance — one stylesheet, no framework.
   Colors sampled from the WordPress site: navy #131642, ink #05060f, orange #f15f22. */

:root {
  --navy: #131642;
  --navy-deep: #0c0e2b;
  --ink: #05060f;
  --text: #2b2d42;
  --muted: #5d6075;
  --orange: #f15f22;
  --orange-dark: #c9450f;
  --bg: #ffffff;
  --bg-alt: #f4f5fa;
  --line: #e1e3ee;
  --radius: 10px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.65 var(--font-body); color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: color-mix(in srgb, var(--orange) 60%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p, ul, ol, dl, figure { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .35em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow-wrap { max-width: 820px; }
.center { text-align: center; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--orange); color: #fff; font: 600 .95rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: 16px 24px; border-radius: 4px; border: 2px solid var(--orange); cursor: pointer; transition: background .2s, border-color .2s; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn-sm { padding: 12px 18px; font-size: .85rem; }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; width: 100%; text-align: center; }
.btn-light:hover { background: var(--bg-alt); color: var(--ink); border-color: var(--bg-alt); }
.more { font-weight: 600; text-decoration: none; color: var(--orange-dark); }
.cta-line { margin: 1.5em 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.5) blur(6px); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand img { width: 180px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-dark); }
.nav-mobile { display: none; }
@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .header-inner { justify-content: space-between; min-height: 64px; }
  .brand img { width: 150px; }
  .nav-mobile { display: block; }
  .nav-mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile summary span { display: block; width: 24px; height: 2px; background: var(--ink); }
  .nav-mobile nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(5,6,15,.08); }
  .nav-mobile ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
  .nav-mobile a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
  .nav-mobile li:last-child a { color: var(--orange-dark); border: 0; }
}

/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 18px 0 0; font-size: .85rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.wrap.crumbs { padding-left: var(--gutter); padding-right: var(--gutter); }
.crumbs-light ol { padding: 0 0 18px; color: rgba(255,255,255,.8); }
.crumbs-light a { color: rgba(255,255,255,.85); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(12,14,43,.94) 0%, rgba(19,22,66,.82) 55%, rgba(19,22,66,.45) 100%); }
.hero-inner { padding-top: clamp(72px, 12vw, 150px); padding-bottom: clamp(72px, 12vw, 150px); max-width: var(--wrap); }
.hero-inner > * { max-width: 760px; }
.hero h1 { color: #fff; }
.hero-sub { font: 600 clamp(1.15rem, 2.4vw, 1.5rem)/1.35 var(--font-display); color: #fff; }
.hero .lede { color: rgba(255,255,255,.88); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-short .hero-inner { padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(48px, 8vw, 96px); }
.eyebrow { font: 700 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.lede { font-size: 1.15rem; color: var(--muted); }
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(16px, 3vw, 32px); background: var(--bg-alt); }

/* ---------- sections & layout ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .narrow-wrap p { color: rgba(255,255,255,.85); font-size: 1.08rem; }
.section > .wrap > h2.center { margin-bottom: 1.2em; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.stack { display: grid; gap: 20px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section.alt .card { box-shadow: 0 1px 2px rgba(5,6,15,.04); }
.card h3 { margin-bottom: .4em; }
.card > :last-child { margin-bottom: 0; }
.rounded { border-radius: var(--radius); width: 100%; object-fit: cover; }
.rounded.tall { max-height: 640px; }

/* ---------- stats, steps, checks, vendors ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; margin: 56px 0 0; }
.stats div { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; text-align: center; display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font: 700 3.2rem/1 var(--font-display); color: var(--orange); }
.stats dt { margin-top: 10px; color: rgba(255,255,255,.85); }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding-left: 56px; margin-bottom: 24px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; font: 700 1rem/38px var(--font-display); text-align: center; }
.steps h3 { margin-bottom: .3em; }
.steps ul { margin-bottom: 0; color: var(--muted); }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8 13.6 4.4 10l-1.4 1.4L8 16.4l9-9L15.6 6z'/%3E%3C/svg%3E") center/14px no-repeat; }
.vendors { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.vendors li { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 20px; font: 700 1.15rem var(--font-display); color: var(--ink); }
.vendors img { width: 120px; height: 120px; object-fit: contain; }
.vendors small { display: block; font: 500 .85rem var(--font-body); color: var(--muted); margin-top: 4px; }

/* ---------- quotes ---------- */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 16px; font: 500 clamp(1.15rem, 2vw, 1.4rem)/1.45 var(--font-display); color: #fff; }
.quote blockquote p::before { content: "“"; color: var(--orange); font-size: 2.6em; line-height: 0; vertical-align: -.4em; margin-right: 4px; }
.quote figcaption { color: rgba(255,255,255,.75); font-size: .95rem; }
.quote figcaption::before { content: "— "; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 32px; }
@media (max-width: 880px) { .calc { grid-template-columns: 1fr; } }
.calc .field { margin-bottom: 26px; }
.calc label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.field-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.field-row label { margin: 0; }
.calc-subs-num { width: 110px; height: 44px; border: 1.5px solid var(--navy); border-radius: 4px; text-align: center; font: 500 1rem var(--font-body); }
.calc input[type="range"] { width: 100%; accent-color: var(--navy); }
.range-labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.money-input { display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--navy); border-radius: 4px; padding: 0 14px; height: 52px; }
.money-input input { border: 0; outline: 0; font: 400 1.05rem var(--font-body); width: 100%; background: transparent; }
.money-input:focus-within { box-shadow: 0 0 0 3px rgba(19,22,66,.15); }
.calc-method { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.calc-results { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px 28px; }
.calc-label { font-weight: 600; margin-bottom: 4px; }
.calc-savings { font: 700 clamp(2.2rem, 5vw, 2.8rem)/1.1 var(--font-display); margin-bottom: 4px; color: #fff; }
.calc-sub { font-size: .85rem; color: rgba(255,255,255,.65); }
.calc-results dl { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; margin: 0; }
.calc-results dl div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.calc-results dt { font-weight: 700; }
.calc-results dt span { display: block; font-weight: 400; font-size: .8rem; color: rgba(255,255,255,.6); }
.calc-results dd { margin: 0; font-weight: 700; white-space: nowrap; }
.calc-cta { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; margin-top: 8px; }
.calc-cta-title { font: 700 1.2rem var(--font-display); margin-bottom: 6px; }
.calc-cta p:not(.calc-cta-title) { font-size: .9rem; color: rgba(255,255,255,.75); }

/* ---------- forms ---------- */
.lead { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 72px); padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
@media (max-width: 880px) { .lead { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; }
.form label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 16px; }
.form input:not([type="hidden"]), .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 4px; font: 400 1rem var(--font-body); color: var(--ink); background: #fff; }
.form input:focus, .form textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(19,22,66,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.form-inline { display: flex; gap: 10px; flex-wrap: wrap; }
.form-inline input[type="email"] { flex: 1 1 220px; margin: 0 !important; }
.address-block { font-size: 1.05rem; line-height: 1.7; }

/* ---------- posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; margin-bottom: 24px; }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card-img img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.2rem; }
.post-card-body h3 a { color: var(--ink); text-decoration: none; }
.post-card-body h3 a:hover { color: var(--orange-dark); }
.post-card-body p:not(.meta) { color: var(--muted); font-size: .96rem; }
.post-card-body .more { margin-top: auto; }
.meta { font-size: .88rem; color: var(--muted); margin-bottom: .6em; }

.prose { max-width: 820px; padding-top: 24px; padding-bottom: 48px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose figure img, .post-cover { border-radius: var(--radius); }
.post-cover { margin: 24px 0 8px; width: 100%; }
.post-head { margin-bottom: 24px; }
.page-prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: .4em; }
.prose .calc { grid-template-columns: 1fr; }

.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.table-wrap th, .table-wrap td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--navy); color: #fff; font-weight: 600; white-space: nowrap; }
.table-wrap tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.table-wrap td { min-width: 6.5em; }
/* Wide comparison tables: keep the long "target users" column readable */
.table-wrap table:has(thead th:nth-child(6)) td:first-of-type { min-width: 17em; }
.table-wrap tbody tr:nth-child(even) { background: var(--bg-alt); }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); font-size: .93rem; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 200px; background: #fff; padding: 10px 14px; border-radius: 6px; margin-bottom: 18px; box-sizing: content-box; }
.site-footer h2 { font: 700 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 28px; margin-top: 24px; font-size: .85rem; }
.steps h3 small { font: 500 .85rem var(--font-body); color: var(--muted); margin-left: 6px; }

/* ---------- tagline band ---------- */
.section.tagline { text-align: center; }
.section.tagline h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 900px; margin: 0 auto; line-height: 1.25; }
