/* ============================================================
   AWMedia calculator pages -- shared stylesheet
   Fonts: Space Grotesk + Inter (same woff2 assets as the landing,
   absolute /assets/ paths so subfolder routes resolve them).
   Landing note: the landing header uses dc-runtime style-hover
   attributes; hover effects are real CSS :hover rules here.
   ============================================================ */

/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/a3a29096-7e1a-48b8-8199-55a361dc9768.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/39b34cdc-dc98-450d-9527-d77b08498eb7.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/89d6d0c2-bc85-450b-bced-79ffe0696ee3.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/0b0063fd-163b-4c91-96cc-a05e9371d0d6.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/a8967270-d426-41c0-8f8d-500c3852df84.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/35cf330c-baa0-4491-960d-a8bb04e0c01a.woff2") 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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/5f9d66c9-3051-49b9-8721-fba0bd4f8972.woff2") 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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/a3a29096-7e1a-48b8-8199-55a361dc9768.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/39b34cdc-dc98-450d-9527-d77b08498eb7.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/89d6d0c2-bc85-450b-bced-79ffe0696ee3.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/0b0063fd-163b-4c91-96cc-a05e9371d0d6.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/a8967270-d426-41c0-8f8d-500c3852df84.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/35cf330c-baa0-4491-960d-a8bb04e0c01a.woff2") 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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/5f9d66c9-3051-49b9-8721-fba0bd4f8972.woff2") 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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/a3a29096-7e1a-48b8-8199-55a361dc9768.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/39b34cdc-dc98-450d-9527-d77b08498eb7.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/89d6d0c2-bc85-450b-bced-79ffe0696ee3.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/0b0063fd-163b-4c91-96cc-a05e9371d0d6.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/a8967270-d426-41c0-8f8d-500c3852df84.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/35cf330c-baa0-4491-960d-a8bb04e0c01a.woff2") 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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/5f9d66c9-3051-49b9-8721-fba0bd4f8972.woff2") 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;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/e6f208a8-bea0-4ade-9cd8-c4ebaf821fa3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/cbed51bd-b6e4-4a76-bccb-c7ab357c5ad3.woff2") 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;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/2978760e-a3e1-473c-8133-bb1359cfcbf6.woff2") 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;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/e6f208a8-bea0-4ade-9cd8-c4ebaf821fa3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/cbed51bd-b6e4-4a76-bccb-c7ab357c5ad3.woff2") 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;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/2978760e-a3e1-473c-8133-bb1359cfcbf6.woff2") 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;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/e6f208a8-bea0-4ade-9cd8-c4ebaf821fa3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/cbed51bd-b6e4-4a76-bccb-c7ab357c5ad3.woff2") 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;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/2978760e-a3e1-473c-8133-bb1359cfcbf6.woff2") 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;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/e6f208a8-bea0-4ade-9cd8-c4ebaf821fa3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/cbed51bd-b6e4-4a76-bccb-c7ab357c5ad3.woff2") 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;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/2978760e-a3e1-473c-8133-bb1359cfcbf6.woff2") 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;
}


/* ============================================================
   Tokens + base
   ============================================================ */
:root{
  --bg:#07090F;
  --text:#F4F7FB;
  --muted:#9CA3AF;
  --accent-1:#60A5FA;
  --accent-2:#0081FB;
  --accent-3:#38E1FF;
  --card-border:rgba(255,255,255,.1);
  --card-bg:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));
  --radius:18px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:'Space Grotesk',Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--accent-1);text-decoration:none}
a:hover{color:var(--accent-3)}
img{max-width:100%}
.calc-shell{background:var(--bg);min-height:100vh;overflow-x:clip}

/* ============================================================
   Header / nav (static clone of the landing header; the landing
   uses dc-runtime style-hover attributes -> real :hover here)
   ============================================================ */
