/* FoundationWeb landing page — mobile first. No external fonts or assets:
   every request this page makes is to this origin, which is most of what
   "loads fast" actually means. */

:root {
  --ink:#0f1b24; --ink-2:#3d5567; --line:#dbe4ea;
  --bg:#fff; --bg-alt:#f4f8fa;
  --brand:#0b6ea8; --brand-dk:#08557f; --accent:#f5a623;
  --wrap:1080px; --r:10px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font:400 17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
h1,h2,h3{line-height:1.18; margin:0 0 .5em; font-weight:750; letter-spacing:-.02em}
h1{font-size:2rem}
h2{font-size:1.5rem}
p{margin:0 0 1rem}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 20px}
.wrap--narrow{max-width:640px}
.hl{color:var(--brand)}
.lede{color:var(--ink-2); max-width:60ch}
.micro{font-size:.85rem; color:var(--ink-2); margin-top:.7rem}

/* ── unresolved config banner ─────────────────────────────────────────── */
.config-banner{
  background:#8a1c1c; color:#fff; padding:14px 20px; font-size:.9rem;
}
.config-banner--info{background:#1f3a4d}
.config-banner ul{margin:.5em 0 0; padding-left:1.2em}
.config-banner li{margin:.25em 0}

/* ── nav ──────────────────────────────────────────────────────────────── */
.nav{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 20px; border-bottom:1px solid var(--line);
  position:sticky; top:0; background:rgba(255,255,255,.94);
  backdrop-filter:saturate(1.4) blur(8px); z-index:20;
}
.nav__brand{font-weight:800; letter-spacing:-.02em}

/* ── buttons — one CTA style, used everywhere ─────────────────────────── */
.btn{
  display:inline-block; background:var(--brand); color:#fff; text-decoration:none;
  font-weight:700; padding:13px 20px; border-radius:var(--r); border:0;
  cursor:pointer; font-size:1rem; line-height:1.2; text-align:center;
}
.btn:hover{background:var(--brand-dk)}
.btn--lg{padding:17px 28px; font-size:1.06rem}
.btn--sm{padding:9px 14px; font-size:.9rem}
.btn--full{width:100%}
.btn--ghost{background:transparent; color:var(--brand); border:2px solid var(--brand)}
.btn--ghost:hover{background:var(--brand); color:#fff}
.btn--unset{
  background:repeating-linear-gradient(45deg,#8a1c1c,#8a1c1c 10px,#6f1616 10px,#6f1616 20px);
  cursor:not-allowed;
}

/* ── hook ─────────────────────────────────────────────────────────────── */
.hook{padding:52px 0 46px; background:linear-gradient(180deg,#f4f8fa,#fff)}
.hook .sub{font-size:1.1rem; color:var(--ink-2); max-width:52ch; margin-bottom:1.6rem}

/* ── sections ─────────────────────────────────────────────────────────── */
.section{padding:46px 0; border-top:1px solid var(--line)}
.section--alt{background:var(--bg-alt)}

/* ── before / after ───────────────────────────────────────────────────── */
.ba{
  position:relative; margin:22px 0 18px; border:1px solid var(--line);
  border-radius:var(--r); overflow:hidden; background:#fff;
  height:440px; touch-action:none; user-select:none;
}
.ba__pane{position:absolute; inset:0; overflow:hidden}
.ba__after{background:linear-gradient(180deg,#0f1b24,#1b2f3d)}
.ba__tag{
  position:absolute; top:10px; font-size:.7rem; font-weight:800; letter-spacing:.09em;
  text-transform:uppercase; padding:4px 9px; border-radius:99px; z-index:4;
}
.ba__tag--before{left:10px; background:#e8e2d4; color:#6b5b33}
.ba__tag--after{right:10px; background:var(--accent); color:#2a1d00}
.ba__divider{
  position:absolute; top:0; bottom:0; width:3px; background:#fff; z-index:5;
  transform:translateX(-1.5px); box-shadow:0 0 0 1px rgba(0,0,0,.18);
}
.ba__grip{
  position:absolute; top:50%; left:50%; width:42px; height:42px; margin:-21px 0 0 -21px;
  background:#fff; border-radius:50%; box-shadow:0 2px 10px rgba(0,0,0,.3);
}
.ba__grip::before,.ba__grip::after{
  content:""; position:absolute; top:50%; width:0; height:0; margin-top:-5px;
  border-top:5px solid transparent; border-bottom:5px solid transparent;
}
.ba__grip::before{left:9px; border-right:7px solid var(--brand)}
.ba__grip::after{right:9px; border-left:7px solid var(--brand)}
.ba__range{position:absolute; inset:0; width:100%; height:100%; opacity:0; z-index:6; cursor:ew-resize; margin:0}

/* the dated site */
.oldsite{height:100%; overflow:hidden; background:#fffef4; font-family:"Times New Roman",Times,serif; color:#000}
.oldsite__banner{background:#000080; color:#ff0; text-align:center; padding:6px; font-size:13px; font-weight:bold}
.oldsite__nav{background:#c0c0c0; text-align:center; font-size:11px; padding:5px; border-bottom:2px groove #fff}
.oldsite__body{padding:10px 14px; font-size:11px; text-align:justify}
.oldsite__table{border:1px solid #808080; border-collapse:collapse; font-size:10px; margin:8px 0}
.oldsite__table td{border:1px solid #808080; padding:2px 8px}
.oldsite__phone{font-size:10px; color:#333}
.oldsite__counter{font-size:10px; color:#555; font-family:"Courier New",monospace}

/* the phone */
.phoneframe{height:100%; display:flex; align-items:center; justify-content:center; padding:16px}
.phone{
  width:236px; height:404px; background:#000; border-radius:30px; padding:9px;
  box-shadow:0 18px 44px rgba(0,0,0,.5);
}
.phone__screen{height:100%; background:#fff; border-radius:22px; overflow:hidden}
.mini{height:100%; display:flex; flex-direction:column; font-size:11px}
.mini__bar{display:flex; justify-content:space-between; align-items:center; padding:9px 11px; border-bottom:1px solid #e6edf1}
.mini__logo{font-weight:800; font-size:11px; color:var(--ink)}
.mini__call{background:var(--brand); color:#fff; padding:4px 10px; border-radius:99px; font-weight:700; font-size:10px}
/* Reads as a notice, not as the demo business's own copy — hence the tinted
   band and the borrowed .ba__tag--before colours rather than body ink. */
.mini__disclaimer{
  margin:0; padding:4px 11px; background:#fdf3dc; color:#6b5b33;
  font-size:9px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  border-bottom:1px solid #f0e3c4;
}
.mini__hero{padding:13px 11px; background:linear-gradient(180deg,#eef6fb,#fff)}
.mini__hero h3{font-size:15px; margin:0 0 3px}
.mini__hero p{font-size:10.5px; color:var(--ink-2); margin:0 0 9px}
.mini__btn{display:block; background:var(--accent); color:#2a1d00; font-weight:800; text-align:center; padding:9px; border-radius:8px; font-size:11px}
.mini__list{list-style:none; margin:0; padding:5px 11px; flex:1}
.mini__list li{display:flex; justify-content:space-between; align-items:baseline; padding:7px 0; border-bottom:1px solid #eef2f5}
.mini__list b{font-size:11px}
.mini__list span{font-size:9.5px; color:var(--ink-2)}
.mini__foot{background:var(--brand); color:#fff; text-align:center; font-weight:800; padding:11px; font-size:11px}

/* mechanism chips — no numbers, ever */
.chips{list-style:none; display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:0}
.chips li{background:#e7f1f7; color:var(--brand-dk); font-weight:650; font-size:.85rem; padding:7px 13px; border-radius:99px}

/* ── proof ────────────────────────────────────────────────────────────── */
.proof{display:grid; gap:20px; margin-top:20px}
.proof__item h3{margin:.6rem 0 .2rem; font-size:1.08rem}
.proof__item p{color:var(--ink-2); font-size:.92rem; margin:0 0 .4rem}
.proof__shot{
  width:100%; aspect-ratio:16/10; object-fit:cover; object-position:top center;
  border:1px solid var(--line); border-radius:var(--r); background:#f4f8fa; display:block;
}
.proof__link{font-size:.88rem; color:var(--brand); font-weight:700; text-decoration:none}
.proof__link:hover{text-decoration:underline}

/* ── offer ────────────────────────────────────────────────────────────── */
.offer{display:grid; gap:22px; margin:20px 0 22px}
.offer__col{background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:20px}
.offer__col h3{font-size:1.05rem; color:var(--brand-dk)}
.offer__col p{margin:0; color:var(--ink-2); font-size:.95rem}

/* ── form ─────────────────────────────────────────────────────────────── */
.form{margin-top:22px}
.field{display:block; margin:0 0 18px; border:0; padding:0}
.field--group input{margin-bottom:9px}
.field__label{display:block; font-weight:700; margin-bottom:7px; font-size:.95rem}
.form input[type=text],.form input[type=tel],.form textarea{
  width:100%; padding:13px 14px; font:inherit; font-size:1rem;
  border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink);
}
.form input:focus,.form textarea:focus{outline:2px solid var(--brand); outline-offset:1px; border-color:var(--brand)}
.checks{display:grid; grid-template-columns:1fr 1fr; gap:9px}
.checks label{display:flex; align-items:center; gap:8px; font-size:.95rem; background:#fff; border:1px solid var(--line); border-radius:8px; padding:11px 12px; cursor:pointer}
.checks input{width:18px; height:18px; accent-color:var(--brand)}
.hp{position:absolute; left:-9999px} /* honeypot, never seen */

/* ── footer ───────────────────────────────────────────────────────────── */
.foot{background:var(--ink); color:#c6d5e0; padding:30px 0; margin-top:0}
.foot .wrap{display:flex; flex-direction:column; gap:14px; align-items:flex-start}
.foot__legal{margin:0; font-size:.9rem}
.foot__links{margin:0; font-size:.9rem}
.foot__links a{color:#c6d5e0}
.foot__links a:hover{color:#fff}

/* ── SMS consent checkbox ─────────────────────────────────────────────── */
/* Checkbox and text on one row, text aligned to the box rather than wrapping
   under it. The box gets a bigger tap target than the default and does not
   shrink when the label wraps to four lines on a phone. */
.consent{display:flex; gap:10px; align-items:flex-start}
.consent input[type=checkbox]{flex:0 0 auto; width:20px; height:20px; margin:2px 0 0}
.consent__text{font-size:.9rem; color:var(--ink-2); line-height:1.5}
.consent__text a{color:var(--brand)}

/* ── legal pages ──────────────────────────────────────────────────────── */
/* Prose, not landing-page rhythm: these pages are read rather than scanned,
   so headings sit closer to the text they introduce and links stay visibly
   links. No new colours or fonts — the tokens above are the whole palette. */
.legal h2{font-size:1.25rem; margin-top:2rem}
.legal h3{font-size:1.02rem; margin-top:1.4rem; color:var(--ink-2)}
.legal ul{margin:0 0 1rem; padding-left:1.2em}
.legal li{margin:.3em 0}
.legal a{color:var(--brand)}
.legal strong{color:var(--ink)}

/* ── desktop ──────────────────────────────────────────────────────────── */
@media (min-width:760px){
  h1{font-size:2.9rem}
  h2{font-size:1.95rem}
  .hook{padding:78px 0 66px}
  .section{padding:66px 0}
  .ba{height:520px}
  .phone{width:270px; height:462px}
  .proof{grid-template-columns:repeat(3,1fr)}
  .offer{grid-template-columns:1fr 1fr}
  .checks{grid-template-columns:repeat(3,1fr)}
  .foot .wrap{flex-direction:row; justify-content:space-between; align-items:center}
}
