/* BidRidge price page. Mobile first, one light theme. */
:root {
  --ink: #17283a;
  --ink-2: #3f5064;
  --muted: #66727f;
  --line: #d9e0e7;
  --bg: #f5f3ef;
  --card: #ffffff;
  --brand: #1f3b57;
  --brand-2: #2b4f73;
  --snow: #eef3f7;
  --accent: #c2622d;
  --accent-2: #a9511f;
  --ok: #1e7a46;
  --bad: #a3242a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20,30,45,.06), 0 8px 24px rgba(20,30,45,.08);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--body); overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--brand-2); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0 0 .4em; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 .8em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.eyebrow { font: 600 .82rem/1.3 var(--body); text-transform: uppercase; letter-spacing: .09em; color: var(--accent); margin-bottom: .6em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* header */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.bar .logo { height: 40px; width: auto; display: block; }
.bar-phone { font: 700 1rem var(--head); letter-spacing: .03em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 9px 14px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
.bar-phone:hover { background: var(--brand-2); }

/* hero: mountain backdrop drawn in CSS */
.hero { position: relative; color: #fff; padding: 36px 0 44px;
  background:
    linear-gradient(180deg, rgba(23,40,58,0) 55%, var(--bg) 55.1%),
    linear-gradient(180deg, #1c3550 0%, #24496c 60%); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 55%; pointer-events: none; opacity: .5;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' preserveAspectRatio='none'%3E%3Cpath d='M0 220 L0 150 L120 95 L210 140 L330 55 L420 110 L520 70 L600 82 L700 30 L760 30 L860 105 L960 60 L1060 120 L1200 80 L1200 220Z' fill='%23305a80'/%3E%3Cpath d='M690 38 L700 30 L760 30 L772 40 L748 48 L730 40 L712 50Z M322 62 L330 55 L345 68 L333 66Z' fill='%23eef3f7' opacity='.85'/%3E%3C/svg%3E") bottom / 100% 60% no-repeat; }
.hero-in { position: relative; display: grid; gap: 24px; }
.hero-copy { padding-top: 4px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #f2b48f; }
.lede { font-size: 1.1rem; color: #dbe6f0; max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; color: #eef3f7; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 3px solid #f2b48f; border-bottom: 3px solid #f2b48f; transform: rotate(-45deg); }

/* calculator card */
.calc { background: var(--card); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 16px; border: 1px solid var(--line); }
.calc-title { font-size: 1.5rem; margin-bottom: .6em; }
.q { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.q legend { font-weight: 700; font-size: 1.02rem; margin-bottom: 8px; padding: 0; display: flex; gap: 8px; align-items: center; }
.qn { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 .85rem/1 var(--body); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 .95rem/1.2 var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; min-height: 42px; }
.chip:hover { border-color: var(--brand-2); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips.stack { display: grid; grid-template-columns: 1fr; gap: 8px; }
.chips.stack .chip { border-radius: 12px; text-align: left; display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.chips.stack .chip span { color: var(--muted); font-size: .88rem; }
.chips.stack .chip.on span { color: #c9d7e4; }
.sizerow { margin-bottom: 8px; }
.inwrap { position: relative; max-width: 220px; }
.inwrap input { width: 100%; font: 600 1.25rem var(--body); padding: 10px 62px 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; }
.inwrap input:focus { border-color: var(--brand-2); outline: none; box-shadow: 0 0 0 3px rgba(43,79,115,.18); }
.affix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .95rem; pointer-events: none; }
.help { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }

.result { margin-top: 6px; background: var(--snow); border: 1px solid #d6e1ea; border-radius: 12px; padding: 16px; text-align: center; }
.result-lab { font: 600 .8rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 0 0 4px; }
.result-range { font: 800 clamp(2rem, 8vw, 2.6rem)/1.05 var(--head); color: var(--brand); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.result-range.empty { font-size: 1.3rem; color: var(--muted); font-weight: 600; }
.result-mid { color: var(--ink-2); margin: 0 0 12px; min-height: 1.5em; }
.fine { font-size: .8rem; color: var(--muted); margin: 10px 0 0; line-height: 1.4; }

.btn { display: inline-block; font: 700 1.1rem/1 var(--head); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border: 0; border-radius: 10px; padding: 14px 20px; cursor: pointer; background: var(--brand); color: #fff; }
.btn:hover { background: var(--brand-2); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-2); }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* how it works */
.band { padding: 40px 0 28px; }
.steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; }
.sn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font: 800 1.2rem/1 var(--head); margin-bottom: 10px; }
.steps p { color: var(--ink-2); margin: 0; }

/* why */
.why { padding: 28px 0 40px; }
.whys { display: grid; gap: 14px; margin: 16px 0 0; }
.whys div { border-left: 4px solid var(--brand); padding: 4px 0 4px 14px; }
.whys dt { font: 700 1.25rem var(--head); margin-bottom: 4px; }
.whys dd { margin: 0; color: var(--ink-2); }

/* quote */
.quote { background: var(--brand); color: #fff; padding: 44px 0; scroll-margin-top: 60px; }
.quote-in { display: grid; gap: 24px; }
.offer h2 { color: #fff; }
.offer p { color: #d6e2ee; }
.offer .eyebrow { color: #f2b48f; }
.sumcard { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 14px 16px; margin-top: 16px; }
.sumcard .result-lab { color: #c9d7e4; }
.sum-range { font: 800 2rem/1.1 var(--head); margin: 0 0 4px; color: #fff; }
.sum-detail { font-size: .92rem; color: #d6e2ee; margin: 0; }
.leadform, .thanks { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 20px 16px; box-shadow: var(--shadow); }
.leadform h2, .thanks h2 { font-size: 1.8rem; }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 400 1rem var(--body); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--brand-2); outline: none; box-shadow: 0 0 0 3px rgba(43,79,115,.18); }
.field input.bad { border-color: var(--bad); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.formerr { color: var(--bad); font-weight: 600; margin: 0 0 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks:focus { outline: none; }
.testlead { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 14px; }
.testlead h3 { font-size: 1.15rem; color: var(--accent-2); }
.testlead pre { white-space: pre-wrap; word-break: break-word; background: var(--snow); border-radius: 10px; padding: 12px; font: .85rem/1.45 ui-monospace, Menlo, Consolas, monospace; margin: 0 0 12px; }
.codebox { display: grid; gap: 8px; }
.codebox textarea { width: 100%; font: .78rem/1.35 ui-monospace, Menlo, Consolas, monospace; padding: 8px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; word-break: break-all; }

/* faq */
.faq { padding: 40px 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 700 1.4rem var(--head); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--ink-2); }

.foot { background: #fff; border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: .92rem; color: var(--ink-2); }
.foot-in { display: grid; gap: 12px; }
.foot .logo { height: 46px; width: auto; }
.foot p { margin: 0; }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .whys { grid-template-columns: 1fr 1fr; gap: 20px 32px; }
  .calc, .leadform, .thanks { padding: 26px 24px; }
}
@media (min-width: 960px) {
  .hero { padding: 56px 0 64px; background: linear-gradient(180deg, #1c3550 0%, #24496c 100%); }
  .hero::before { height: 100%; }
  .hero-in { grid-template-columns: 1fr 470px; align-items: start; gap: 48px; }
  .hero-copy { padding-top: 36px; position: sticky; top: 100px; }
  .quote-in { grid-template-columns: 1fr 480px; align-items: start; gap: 48px; }
  .foot-in { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