.site-header{position:relative;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;max-width:1200px;margin:0 auto;padding:10px 24px}
.logo-link{display:inline-flex;align-items:center}
.logo-img{height:60px;width:auto;display:block}
.nav-links{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.nav-link{color:rgba(255,255,255,.65);font-size:.92rem;font-weight:500}
.nav-link:hover{color:#FFFFFF}
.nav-dd-trigger{display:inline-flex;align-items:center;gap:6px}
.dd-caret{font-size:.55rem}
[data-nav-dd]{position:relative}
[data-nav-menu]{visibility:hidden;opacity:0;transition:opacity .15s ease;position:absolute;top:100%;right:0;padding-top:10px;z-index:100}
[data-nav-dd]:hover [data-nav-menu],
[data-nav-dd]:focus-within [data-nav-menu]{visibility:visible;opacity:1}
.dd-panel{background:#0A0F1C;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:8px;min-width:240px;box-shadow:0 18px 50px rgba(0,0,0,.55)}
.dd-panel a{display:block;padding:9px 14px;border-radius:8px;color:#9CA3AF;font-size:.9rem}
.dd-panel a:hover{background:rgba(63,131,248,.12);color:#D7DEE9}
.dd-panel a.dd-all{color:#D7DEE9;font-weight:600}
.dd-panel a.active{color:#F4F7FB;background:rgba(63,131,248,.10)}

/* ============================================================
   Footer (static clone of the landing footer)
   ============================================================ */
.site-footer{border-top:1px solid rgba(255,255,255,.07);background:#060810;margin-top:20px}
.footer-inner{max-width:1200px;margin:0 auto;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.footer-brand{display:flex;align-items:center;gap:11px}
.aw-badge{width:36px;height:36px;border-radius:9px;background:linear-gradient(145deg,#3F83F8,#0081FB);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;color:#fff}
.footer-brand-text{line-height:1}
.footer-brand-text b{font-size:1rem;font-weight:700;display:block;color:var(--text)}
.footer-brand-text span{font-size:.5rem;letter-spacing:.42em;color:#6B7280;text-transform:uppercase}
.footer-links{display:flex;align-items:center;gap:24px;flex-wrap:wrap;font-size:.88rem}
.footer-copy{font-size:.78rem;color:#4B5563}

/* ============================================================
   Layout / typography
   ============================================================ */
.calc-section{max-width:1200px;margin:0 auto;padding:20px 24px}
.page-title{font-family:'Space Grotesk',Inter,system-ui,sans-serif;font-size:clamp(1.7rem,3.4vw,2.4rem);font-weight:700;line-height:1.15;margin:0 0 10px}
.page-sub{color:var(--muted);font-size:1rem;line-height:1.55;margin:0;max-width:720px}
.section-title{font-family:'Space Grotesk',Inter,system-ui,sans-serif;font-size:1.15rem;font-weight:700;margin:0 0 14px}
.hint{font-size:.8rem;color:#6B7280;margin:0 0 12px}

/* ============================================================
   Cards
   ============================================================ */
.card{border:1px solid var(--card-border);background:var(--card-bg);border-radius:var(--radius);padding:24px}

/* ============================================================
   Inputs (label + input + optional tooltip / inline warning)
   ============================================================ */
.input-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px 20px}
.input-row{display:flex;flex-direction:column;gap:7px}
.input-label{display:flex;align-items:center;gap:6px;font-size:.85rem;font-weight:500;color:var(--muted)}
.calc-input{width:100%;min-height:44px;padding:10px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:var(--text);font:inherit;font-size:1rem;transition:border-color .15s ease,box-shadow .15s ease}
.calc-input::placeholder{color:#5B6472}
.calc-input:focus{outline:none;border-color:rgba(96,165,250,.65);box-shadow:0 0 0 3px rgba(96,165,250,.15)}
.calc-input.is-invalid{border-color:rgba(239,68,68,.75);box-shadow:0 0 0 3px rgba(239,68,68,.14)}
.field-warn{display:none;font-size:.78rem;color:#FBBF24}
.field-warn.show{display:block}

/* Tooltip: <span class="tip" tabindex="0" data-tip="...">?</span> */
.tip{position:relative;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:rgba(255,255,255,.10);color:#C3CBD8;font-size:.68rem;font-weight:600;cursor:help;border:1px solid rgba(255,255,255,.14);flex:none}
.tip::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:#0A0F1C;border:1px solid rgba(255,255,255,.14);color:#D7DEE9;font-size:.75rem;font-weight:400;line-height:1.4;padding:8px 10px;border-radius:8px;white-space:normal;width:max-content;max-width:220px;opacity:0;visibility:hidden;transition:opacity .15s ease;pointer-events:none;z-index:60;text-align:left}
.tip:hover::after,.tip:focus::after{opacity:1;visibility:visible}

/* ============================================================
   Result tiles
   ============================================================ */
.tile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.tile{border:1px solid var(--card-border);background:var(--card-bg);border-radius:14px;padding:16px 18px}
.tile-label{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
.tile-value{font-family:'Space Grotesk',Inter,system-ui,sans-serif;font-size:1.25rem;font-weight:700;line-height:1.25;margin:0;overflow-wrap:anywhere}
.tile-note{font-size:.78rem;color:#6B7280;margin:6px 0 0}
.tile-value.is-good{color:#4ADE80}
.tile-value.is-warn{color:#FBBF24}
.tile-value.is-bad{color:#F87171}

/* ============================================================
   Insight / warning banners (green / amber / red on rgba tints)
   Static usage: add .show in markup. JS usage: toggle .show.
   ============================================================ */
.banner{display:none;border-radius:14px;padding:12px 16px;font-size:.92rem;line-height:1.45;border:1px solid}
.banner.show{display:block}
.banner-green{background:rgba(34,197,94,.10);border-color:rgba(34,197,94,.35);color:#86EFAC}
.banner-amber{background:rgba(245,158,11,.10);border-color:rgba(245,158,11,.35);color:#FCD34D}
.banner-red{background:rgba(239,68,68,.10);border-color:rgba(239,68,68,.4);color:#FCA5A5}

/* ============================================================
   Matrix table (10x10): sticky first column, horizontal scroll
   inside .matrix-scroll -- the PAGE never scrolls horizontally.
   ============================================================ */
.matrix-scroll{overflow-x:auto;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(7,9,15,.35)}
table.matrix{border-collapse:separate;border-spacing:0;width:100%;font-size:.84rem;font-variant-numeric:tabular-nums}
table.matrix th,table.matrix td{padding:8px 10px;text-align:right;white-space:nowrap;border-bottom:1px solid rgba(255,255,255,.06)}
table.matrix thead th{color:#C3CBD8;font-weight:600;background:#0B0F1A}
table.matrix .rowhead{position:sticky;left:0;background:#0B0F1A;text-align:left;font-weight:600;color:#C3CBD8;z-index:2;border-right:1px solid rgba(255,255,255,.1);min-width:110px}
table.matrix tbody tr:last-child th,table.matrix tbody tr:last-child td{border-bottom:0}

/* 5-tier cell scale (readable on dark) */
.t-green{background:rgba(34,197,94,.16);color:#86EFAC}
.t-yellow{background:rgba(234,179,8,.14);color:#FDE68A}
.t-blue{background:rgba(59,130,246,.16);color:#93C5FD}
.t-neutral{background:rgba(148,163,184,.10);color:#CBD5E1}
.t-red{background:rgba(239,68,68,.14);color:#FCA5A5}

/* Legend chips */
.legend{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.legend-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;font-size:.78rem;border:1px solid rgba(255,255,255,.08)}
.legend-chip .dot{width:10px;height:10px;border-radius:50%;background:currentColor;flex:none}

/* ============================================================
   CTA block (results-adjacent)
   ============================================================ */
.cta-block{border:1px solid rgba(96,165,250,.35);border-radius:var(--radius);background:linear-gradient(180deg,rgba(0,129,251,.10),rgba(255,255,255,.02));padding:28px 24px;text-align:center}
.cta-line{font-size:1.15rem;font-weight:600;line-height:1.45;margin:0 auto 8px;max-width:640px}
.cta-line b{background:linear-gradient(90deg,#60A5FA,#0081FB,#38E1FF);-webkit-background-clip:text;background-clip:text;color:transparent}
.cta-proof{color:var(--muted);font-size:.88rem;margin:0 0 18px}
.cta-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 30px;border-radius:12px;background:linear-gradient(135deg,#3F83F8,#0081FB);color:#fff;font-weight:700;font-size:.98rem;transition:filter .15s ease,transform .15s ease}
.cta-btn:hover{filter:brightness(1.12);color:#fff;transform:translateY(-1px)}

/* ============================================================
   Hub cards
   ============================================================ */
.hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.hub-card{display:flex;flex-direction:column;gap:8px;border:1px solid var(--card-border);background:var(--card-bg);border-radius:var(--radius);padding:22px;transition:border-color .15s ease,transform .15s ease}
.hub-card:hover{border-color:rgba(96,165,250,.45);transform:translateY(-2px)}
.hub-card-title{margin:0;font-family:'Space Grotesk',Inter,system-ui,sans-serif;font-size:1.05rem;font-weight:700;color:var(--text)}
.hub-card p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.5}
.hub-card-cta{margin-top:auto;padding-top:8px;font-size:.88rem;font-weight:600;color:var(--accent-1)}
.hub-card:hover .hub-card-cta{color:var(--accent-3)}

/* "Why use these" list */
.why-list{margin:0;padding:0;list-style:none;display:grid;gap:10px;max-width:720px}
.why-list li{position:relative;padding-left:22px;color:#C3CBD8;font-size:.95rem;line-height:1.5}
.why-list li::before{content:"";position:absolute;left:0;top:.44em;width:10px;height:10px;border-radius:3px;background:linear-gradient(135deg,#60A5FA,#0081FB)}

/* ============================================================
   SEO copy block
   ============================================================ */
.seo-copy{color:#B7BFCC;font-size:.95rem;line-height:1.65;max-width:760px}
.seo-copy h2{font-family:'Space Grotesk',Inter,system-ui,sans-serif;font-size:1.15rem;margin:0 0 10px;color:var(--text)}
.seo-copy p{margin:0 0 12px}
.seo-copy p:last-child{margin-bottom:0}

/* ============================================================
   Mobile (<=719px): full-width inputs, >=44px touch targets
   ============================================================ */
@media (max-width:719px){
  .calc-section{padding:20px 18px}
  .card{padding:18px}
  .nav-links{gap:14px 18px}
  .nav-link{font-size:.85rem}
  [data-nav-menu]{right:auto;left:0}
  .footer-inner{flex-direction:column;align-items:center;text-align:center}
  .input-grid{grid-template-columns:1fr}
  .tip::after{left:0;transform:none}
  .cta-btn{width:100%}
}
