/*
Theme Name: Money Schemes
Theme URI: https://moneyschemes.it.com/
Description: Bond certificate theme for an independent guide to Indian government savings and welfare schemes. Guilloche hero, live rate ticker and rate board, scheme finder, coupon cards, calculators.
Version: 1.0.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: moneyschemes
*/

@font-face { font-family: "Hedvig Letters Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/hedvig-letters-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/host-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/host-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/host-grotesk-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/host-grotesk-latin-700-normal.woff2) format("woff2"); }

:root {
	--ink: #17132e;
	--ink-2: #2a2450;
	--bond: #4b2d86;
	--bond-soft: #efeaf8;
	--jade: #0e8a6a;
	--jade-soft: #e3f4ee;
	--gold: #b8862a;
	--gold-2: #e9c879;
	--rose: #c23b62;
	--paper: #f6f4ee;
	--card: #ffffff;
	--line: #e5dfd1;
	--muted: #5c5770;
	--st: var(--jade);
	--r-lg: 22px;
	--r: 14px;
	--shadow: 0 1px 2px rgba(23, 19, 46, .05), 0 10px 30px -12px rgba(23, 19, 46, .18);
	--serif: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
	--sans: "Host Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); font-feature-settings: "tnum" 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bond); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.mz-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.mz-skip { position: absolute; left: -9999px; }
.mz-skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ------------------------------------------------------------ rate ticker */
.mz-ticker { background: var(--ink); color: #d9d4ee; font-size: 13.5px; }
.mz-ticker-row { display: flex; align-items: center; gap: 14px; height: 36px; overflow: hidden; }
.mz-ticker-tag { flex: none; color: var(--gold-2); font-weight: 600; letter-spacing: .02em; padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, .15); }
.mz-ticker-belt { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.mz-ticker-list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; white-space: nowrap; width: max-content; animation: mz-belt 46s linear infinite; }
.mz-ticker-list li b { color: #fff; font-weight: 600; margin-left: 4px; font-variant-numeric: tabular-nums; }
.mz-ticker:hover .mz-ticker-list { animation-play-state: paused; }
@keyframes mz-belt { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mz-ticker-list { animation: none; } .mz-ticker-belt { overflow-x: auto; } }

/* ----------------------------------------------------------------- header */
.mz-top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.mz-top-row { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.mz-logo { flex: none; display: flex; }
.mz-logo img { height: 36px; width: auto; }
.mz-nav { display: flex; gap: 4px; margin-left: auto; }
.mz-nav a { position: relative; padding: 8px 12px 8px 24px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.mz-nav a::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--st); }
.mz-nav a:hover { background: var(--bond-soft); }
.mz-calc-link { flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; text-decoration: none; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.mz-calc-link span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-2); color: var(--ink); font-size: 13px; }
.mz-calc-link:hover { color: #fff; background: var(--bond); }
.mz-menubtn { display: none; align-items: center; gap: 8px; margin-left: auto; padding: 9px 14px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font: 600 15px var(--sans); color: var(--ink); cursor: pointer; }
.mz-menubtn-bars, .mz-menubtn-bars::before, .mz-menubtn-bars::after { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.mz-menubtn-bars::before, .mz-menubtn-bars::after { content: ""; position: absolute; left: 0; }
.mz-menubtn-bars::before { top: -5px; } .mz-menubtn-bars::after { top: 5px; }
.mz-drawer { border-top: 1px solid var(--line); background: #fff; padding: 14px 0 18px; }
.mz-drawer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.mz-drawer-list a { display: block; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); border-left: 4px solid var(--st, var(--ink)); text-decoration: none; color: var(--ink); }
.mz-drawer-list b { display: block; } .mz-drawer-list span { color: var(--muted); font-size: 14px; }
@media (max-width: 1040px) { .mz-nav { display: none; } .mz-menubtn { display: inline-flex; } .mz-calc-link { margin-left: auto; } .mz-menubtn { margin-left: 0; } }
@media (max-width: 560px) { .mz-calc-link { padding: 8px 12px; font-size: 0; gap: 0; } .mz-calc-link span { font-size: 13px; } .mz-top-row { gap: 10px; min-height: 60px; } .mz-logo img { height: 30px; } }

/* -------------------------------------------------------------------- hero */
.mz-hero { position: relative; overflow: hidden; color: #f3f0ff; background:
	radial-gradient(900px 500px at 85% 10%, rgba(233, 200, 121, .18), transparent 60%),
	radial-gradient(700px 520px at 0% 100%, rgba(14, 138, 106, .32), transparent 60%),
	linear-gradient(160deg, #221a47 0%, #17132e 55%, #120f26 100%); }
.mz-guilloche { position: absolute; right: -120px; top: -140px; width: 760px; height: 760px; color: var(--gold-2); opacity: .22; pointer-events: none; }
.mz-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; padding: 56px 0 64px; align-items: start; }
.mz-eyebrow { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 14px; padding: 6px 12px; border: 1px solid rgba(233, 200, 121, .45); border-radius: 999px; color: var(--gold-2); font-size: 13.5px; font-weight: 600; letter-spacing: .03em; }
.mz-hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 64px); margin: 0 0 14px; }
.mz-hero-lede { font-size: 19px; color: #d6d0ef; max-width: 36em; margin: 0 0 26px; }

/* finder */
.mz-finder { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); padding: 20px; }
.mz-finder-q { margin: 0 0 12px; font-weight: 600; color: #fff; }
.mz-finder-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.mz-finder-chips button { font: 500 15px var(--sans); color: #f3f0ff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.mz-finder-chips button[aria-pressed="true"] { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }
.mz-finder-search { display: flex; gap: 8px; }
.mz-finder-search input { flex: 1; min-width: 0; font: 16px var(--sans); padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 8, 25, .4); color: #fff; }
.mz-finder-search input::placeholder { color: #a9a3c6; }
.mz-finder-out { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; max-height: 330px; overflow: auto; }
.mz-finder-out a { display: block; padding: 10px 14px; background: #fff; color: var(--ink); border-radius: 12px; text-decoration: none; border-left: 4px solid var(--st); }
.mz-finder-out b { display: block; font-weight: 600; } .mz-finder-out span { font-size: 14px; color: var(--muted); }
.mz-finder-note { margin: 10px 0 0; font-size: 13.5px; color: #b9b2d8; }

/* certificate rate board */
.mz-cert { background: #fffdf7; color: var(--ink); border-radius: var(--r-lg); padding: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); transform: rotate(1.2deg);
	background-image: repeating-linear-gradient(45deg, rgba(184, 134, 42, .07) 0 2px, transparent 2px 9px), repeating-linear-gradient(-45deg, rgba(75, 45, 134, .06) 0 2px, transparent 2px 9px); }
.mz-cert-in { border: 2px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -7px; border-radius: 14px; padding: 22px 22px 16px; background: rgba(255, 253, 247, .94); }
.mz-cert-serial { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.mz-cert h2 { margin: 0; font-size: 30px; }
.mz-cert-sub { margin: 2px 0 12px; color: var(--muted); font-size: 14.5px; }
.mz-cert-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.mz-cert-table th { text-align: left; font-weight: 500; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.mz-cert-table th a { color: var(--ink); text-decoration: none; } .mz-cert-table th a:hover { color: var(--bond); text-decoration: underline; }
.mz-cert-table td { text-align: right; font-weight: 700; color: var(--jade); font-variant-numeric: tabular-nums; border-bottom: 1px dashed var(--line); }
.mz-cert-foot { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .mz-hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 36px 0 44px; } .mz-cert { transform: none; } .mz-guilloche { width: 520px; height: 520px; right: -200px; top: -120px; } }

/* calculators strip */
.mz-calcs { padding: 44px 0 6px; }
.mz-calcs h2 { font-size: 30px; margin: 0 0 16px; }
.mz-calc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.mz-calc-grid a { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 14px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); height: 100%; transition: transform .15s; }
.mz-calc-grid a:hover { transform: translateY(-2px); }
.mz-calc-sym { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--jade-soft); color: var(--jade); font-weight: 700; }
.mz-calc-grid b { font-weight: 600; line-height: 1.25; } .mz-calc-grid small { color: var(--muted); font-size: 13px; line-height: 1.35; }

/* ------------------------------------------------------------- page head */
.mz-pagehead { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, var(--paper)); border-bottom: 1px solid var(--line); }
.mz-pagehead::after { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%;
	background: repeating-radial-gradient(circle, transparent 0 9px, color-mix(in srgb, var(--st) 22%, transparent) 9px 10px); opacity: .55; pointer-events: none; }
.mz-pagehead-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; padding: 26px 0 34px; }
.mz-pagehead--plain .mz-pagehead-grid { grid-template-columns: 1fr; }
.mz-trail { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.mz-trail a { color: var(--muted); }
.mz-kicker { display: inline-block; margin: 0 0 10px; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--st) 12%, #fff); color: var(--st); font-size: 13.5px; font-weight: 600; }
.mz-pagehead h1 { font-size: clamp(32px, 4.4vw, 50px); margin: 0 0 12px; }
.mz-pagehead-short { font-size: 19px; color: var(--ink-2); margin: 0 0 14px; max-width: 38em; }
.mz-pagehead-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.mz-pagehead-meta span { font-size: 13.5px; padding: 4px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.mz-cover { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; background: var(--bond-soft); }
.mz-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .mz-pagehead-grid { grid-template-columns: 1fr; gap: 20px; padding: 20px 0 26px; } .mz-cover { order: 2; } }

/* ---------------------------------------------------------- reading area */
.mz-read { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 34px 0 60px; }
.mz-article { max-width: 780px; margin-inline: auto; width: 100%; }
.mz-read--narrow .mz-article { max-width: 720px; }
.mz-read--home { padding-top: 40px; }
.mz-notice { margin: 0 0 22px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); font-size: 14.5px; color: var(--muted); }
.mz-notice b { color: var(--ink); }
.mz-intro p:first-child { font-size: 19.5px; line-height: 1.6; color: var(--ink-2); }
.mz-article h2 { font-size: clamp(25px, 3vw, 32px); margin: 44px 0 14px; scroll-margin-top: 96px; }
.mz-article h3 { font-family: var(--sans); font-weight: 600; font-size: 19px; margin: 26px 0 8px; }
.mz-article p, .mz-article li { max-width: 72ch; }
.mz-article ul, .mz-article ol { padding-left: 1.3em; }
.mz-article li { margin: 6px 0; }
.mz-article ol li::marker { color: var(--bond); font-weight: 700; }
.mz-article strong { font-weight: 600; }

/* key facts: certificate panel */
.mz-key { margin: 24px 0 28px; padding: 6px; background: #fffdf7; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.mz-key-in { border: 1.5px solid var(--gold); border-radius: 16px; padding: 16px 18px 6px; }
.mz-key-h { margin: 0 0 8px; font: 700 12.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.mz-key ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.mz-key li { margin: 0; padding: 10px 0; border-top: 1px dashed var(--line); max-width: none; }
.mz-key-name { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.mz-key-val { font-weight: 500; }
@media (max-width: 620px) { .mz-key ul { grid-template-columns: 1fr; } }

/* table of contents */
.mz-toc { margin: 0 0 30px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.mz-toc p { margin: 0 0 6px; font-weight: 700; font-size: 14px; color: var(--muted); }
.mz-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; columns: 2; column-gap: 26px; }
.mz-toc li { counter-increment: t; break-inside: avoid; margin: 4px 0; font-size: 15px; }
.mz-toc li::before { content: counter(t, decimal-leading-zero); color: var(--gold); font-weight: 700; font-size: 12px; margin-right: 8px; font-variant-numeric: tabular-nums; }
.mz-toc a { color: var(--ink); text-decoration: none; } .mz-toc a:hover, .mz-toc a[aria-current] { color: var(--bond); text-decoration: underline; }
@media (max-width: 620px) { .mz-toc ol { columns: 1; } }

/* tables */
.mz-table { overflow-x: auto; margin: 18px 0 22px; border-radius: var(--r); box-shadow: var(--shadow); background: #fff; }
.mz-table table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15.5px; }
.mz-table caption { text-align: left; padding: 12px 14px 4px; font-weight: 600; color: var(--muted); font-size: 14px; }
.mz-table th { text-align: left; background: var(--ink); color: #fff; font-weight: 600; padding: 10px 14px; }
.mz-table td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.mz-table tbody tr:nth-child(even) td { background: #faf8f3; }
.mz-table tbody th { background: var(--bond-soft); color: var(--ink); }

/* boxes */
.mz-article .note, .mz-article .warn, .mz-article .example, .mz-article .steps { margin: 20px 0; padding: 16px 18px; border-radius: var(--r); }
.mz-article .note { background: var(--jade-soft); border: 1px solid #bfe3d7; }
.mz-article .warn { background: #fdecef; border: 1px solid #f3c3cf; }
.mz-article .warn::before { content: "Watch out"; display: block; font-weight: 700; color: var(--rose); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.mz-article .example { background: #fff; border: 1px dashed var(--gold); }
.mz-article .example::before { content: "Worked example"; display: block; font-weight: 700; color: var(--gold); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.mz-article .steps { background: #fff; box-shadow: var(--shadow); }
.mz-article .note > :last-child, .mz-article .warn > :last-child, .mz-article .example > :last-child, .mz-article .steps > :last-child { margin-bottom: 0; }
.mz-article .note > :first-child, .mz-article .example > :first-child, .mz-article .steps > :first-child { margin-top: 0; }

/* faq */
.mz-faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin: 10px 0; }
.mz-faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; list-style: none; position: relative; }
.mz-faq summary::-webkit-details-marker { display: none; }
.mz-faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 22px; color: var(--bond); }
.mz-faq details[open] summary::after { content: "\2212"; }
.mz-faq-a { padding: 0 16px 6px; }

/* sources */
.mz-sources { margin: 40px 0 0; padding: 18px 20px; border-radius: var(--r); background: var(--ink); color: #e4e0f5; }
.mz-sources h2 { color: #fff; font-size: 22px; margin: 0 0 8px; }
.mz-sources ul { list-style: none; padding: 0; margin: 0 0 8px; }
.mz-sources li { padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.mz-sources a { color: var(--gold-2); } .mz-sources small { color: #a59ec4; }
.mz-sources p { font-size: 14px; color: #b9b2d8; margin: 6px 0 0; }
.mz-ad { margin: 26px 0; }

/* ----------------------------------------------------- coupon cards */
.mz-coupons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 14px; }
.mz-coupon a { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px 16px 24px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.mz-coupon a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--st);
	-webkit-mask: radial-gradient(circle at 8px 8px, transparent 4px, #000 4.5px) 0 0 / 8px 16px; mask: radial-gradient(circle at 8px 8px, transparent 4px, #000 4.5px) 0 0 / 8px 16px; }
.mz-coupon a:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(23, 19, 46, .06), 0 18px 34px -14px rgba(23, 19, 46, .28); }
.mz-coupon-tab { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--st); }
.mz-coupon-name { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; }
.mz-coupon-line { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.mz-coupon-chips { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.mz-related { max-width: 1180px; width: 100%; margin: 10px auto 0; }
.mz-related h2 { font-size: 28px; margin: 0 0 14px; }

/* section indexes */
.mz-indexes { padding: 0 0 60px; display: grid; gap: 44px; }
.mz-index-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--st); }
.mz-index-head h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.mz-index-head h2 small { font: 700 14px var(--sans); color: #fff; background: var(--st); border-radius: 999px; padding: 2px 9px; vertical-align: middle; }
.mz-filter { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.mz-filter input { font: 15px var(--sans); padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; width: 190px; }
.mz-index-hub { font-weight: 600; font-size: 15px; color: var(--st); }
@media (max-width: 620px) { .mz-filter { margin-left: 0; width: 100%; } .mz-filter input { flex: 1; width: auto; } }

/* ------------------------------------------------------------- tools */
.mz-tool { margin: 6px 0 34px; padding: 6px; background: var(--ink); border-radius: var(--r-lg); color: #fff; box-shadow: 0 24px 50px -24px rgba(23, 19, 46, .6); }
.mz-tool noscript p { padding: 16px; margin: 0; }
.mz-calc { border: 1px solid rgba(233, 200, 121, .35); border-radius: 18px; padding: 20px; }
.mz-calc-h { margin: 0 0 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.mz-calc-h b { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.mz-calc-h span { font-size: 13px; color: var(--gold-2); }
.mz-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.mz-field label { display: block; font-size: 13.5px; color: #c8c1e6; margin-bottom: 5px; }
.mz-field input, .mz-field select { width: 100%; font: 600 17px var(--sans); padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .07); color: #fff; font-variant-numeric: tabular-nums; }
.mz-field select option { color: var(--ink); }
.mz-field small { display: block; font-size: 12px; color: #a59ec4; margin-top: 4px; }
.mz-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 16px 0 0; }
.mz-res { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 12px 14px; }
.mz-res p { margin: 0; font-size: 13px; color: #c8c1e6; }
.mz-res b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; margin-top: 2px; }
.mz-res--main { background: var(--gold-2); color: var(--ink); } .mz-res--main p { color: var(--ink-2); }
.mz-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin: 14px 0 4px; background: rgba(255, 255, 255, .1); }
.mz-bar i { display: block; background: #7ad3b6; } .mz-bar i + i { background: var(--gold-2); }
.mz-legend { display: flex; gap: 16px; font-size: 13px; color: #c8c1e6; }
.mz-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: #7ad3b6; }
.mz-legend span + span::before { background: var(--gold-2); }
.mz-sched { margin-top: 14px; }
.mz-sched summary { cursor: pointer; color: var(--gold-2); font-weight: 600; font-size: 15px; }
.mz-sched-wrap { max-height: 320px; overflow: auto; margin-top: 8px; border-radius: 12px; background: #fff; }
.mz-sched table { width: 100%; border-collapse: collapse; color: var(--ink); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.mz-sched th { position: sticky; top: 0; background: var(--bond-soft); text-align: right; padding: 8px 10px; }
.mz-sched th:first-child, .mz-sched td:first-child { text-align: left; }
.mz-sched td { text-align: right; padding: 7px 10px; border-top: 1px solid var(--line); }
.mz-calc-note { margin: 12px 0 0; font-size: 13px; color: #a59ec4; }
.mz-apy-grid { overflow-x: auto; margin-top: 14px; border-radius: 12px; background: #fff; }
.mz-apy-grid table { border-collapse: collapse; width: 100%; min-width: 460px; color: var(--ink); font-size: 14px; font-variant-numeric: tabular-nums; }
.mz-apy-grid th, .mz-apy-grid td { padding: 6px 9px; text-align: right; border-top: 1px solid var(--line); }
.mz-apy-grid th:first-child, .mz-apy-grid td:first-child { text-align: left; }
.mz-apy-grid thead th { background: var(--bond-soft); }
.mz-apy-grid tr.on td { background: #fff3cf; font-weight: 700; }

/* ------------------------------------------------------------ footer */
.mz-foot { margin-top: 30px; background: #fffdf7; border-top: 3px double var(--gold); }
.mz-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 44px 0 30px; }
.mz-foot-brand img { height: 34px; width: auto; margin-bottom: 12px; }
.mz-foot-brand p { color: var(--muted); font-size: 15px; margin: 0 0 10px; max-width: 34em; }
.mz-foot-note { font-size: 13.5px !important; padding: 10px 12px; border-radius: 10px; background: var(--paper); }
.mz-foot-h { font-weight: 700; margin: 0 0 8px; }
.mz-foot-col ul { list-style: none; margin: 0; padding: 0; }
.mz-foot-col li { margin: 6px 0; font-size: 15px; } .mz-foot-col a { color: var(--ink); text-decoration: none; } .mz-foot-col a:hover { color: var(--bond); text-decoration: underline; }
.mz-foot-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 16px 0 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.mz-foot-legal a { color: var(--muted); }
@media (max-width: 820px) { .mz-foot-grid { grid-template-columns: 1fr 1fr; } .mz-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .mz-foot-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- blog, lists */
.mz-list-title { padding: 34px 0 10px; } .mz-list-title h1 { font-size: 40px; margin: 0; }
.mz-postlist { display: grid; gap: 14px; padding-bottom: 40px; }
.mz-postrow { background: #fff; border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.mz-postrow h2 { font-size: 24px; margin: 0 0 4px; } .mz-postrow h2 a { color: var(--ink); text-decoration: none; }
.mz-date { color: var(--muted); font-size: 14px; margin: 0; }
.mz-pager { padding-bottom: 40px; display: flex; gap: 8px; }
.mz-latest { padding: 10px 0 50px; } .mz-latest ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.mz-latest a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: #fff; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mz-guides { margin-top: 20px; } .mz-guides-h { font-weight: 700; }
.mz-article--post img { border-radius: 12px; }
