/*
Theme Name: DebtMathLab
Theme URI: https://example.com/
Author: DebtMathLab
Description: A lightweight, dependency-free theme for debt payoff calculators. No page builder, no external fonts, no jQuery. Includes calculators, AdSense-ready ad slots, a secure contact form, SEO meta and schema, and one-click setup of all required pages.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: debtmathlab
*/

/* ---------- Tokens ---------- */
:root {
  --brand: #1463D8;
  --brand-ink: #0B4AA8;
  --brand-wash: #EAF2FE;
  --brand-soft: #A9C9F7;
  --navy: #0B1F3A;
  --ink: #0B1F3A;
  --slate: #51607A;
  --line: #E1E8F2;
  --paper: #F5F8FD;
  --white: #FFFFFF;
  --amber: #B86E00;
  --amber-wash: #FFF4E0;
  --success: #0E8F5B;
  --success-wash: #E6F6EE;
  --danger: #C2261B;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: 1.4rem;
  --step-3: 1.85rem;
  --step-4: clamp(2rem, 1.4rem + 2.2vw, 2.75rem);
  --step-5: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);

  --wrap: 1180px;
  --read: 70ch;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --shadow: 0 1px 2px rgba(11,31,58,.04), 0 8px 24px rgba(11,31,58,.08);
  --shadow-lg: 0 2px 4px rgba(11,31,58,.04), 0 18px 48px rgba(11,31,58,.12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--brand-ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.025em; color: var(--navy); }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.num { font-variant-numeric: tabular-nums; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 1rem; top: 1rem; z-index: 100; width: auto; height: auto; clip: auto; background: var(--white); padding: .75rem 1rem; border: 2px solid var(--brand); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.read { max-width: var(--read); }
.center { text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 700 var(--step-0)/1 var(--font); padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid var(--brand); background: var(--brand); color: var(--white); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--brand-ink); border-color: var(--brand-ink); color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(20,99,216,.25); }
.btn--ghost { background: var(--white); color: var(--brand); border-color: var(--brand-soft); }
.btn--ghost:hover { background: var(--brand-wash); color: var(--brand-ink); border-color: var(--brand); box-shadow: none; }
.btn--block { width: 100%; }
.btn--app { background: var(--navy); border-color: var(--navy); }
.btn--app:hover { background: #000; border-color: #000; box-shadow: 0 8px 20px rgba(11,31,58,.25); }
.btn--sm { padding: .7rem 1.2rem; font-size: var(--step--1); }

/* ---------- Header ---------- */
.site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; flex: none; box-shadow: 0 4px 12px rgba(20,99,216,.3); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .35rem; align-items: center; }
.primary-nav a { color: var(--navy); text-decoration: none; font-weight: 600; padding: .55rem .9rem; border-radius: 999px; }
.primary-nav a:hover { background: var(--brand-wash); color: var(--brand-ink); }
.primary-nav .current-menu-item > a { color: var(--brand); background: var(--brand-wash); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--navy); }
.header-cta { display: inline-flex; }
.header-cta .btn { padding: .75rem 1.25rem; font-size: .95rem; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .primary-nav { position: absolute; inset: 72px 0 auto 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; padding: .75rem 1rem 1.25rem; }
  .primary-nav li a { display: block; padding: .9rem 1rem; }
}

