/* The Comp Calculator pages (docs/form-page.md). Oscar's v7 design
   (references/landing-page-2026-11-18/ocmi-wc-calculator_7.html), with:
   - DM Sans self-hosted (../fonts, SIL OFL 1.1; no Google Fonts);
   - no inline styles anywhere (the CSP allows style-src 'self' only), so v7's style=""
     attributes became the classes at the end of this file;
   - no nav menus, reviews, social or app badges (removed from the pages);
   - one column and a full-width form on phones. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("../fonts/dm-sans-latin-ext-wght-normal.woff2?v=a5d38fe99f") format("woff2-variations"),
       url("../fonts/dm-sans-latin-ext-wght-normal.woff2?v=a5d38fe99f") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("../fonts/dm-sans-latin-wght-normal.woff2?v=9fea608a94") format("woff2-variations"),
       url("../fonts/dm-sans-latin-wght-normal.woff2?v=9fea608a94") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* Alpino Black: Indian Type Foundry via Fontshare, ITF Free Font License
   (../fonts/Alpino-FFL.txt); the official file, self-hosted, unmodified. */
@font-face {
  font-family: "Alpino";
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url("../fonts/Alpino-Black.woff2?v=d7978bf4f1") format("woff2");
}

:root{
  --ink:#0F0838;         /* Slate */
  --violet:#7C6BF5;      /* Sapphire — primary CTA */
  --violet-2:#6A57EC;    /* hover */
  --lime:#B4E671;        /* Sulu */
  --lime-deep:#4E8C1E;
  --gold:#FFD702;
  --input:#F1F0FB;       /* input fill */
  --section:#F6F6F9;
  --muted:#6E6B84;
  --line:#E9E8F0;
  --white:#fff;
  --good:#4e9a2a;
  --bad:#d64545;
  --shadow:0 18px 40px rgba(15,8,56,.10);
  --shadow-sm:0 8px 24px rgba(15,8,56,.07);
  color-scheme: light;
}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none !important}
body{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--white);line-height:1.55;-webkit-font-smoothing:antialiased}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.skip{position:absolute;left:-9999px;top:0}
.skip:focus{left:12px;top:12px;background:#fff;padding:8px 12px;border-radius:8px;z-index:10}

/* ---------- HEADER: logo + tap-to-call, no menus ---------- */
.nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0}
.brand{display:flex;align-items:center}
.brand img{display:block;width:117px;height:36px}
.btn-dark{background:var(--ink);color:#fff;border:none;border-radius:999px;padding:12px 22px;font-weight:700;font-size:14px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:8px;font-family:inherit;white-space:nowrap}
.btn-dark:hover{background:#1b1150}

/* ---------- HERO ---------- */
.hero{position:relative;overflow:hidden;padding:20px 0 40px}
.blob{position:absolute;z-index:0;filter:blur(2px);opacity:.9}
.blob.lime{width:520px;height:360px;background:var(--lime);border-radius:60% 40% 55% 45%/55% 55% 45% 45%;left:-220px;top:60px;opacity:.55}
.blob.gold{width:420px;height:300px;background:var(--gold);border-radius:55% 45% 50% 50%/50% 55% 45% 55%;right:-200px;top:150px;opacity:.5}
.hero-inner{position:relative;z-index:1;text-align:center;max-width:720px;margin:0 auto}
h1{font-size:clamp(34px,6vw,58px);font-weight:800;letter-spacing:-.5px;text-transform:uppercase;line-height:1.02;margin:18px 0 14px}
.hero-sub{color:var(--muted);font-size:18px;max-width:520px;margin:0 auto 26px}

/* ---------- side art (desktop only, min-width 1024px) ----------
   Figma gSrJN4gLdVkRDanRh1LNqZ, "Comp calculator / Step 1" (4184:5329, a 1440px frame):
   instead of the circles, the art group 4184:5400 (exported as two transparent WebPs at 2x)
   and the "97%" card 4184:5420 as real text. One stage, as wide as the Figma frame
   (1440px, narrower screens scale it down: everything is in --u = 1 Figma px), centred
   on the page; its top is the h1's top (Figma y 232). Phones and tablets keep the
   circles; the art is display:none there. Behind the content (z-index 0); the header
   stays above it, and the hero clips it sideways only (no horizontal scroll). */
.side-art{display:none}
@media(min-width:1024px){
  header{position:relative;z-index:3}
  .hero{overflow:clip visible}
  .blob{display:none}
  .side-art{display:block;position:absolute;z-index:0;top:38px;left:50%;width:min(1440px,100%);height:0;transform:translateX(-50%);container-type:inline-size;pointer-events:none;--u:calc(100cqw / 1440)}
  .art-left,.art-right{position:absolute;display:block;max-width:none;height:auto}
  .art-left{left:calc(-169 * var(--u));top:calc(-189 * var(--u));width:calc(461 * var(--u))}
  .art-right{left:calc(1148 * var(--u));top:calc(-194 * var(--u));width:calc(488 * var(--u))}
  .stat-card{position:absolute;left:calc(1172 * var(--u));top:calc(-32 * var(--u));width:calc(196 * var(--u));height:calc(177 * var(--u));overflow:hidden;background:#463A96;color:#fff;border-radius:calc(16 * var(--u))}
  .stat-card .pct{position:absolute;left:calc(24 * var(--u));top:calc(24 * var(--u));color:var(--lime);font-size:calc(36 * var(--u));font-weight:700;line-height:1.1;white-space:nowrap}
  .stat-card .pct span{position:absolute;left:calc(86 * var(--u));top:calc(20 * var(--u));transform:translateY(-50%);width:calc(74 * var(--u));color:#fff;font-size:calc(14 * var(--u));line-height:1.2;white-space:normal}
  .stat-card .bars{position:absolute;left:calc(24 * var(--u));top:calc(88 * var(--u))}
  .stat-card .bars i{position:absolute;left:calc(var(--x) * var(--u));top:calc(var(--t) * var(--u));width:calc(24 * var(--u));height:calc(var(--h) * var(--u));background:#fff;border-radius:calc(6 * var(--u)) calc(6 * var(--u)) 0 0}
  .stat-card .bars i:after{content:"";position:absolute;left:0;right:0;top:calc(var(--g) * var(--u));height:calc(var(--gh) * var(--u));background:var(--gold);border-radius:0 0 calc(6 * var(--u)) calc(6 * var(--u))}
  .stat-card .bars i:nth-child(1){--x:0;--t:25;--h:23.203;--g:28.97;--gh:10.034}
  .stat-card .bars i:nth-child(2){--x:41;--t:17;--h:28.847;--g:35.53;--gh:12.475}
  .stat-card .bars i:nth-child(3){--x:82;--t:11;--h:32;--g:38;--gh:16}
  .stat-card .bars i:nth-child(4){--x:123;--t:0;--h:43;--g:49;--gh:16}
}

/* ---------- FORM ---------- */
.form-wrap{max-width:560px;margin:0 auto;position:relative;z-index:2}
.step-pill{display:inline-flex;align-items:center;gap:10px;background:var(--lime);color:var(--ink);font-weight:700;font-size:13px;padding:8px 14px;border-radius:999px;margin:0 auto 22px}
.step-pill .dots{display:flex;gap:5px}
.step-pill .dots b{width:8px;height:8px;border-radius:50%;background:rgba(15,8,56,.25)}
.step-pill .dots b.on{background:var(--ink);width:20px;border-radius:999px}
label{display:block;text-align:left;font-weight:600;font-size:14px;margin:16px 0 7px}
label .hint{font-weight:400;color:var(--muted);font-size:12.5px}
input,select{width:100%;padding:16px 18px;border:1.5px solid transparent;border-radius:14px;font-size:16px;color:var(--ink);background:var(--input);font-family:inherit;transition:border-color .15s}
input::placeholder{color:#9b98ad}
input:focus,select:focus{outline:none;border-color:var(--violet)}
.row{display:flex;gap:14px}.row>div{flex:1;min-width:0}
.btn{display:block;width:100%;margin-top:24px;padding:17px;border:none;border-radius:999px;background:var(--violet);color:#fff;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit;transition:background .15s,transform .05s;text-decoration:none;text-align:center}
.btn:hover{background:var(--violet-2)}.btn:active{transform:translateY(1px)}
.btn.lime{background:var(--lime);color:var(--ink)}.btn.lime:hover{background:#a6de58}
.err{color:var(--bad);font-size:13px;margin-top:10px;text-align:left}
.card{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:var(--shadow-sm)}
.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* result */
.savings-callout{background:#efeaff;border:1px solid #d8ccff;border-radius:14px;padding:14px 16px;margin-bottom:16px;text-align:center}
.savings-callout b{color:var(--violet-2);font-size:18px}
#result{margin-top:20px}
.breakdown .line{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}
.breakdown .line:last-child{border-bottom:none}
.highlight{background:#f4faec;border:1px solid #ddeec2;border-radius:14px;padding:16px;margin-top:16px;text-align:center}
.highlight .num{font-size:28px;font-weight:800;color:var(--ink)}
.cta-final{margin-top:18px;text-align:center}
.cta-final .phone{display:block;font-size:24px;font-weight:800;color:var(--ink);margin-top:10px;text-decoration:none}
.badges{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:22px}
.badge{background:var(--section);border:1px solid var(--line);color:var(--ink);font-size:13px;font-weight:600;padding:7px 13px;border-radius:999px}
.notice{border-radius:14px;padding:14px 16px;margin-top:16px;font-size:14px;text-align:left}
.notice.warn{background:#fff7e0;border:1px solid #f1d98a}
.notice .btn{margin-top:12px;padding:12px}

.navbtns{display:flex;gap:12px;margin-top:24px}
.navbtns .btn{margin-top:0}
.btn.ghost{background:#fff;color:var(--ink);border:1.5px solid var(--line)}
.btn.ghost:hover{background:var(--section)}
/* class code + state rates */
.codebox{border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:16px;background:var(--section)}
.codehd{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.codeval{font-size:17px;font-weight:800;margin-top:2px}
.codeval b{color:var(--violet);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.codeval span{font-weight:600;color:var(--ink)}
table.rates{width:100%;border-collapse:collapse;font-size:14.5px;background:#fff;border-radius:12px;overflow:hidden}
table.rates th{background:var(--ink);color:#fff;text-align:left;padding:10px 14px;font-size:12.5px;font-weight:700}
table.rates th:last-child{text-align:right}
table.rates td{padding:11px 14px;border-bottom:1px solid var(--line)}
table.rates td:last-child{text-align:right;font-weight:800;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
table.rates tr:last-child td{border-bottom:none}
table.rates tr.sel td{background:#efeaff}
table.rates tr.sel td:first-child b{color:var(--violet)}
.statetag{display:inline-block;background:var(--lime);color:var(--ink);font-size:10.5px;font-weight:800;padding:2px 7px;border-radius:999px;margin-left:8px;vertical-align:middle}

/* ---------- Inc. 5000 banner (calculator pages only) ----------
   Matches the banner on the live OCMI site (Oscar's screenshots,
   in references/, 2026-11-18). The card keeps the live aspect ratio and
   everything inside is sized in cqw (% of the card's width), so it scales as one picture.
   Desktop: half-circle left end (radius = half the height) around the seal, small right
   corners, 2 text lines. Phones: text on top (3 lines), seal below, rounded top corners and
   a half-circle bottom end. Alpino Black (Fontshare, ITF FFL, ../fonts) for the text;
   "2026." in DM Sans Black as on the live site, whose year is set in a lining-figure face
   (Alpino's default figures are old-style). Decor: two 20%-ish white pills, clipped. */
.inc-banner{position:relative;z-index:2;overflow:hidden;container-type:inline-size;aspect-ratio:1907/538;margin-top:56px;background:#463A96;color:#fff;border-radius:14.106% 1.437% 1.437% 14.106%/50% 5.093% 5.093% 50%}
.inc-decor,.inc-decor-m{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.inc-decor-m{display:none}
.inc-seal{position:absolute;display:block;left:2.124cqw;top:2.491cqw;width:23.23cqw;height:23.23cqw}
.inc-copy{position:absolute;left:31.41cqw;top:6.849cqw;white-space:nowrap}
.inc-title,.inc-sub{font-family:"Alpino","DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-weight:900;text-transform:uppercase;letter-spacing:0}
.inc-title{color:var(--lime);font-size:4cqw;line-height:1.3}
.inc-sub{font-size:2.925cqw;line-height:3.933cqw;margin-top:1cqw}
.inc-year{font-family:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-weight:900;line-height:1}
@media(min-width:601px){.inc-br-m{display:none}}
@media(max-width:600px){
  .inc-banner{aspect-ratio:588/638;max-width:440px;margin:40px auto 0;border-radius:9.524% 9.524% 50% 50%/8.777% 8.777% 46.08% 46.08%}
  .inc-decor{display:none}
  .inc-decor-m{display:block}
  .inc-br-d{display:none}
  .inc-seal{left:24.15cqw;top:50.51cqw;width:51.7cqw;height:53.91cqw}
  .inc-copy{left:0;right:0;top:12.74cqw;text-align:center}
  .inc-title{font-size:6.95cqw}
  .inc-sub{font-size:5.255cqw;line-height:7.568cqw;margin-top:3.38cqw}
}

/* ---------- status pages (bad link, already used, not found, privacy) ---------- */
.page-main{max-width:720px;margin:0 auto;padding:12px 0 56px;position:relative;z-index:1}
.page-main h1{font-size:clamp(28px,5vw,44px);text-align:center}
.page-main .card{margin-top:22px}
.page-main p{margin-top:12px}
.page-main .lead{color:var(--muted);font-size:18px;text-align:center}
.prose h2{font-size:20px;margin-top:26px}
.prose h3{font-size:17px;margin-top:20px}
.prose p{overflow-wrap:anywhere}
.prose p,.prose li{color:#3f3b57;font-size:15px}
.prose ul{margin:10px 0 0 22px}

/* ---------- FOOTER ---------- */
footer{background:var(--ink);color:#fff;padding:52px 0 30px;margin-top:50px}
.foot-logo{display:block;width:192px;height:64px}
.foot-facts{list-style:none;margin-top:18px;color:#cdcadd;font-size:14px}
.foot-facts li{margin-bottom:8px}
.foot-facts a{color:#fff;font-weight:700;text-decoration:none}
.foot-rating{color:var(--lime);font-weight:700}
.foot-consent{border-top:1px solid rgba(255,255,255,.12);margin-top:26px;padding-top:20px;color:#e4e2ef;font-size:13.5px;max-width:820px}
.foot-disclaimer{color:#8f8ca8;font-size:12px;line-height:1.5;margin-top:14px;max-width:820px}
.foot-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:#8f8ca8;font-size:12.5px;border-top:1px solid rgba(255,255,255,.12);margin-top:22px;padding-top:18px}
.foot-bottom a{color:#cdcadd}

/* v7's inline styles, as classes */
.center{text-align:center}
.hint-sm{color:var(--muted);font-size:12.5px}
.hint-xs{color:var(--muted);font-size:11.5px;margin-top:10px}
.note-sm{color:var(--muted);font-size:12px}
.strong-mt{font-weight:700;margin-top:6px}
.bad{color:var(--bad)}
.good{color:var(--good)}

/* ---------- phones: one column, full-width form ---------- */
@media(max-width:600px){
  .wrap{padding:0 16px}
  .row{flex-direction:column;gap:0}
  .form-wrap{max-width:none}
  .card{padding:20px 16px}
  .btn-dark{padding:10px 14px}
  .hero-sub{font-size:16px}
  .breakdown .line{font-size:14px}
}
