:root {
    --ink: #15231e;
    --ink-2: #0c1713;
    --acid: #c8f04a;
    --acid-soft: #ebf9b9;
    --cream: #f5f1e7;
    --paper: #fffcf5;
    --orange: #ff8a54;
    --blue: #a8d8e8;
    --muted: #67736e;
    --line: #d7ddd8;
    --white: #fff;
    --shadow: 0 25px 75px rgba(15, 36, 28, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; color: var(--ink); background: var(--cream);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55; -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select { font: inherit; }
.icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
.shell { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.narrow { width: min(850px, calc(100% - 44px)); }
.skip-link { position: fixed; z-index: 100; top: 0; left: 10px; padding: 10px 14px; color: var(--ink); background: var(--acid); clip-path: inset(100%); }
.skip-link:focus { top: 10px; clip-path: none; }

.site-header { color: white; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); background: var(--acid); border-radius: 12px 12px 12px 3px; }
.brand-mark .icon { width: 25px; height: 25px; stroke-width: 2.2; }
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font-size: 14px; letter-spacing: -.025em; }
.brand b { color: var(--acid); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-header nav { display: flex; gap: 29px; }
.site-header nav a { color: #b9c5c0; font-size: 12px; font-weight: 700; text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--acid); }
.header-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--acid); font-size: 12px; font-weight: 800; }
.header-cta .icon { width: 16px; }

.hero {
    position: relative; overflow: hidden; color: white; background:
        radial-gradient(circle at 12% 85%, rgba(200,240,74,.08) 0 12%, transparent 12.3%),
        linear-gradient(113deg, var(--ink) 0 68%, #20372e 68%);
}
.hero::after {
    position: absolute; right: -190px; top: -160px; width: 390px; height: 390px;
    border: 65px solid rgba(168,216,232,.06); border-radius: 50%; content: "";
}
.hero-grid { min-height: 630px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 80px; padding-block: 75px 85px; }
.eyebrow { margin: 0 0 15px; color: #67820f; font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: var(--acid); }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .subhero h1, .not-found h1 {
    margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(55px, 6.8vw, 86px); font-weight: 500; letter-spacing: -.055em; line-height: .95;
}
.hero h1 em { color: var(--acid); font-style: italic; }
.hero-copy > p:not(.eyebrow) { max-width: 600px; margin-bottom: 30px; color: #c4d0ca; font-size: 18px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 12px 21px; border: 0; border-radius: 99px; text-decoration: none; font-size: 13px; font-weight: 800; }
.button.acid { color: var(--ink); background: var(--acid); box-shadow: 0 13px 32px rgba(200,240,74,.18); }
.button.acid:hover { background: #d8ff60; }
.hero-facts { display: flex; gap: 29px; margin-top: 37px; }
.hero-facts span { display: grid; }
.hero-facts b { color: var(--acid); font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 500; }
.hero-facts small { color: #8fa19a; font-size: 8px; }

.hero-ticket { position: relative; z-index: 2; padding: 30px 31px 35px; color: var(--ink); background: var(--paper); box-shadow: 13px 13px 0 var(--acid); transform: rotate(1.4deg); }
.ticket-head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.ticket-main { display: grid; padding: 25px 0 22px; border-bottom: 1px dashed #aeb6b1; }
.ticket-main span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.ticket-main strong { font-family: Georgia, "Times New Roman", serif; font-size: 43px; font-weight: 500; letter-spacing: -.04em; }
.ticket-main small { color: var(--muted); }
.hero-ticket dl { margin: 16px 0; }
.hero-ticket dl > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 10px; }
.hero-ticket dt { color: var(--muted); }
.hero-ticket dd { margin: 0; font-weight: 750; }
.ticket-total { display: flex; justify-content: space-between; padding: 13px; color: white; background: var(--ink); font-size: 11px; }
.ticket-total b { color: var(--acid); }
.ticket-cut { position: absolute; right: 0; bottom: -7px; left: 0; height: 14px; background: linear-gradient(135deg, transparent 7px, var(--paper) 0) 0 0/14px 14px repeat-x; }

.trust-strip { color: white; background: #27483b; }
.trust-strip > div { min-height: 94px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 20px; }
.trust-strip span { display: flex; align-items: center; gap: 9px; color: #b7cbc3; font-size: 9px; }
.trust-strip .icon { width: 22px; color: var(--acid); }
.trust-strip b { display: block; color: white; }

.calculator-section { padding: 105px 0 110px; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 70px; margin-bottom: 45px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(41px, 5vw, 63px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.section-heading > p { max-width: 450px; margin: 0 0 3px; color: var(--muted); font-size: 14px; }
.section-heading > p strong { color: var(--ink); }
.calculator-grid { display: grid; grid-template-columns: 1fr .95fr; align-items: stretch; gap: 22px; }
.input-card, .result-card { padding: 33px; background: white; border: 1px solid var(--line); border-radius: 19px 19px 19px 5px; box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 27px; }
.card-head > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); background: var(--acid-soft); border-radius: 12px 12px 12px 3px; font-size: 11px; font-weight: 850; }
.card-head small { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-head h3 { margin: 1px 0 0; font-size: 20px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field > span:first-child, .allowance-choice legend { color: var(--muted); font-size: 10px; font-weight: 750; }
.unit-input, .field select { width: 100%; min-height: 53px; color: var(--ink); background: #f7f6f0; border: 1px solid var(--line); border-radius: 10px; }
.unit-input { display: flex; align-items: center; padding: 0 14px; }
.unit-input.large { min-height: 67px; }
.unit-input input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: 17px; font-weight: 750; }
.unit-input.large input { font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
.unit-input b { color: var(--muted); font-size: 10px; }
.field select { padding: 0 13px; outline: 0; font-size: 11px; font-weight: 700; }
.unit-input:focus-within, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21,35,30,.11); }
.allowance-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 19px; padding: 0; border: 0; }
.allowance-choice legend { grid-column: 1 / -1; }
.allowance-choice input { position: absolute; opacity: 0; }
.allowance-choice label { cursor: pointer; }
.allowance-choice label > span { display: grid; gap: 2px; padding: 13px; background: #f6f5ef; border: 1px solid var(--line); border-radius: 9px; }
.allowance-choice input:checked + span { background: var(--acid-soft); border: 2px solid var(--ink); }
.allowance-choice input:focus-visible + span { outline: 3px solid rgba(21,35,30,.2); }
.allowance-choice b { font-size: 14px; }
.allowance-choice small { color: var(--muted); font-size: 9px; }
.form-error { min-height: 20px; margin: 10px 0 -8px; color: #a83928; font-size: 10px; font-weight: 700; }

.result-card { color: white; background: var(--ink); border-color: var(--ink); }
.card-head.dark > span { color: var(--ink); background: var(--acid); }
.card-head.dark small { color: #8ea49b; }
.status { margin-left: auto; padding: 5px 8px; color: var(--acid); border: 1px solid rgba(200,240,74,.4); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.net-result { padding: 8px 0 23px; border-bottom: 1px solid rgba(255,255,255,.14); }
.net-result > span { display: block; color: #91a69d; font-size: 9px; text-transform: uppercase; }
.net-result strong { display: block; margin: 4px 0; color: var(--acid); font-family: Georgia, "Times New Roman", serif; font-size: 49px; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.net-result small { color: #96a9a1; }
.result-bars { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.result-bars > div { display: grid; grid-template-columns: 40px 1fr 57px; align-items: center; gap: 8px; margin: 7px 0; font-size: 8px; }
.result-bars span { color: #96aaa1; }
.result-bars b { text-align: right; }
.result-bars progress { width: 100%; height: 6px; appearance: none; border: 0; background: rgba(255,255,255,.1); }
.result-bars progress::-webkit-progress-bar { background: rgba(255,255,255,.1); }
.result-bars progress::-webkit-progress-value { background: var(--acid); }
.result-bars progress::-moz-progress-bar { background: var(--acid); }
.result-bars > div:nth-child(2) progress::-webkit-progress-value { background: var(--orange); }
.result-bars > div:nth-child(2) progress::-moz-progress-bar { background: var(--orange); }
.tax-breakdown { margin: 14px 0 0; }
.tax-breakdown > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 10px; }
.tax-breakdown dt { color: #a6b6b0; }
.tax-breakdown dt i { color: var(--acid); font-style: normal; }
.tax-breakdown dd { margin: 0; font-weight: 750; }
.tax-breakdown .base { margin-top: 3px; padding: 10px 0; color: var(--blue); border-block: 1px solid rgba(168,216,232,.35); }
.tax-breakdown .base dt { color: inherit; }
.tax-breakdown .total { color: var(--acid); border-bottom: 0; font-size: 12px; }
.tax-breakdown .total dt { color: inherit; }
.allowance-status { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; padding: 12px; color: #617251; background: var(--acid-soft); border-radius: 8px; font-size: 9px; }
.allowance-status .icon { color: var(--ink); }

.flow-card { margin-top: 24px; padding: 30px; background: white; border: 1px solid var(--line); border-radius: 17px; }
.flow-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.flow-head .eyebrow { margin: 0; }
.flow-head h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 29px; font-weight: 500; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; }
.flow article { min-height: 112px; display: grid; align-content: center; padding: 16px; background: var(--cream); border: 1px solid var(--line); }
.flow article.highlight { color: white; background: var(--ink); border-color: var(--ink); }
.flow article > span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.flow .highlight > span { color: #8fa49b; }
.flow strong { font-size: 18px; }
.flow .highlight strong { color: var(--acid); }
.flow small { color: var(--muted); font-size: 8px; }
.flow > i { color: var(--orange); font-style: normal; font-weight: 850; }

.comparison-section { margin-top: 85px; }
.comparison-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 60px; margin-bottom: 25px; }
.comparison-head h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 42px; font-weight: 500; letter-spacing: -.04em; }
.comparison-head > p { margin: 0 0 4px; color: var(--muted); font-size: 12px; }
.comparison-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.comparison-item { min-height: 160px; display: grid; align-content: start; padding: 17px; background: white; border: 1px solid var(--line); border-top: 5px solid #bfc6c1; }
.comparison-item.active { background: var(--acid-soft); border-color: #8eae26; border-top-color: var(--acid); }
.comparison-item > span { min-height: 32px; color: var(--muted); font-size: 9px; }
.comparison-item > b { color: #67820f; font-size: 10px; }
.comparison-item > strong { margin-top: 17px; font-size: 17px; }
.comparison-item > small { color: var(--muted); font-size: 8px; }

.explain-section { padding: 105px 0 115px; color: white; background: var(--ink-2); }
.section-heading.inverse h2 { color: white; }
.section-heading.inverse .eyebrow { color: var(--acid); }
.section-heading.inverse > a { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 3px; color: var(--acid); font-size: 12px; font-weight: 800; }
.explain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.explain-grid article { min-height: 240px; padding: 27px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 14px 14px 14px 4px; }
.explain-grid article > span { color: var(--acid); font-size: 10px; font-weight: 850; }
.explain-grid h3 { margin: 65px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 500; }
.explain-grid p { margin: 0; color: #82978f; font-size: 12px; }

.subhero { padding: 100px 0 95px; color: white; background: var(--ink); }
.subhero.compact { padding-block: 75px; }
.subhero h1 { max-width: 930px; }
.subhero > div > p:last-child { max-width: 720px; margin: 0; color: #bdcbc5; font-size: 18px; }
.prose { max-width: 860px; padding-block: 85px 115px; }
.prose section { margin-bottom: 72px; }
.prose section:last-child { margin-bottom: 0; }
.chapter { margin-bottom: 10px; color: #68840f; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.prose h2, .legal h2 { margin-bottom: 17px; font-family: Georgia, "Times New Roman", serif; font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1.08; }
.prose p, .legal p, .prose li { color: var(--muted); font-size: 17px; line-height: 1.75; }
.formula { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 10px; margin: 25px 0; padding: 21px; color: white; background: var(--ink); }
.formula b { font-size: 11px; }
.formula i { color: var(--acid); font-style: normal; font-weight: 800; }
.formula span { color: var(--orange); }
.formula.large { grid-template-columns: auto auto 1fr; }
.rate-table { margin: 24px 0; border: 1px solid var(--line); }
.rate-table > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.rate-table > div:first-child { color: white; background: var(--ink); font-size: 10px; }
.rate-table > div:last-child { border-bottom: 0; }
.rate-table span { color: var(--muted); }
.rate-table strong { color: #67820f; }
.sources { padding: 29px; background: #edf3eb; }
.sources ul { margin: 0; padding-left: 20px; }
.sources li { margin: 7px 0; font-size: 13px; }
.sources a { color: #536d08; font-weight: 700; }
.faq-list { max-width: 900px; padding-block: 75px 110px; }
.faq-list details { border-top: 1px solid var(--line); background: white; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 50px 24px 4px; cursor: pointer; list-style: none; font-family: Georgia, "Times New Roman", serif; font-size: 23px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 24px; right: 14px; color: #6d8a0d; content: "+"; font-size: 27px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { max-width: 760px; padding: 0 50px 24px 4px; color: var(--muted); }
.faq-list details p { margin: 0; }
.legal { max-width: 800px; padding-block: 80px 110px; }
.legal section { margin-bottom: 45px; }
.legal h2 { font-size: 29px; }
.legal p { font-size: 16px; }
.legal a { color: #587508; font-weight: 700; }
.not-found { min-height: 620px; display: grid; place-items: center; padding: 80px 0; color: white; background: var(--ink); text-align: center; }
.not-found span { color: var(--acid); font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.not-found h1 { margin-top: 16px; }
.not-found p { color: #b8c7c1; }
.not-found .button { margin-top: 12px; }

.site-footer { color: #a8bab3; background: #07110d; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr .8fr; gap: 70px; padding-block: 65px 50px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid p { margin: 10px 0 0; color: #61766e; font-size: 11px; }
.footer-grid > div > b { margin-bottom: 7px; color: var(--acid); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.footer-grid a:not(.brand) { color: #96aaa2; font-size: 11px; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 18px; color: #52675f; border-top: 1px solid rgba(255,255,255,.09); font-size: 9px; }

@media (max-width: 930px) {
    .hero-grid { gap: 35px; }
    .comparison-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .shell, .narrow { width: min(100% - 30px, 1180px); }
    .header-inner { min-height: 68px; }
    .site-header nav { display: none; }
    .header-cta { font-size: 0; }
    .header-cta .icon { width: 20px; }
    .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 55px 65px; }
    .hero h1, .subhero h1 { font-size: 49px; }
    .hero-copy > p:not(.eyebrow) { font-size: 16px; }
    .hero-facts { gap: 18px; }
    .hero-ticket { margin-top: 22px; padding: 24px; }
    .trust-strip > div { grid-template-columns: 1fr; gap: 12px; padding-block: 18px; }
    .calculator-section { padding-block: 72px 80px; }
    .section-heading { grid-template-columns: 1fr; gap: 18px; }
    .section-heading h2 { font-size: 43px; }
    .calculator-grid { grid-template-columns: 1fr; }
    .input-card, .result-card { padding: 24px; }
    .flow-head { align-items: flex-start; flex-direction: column; }
    .flow { grid-template-columns: 1fr; }
    .flow > i { text-align: center; }
    .comparison-section { margin-top: 65px; }
    .comparison-head { grid-template-columns: 1fr; gap: 14px; }
    .comparison-grid { grid-template-columns: 1fr 1fr; }
    .explain-section { padding-block: 72px 80px; }
    .explain-grid { grid-template-columns: 1fr; }
    .explain-grid article { min-height: 190px; }
    .explain-grid h3 { margin-top: 39px; }
    .subhero { padding-block: 70px; }
    .prose { padding-block: 65px 90px; }
    .prose section { margin-bottom: 55px; }
    .prose h2 { font-size: 34px; }
    .formula, .formula.large { grid-template-columns: 1fr; }
    .faq-list { padding-block: 55px 80px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 25px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 410px) {
    .brand strong { font-size: 12px; }
    .hero h1, .subhero h1 { font-size: 43px; }
    .hero-facts { flex-direction: column; gap: 8px; }
    .hero-facts span { grid-template-columns: 80px 1fr; align-items: center; }
    .allowance-choice { grid-template-columns: 1fr; }
    .net-result strong { font-size: 39px; }
    .comparison-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