/* ---------- Hero (home) ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #D9E8FD 0%, rgba(217,232,253,0) 60%), linear-gradient(180deg, #F2F7FF 0%, #FFFFFF 100%); padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero__top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero__lead { font-size: var(--step-1); color: var(--slate); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.pill { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--step--1); font-weight: 700; color: var(--brand-ink); background: var(--white); border: 1px solid var(--brand-soft); padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.25rem; }
.pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--success); }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--slate); font-size: var(--step--1); font-weight: 600; }
.hero__facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__facts li::before { content: ""; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--success-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8F5B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat; }
.hero__illo { justify-self: end; width: min(100%, 460px); }
@media (max-width: 900px) { .hero__top { grid-template-columns: 1fr; } .hero__illo { display: none; } }

/* Quick action tiles */
.quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.quick a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 1.1rem .75rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--navy); font-weight: 700; line-height: 1.3; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.quick a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-soft); color: var(--brand-ink); }
.quick img { width: 100%; max-width: 132px; aspect-ratio: 4 / 3; object-fit: contain; }
@media (max-width: 900px) { .quick { grid-template-columns: repeat(2, 1fr); } .quick a:last-child { grid-column: 1 / -1; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--paper { background: var(--paper); }
.section--tight { padding-top: 0; }
.section__head { max-width: 44rem; margin-bottom: 2.5rem; }
.section__head.center { text-align: center; }
.section__head p { color: var(--slate); font-size: var(--step-1); }
.eyebrow { display: inline-block; font-size: var(--step--1); font-weight: 800; color: var(--brand); letter-spacing: .02em; margin-bottom: .6rem; }

/* Calculator cards */
.tool-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tool-grid a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.tool-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tool-grid__art { background: var(--brand-wash); display: grid; place-items: center; padding: 1rem; }
.tool-grid__art img { width: 70%; max-width: 220px; aspect-ratio: 4 / 3; object-fit: contain; }
.tool-grid__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.tool-grid__title { font-size: var(--step-1); font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.tool-grid__desc { color: var(--slate); font-size: var(--step--1); flex: 1; }
.tool-grid__go { color: var(--brand); font-weight: 700; font-size: var(--step--1); margin-top: .5rem; }
@media (max-width: 900px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tool-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--r-l); padding: 1.75rem; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--brand); color: var(--white); font-weight: 800; font-size: 1.35rem; margin-bottom: 1rem; box-shadow: 0 6px 16px rgba(20,99,216,.3); }
.steps li:nth-child(2)::before { background: #3D82E8; }
.steps li:nth-child(3)::before { background: var(--success); box-shadow: 0 6px 16px rgba(14,143,91,.3); }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--slate); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.25rem; }
.trust strong { display: block; font-size: var(--step-2); font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.trust span { color: var(--slate); font-size: var(--step--1); font-weight: 600; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr 1fr; } }

