/* mypremiumcalc.com — Insurance Premium Calculator. Static site, no third-party assets. */
:root {
  --paper: #f5f8f7; --card: #ffffff; --ink: #0e1f1c; --muted: #44605a; --line: #d7e4df;
  --teal: #0b6e5f; --teal-ink: #075247; --teal-deep: #06382f; --soft: #e4f3ee; --soft2: #eef6f3;
  --orange: #c2410c; --orange-hi: #a8370a; --orange-soft: #fff1e8;
  --warn-bg: #fff6ee; --warn: #8a3b12; --good: #0b6e5f; --bad: #b42318;
  --c-liab: #0b6e5f; --c-coll: #e08a1e; --c-comp: #5b7fd6;
  --shadow: 0 1px 2px rgba(7,56,47,.06), 0 14px 34px -18px rgba(7,56,47,.35);
  --radius: 16px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1513; --card: #152320; --ink: #e8f3f0; --muted: #b4cbc5; --line: #2a403a;
    --teal: #3fc4ad; --teal-ink: #8fe3d4; --teal-deep: #06241f; --soft: #1a322e; --soft2: #14231f;
    --orange: #c2410c; --orange-hi: #d9531a; --orange-soft: #2c1d14;
    --warn-bg: #2a2118; --warn: #f0c2a4; --good: #58d3bd; --bad: #ff9c8f;
    --c-liab: #3fc4ad; --c-coll: #f0a13c; --c-comp: #8ea8ee;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px -18px rgba(0,0,0,.7);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--teal-ink); text-underline-offset: 2px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 750; line-height: 1.18; letter-spacing: -0.022em; text-wrap: balance; margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 2.4rem; }
h3 { font-size: 1.14rem; margin-top: 1.5rem; }
p, li { text-wrap: pretty; }
p, li, dd, dt, td, th, h1, h2, h3 { overflow-wrap: break-word; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; min-width: 0; }
.nums { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: .75rem; top: -4rem; background: var(--ink); color: var(--paper); padding: .5rem .8rem; border-radius: 8px; z-index: 60; }
.skip:focus { top: .75rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* header */
header.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.04rem; letter-spacing: -0.02em; white-space: nowrap; min-height: 44px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand b { color: var(--teal); font-weight: 750; }
.nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav > a, .nav .dd > button { font: inherit; font-size: .95rem; font-weight: 550; color: var(--muted); background: none; border: 0; cursor: pointer; text-decoration: none; min-height: 44px; padding: 0 .7rem; border-radius: 10px; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.nav > a:hover, .nav .dd > button:hover, .nav > a[aria-current="page"], .nav .dd.cur > button { color: var(--ink); background: var(--soft); }
.dd { position: relative; }
.dd > button::after { content: ""; width: .42rem; height: .42rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.dd .menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 17rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .45rem; display: none; }
.dd.r .menu { left: auto; right: 0; }
.dd.open .menu, .dd:focus-within .menu { display: block; }
@media (hover: hover) and (min-width: 981px) { .dd:hover .menu { display: block; } .dd .menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; } }
.dd .menu a { display: block; padding: .5rem .7rem; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.dd .menu a small { display: block; color: var(--muted); font-size: .8rem; }
.dd .menu a:hover { background: var(--soft); }
.dd .menu .all { border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .65rem; color: var(--teal-ink); font-weight: 650; border-radius: 0 0 9px 9px; }
.btn { font: inherit; font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.15rem; border-radius: 12px; border: 1px solid transparent; cursor: pointer; text-decoration: none; background: var(--teal); color: #fff; transition: transform .12s ease, background .12s ease; }
@media (prefers-color-scheme: dark) { .btn { color: #04201b; } .btn.quote, .btn.q2 { color: #fff; } }
.btn:hover { background: var(--teal-ink); }
.btn:active { transform: translateY(1px); }
.btn.quote { background: var(--orange); color: #fff; }
.btn.quote:hover { background: var(--orange-hi); }
.btn.ghost { background: transparent; color: var(--teal-ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--soft); }
.btn.sm { min-height: 44px; padding: 0 .9rem; font-size: .93rem; }
.nav .btn { margin-left: .45rem; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100dvh - 64px); overflow: auto; padding: .6rem 1.25rem 1.2rem; }
.mobile-menu p { margin: .9rem 0 .2rem; font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mobile-menu a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 550; }
.mobile-menu a.btn { border: 0; color: #fff; margin-top: 1rem; justify-content: center; }
@media (max-width: 980px) { .nav { display: none; } .menu-btn { display: inline-flex; } }
@media (min-width: 981px) { .mobile-menu { display: none !important; } }

/* hero */
.hero-band { background: radial-gradient(1200px 500px at 85% -10%, #15907c 0%, transparent 60%), linear-gradient(160deg, #0a5a4e 0%, #06382f 70%); color: #eef9f6; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: 2.6rem; align-items: start; padding: 3rem 0 3.2rem; }
.hero > * { min-width: 0; }
.hero h1 { color: #fff; margin-bottom: .9rem; }
.hero h1 em { font-style: normal; color: #ffc59a; }
.hero .lede { color: #cfe9e2; }
.hero a:not(.btn) { color: #d6f5ee; }
.hero .tool a:not(.btn) { color: var(--teal-ink); }
.kicker { display: inline-block; margin: 0 0 .9rem; padding: .28rem .7rem; border-radius: 999px; background: var(--soft); color: var(--teal-ink); font-size: .76rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.hero-band .kicker { background: rgba(255,255,255,.14); color: #e9fbf6; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 42rem; margin: 0 0 1.2rem; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; display: grid; gap: .5rem; }
.ticks li { padding-left: 1.8rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: #2bb39b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.cta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.1rem 0; align-items: center; }
.hero-band .btn.ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero-band .btn.ghost:hover { background: rgba(255,255,255,.1); }
.hero-band .btn.store { background: #fff; color: #06382f; }
.hero-note { font-size: .88rem; color: #b9dcd3; margin: .4rem 0 0; }
.statrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.6rem; }
.statrow div { border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: .8rem .9rem; background: rgba(255,255,255,.06); }
.statrow b { display: block; font-size: 1.5rem; line-height: 1.1; color: #fff; letter-spacing: -0.02em; }
.statrow span { font-size: .82rem; color: #c4e3db; line-height: 1.35; display: block; margin-top: .25rem; }
.hero.h3 { grid-template-areas: 'a t' 'b t'; grid-template-rows: auto 1fr; row-gap: 0; }
.hero.h3 > .ha { grid-area: a; } .hero.h3 > .hb { grid-area: b; } .hero.h3 > .tool { grid-area: t; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 1.8rem; padding: 2rem 0 2.4rem; } .hero.h3 { grid-template-areas: 'a' 't' 'b'; row-gap: 1.4rem; } .hero.h3 .lede { margin-bottom: 0; } .hero.h3 .ticks { margin-top: 0; } }

/* page head for inner pages */
.doc { max-width: 46rem; margin: 0 auto; padding: 1.6rem 0 1rem; }
.doc.wide { max-width: 62rem; }
.doc > h1 { margin-top: .2rem; }
.crumb { font-size: .9rem; color: var(--muted); margin: 0 0 1rem; }
.crumb a { color: var(--muted); }
.pagehead { background: linear-gradient(180deg, var(--soft2), transparent); border-bottom: 1px solid var(--line); }
.pagehead .inner { max-width: 62rem; margin: 0 auto; padding: 1.5rem 0 1.6rem; }
.pagehead h1 { max-width: 46rem; }
.updated { font-size: .86rem; color: var(--muted); margin: .2rem 0 0; }
.soon { font-size: .92rem; color: var(--muted); }
.later { display: inline-block; font-size: .7rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: .05rem .5rem; margin-right: .4rem; background: var(--card); }
.small { font-size: .92rem; color: var(--muted); }
.measure { max-width: 46rem; }
.band { padding: 1.2rem 0 .6rem; }
.band > h2:first-child { margin-top: 1.4rem; }
.sec { padding: 2.6rem 0; }
.sec.alt { background: var(--soft2); border-block: 1px solid var(--line); }
.sec > .wrap > h2:first-child, .sec h2.first { margin-top: 0; }
.sechead { max-width: 46rem; margin-bottom: 1.4rem; }
.sechead p { color: var(--muted); margin: 0; }

/* cards & grids */
.grid { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.2rem; box-shadow: 0 1px 2px rgba(7,56,47,.04); min-width: 0; }
.card h3 { margin-top: 0; }
.card p { margin: .3rem 0 0; color: var(--muted); font-size: .97rem; }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); }
a.card h3 { color: var(--ink); display: flex; align-items: center; gap: .55rem; }
a.card .go { display: inline-block; margin-top: .7rem; color: var(--teal-ink); font-weight: 700; font-size: .93rem; }
.ico { flex: none; width: 2.3rem; height: 2.3rem; border-radius: 11px; background: var(--soft); color: var(--teal-ink); display: inline-flex; align-items: center; justify-content: center; }
.ico svg { width: 1.3rem; height: 1.3rem; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.2rem 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem 1.1rem; position: relative; }
.steps li::before { content: counter(s); display: inline-flex; width: 2rem; height: 2rem; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 750; align-items: center; justify-content: center; margin-bottom: .6rem; }
.steps h3 { margin: 0 0 .3rem; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }
.disclaimer, .callout { background: var(--warn-bg); color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 25%, transparent); border-radius: 12px; padding: .8rem 1rem; font-size: .93rem; max-width: 46rem; }
.note { background: var(--soft); border-radius: 12px; padding: .85rem 1rem; font-size: .95rem; border: 1px solid var(--line); }
.end { margin: 2.4rem 0 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.end h2 { margin-top: 0; }
.faq { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .7rem; }
.faq li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; }
.faq h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.faq p { margin: 0; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin: 1.1rem 0; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .65rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
thead th { background: var(--soft2); font-size: .82rem; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); white-space: nowrap; position: sticky; top: 0; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
th button { min-height: 40px; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-transform: inherit; letter-spacing: inherit; font-weight: inherit; display: inline-flex; gap: .3rem; align-items: center; }
th button::after { content: "↕"; opacity: .5; }
th[aria-sort="ascending"] button::after { content: "↑"; opacity: 1; }
th[aria-sort="descending"] button::after { content: "↓"; opacity: 1; }
td .mini { display: block; height: 6px; border-radius: 3px; background: var(--teal); margin-top: .3rem; min-width: 2px; opacity: .8; }
.shot, .phone { margin: 1.5rem auto; max-width: 20rem; }
.phone .screen, .shot .screen { border: 8px solid #101816; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: var(--shadow); line-height: 0; }
figcaption { font-size: .86rem; color: var(--muted); text-align: center; margin-top: .6rem; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.4rem; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.related { margin: 2.2rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.2rem; margin: 0 0 .8rem; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .6rem; }
.related a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem; text-decoration: none; font-weight: 600; color: var(--ink); line-height: 1.35; }
.related a:hover { border-color: var(--teal); }
.related a small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: .15rem; }
.xl { border-left: 3px solid var(--teal); padding: .1rem 0 .1rem .9rem; color: var(--muted); font-size: .97rem; }

/* tools */
.tool { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 1.25rem; min-width: 0; }
.hero-band .tool { border-color: transparent; }
.tool h2, .tool h3 { margin-top: 0; }
.tool .ttl h2 { font-size: 1.22rem; margin: 0; }
.tool .ttl { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .8rem; }
.tool .ttl b { font-size: 1.05rem; letter-spacing: -0.01em; }
.badge { display: inline-block; font-size: .68rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; background: var(--soft); color: var(--teal-ink); margin: 0; white-space: nowrap; }
.out { background: var(--soft2); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.05rem; margin-bottom: 1rem; }
.out .place { font-size: .86rem; font-weight: 700; color: var(--teal-ink); margin: 0; min-height: 1.3em; }
.out .amount { font-size: clamp(1.9rem, 6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: .1rem 0; font-variant-numeric: tabular-nums; }
.out .amount .per { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.out .amount.empty { color: var(--muted); font-weight: 650; }
.out .yearly { font-size: .93rem; color: var(--muted); margin: 0; }
.out .hint { font-size: .86rem; color: var(--muted); margin: .45rem 0 0; }
.frow { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: .7rem; }
@media (max-width: 420px) { .frow { grid-template-columns: 1fr; } }
.field-label, .tool label.fl { display: block; font-size: .84rem; font-weight: 700; margin: .85rem 0 .35rem; color: var(--ink); }
.field-label small { font-weight: 500; color: var(--muted); }
.tool input[type="text"], .tool input[type="number"], .tool select, .zipq input { font: inherit; width: 100%; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); padding: 0 .85rem; appearance: none; -webkit-appearance: none; }
.tool select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2344605a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: .75rem; padding-right: 2.2rem; }
.tool input:focus, .tool select:focus, .zipq input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 22%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips button { font: inherit; font-size: .93rem; font-weight: 600; min-height: 44px; padding: 0 .85rem; border-radius: 11px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.chips button:hover { border-color: var(--teal); }
.chips button[aria-checked="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
@media (prefers-color-scheme: dark) { .chips button[aria-checked="true"] { color: #04201b; } }
.hint { font-size: .84rem; color: var(--muted); margin: .35rem 0 0; }
.bars { display: grid; gap: .55rem; margin: .4rem 0 0; }
.bar { display: grid; grid-template-columns: minmax(5.2rem, 9rem) minmax(0, 1fr) auto; gap: .6rem; align-items: center; font-size: .92rem; }
.bar .lab { font-weight: 600; }
.bar .track { height: 14px; border-radius: 7px; background: var(--soft); position: relative; overflow: hidden; }
.bar .fill { position: absolute; top: 0; bottom: 0; border-radius: 7px; background: var(--teal); transition: left .25s ease, width .25s ease; }
.bar.hl .fill { background: var(--orange); }
.bar .val { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.bar .dl { grid-column: 2 / -1; font-size: .8rem; color: var(--muted); margin-top: -.35rem; }
.stack { display: flex; height: 16px; border-radius: 8px; overflow: hidden; background: var(--soft); margin: .5rem 0 .45rem; }
.stack i { display: block; height: 100%; transition: width .25s ease; }
.stack .a, .key .a::before { background: var(--c-liab); } .stack .b, .key .b::before { background: var(--c-coll); } .stack .c, .key .c::before { background: var(--c-comp); }
.key { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .84rem; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.key li::before { content: ""; display: inline-block; width: .7rem; height: .7rem; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.sub { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .9rem; }
.sub > b { font-size: .92rem; }
.moves { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .5rem; }
.moves li { border: 1px solid var(--line); border-radius: 12px; padding: .55rem .7rem; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.moves b { display: block; color: var(--ink); font-size: .98rem; font-variant-numeric: tabular-nums; }
.moves .up b { color: var(--bad); } .moves .down b { color: var(--good); }
.gauge { position: relative; height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--soft) 0 100%); margin: 1.6rem 0 1.5rem; }
.gauge .rng { position: absolute; top: 0; bottom: 0; background: var(--teal); border-radius: 8px; opacity: .85; }
.gauge .me { position: absolute; top: -9px; width: 4px; height: 34px; border-radius: 2px; background: var(--orange); transform: translateX(-2px); }
.gauge .me::after { content: "You"; position: absolute; top: -1.25rem; left: 50%; transform: translateX(-50%); font-size: .72rem; font-weight: 750; color: var(--orange); }
.gauge .t { position: absolute; top: 20px; font-size: .74rem; color: var(--muted); transform: translateX(-50%); white-space: nowrap; font-variant-numeric: tabular-nums; }
.verdict { font-weight: 700; margin: .2rem 0 0; }
.verdict.ok { color: var(--good); } .verdict.hi { color: var(--bad); }
.zipq { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; margin-top: .6rem; }
.zipq.solo { max-width: 30rem; }
@media (max-width: 420px) { .zipq { grid-template-columns: 1fr; } }
.qbox { background: var(--orange-soft); border: 1px solid color-mix(in srgb, var(--orange) 28%, transparent); border-radius: 16px; padding: 1rem 1.05rem; margin-top: 1rem; }
.qbox b.h { display: block; font-size: 1.02rem; }
.qbox .fine, .fine { font-size: .8rem; color: var(--muted); margin: .5rem 0 0; line-height: 1.45; }
.err { color: var(--bad); font-size: .86rem; font-weight: 600; margin: .4rem 0 0; min-height: 0; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: .9rem; }
.cmp > div { border: 1px solid var(--line); border-radius: 14px; padding: .8rem .9rem; background: var(--soft2); min-width: 0; }
.cmp b.s { display: block; font-size: .86rem; color: var(--teal-ink); }
.cmp .v { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.cmp small { color: var(--muted); display: block; }
.res3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: .9rem; }
.res3 div { border: 1px solid var(--line); border-radius: 14px; padding: .7rem .8rem; background: var(--soft2); min-width: 0; }
.res3 small { display: block; color: var(--muted); font-size: .8rem; }
.res3 b { font-size: 1.25rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
@media (max-width: 460px) { .res3 { grid-template-columns: 1fr; } }
.toolgrid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; align-items: start; }
@media (min-width: 901px) { .toolgrid > div:last-child { position: sticky; top: 5.2rem; } }
@media (max-width: 900px) { .toolgrid { grid-template-columns: 1fr; } }

/* tile map */
.tilemap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; max-width: 44rem; margin: 1.2rem 0 .6rem; }
.tilemap a { min-width: 0; overflow: hidden; aspect-ratio: 1; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #fff; font-weight: 750; font-size: clamp(.58rem, 1.6vw, .86rem); line-height: 1.1; transition: transform .12s ease; }
.tilemap a small { font-weight: 600; font-size: .78em; opacity: .92; font-variant-numeric: tabular-nums; }
.tilemap a:hover { transform: scale(1.12); z-index: 2; box-shadow: var(--shadow); }
.tilemap .t1 { background: #9fd8cc; color: #06382f; } .tilemap .t2 { background: #5dbba9; color: #04302a; } .tilemap .t3 { background: #17806c; } .tilemap .t4 { background: #0b6e5f; } .tilemap .t5 { background: #06463c; }
.legend { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .82rem; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.legend i { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
@media (prefers-color-scheme: dark) { .mapbox { background: #eef4f2; padding: .9rem; border-radius: 16px; max-width: 46rem; margin: 1.2rem 0 .8rem; } .mapbox .tilemap { margin: 0 0 .7rem; } .mapbox .legend { color: #3b534d; } }
/* iPhone and iPad: the Android install buttons are not useful there */
.ios a.btn[href*="play.google.com"], .ios .hero-note, .ios .android-only { display: none; }
.ios .cta:not(:has(a.btn:not([href*="play.google.com"]))) { display: none; }
.ios .end:has(a.btn[href*="play.google.com"]):not(:has(a.btn:not([href*="play.google.com"]))) { display: none; }
.ios .dock:not(:has(.quote)) { display: none; }
@media (max-width: 520px) { .tilemap { gap: 2px; } .tilemap a { border-radius: 5px; } .tilemap a small { display: none; } }

/* footer */
footer.bot { margin-top: 3rem; background: #06302a; color: #cfe5df; padding: 2.6rem 0 6rem; font-size: .93rem; }
footer.bot a { color: #e6f6f2; text-decoration: none; }
footer.bot a:hover { text-decoration: underline; }
.footgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 1.6rem 1.4rem; }
.footlabel { font-size: .74rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: #8fc7ba; margin: 0 0 .6rem; }
.footlinks { display: grid; gap: .1rem; }
.footlinks a { display: inline-flex; align-items: center; min-height: 32px; }
.net { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); }
.net ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.3rem; }
.net li { min-height: 32px; display: flex; align-items: center; }
.legal { color: #a6c9c0; margin: 1.4rem 0 0; font-size: .86rem; max-width: 60rem; }
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: .55rem .8rem calc(.55rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .dock .btn { flex: 1; min-width: 0; }
  .dock .btn.store { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { header.top, footer.bot, .dock, .qbox { display: none; } }

.zip-scope { font-size: .79rem; line-height: 1.4; color: var(--muted); margin: .35rem 0 .2rem; }
#estimate { scroll-margin-top: 5.2rem; }
#estimate:focus-visible { outline: 3px solid #ffc59a; outline-offset: 3px; }
.hero-first { margin-top: 1.25rem; }
.hero .btn.estimate-jump { background: #e8fff6; color: #093b32; border-color: #e8fff6; }
.hero .btn.estimate-jump:hover { background: #c9f5e7; border-color: #c9f5e7; }
.tool .amount.empty { font-size: clamp(1.25rem, 3vw, 1.7rem); }
[data-quote-after-estimate][hidden] { display: none !important; }
@media (max-width:760px) { .hero-first { margin: .85rem 0 0; gap: .55rem; } .hero-first .btn { padding-inline: .8rem; } }