/* App promo */
.app-promo { background: linear-gradient(135deg, #1463D8 0%, #0B4AA8 100%); color: var(--white); border-radius: var(--r-l); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.app-promo::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.07); right: -120px; top: -160px; }
.app-promo h2 { color: var(--white); }
.app-promo p { color: rgba(255,255,255,.88); font-size: var(--step-1); max-width: 44ch; }
.app-promo .btn--app { background: var(--white); color: var(--navy); border-color: var(--white); }
.app-promo .btn--app svg { stroke: var(--navy); }
.app-promo__phone { position: relative; z-index: 1; justify-self: center; width: 230px; background: var(--white); border: 7px solid var(--navy); border-radius: 32px; padding: 1rem; color: var(--ink); box-shadow: 0 24px 48px rgba(0,0,0,.25); transform: rotate(3deg); }
.app-promo__phone .ph-top { background: var(--brand); color: var(--white); border-radius: 14px; padding: .85rem; margin-bottom: .6rem; }
.app-promo__phone .ph-top small { opacity: .85; display: block; font-size: .7rem; font-weight: 600; }
.app-promo__phone .ph-top strong { font-size: 1.45rem; font-weight: 800; }
.app-promo__phone .ph-row { display: flex; justify-content: space-between; background: var(--paper); border-radius: 10px; padding: .6rem .7rem; margin-top: .45rem; font-size: .72rem; font-weight: 700; }
@media (max-width: 760px) { .app-promo { grid-template-columns: 1fr; } }

/* Posts list */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.post-list a { display: block; color: var(--ink); text-decoration: none; }
.post-list a:hover h3 { color: var(--brand); }
.post-list h3 { font-size: var(--step-1); margin: .35rem 0 .5rem; }
.post-list .cat { display: inline-block; color: var(--brand-ink); background: var(--brand-wash); font-weight: 700; font-size: .78rem; padding: .25rem .65rem; border-radius: 999px; }
.post-list p { color: var(--slate); font-size: var(--step--1); margin-bottom: .5rem; }
.post-list .meta { color: var(--slate); font-size: .8rem; font-weight: 600; }
@media (max-width: 900px) { .post-list { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.1rem 1.35rem; margin-bottom: .75rem; }
.faq summary { cursor: pointer; font-weight: 700; font-size: var(--step-0); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--brand-wash); color: var(--brand); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: var(--brand); color: var(--white); }
.faq details p { color: var(--slate); margin: .8rem 0 0; }

/* ---------- Page / article ---------- */
.page-head { background: linear-gradient(180deg, #F2F7FF 0%, #FFFFFF 100%); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); }
.page-head p { color: var(--slate); font-size: var(--step-1); max-width: 56ch; margin: 0; }
.page-head .meta { font-size: var(--step--1); font-weight: 600; margin-top: .75rem; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2rem; align-items: center; }
.page-head__illo { width: 280px; }
@media (max-width: 900px) { .page-head__grid { grid-template-columns: minmax(0, 1fr) 130px; gap: 1rem; } .page-head__illo { width: 130px; } }
@media (max-width: 480px) { .page-head__grid { grid-template-columns: 1fr; } .page-head__illo { display: none; } }
.breadcrumbs { font-size: var(--step--1); color: var(--slate); font-weight: 600; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.entry { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.entry-content { max-width: var(--read); font-size: var(--step-0); }
.entry-content h2 { font-size: var(--step-3); margin-top: 2em; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.25em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--brand); font-weight: 700; }
.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--step--1); margin: 1.5em 0; display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-s); }
.entry-content th, .entry-content td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content th { background: var(--paper); font-weight: 700; color: var(--navy); }
.entry-content blockquote { margin: 1.5em 0; padding: .25em 0 .25em 1.25em; border-left: 4px solid var(--brand); color: var(--slate); }
.formula { font-family: var(--mono); background: var(--navy); color: #E6EEFB; border-radius: var(--r-m); padding: 1.1rem 1.25rem; font-size: .9rem; line-height: 1.7; overflow-x: auto; white-space: pre; }
.note { background: var(--amber-wash); border-left: 4px solid var(--amber); padding: 1rem 1.15rem; border-radius: 0 var(--r-s) var(--r-s) 0; font-size: var(--step--1); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; padding: clamp(1.5rem, 4vw, 2.5rem); margin: clamp(1.5rem, 3vw, 2.5rem) 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .calc { padding: 1.1rem; border-radius: var(--r-m); } }
.calc__form { display: grid; gap: 1.15rem; }
.field label { display: block; font-weight: 700; margin-bottom: .45rem; font-size: var(--step--1); color: var(--navy); }
.field .hint { display: block; color: var(--slate); font-weight: 500; font-size: .8rem; margin-top: .35rem; }
.input { position: relative; }
.input input, .input select, .field textarea { width: 100%; font: 600 var(--step-1)/1.2 var(--font); padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--paper); color: var(--navy); font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s, background .15s; }
.input input:hover, .input select:hover, .field textarea:hover { border-color: var(--brand-soft); }
.input input:focus, .input select:focus, .field textarea:focus { border-color: var(--brand); background: var(--white); outline: none; box-shadow: 0 0 0 4px var(--brand-wash); }
.input--prefix input { padding-left: 2rem; }
.input--suffix input { padding-right: 2.3rem; }
.input .affix { position: absolute; top: 50%; transform: translateY(-50%); color: var(--slate); font-weight: 700; pointer-events: none; }
.input--prefix .affix { left: 1rem; }
.input--suffix .affix { right: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }
.seg { display: flex; gap: .35rem; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: .3rem; }
.seg label { flex: 1; margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: .6rem .4rem; font-weight: 700; font-size: var(--step--1); cursor: pointer; border-radius: 999px; color: var(--slate); }
.seg input:checked + span { background: var(--brand); color: var(--white); box-shadow: 0 4px 10px rgba(20,99,216,.3); }
.seg input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 1px; }
.calc__error { color: var(--danger); font-weight: 700; margin: 0; min-height: 1.2em; font-size: var(--step--1); }

.debts { display: grid; gap: .75rem; }
.debt-row { display: grid; grid-template-columns: 1.6fr 1fr .9fr .95fr auto; gap: .5rem; align-items: end; padding: .85rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); }
.debt-row .field label { font-size: .72rem; margin-bottom: .3rem; }
.debt-row input { font-size: var(--step--1) !important; padding: .65rem .6rem !important; background: var(--white) !important; }
.debt-row .input--prefix input { padding-left: 1.45rem !important; }
.debt-row .input--prefix .affix { left: .6rem; font-size: .85rem; }
.debt-row .input--suffix input { padding-right: 1.5rem !important; }
.debt-row .input--suffix .affix { right: .55rem; font-size: .85rem; }
.debt-row__remove { background: var(--white); border: 1.5px solid var(--line); border-radius: 50%; width: 2.4rem; height: 2.4rem; cursor: pointer; color: var(--slate); font-size: 1.2rem; line-height: 1; }
.debt-row__remove:hover { border-color: var(--danger); color: var(--danger); }
@media (max-width: 560px) { .debt-row { grid-template-columns: 1fr 1fr; } .debt-row .field:first-child { grid-column: 1 / -1; } }

/* Result panel */
.result { background: linear-gradient(180deg, var(--brand-wash) 0%, var(--white) 55%); border: 1px solid var(--brand-soft); border-radius: var(--r-l); padding: clamp(1.25rem, 3vw, 2rem); position: sticky; top: 96px; }
@media (max-width: 900px) { .result { position: static; } }
.result__label { color: var(--brand-ink); font-weight: 800; margin: 0; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em; }
.result__date { font-size: clamp(2.4rem, 1.7rem + 3vw, 3.6rem); font-weight: 800; line-height: 1.05; margin: .4rem 0 .35rem; color: var(--navy); letter-spacing: -0.035em; }
.result__sub { color: var(--slate); margin: 0 0 1.25rem; font-weight: 600; }
.timeline { position: relative; height: 12px; background: var(--white); border: 1px solid var(--brand-soft); border-radius: 999px; margin: 1.5rem 0 .5rem; }
.timeline__fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--brand) 0%, var(--success) 100%); border-radius: 999px; width: 100%; }
.timeline__tick { position: absolute; top: -5px; width: 4px; height: 20px; border-radius: 2px; background: var(--navy); }
.timeline__labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--slate); font-weight: 600; }
.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 1.25rem 0 0; }
.figures div { padding: .9rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); }
.figures dt { color: var(--slate); font-size: .8rem; font-weight: 600; }
.figures dd { margin: .2rem 0 0; font-weight: 800; font-size: var(--step-2); font-variant-numeric: tabular-nums; color: var(--navy); letter-spacing: -0.02em; }
.figures .cost { color: var(--amber); }
.tip { background: var(--success-wash); border-radius: var(--r-m); padding: 1rem 1.1rem; margin-top: 1rem; color: #0A6B44; font-weight: 600; font-size: var(--step--1); }
.order { list-style: none; padding: 0; margin: 1.25rem 0 0; counter-reset: ord; display: grid; gap: .5rem; }
.order li { counter-increment: ord; display: grid; grid-template-columns: 2rem 1fr auto; gap: .75rem; padding: .7rem .85rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-s); align-items: center; font-size: var(--step--1); }
.order li::before { content: counter(ord); display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 800; font-size: .85rem; }
.order strong { color: var(--navy); }
.order small { color: var(--slate); display: block; font-weight: 500; }
.result .faq details { margin: 1rem 0 0; }
.schedule-wrap { overflow-x: auto; margin-top: 1rem; max-height: 360px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); }
.schedule { width: 100%; border-collapse: collapse; font-size: .85rem; font-variant-numeric: tabular-nums; }
.schedule th, .schedule td { padding: .55rem .75rem; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.schedule th:first-child, .schedule td:first-child { text-align: left; }
.schedule thead th { position: sticky; top: 0; background: var(--paper); color: var(--navy); font-weight: 700; }
.schedule .int { color: var(--amber); }
.bars { display: flex; align-items: flex-end; gap: .5rem; height: 170px; margin-top: 1.25rem; border-bottom: 2px solid var(--navy); }
.bars__col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; font-size: .72rem; font-weight: 700; color: var(--slate); }
.bars__stack { display: flex; flex-direction: column; border-radius: 6px 6px 0 0; overflow: hidden; }
.bars__int { background: var(--brand); }
.bars__con { background: var(--brand-soft); }
.bars__axis { display: flex; gap: .5rem; font-size: .72rem; color: var(--slate); font-weight: 600; margin-top: .3rem; }
.bars__axis span { flex: 1; text-align: center; }
.legend { display: flex; gap: 1rem; font-size: .8rem; color: var(--slate); font-weight: 600; margin-top: .6rem; }
.legend i { display: inline-block; width: .75rem; height: .75rem; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.disclaimer-line { font-size: .78rem; color: var(--slate); margin: 1rem 0 0; }

/* ---------- Ads ---------- */
.ad { margin: 2.5rem auto; text-align: center; max-width: 100%; }
.ad__label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .04em; color: var(--slate); margin-bottom: .4rem; text-transform: uppercase; }
.ad__placeholder { background: var(--paper); border: 1.5px dashed var(--brand-soft); border-radius: var(--r-s); color: var(--slate); display: grid; place-items: center; font-size: .8rem; font-weight: 600; margin-inline: auto; }
.ad--leaderboard .ad__placeholder { width: min(100%, 728px); height: 90px; }
.ad--rectangle .ad__placeholder { width: min(100%, 336px); height: 280px; }
.ad--inarticle .ad__placeholder { width: 100%; height: 250px; }
@media (max-width: 760px) { .ad--leaderboard .ad__placeholder { height: 100px; width: min(100%, 320px); } }

/* ---------- Forms ---------- */
.form-notice { padding: 1rem 1.15rem; border-radius: var(--r-m); margin-bottom: 1.5rem; font-weight: 600; }
.form-notice--ok { background: var(--success-wash); color: #0A6B44; }
.form-notice--err { background: #FDECEA; color: var(--danger); }
.contact-form { display: grid; gap: 1.15rem; max-width: 38rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.field textarea { font-size: var(--step-0); font-weight: 500; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 4.5rem 0 2rem; font-size: var(--step--1); }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-size: var(--step--1); color: var(--white); margin-bottom: 1rem; letter-spacing: .02em; font-weight: 800; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-brand .brand { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Illustrations & covers ---------- */
.illo { width: 100%; height: auto; }
.post-list .cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-m); margin-bottom: 1rem; background: var(--brand-wash); transition: transform .2s; }
.post-list a:hover .cover { transform: scale(1.02); }
.entry-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-l); margin: 0 0 2rem; }

/* ---------- Misc ---------- */
.pagination { display: flex; gap: .5rem; margin-top: 2.5rem; }
.pagination .page-numbers { padding: .55rem .95rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--brand); color: var(--white); border-color: var(--brand); }
.not-found { text-align: center; padding: 6rem 0; }
.alignwide, .alignfull { max-width: 100%; }
.wp-block-image img { border-radius: var(--r-m); }

/* ---------- Brand accent & app "coming soon" ---------- */
.brand__accent { color: var(--brand); }
.site-footer .brand__accent { color: #7FB0F5; }
.app-soon { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: var(--step--1); color: var(--brand-ink); background: var(--brand-wash); border: 1.5px dashed var(--brand-soft); padding: .7rem 1.1rem; border-radius: 999px; }
.site-footer .app-soon { color: rgba(255,255,255,.9); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); }
.app-promo .app-soon { color: var(--white); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); }
.app-promo__tag { display: inline-block; background: #FFC857; color: var(--navy); font-weight: 800; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.app-promo__phone .ph-brand { font-weight: 800; font-size: .85rem; color: var(--navy); margin-bottom: .55rem; letter-spacing: -0.01em; }
