:root {
  --bg: #f5f7f9;
  --surface: #ffffff;
  --surface-soft: #eef6f3;
  --text: #18201d;
  --muted: #5a6761;
  --line: #dbe3df;
  --accent: #087a5b;
  --accent-dark: #056247;
  --focus: #ffbf47;
  --danger: #a73b32;
  --shadow: 0 12px 30px rgba(23, 45, 37, .07);
  --radius: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-size: 16px; line-height: 1.62; background: var(--bg); }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--text); font-size: 1.35rem; font-weight: 820; letter-spacing: -.04em; text-decoration: none; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: #34413b; font-size: .95rem; font-weight: 650; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; padding: 7px 11px; color: var(--text); }
main { min-height: 65vh; }
.intro { padding: 54px 0 28px; }
.intro.compact { padding-bottom: 10px; }
.eyebrow { margin: 0 0 8px; color: var(--accent-dark); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.025em; }
h1 { max-width: 790px; margin: 0; font-size: clamp(2rem, 5vw, 3.45rem); }
.calculator-page h1 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); }
h2 { margin: 2.3rem 0 .7rem; font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { margin: 1.25rem 0 .45rem; font-size: 1.12rem; }
.lead { max-width: 760px; margin: 14px 0 0; color: var(--muted); font-size: 1.08rem; }
.search-box { max-width: 760px; margin-top: 28px; position: relative; }
.search-box label { display: block; margin-bottom: 7px; font-weight: 750; }
.search-box input { width: 100%; padding: 15px 17px; border: 1px solid #bcc8c2; border-radius: 11px; background: var(--surface); color: var(--text); box-shadow: 0 2px 0 rgba(0,0,0,.015); }
.search-status { min-height: 24px; margin: 7px 0 0; color: var(--muted); font-size: .9rem; }
.section { padding: 24px 0 58px; }
.section-title { margin-top: 0; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tool-card { min-height: 168px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.tool-card:hover { border-color: #9eb9ad; transform: translateY(-2px); box-shadow: var(--shadow); }
.tool-card[hidden] { display: none; }
.card-label { color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.tool-card h3 { margin: 9px 0 6px; }
.tool-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.card-link { margin-top: auto; padding-top: 14px; color: var(--accent-dark); font-weight: 750; }
.category-strip { padding: 22px 0 58px; border-top: 1px solid var(--line); }
.category-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-link { padding: 18px 20px; border-radius: 12px; background: var(--surface-soft); color: var(--text); font-weight: 760; text-decoration: none; }
.category-link span { display: block; margin-top: 3px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.breadcrumbs { padding-top: 22px; color: var(--muted); font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #95a19b; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(240px, 1fr); gap: 34px; align-items: start; padding: 22px 0 52px; }
.calculator-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.calc-form { padding: 24px; }
.calc-form h2 { margin: 0 0 4px; font-size: 1.35rem; }
.example-note { margin: 0 0 20px; color: var(--muted); font-size: .9rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: .93rem; font-weight: 720; }
.field-wrap { display: flex; align-items: stretch; }
.field input { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #b9c6c0; border-radius: 9px 0 0 9px; color: var(--text); background: #fff; }
.field-unit { min-width: 62px; display: grid; place-items: center; padding: 0 10px; border: 1px solid #b9c6c0; border-left: 0; border-radius: 0 9px 9px 0; color: var(--muted); background: #f4f6f5; font-size: .86rem; white-space: nowrap; }
.calc-button { width: 100%; margin-top: 20px; padding: 13px 20px; border: 0; border-radius: 9px; background: var(--accent); color: #fff; font-weight: 780; cursor: pointer; }
.calc-button:hover { background: var(--accent-dark); }
.results { padding: 22px 24px 25px; border-top: 1px solid var(--line); background: var(--surface-soft); }
.results h2 { margin: 0 0 14px; font-size: 1.18rem; }
.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.result-item { padding: 13px; border: 1px solid #d5e3dc; border-radius: 9px; background: #fff; }
.result-item.primary { grid-column: 1 / -1; border-color: #9fc9b9; }
.result-label { display: block; color: var(--muted); font-size: .83rem; }
.result-value { display: block; margin-top: 3px; font-size: 1.25rem; font-weight: 820; letter-spacing: -.02em; }
.primary .result-value { color: var(--accent-dark); font-size: 1.65rem; }
.result-note { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }
.sidebar { position: sticky; top: 20px; }
.side-box { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.side-box h2 { margin: 0 0 10px; font-size: 1.05rem; }
.side-box ul { margin: 0; padding-left: 20px; }
.side-box li + li { margin-top: 7px; }
.ad-slot { min-height: 100px; margin-top: 18px; }
.article { max-width: 780px; padding: 6px 0 72px; }
.article p, .article li { color: #35413c; }
.article ul { padding-left: 22px; }
.formula { padding: 15px 17px; border-left: 4px solid var(--accent); background: var(--surface-soft); font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: #f0f4f2; font-size: .9rem; }
tr:last-child td { border-bottom: 0; }
.faq details { border-top: 1px solid var(--line); background: var(--surface); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 15px 2px; font-weight: 750; cursor: pointer; }
.faq details p { margin: 0; padding: 0 2px 16px; }
.prose-page { max-width: 790px; padding: 48px 0 78px; }
.prose-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.notice { padding: 15px 17px; border: 1px solid #cad6d0; border-radius: 10px; background: var(--surface); }
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); background: #18241f; color: #dfe8e3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer-brand { color: #fff; font-size: 1.25rem; font-weight: 820; text-decoration: none; }
.footer-title { margin: 0 0 9px; color: #fff; font-size: .88rem; font-weight: 800; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { color: #c9d7d0; font-size: .9rem; text-decoration: none; }
.footer-note { margin: 9px 0 0; max-width: 320px; color: #acbdb5; font-size: .86rem; }
.copyright { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid #34453d; color: #94a69d; font-size: .82rem; }

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1120px); }
  .header-inner { min-height: 60px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; z-index: 10; top: 60px; left: 0; right: 0; padding: 13px 16px 17px; flex-direction: column; align-items: stretch; gap: 5px; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 8px 0; }
  .intro { padding-top: 34px; }
  h1 { font-size: 2.12rem; }
  .calculator-page .intro { padding-top: 22px; }
  .calculator-layout { padding-top: 10px; }
  .calc-form, .results { padding: 18px; }
  .fields, .result-grid { grid-template-columns: 1fr; }
  .result-item.primary { grid-column: auto; }
  .card-grid, .category-links { grid-template-columns: 1fr; }
  .tool-card { min-height: 140px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Final polish */
.hero { padding-top: 64px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; color: var(--muted); font-size: .88rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row span::before { content: "✓"; color: var(--accent); font-weight: 900; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.section-heading .section-title { margin-bottom: 0; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); }
.about-strip { padding: 56px 0 66px; border-top: 1px solid var(--line); background: var(--surface); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.about-grid h2 { margin-top: 0; }
.about-grid p { margin-top: 0; color: var(--muted); }
.text-link { font-weight: 760; text-decoration: none; }
.inline-button { display: inline-block; width: auto; text-decoration: none; }
.error-page { text-align: center; margin-inline: auto; }
.error-page h1 { margin-inline: auto; }

@media (max-width: 680px) {
  .hero { padding-top: 38px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 8px; }
  .about-grid { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 430px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Engagement + monetization */
.hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.hero-chip { display:inline-flex; align-items:center; gap:7px; padding:9px 12px; border:1px solid var(--line); border-radius:999px; background:var(--surface); color:var(--text); font-size:.9rem; font-weight:700; text-decoration:none; }
.hero-chip:hover { border-color:#9eb9ad; box-shadow:0 5px 18px rgba(23,45,37,.06); }
.popular-strip { padding: 8px 0 22px; }
.popular-row { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.popular-card { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:15px 17px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--text); font-weight:760; text-decoration:none; }
.popular-card small { display:block; color:var(--muted); font-weight:500; }
.popular-card span:last-child { color:var(--accent); font-size:1.2rem; }
.ad-slot { min-height:0; }
.ad-slot-active { min-height:110px; margin-top:22px; padding:10px; border:1px solid #e1e7e4; border-radius:12px; background:#fff; overflow:hidden; }
.ad-label { margin-bottom:6px; color:#87938d; font-size:.68rem; text-align:center; text-transform:uppercase; letter-spacing:.07em; }
.article-ad { margin:28px 0; }
.calc-share { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.calc-share strong { font-size:.92rem; }
.calc-share a { font-size:.9rem; font-weight:750; text-decoration:none; }
@media(max-width:680px){ .popular-row{grid-template-columns:1fr;} .popular-strip{padding-top:0;} .calc-share{align-items:flex-start;flex-direction:column;} }

/* Search refinement */
.search-box{position:relative}.search-suggestions{position:absolute;z-index:20;left:0;right:0;top:100%;margin-top:7px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(24,36,31,.14);overflow:hidden}.search-suggestions a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border-bottom:1px solid var(--line);color:var(--text);text-decoration:none}.search-suggestions a:last-child{border-bottom:0}.search-suggestions a:hover{background:var(--surface-soft)}.search-suggestions span{color:var(--muted);font-size:.78rem}.category-links{grid-template-columns:repeat(4,1fr)}@media(max-width:900px){.category-links{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.category-links{grid-template-columns:1fr}}

/* Home hero — restrained, utility-first */
.home-hero{padding:58px 0 34px;background:#fff;border-bottom:1px solid var(--line)}
.hero-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:56px;align-items:center}
.hero-main h1{max-width:760px;font-size:clamp(2.5rem,5.2vw,4.35rem);letter-spacing:-.055em;line-height:1.02}
.hero-lead{max-width:700px;margin:18px 0 0;color:#53605a;font-size:1.12rem;line-height:1.65}
.search-box-hero{max-width:720px;margin-top:30px}
.search-box-hero label{font-size:.92rem}
.search-control{display:flex;align-items:stretch;border:1px solid #aebbb5;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(23,45,37,.06);overflow:hidden}
.search-control:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgba(8,122,91,.11),0 8px 24px rgba(23,45,37,.06)}
.search-control input{border:0!important;border-radius:0!important;box-shadow:none!important;outline:none!important;padding:16px 18px;min-width:0}
.search-control button{border:0;border-left:1px solid var(--line);padding:0 22px;background:#18241f;color:#fff;font-weight:780;cursor:pointer}
.search-control button:hover{background:#0f1714}
.quick-line{display:flex;flex-wrap:wrap;gap:8px 16px;margin:11px 0 0;color:var(--muted);font-size:.88rem}
.quick-line span{font-weight:700;color:#45514b}.quick-line a{color:#405049;text-decoration:none;border-bottom:1px solid #b8c6bf}.quick-line a:hover{color:var(--accent-dark);border-color:var(--accent)}
.hero-shortcuts{border:1px solid var(--line);border-radius:14px;background:#f8faf9;overflow:hidden}
.shortcut-head{display:flex;justify-content:space-between;align-items:center;padding:15px 17px;border-bottom:1px solid var(--line);background:#fff}
.shortcut-head strong{font-size:.92rem}.shortcut-head a{font-size:.82rem;font-weight:700;text-decoration:none}
.hero-shortcuts>a{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:12px;padding:15px 17px;border-bottom:1px solid #e3e9e6;color:var(--text);text-decoration:none}
.hero-shortcuts>a:last-child{border-bottom:0}.hero-shortcuts>a:hover{background:#fff}
.hero-shortcuts>a>span{color:#7b8882;font-size:.76rem;font-variant-numeric:tabular-nums}.hero-shortcuts b{display:block;font-size:.95rem}.hero-shortcuts small{display:block;margin-top:2px;color:var(--muted);font-size:.8rem}.hero-shortcuts i{color:var(--accent);font-style:normal;font-size:1.05rem}
.home-ad{margin-top:18px}
@media(max-width:900px){.hero-layout{grid-template-columns:1fr;gap:26px}.hero-shortcuts{max-width:720px}.home-hero{padding-top:42px}.hero-main h1{font-size:clamp(2.35rem,8vw,3.65rem)}}
@media(max-width:600px){.home-hero{padding:32px 0 22px}.hero-main h1{font-size:2.45rem}.hero-lead{font-size:1rem}.search-box-hero{margin-top:23px}.search-control{display:grid}.search-control button{border-left:0;border-top:1px solid var(--line);padding:12px 16px}.quick-line{gap:7px 13px}.hero-shortcuts>a{padding:13px 14px}}

/* 2026-09 refinement: calmer home, categories, dark mode */
.header-actions { display:flex; align-items:center; gap:18px; margin-left:auto; }
.theme-toggle { width:36px; height:36px; flex:0 0 36px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; background:var(--surface); color:var(--text); cursor:pointer; line-height:1; }
.theme-toggle:hover { border-color:#9eb9ad; }
.theme-toggle span { font-size:1.05rem; }
.header-inner > .nav { margin-left:auto; order:2; }
.header-inner > .theme-toggle { order:3; }
.header-inner > .nav-toggle { order:4; }

/* Dark theme follows the OS until the visitor explicitly changes it. */

:root[data-theme="dark"] {
  --bg:#111613; --surface:#171d1a; --surface-soft:#1b2420; --text:#edf3ef; --muted:#9eaaa4; --line:#2c3732;
  --accent:#48c49b; --accent-dark:#67d5b1; --focus:#efb949; --danger:#ff8d83; --shadow:0 14px 36px rgba(0,0,0,.24);
}
:root[data-theme="dark"] body { color:var(--text); }

:root[data-theme="dark"] .home-hero,
:root[data-theme="dark"] .shortcut-head,
:root[data-theme="dark"] .search-control,
:root[data-theme="dark"] .search-suggestions,
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .result-item,
:root[data-theme="dark"] .calc-share,
:root[data-theme="dark"] .ad-slot-active { background:var(--surface); color:var(--text); }
:root[data-theme="dark"] .field-unit,
:root[data-theme="dark"] th { background:#202823; }
:root[data-theme="dark"] .article p,
:root[data-theme="dark"] .article li,
:root[data-theme="dark"] .nav a,
:root[data-theme="dark"] .hero-lead { color:var(--muted); }


/* Home: search first, no wall of cards. */
.home-hero { padding:56px 0 46px; background:var(--surface); }
.hero-layout { grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr); gap:64px; align-items:end; }
.hero-main h1 { max-width:820px; font-size:clamp(2.65rem,5.5vw,4.75rem); }
.hero-lead { max-width:720px; color:var(--muted); }
.fact-box { min-height:178px; display:flex; flex-direction:column; justify-content:space-between; padding:22px 24px; border-top:3px solid var(--accent); background:var(--surface-soft); }
.fact-kicker { color:var(--muted); font-size:.78rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.fact-content { display:grid; grid-template-columns:1fr auto; gap:18px; align-items:end; margin-top:30px; color:var(--text); font-size:1.08rem; font-weight:720; line-height:1.45; text-decoration:none; transition:opacity .22s ease, transform .22s ease; }
.fact-content i { color:var(--accent); font-style:normal; }
.fact-box.changing .fact-content { opacity:0; transform:translateY(4px); }
.search-index { display:none!important; }
.popular-section { padding:34px 0 18px; }
.compact-heading { margin-bottom:15px; }
.popular-tools { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.popular-tools a { min-height:108px; display:flex; flex-direction:column; position:relative; padding:18px 36px 18px 0; border-right:1px solid var(--line); color:var(--text); text-decoration:none; }
.popular-tools a + a { padding-left:18px; }
.popular-tools a:last-child { border-right:0; }
.popular-tools span { color:var(--muted); font-size:.78rem; font-weight:700; }
.popular-tools strong { margin-top:7px; line-height:1.3; }
.popular-tools i { position:absolute; right:16px; bottom:18px; color:var(--accent); font-style:normal; }
.home-categories { padding-top:38px; }
.category-group { margin-top:32px; }
.category-group + .category-group { margin-top:46px; }
.category-group-head { display:flex; align-items:baseline; justify-content:space-between; gap:20px; padding-bottom:10px; border-bottom:1px solid var(--line); }
.category-group-head h3 { margin:0; font-size:1.35rem; }
.category-group-head a { font-size:.9rem; font-weight:720; text-decoration:none; }
.category-tool-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:36px; }
.category-tool-list > a { min-height:106px; display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center; padding:18px 0; border-bottom:1px solid var(--line); color:var(--text); text-decoration:none; }
.category-tool-list > a:hover strong { color:var(--accent-dark); }
.category-tool-list strong { display:block; font-size:1rem; }
.category-tool-list p { margin:4px 0 0; color:var(--muted); font-size:.88rem; line-height:1.45; }
.category-tool-list > a > span { color:var(--accent); }

/* Calculator pages: the tool starts immediately after the page title. */
.calculator-page .breadcrumbs { padding-top:12px; font-size:.8rem; }
.calculator-page .intro.compact { padding:10px 0 4px; }
.calculator-page .intro .eyebrow { margin-bottom:4px; }
.calculator-page h1 { font-size:clamp(1.7rem,3.5vw,2.45rem); }
.calculator-page .lead { max-width:850px; margin-top:7px; font-size:.98rem; line-height:1.48; }
.calculator-page .calculator-layout { padding-top:10px; gap:26px; }
.calculator-page .calc-form { padding:20px 22px; }
.calculator-page .calc-form h2 { font-size:1.12rem; }
.calculator-page .fields { gap:12px 14px; }
.calculator-page .field label { margin-bottom:4px; font-size:.86rem; }
.calculator-page .field input { padding:10px 12px; }
.calculator-page .calc-button { margin-top:15px; padding:11px 18px; }
.calculator-page .results { padding:18px 22px 20px; }
.calculator-page .result-item { padding:10px 12px; }

@media(max-width:900px){
  .hero-layout { grid-template-columns:1fr; gap:26px; align-items:start; }
  .fact-box { max-width:720px; min-height:140px; }
  .popular-tools { grid-template-columns:repeat(2,1fr); }
  .popular-tools a:nth-child(2) { border-right:0; }
  .popular-tools a:nth-child(-n+2) { border-bottom:1px solid var(--line); }
}
@media(max-width:680px){
  .header-actions { gap:8px; }
  .header-actions .nav { position:absolute; }
  .header-inner > .nav { order:initial; margin-left:0; }
  .home-hero { padding:30px 0 28px; }
  .hero-main h1 { font-size:2.45rem; }
  .hero-lead { margin-top:13px; }
  .fact-box { min-height:124px; padding:18px; }
  .fact-content { margin-top:20px; font-size:1rem; }
  .popular-section { padding-top:26px; }
  .popular-tools { grid-template-columns:1fr; }
  .popular-tools a, .popular-tools a + a { min-height:auto; padding:14px 34px 14px 0; border-right:0; border-bottom:1px solid var(--line); }
  .popular-tools a:last-child { border-bottom:0; }
  .popular-tools i { bottom:14px; right:6px; }
  .category-tool-list { grid-template-columns:1fr; }
  .category-tool-list > a { min-height:auto; padding:15px 0; }
  .category-group + .category-group { margin-top:36px; }
  .calculator-page .breadcrumbs { display:none; }
  .calculator-page .intro.compact { padding:15px 0 2px; }
  .calculator-page .lead { font-size:.92rem; }
  .calculator-page .calculator-layout { padding-top:8px; }
}

/* ===== Homepage 2026 visual redesign ===== */
.home-page{background:#fff;color:#0c2235}.home-page .container{width:min(1370px,calc(100% - 72px))}.home-header{border-bottom:0;background:rgba(255,255,255,.96);position:relative;z-index:30}.home-header .header-inner{min-height:112px}.brand-rich{display:flex;align-items:center;gap:13px;font-size:inherit;letter-spacing:0}.brand-mark{width:50px;height:50px;border-radius:13px;background:#486b8a;display:grid;grid-template-columns:repeat(3,7px);grid-auto-rows:7px;gap:4px;padding:13px 11px;box-shadow:inset 0 -5px 12px rgba(16,46,72,.2)}.brand-mark:before{content:"";grid-column:1/-1;height:7px;border-radius:3px;background:#a7e6c2;margin-bottom:1px}.brand-mark span,.brand-mark b{display:contents}.brand-mark:after{content:"";grid-column:1/-1;grid-row:2/5;background:repeating-linear-gradient(90deg,#9fcac0 0 7px,transparent 7px 11px),repeating-linear-gradient(0deg,#9fcac0 0 7px,transparent 7px 11px);opacity:.9}.brand-copy{display:flex;flex-direction:column;line-height:1}.brand-copy strong{font-size:2rem;font-weight:900;font-style:italic;color:#10263b;letter-spacing:-.055em}.brand-copy em{color:#2ca876;font-style:italic}.brand-copy small{margin-top:5px;color:#607080;font-size:.74rem;font-weight:650;letter-spacing:.01em}.home-nav{position:absolute;left:50%;transform:translateX(-50%);gap:36px}.home-nav a{color:#10263b;font-size:.98rem;font-weight:650}.home-nav a span{margin-left:4px;color:#506171}.home-page .header-actions{gap:14px}.round-action{width:52px;height:52px;border:0;border-radius:50%;background:#f7f9fa;color:#10263b;display:grid;place-items:center;text-decoration:none;cursor:pointer}.round-action svg,.search-leading svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.home-page .theme-toggle{width:52px;height:52px;flex-basis:52px;border:0;background:#f7f9fa}.home-page .theme-toggle span{font-size:1.55rem;font-weight:400}
.home-page .home-hero{padding:58px 0 18px;border-bottom:0;background:#fff;overflow:hidden}.home-page .hero-layout{grid-template-columns:minmax(0,1.12fr) minmax(450px,.88fr);gap:44px;align-items:center}.home-page .hero-main{padding-top:8px}.home-page .hero-main h1{max-width:700px;font-size:clamp(3rem,4.5vw,4.5rem);line-height:1.04;letter-spacing:-.058em;color:#0d2336;font-weight:900}.home-page .hero-main h1 span{color:#2ca876}.home-page .hero-lead{margin-top:22px;max-width:780px;color:#617184;font-size:1.3rem;line-height:1.5}.home-page .search-box-hero{max-width:840px;margin-top:34px}.home-page .search-control{min-height:64px;border:1px solid #bcc7d1;border-radius:14px;box-shadow:0 7px 18px rgba(38,69,91,.08);overflow:hidden;align-items:center}.search-leading{width:58px;display:grid;place-items:center;color:#17364e;flex:0 0 58px}.home-page .search-control input{padding:16px 6px;color:#193149;font-size:1rem}.home-page .search-control button{align-self:stretch;margin:6px;border:0;border-radius:11px;padding:0 34px;background:#2aa574;font-size:1rem}.home-page .search-control button:hover{background:#228b61}.home-page .search-status{display:none}.home-page .quick-line{margin-top:16px;gap:9px;color:#56687a;align-items:center}.home-page .quick-line span{color:#476075}.home-page .quick-line a{border:0;background:#f2f5f7;border-radius:999px;padding:6px 13px;color:#526a80;font-size:.82rem}.home-page .quick-line a:hover{color:#1c7357;background:#e7f3ee}.hero-visual{position:relative;min-height:445px;display:grid;place-items:center}.hero-visual:before{content:"";position:absolute;inset:10% 2% 7%;background:#e9f7f1;border-radius:43% 57% 52% 48% / 48% 40% 60% 52%;z-index:0}.hero-visual img{position:relative;z-index:1;width:min(100%,620px);height:auto;mix-blend-mode:multiply;filter:saturate(.9) contrast(.98)}.scribble{position:absolute;z-index:2;color:#34526a;font-family:"Comic Sans MS","Bradley Hand",cursive;font-size:1.08rem;font-style:italic;transform:rotate(-7deg)}.scribble:after{content:"↘";display:inline-block;margin-left:8px;font-size:1.4rem}.s-home{left:11%;top:8%}.s-finance{right:9%;top:10%;transform:rotate(6deg)}.s-finance:after{content:"↓"}.s-auto{right:0;top:55%;transform:rotate(5deg)}.s-auto:after{content:"↙"}.s-shop{right:2%;bottom:8%;transform:rotate(-4deg)}.s-shop:after{content:"↖"}
.home-category-strip{padding:6px 0 32px;background:#fff}.category-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.category-card{min-height:104px;display:grid;grid-template-columns:56px 1fr 20px;align-items:center;gap:14px;padding:18px 20px;border:1px solid #d9e1e7;border-radius:14px;background:#fff;color:#112b41;text-decoration:none;box-shadow:0 7px 20px rgba(28,59,83,.07);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.category-card:hover{transform:translateY(-2px);border-color:#b9c9d4;box-shadow:0 11px 25px rgba(28,59,83,.11)}.category-icon{width:52px;height:52px;display:grid;place-items:center;font-size:2rem;font-weight:900;line-height:1}.category-auto .category-icon{color:#425f79}.category-home .category-icon{color:#425f79;font-size:2.7rem}.category-finance .category-icon{color:#efa93c;text-shadow:8px 5px 0 #f4bd62,-6px 5px 0 #f4bd62}.category-shop .category-icon{color:#4b88bd;font-size:2.3rem;transform:rotate(-8deg)}.category-card strong{display:block;font-size:1.05rem}.category-card small{display:block;margin-top:2px;color:#718091;font-size:.8rem;line-height:1.3}.category-card i{color:#18354d;font-size:2rem;font-style:normal;font-weight:300}
.home-page .popular-section{padding:10px 0 36px}.home-section-heading{align-items:center;margin-bottom:20px}.home-section-heading h2{margin:0;color:#10283d;font-size:1.7rem}.home-section-heading>a{color:#1d6da3;font-weight:650;text-decoration:underline;text-underline-offset:4px}.visual-popular{border:0;gap:16px}.visual-popular a,.visual-popular a+a{min-height:170px;padding:22px 44px 22px 22px;border:1px solid #e0e6ea!important;border-radius:14px;background:linear-gradient(145deg,#f8fafb,#eef4f3);box-shadow:0 5px 16px rgba(29,56,75,.05)}.visual-popular a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(29,56,75,.09)}.visual-popular span{color:#2c9a71}.visual-popular strong{font-size:1.08rem;color:#122b40}.visual-popular p{margin:8px 0 0;color:#748291;font-size:.85rem;line-height:1.45}.visual-popular i{right:20px;bottom:20px;color:#2ca876}.home-page .home-categories{background:#f8fafb;padding-top:50px}.home-page .about-strip{background:#fff}
.cookie-banner{position:fixed;z-index:100;left:0;right:0;bottom:0;display:grid;grid-template-columns:46px 1fr auto;gap:16px;align-items:center;padding:18px max(30px,calc((100vw - 1370px)/2));background:rgba(255,255,255,.97);border-top:1px solid #d7e0e5;box-shadow:0 -8px 30px rgba(24,49,67,.08);backdrop-filter:blur(12px)}.cookie-banner[hidden]{display:none}.cookie-icon{width:42px;height:42px;border-radius:50%;background:#ffca68;position:relative;color:#8b6332;font-size:0}.cookie-icon:before{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#8b6332;left:11px;top:10px;box-shadow:15px 5px 0 #8b6332,4px 17px 0 #8b6332}.cookie-icon:after{content:"";position:absolute;right:-2px;top:-2px;width:17px;height:17px;border-radius:50%;background:#fff}.cookie-copy strong{display:block;color:#152b3d}.cookie-copy p{margin:1px 0;color:#425467;font-size:.86rem;line-height:1.35}.cookie-copy a{font-size:.78rem;color:#17659d}.cookie-actions{display:flex;gap:12px}.cookie-actions button{min-width:150px;padding:12px 18px;border-radius:10px;font-weight:700;cursor:pointer}.cookie-settings{border:1px solid #bac7d0;background:#fff;color:#20384b}.cookie-accept{border:1px solid #2ca876;background:#2ca876;color:#fff}
:root[data-theme="dark"] .home-page{background:#111613;color:var(--text)}:root[data-theme="dark"] .home-header,:root[data-theme="dark"] .home-page .home-hero,:root[data-theme="dark"] .home-category-strip{background:var(--surface)}:root[data-theme="dark"] .brand-copy strong,:root[data-theme="dark"] .home-nav a,:root[data-theme="dark"] .home-page .hero-main h1,:root[data-theme="dark"] .category-card strong,:root[data-theme="dark"] .home-section-heading h2{color:var(--text)}:root[data-theme="dark"] .round-action,:root[data-theme="dark"] .category-card,:root[data-theme="dark"] .cookie-banner{background:#171d1a;border-color:var(--line)}:root[data-theme="dark"] .hero-visual img{mix-blend-mode:normal;border-radius:34px;opacity:.92}:root[data-theme="dark"] .cookie-copy p{color:var(--muted)}
@media(max-width:1080px){.home-page .container{width:min(100% - 40px,1370px)}.home-nav{position:static;transform:none;margin-left:auto!important}.home-page .hero-layout{grid-template-columns:1fr 420px}.scribble{display:none}.category-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.home-nav{display:none;position:absolute;left:0;right:0;top:78px;transform:none;background:#fff;padding:16px 22px;box-shadow:0 15px 30px rgba(30,55,72,.12)}.home-nav.open{display:flex}.home-header .header-inner{min-height:78px}.brand-mark{width:42px;height:42px}.brand-copy strong{font-size:1.55rem}.brand-copy small{font-size:.65rem}.home-page .round-action{width:42px;height:42px}.home-page .theme-toggle{width:42px;height:42px;flex-basis:42px}.home-page .nav-toggle{display:block}.home-page .hero-layout{grid-template-columns:1fr}.hero-visual{min-height:330px;max-width:570px;margin-inline:auto}.home-page .hero-main h1{font-size:clamp(2.7rem,10vw,4.3rem)}.category-cards{margin-top:8px}.visual-popular{grid-template-columns:repeat(2,1fr)}.cookie-banner{grid-template-columns:42px 1fr;padding:16px 20px}.cookie-actions{grid-column:1/-1}.cookie-actions button{flex:1}}
@media(max-width:560px){.home-page .container{width:min(100% - 24px,1370px)}.home-page .home-hero{padding-top:34px}.home-page .hero-main h1{font-size:2.65rem}.home-page .hero-lead{font-size:1.04rem}.hero-visual{min-height:250px}.home-page .search-control{display:flex}.search-leading{width:46px;flex-basis:46px}.home-page .search-control input{font-size:.9rem}.home-page .search-control button{padding:0 17px}.category-cards,.visual-popular{grid-template-columns:1fr}.category-card{min-height:92px}.home-section-heading{display:flex}.home-page .quick-line a:nth-of-type(n+4){display:none}.cookie-icon{display:none}.cookie-banner{grid-template-columns:1fr}.cookie-actions{grid-column:auto;flex-direction:column}.cookie-actions button{width:100%}}

/* 2026-09-05: quieter, custom home visuals — no emoji/stock-SaaS styling */
.home-page,
.home-page .home-header,
.home-page .home-hero,
.home-page .home-category-strip,
.home-page .popular-section,
.home-page .home-categories,
.home-page .about-strip,
.home-page .site-footer { background:#f7faf9; }
.home-header { border-bottom:1px solid rgba(28,61,80,.06); }
.home-page .home-hero { overflow:visible; }
.hero-visual { min-height:430px; }
.hero-visual:before { display:none; }
.hero-visual img {
  width:min(100%,620px);
  mix-blend-mode:multiply;
  filter:saturate(.88) contrast(.98);
  -webkit-mask-image:radial-gradient(ellipse 78% 72% at 50% 50%, #000 58%, rgba(0,0,0,.92) 72%, transparent 100%);
  mask-image:radial-gradient(ellipse 78% 72% at 50% 50%, #000 58%, rgba(0,0,0,.92) 72%, transparent 100%);
}
.category-cards { gap:18px; }
.category-card {
  min-height:104px;
  border:1px solid #d5dfdd;
  border-radius:12px;
  background:rgba(255,255,255,.68);
  box-shadow:none;
  transition:border-color .15s ease, background .15s ease;
}
.category-card:hover { transform:none; box-shadow:none; background:#fff; border-color:#aebfba; }
.category-icon {
  width:52px;height:52px;display:grid;place-items:center;
  border-radius:11px;background:#edf3f1;color:#31566c;
}
.category-icon svg { width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round; }
.category-auto .category-icon { color:#355b73;background:#edf3f6; }
.category-home .category-icon { color:#39735c;background:#edf6f1; }
.category-finance .category-icon { color:#a66d21;background:#fbf4e9; }
.category-shop .category-icon { color:#356c9b;background:#edf4fa; }
.category-card i { font-style:normal;color:#36546a;font-size:1.45rem; }
.round-action,.home-page .theme-toggle { background:transparent;border:1px solid #dbe4e1; }
.quick-line a { background:rgba(255,255,255,.55); border:1px solid #e2e9e7; }
.quick-line a:hover { background:#fff; }
.visual-popular { border-color:#d8e1df; }
.visual-popular a { background:transparent; }
.about-strip { border-top:1px solid #dce5e2; }

@media(max-width:900px){
  .hero-visual{min-height:330px;max-width:620px}
}
@media(max-width:680px){
  .home-page .container{width:min(100% - 28px,1370px)}
  .hero-visual{min-height:260px}
  .scribble{display:none}
  .category-card{background:rgba(255,255,255,.76)}
}


/* ===== 2026-09-05 v3: consistent dark mode, seamless hero, restored facts ===== */
.hero-visual{isolation:isolate;min-height:430px}
.hero-visual:before{display:block;content:"";position:absolute;inset:12% 2% 8%;z-index:0;background:radial-gradient(ellipse at 50% 48%,rgba(218,244,233,.94) 0 48%,rgba(226,247,238,.58) 70%,rgba(247,250,249,0) 100%);border-radius:46% 54% 51% 49% / 44% 42% 58% 56%}
.hero-visual img{position:relative;z-index:1;width:min(100%,620px);height:auto;mix-blend-mode:normal;filter:saturate(.94) contrast(1.01);-webkit-mask-image:none;mask-image:none;border-radius:0;opacity:1}

.fact-strip{padding:8px 0 34px;background:#f7faf9}
.fact-strip-inner{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:24px;padding:22px 0;border-top:1px solid #d7e2de;border-bottom:1px solid #d7e2de}
.fact-label{display:flex;align-items:center;gap:10px;color:#567064;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.fact-dot{width:9px;height:9px;border-radius:50%;background:#2ca876;box-shadow:0 0 0 6px rgba(44,168,118,.10)}
.fact-strip-content{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;color:#193246;text-decoration:none;font-size:1.02rem;font-weight:700;line-height:1.45;transition:opacity .18s ease}
.fact-strip-content i{color:#2ca876;font-style:normal;font-size:1.4rem}
.fact-strip.changing .fact-strip-content{opacity:.25}

/* Dark mode: keep every homepage section readable instead of only the hero. */
:root[data-theme="dark"] .home-page,
:root[data-theme="dark"] .home-page .home-header,
:root[data-theme="dark"] .home-page .home-hero,
:root[data-theme="dark"] .home-page .home-category-strip,
:root[data-theme="dark"] .home-page .popular-section,
:root[data-theme="dark"] .home-page .home-categories,
:root[data-theme="dark"] .home-page .about-strip,
:root[data-theme="dark"] .home-page .site-footer,
:root[data-theme="dark"] .home-page .fact-strip{background:#111815;color:#edf4f0}
:root[data-theme="dark"] .home-header{border-bottom-color:#26332d}
:root[data-theme="dark"] .brand-copy strong,
:root[data-theme="dark"] .home-nav a,
:root[data-theme="dark"] .home-page .hero-main h1,
:root[data-theme="dark"] .home-page .section-title,
:root[data-theme="dark"] .category-group-head h3,
:root[data-theme="dark"] .category-tool-list strong,
:root[data-theme="dark"] .category-card strong,
:root[data-theme="dark"] .visual-popular strong,
:root[data-theme="dark"] .about-strip h2,
:root[data-theme="dark"] .footer-brand,
:root[data-theme="dark"] .footer-title{color:#edf4f0}
:root[data-theme="dark"] .brand-copy small,
:root[data-theme="dark"] .home-page .hero-lead,
:root[data-theme="dark"] .category-card small,
:root[data-theme="dark"] .category-tool-list p,
:root[data-theme="dark"] .visual-popular p,
:root[data-theme="dark"] .footer-note,
:root[data-theme="dark"] .footer-links a,
:root[data-theme="dark"] .about-strip p{color:#9caea5}
:root[data-theme="dark"] .home-nav a span,
:root[data-theme="dark"] .home-page .quick-line span{color:#8ea198}
:root[data-theme="dark"] .round-action,
:root[data-theme="dark"] .home-page .theme-toggle{background:#18211d;border-color:#2b3932;color:#edf4f0}
:root[data-theme="dark"] .home-page .search-control{background:#151d1a;border-color:#46584f;box-shadow:none}
:root[data-theme="dark"] .home-page .search-control input{background:transparent;color:#edf4f0}
:root[data-theme="dark"] .home-page .search-control input::placeholder{color:#7f9188}
:root[data-theme="dark"] .search-leading{color:#67c9a2}
:root[data-theme="dark"] .home-page .quick-line a{background:#18211d;border-color:#2a3932;color:#b9c8c0}
:root[data-theme="dark"] .home-page .quick-line a:hover{background:#1d2823;color:#edf4f0}
:root[data-theme="dark"] .category-card{background:#151d1a;border-color:#2b3933;color:#edf4f0}
:root[data-theme="dark"] .category-card:hover{background:#19231f;border-color:#43554c}
:root[data-theme="dark"] .category-auto .category-icon{background:#17242a;color:#85aec3}
:root[data-theme="dark"] .category-home .category-icon{background:#17261f;color:#82c4a5}
:root[data-theme="dark"] .category-finance .category-icon{background:#292318;color:#e0ae62}
:root[data-theme="dark"] .category-shop .category-icon{background:#18232c;color:#78aeda}
:root[data-theme="dark"] .category-card i,
:root[data-theme="dark"] .category-tool-list>a>span,
:root[data-theme="dark"] .visual-popular i,
:root[data-theme="dark"] .category-group-head a,
:root[data-theme="dark"] .home-section-heading>a{color:#65cba5}
:root[data-theme="dark"] .visual-popular a{background:#151d1a;border-color:#2b3933!important;box-shadow:none}
:root[data-theme="dark"] .visual-popular a:hover{background:#19231f;box-shadow:none}
:root[data-theme="dark"] .category-group-head,
:root[data-theme="dark"] .category-tool-list>a,
:root[data-theme="dark"] .about-strip,
:root[data-theme="dark"] .visual-popular{border-color:#2b3933}
:root[data-theme="dark"] .eyebrow,
:root[data-theme="dark"] .visual-popular span{color:#61c99f}
:root[data-theme="dark"] .hero-visual:before{background:radial-gradient(ellipse at 50% 48%,rgba(61,117,93,.34) 0 48%,rgba(38,74,59,.20) 70%,rgba(17,24,21,0) 100%)}
:root[data-theme="dark"] .scribble{color:#9bb7ac}
:root[data-theme="dark"] .fact-strip-inner{border-color:#2b3933}
:root[data-theme="dark"] .fact-label{color:#88a097}
:root[data-theme="dark"] .fact-strip-content{color:#dce8e2}
:root[data-theme="dark"] .cookie-banner{background:rgba(20,28,24,.97);border-color:#2b3933}
:root[data-theme="dark"] .cookie-copy strong{color:#edf4f0}
:root[data-theme="dark"] .cookie-copy p{color:#9caea5}
:root[data-theme="dark"] .cookie-settings{background:#18211d;border-color:#3a4a43;color:#dce8e2}

@media(max-width:820px){
  :root[data-theme="dark"] .home-nav{background:#151d1a;box-shadow:0 15px 30px rgba(0,0,0,.26)}
  .fact-strip-inner{grid-template-columns:1fr;gap:10px;padding:18px 0}
}


/* 2026-09-05 v4 — light-only, editorial top fact and interactive daily module */
:root{color-scheme:light!important}
html,body,.home-page{background:#f8fbfa!important;color:#173044!important}
.theme-toggle{display:none!important}
.top-fact{background:#edf6f2;border-bottom:1px solid #d9e8e1;font-size:.86rem;color:#50685e}
.top-fact-inner{min-height:38px;display:flex;align-items:center;gap:18px}
.top-fact-label{font-weight:800;color:#24483a;white-space:nowrap}
.top-fact a{min-width:0;display:flex;align-items:center;gap:12px;color:#4c6259;text-decoration:none;transition:opacity .18s ease}
.top-fact a:hover{color:#1f7356}.top-fact a i{font-style:normal;color:#2aa574;font-size:1.05rem}.top-fact.changing a{opacity:.25}
.home-page .home-header{background:#f8fbfa;border-bottom:1px solid #e1ebe6}
.home-page .home-hero,.home-category-strip,.popular-section,.home-categories,.about-strip,.site-footer{background:#f8fbfa!important}
.hero-visual:before{display:none!important}
.hero-visual img{width:min(100%,650px);mix-blend-mode:normal!important;filter:saturate(.94) contrast(.99)!important;border-radius:0!important;opacity:1!important;mask-image:linear-gradient(to bottom,transparent 0,#000 8%,#000 89%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 8%,#000 89%,transparent 100%)}
.scribble{color:#47667a}

.daily-calc{padding:64px 0 74px;background:#eef7f3;border-top:1px solid #dceae3;border-bottom:1px solid #dceae3}
.daily-calc-inner{display:grid;grid-template-columns:minmax(0,.78fr) minmax(580px,1.22fr);gap:72px;align-items:center}
.daily-kicker{margin:0 0 12px;color:#267b5c;font-weight:850;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}
.daily-copy h2{margin:0;color:#102b3d;font-size:clamp(2rem,3vw,3.1rem);line-height:1.05;letter-spacing:-.045em}
.daily-copy>p:last-child{margin:18px 0 0;color:#62756c;font-size:1.04rem;line-height:1.65;max-width:520px}
.daily-tool{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 30px;align-items:end;padding:32px;border-top:1px solid #aac9ba;border-bottom:1px solid #aac9ba}
.daily-fields{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:16px;align-items:end}
.daily-fields label{display:grid;gap:8px;color:#61736b;font-size:.78rem;font-weight:700}
.daily-fields input{width:100%;height:50px;border:1px solid #b9cec4;border-radius:10px;background:#fff;color:#173044;padding:0 13px;font:inherit;font-size:1rem;font-weight:750;outline:none}
.daily-fields input:focus{border-color:#2aa574;box-shadow:0 0 0 3px rgba(42,165,116,.10)}
.daily-result{min-width:180px;display:grid;justify-items:end;align-content:center}
.daily-result span,.daily-result small{color:#667a71;font-size:.76rem}.daily-result strong{color:#173044;font-size:2rem;line-height:1.1;letter-spacing:-.035em;margin:4px 0;font-weight:900}
.daily-more{grid-column:1/-1;justify-self:end;color:#1f7858;text-decoration:none;font-weight:800}.daily-more span{margin-left:6px}

/* Old middle-page fact strip is no longer used. */
.fact-strip{display:none!important}

@media(max-width:980px){.daily-calc-inner{grid-template-columns:1fr;gap:34px}.daily-tool{grid-template-columns:1fr}.daily-result{justify-items:start}.daily-more{justify-self:start}}
@media(max-width:700px){.top-fact-inner{min-height:44px;gap:10px}.top-fact-label{font-size:.72rem}.top-fact a{font-size:.78rem}.daily-calc{padding:44px 0 50px}.daily-fields{grid-template-columns:1fr}.daily-tool{padding:24px 0}.daily-result strong{font-size:1.75rem}}


/* 2026-09-05 v5 — final light footer + cleaner daily module */
.home-page .daily-calc{background:#f3f8f6;border-color:#dfe9e5;padding:56px 0 64px}
.home-page .daily-calc-inner{gap:58px}
.home-page .daily-tool{padding:26px 0;border-top-color:#bfd2c9;border-bottom-color:#bfd2c9}
.home-page .daily-fields input{border-radius:8px;box-shadow:none}
.home-page .daily-more{font-size:.92rem}
.home-page .site-footer{background:#f8fbfa!important;color:#173044!important;border-top:1px solid #dce6e2;padding:46px 0 30px}
.home-page .footer-grid{grid-template-columns:1.45fr repeat(3,minmax(130px,1fr));gap:44px}
.home-page .footer-brand{color:#173044!important;font-size:1.18rem;font-weight:900}
.home-page .footer-title{color:#173044!important;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;margin-bottom:12px}
.home-page .footer-links{gap:9px}
.home-page .footer-links a{color:#5e7168!important;font-size:.88rem}
.home-page .footer-links a:hover{color:#207b5b!important;text-decoration:underline;text-underline-offset:3px}
.home-page .footer-note{color:#71827a!important;max-width:360px;line-height:1.55}
.home-page .copyright{color:#87968f!important;border-top:1px solid #e2eae6;margin-top:34px;padding-top:18px;font-size:.78rem}
@media(max-width:800px){.home-page .footer-grid{grid-template-columns:1fr 1fr;gap:28px}.home-page .daily-calc-inner{gap:28px}}
@media(max-width:520px){.home-page .footer-grid{grid-template-columns:1fr}.home-page .site-footer{padding-top:36px}}


/* v6 — visible fact, compact mobile hero, category tiles, footer repair */
.home-page .top-fact{
  margin:18px auto 8px;
  width:min(calc(100% - 48px),1370px);
  background:#eef6f2;
  border:1px solid #d8e8e0;
  border-radius:14px;
  color:#405a4f;
  font-size:1rem;
}
.home-page .top-fact-inner{
  min-height:64px;
  padding:12px 18px;
  gap:18px;
}
.home-page .top-fact-label{
  font-size:.76rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#356c56;
}
.home-page .top-fact a{
  font-size:1rem;
  line-height:1.4;
  font-weight:650;
  color:#29473b;
}
.home-page .top-fact a i{font-size:1.2rem;color:#2c8b68}

/* Keep the illustration subordinate to the content, especially on phones. */
.home-page .hero-visual{
  min-height:0;
  display:flex;
  justify-content:center;
  align-items:center;
}
.home-page .hero-visual img{
  display:block;
  width:min(100%,560px)!important;
  height:auto!important;
  max-height:430px;
  object-fit:contain;
}

/* Category navigation = real tiles, not long mobile cards. */
.home-page .category-card{
  min-height:112px;
  border:1px solid #d7e1dd;
  border-radius:14px;
  background:#fff;
  box-shadow:none;
}
.home-page .category-card:hover{transform:none;box-shadow:none;border-color:#b8c9c2}

/* Daily module stays compact and shows two useful time horizons. */
.home-page .daily-calc{padding:48px 0 54px}
.home-page .daily-calc-inner{grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:44px}
.home-page .daily-tool{grid-template-columns:minmax(0,1fr) minmax(190px,240px);padding:24px 0}
.home-page .daily-result{min-width:0;display:grid;gap:10px;justify-items:stretch}
.home-page .daily-result-row{display:flex;align-items:baseline;justify-content:space-between;gap:18px}
.home-page .daily-result-row span{color:#6a7d74;font-size:.78rem;font-weight:700}
.home-page .daily-result-row strong{color:#173044;font-size:1.55rem;line-height:1.1;font-weight:900;white-space:nowrap}
.home-page .daily-result>small{color:#7b8b84;font-size:.72rem;text-align:right}

/* Footer: hard reset of the old dark palette. */
.home-page .site-footer{
  background:#f8fbfa!important;
  color:#173044!important;
  border-top:1px solid #dce6e2!important;
  padding:48px 0 28px!important;
}
.home-page .footer-grid{
  display:grid!important;
  grid-template-columns:1.45fr repeat(3,minmax(130px,1fr))!important;
  gap:44px!important;
}
.home-page .footer-brand{color:#173044!important}
.home-page .footer-title{color:#173044!important}
.home-page .footer-note{color:#71827a!important}
.home-page .footer-links a{color:#5d7067!important}
.home-page .footer-links a:hover{color:#207b5b!important}
.home-page .copyright{
  color:#87968f!important;
  border-top:1px solid #e2eae6!important;
  margin-top:34px!important;
  padding-top:18px!important;
}

@media(max-width:980px){
  .home-page .daily-calc-inner{grid-template-columns:1fr;gap:24px}
  .home-page .daily-tool{grid-template-columns:1fr}
  .home-page .daily-result{max-width:420px}
  .home-page .hero-layout{grid-template-columns:minmax(0,1fr) 340px!important;gap:22px}
  .home-page .hero-visual img{max-width:340px!important;max-height:300px}
}

@media(max-width:760px){
  .home-page .top-fact{
    width:min(calc(100% - 24px),1370px);
    margin:12px auto 0;
    border-radius:12px;
  }
  .home-page .top-fact-inner{
    min-height:0;
    padding:13px 14px;
    display:block;
  }
  .home-page .top-fact-label{
    display:block;
    margin-bottom:5px;
  }
  .home-page .top-fact a{
    display:grid;
    grid-template-columns:1fr auto;
    gap:10px;
    font-size:.92rem;
  }

  .home-page .home-hero{padding:28px 0 14px!important}
  .home-page .hero-layout{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .home-page .hero-main h1{font-size:clamp(2.2rem,11vw,3.05rem)!important}
  .home-page .hero-lead{margin-top:14px!important}
  .home-page .hero-visual{
    min-height:0!important;
    max-height:210px!important;
    overflow:hidden!important;
    margin-top:2px;
  }
  .home-page .hero-visual img{
    width:260px!important;
    max-width:72vw!important;
    max-height:200px!important;
    object-fit:contain!important;
  }

  .home-page .home-category-strip{padding:8px 0 26px!important}
  .home-page .category-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .home-page .category-card{
    min-height:126px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:8px!important;
    padding:14px!important;
  }
  .home-page .category-card .category-icon{
    width:42px!important;height:42px!important;
  }
  .home-page .category-card .category-icon svg{width:27px!important;height:27px!important}
  .home-page .category-card strong{font-size:1rem!important}
  .home-page .category-card small{
    font-size:.75rem!important;
    line-height:1.3!important;
    display:block!important;
  }
  .home-page .category-card>i{display:none!important}

  .home-page .daily-calc{padding:36px 0 40px!important}
  .home-page .daily-copy h2{font-size:1.8rem!important}
  .home-page .daily-fields{grid-template-columns:1fr 1fr!important;gap:12px!important}
  .home-page .daily-fields label:last-child:nth-child(odd){grid-column:1/-1}
  .home-page .daily-tool{padding:18px 0!important;gap:18px!important}
  .home-page .daily-result{width:100%;max-width:none}
  .home-page .daily-result-row{
    padding:9px 0;
    border-bottom:1px solid #dce7e2;
  }
  .home-page .daily-result-row strong{font-size:1.35rem}
  .home-page .daily-more{justify-self:start!important}

  .home-page .footer-grid{
    grid-template-columns:1fr 1fr!important;
    gap:28px 18px!important;
  }
  .home-page .footer-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:430px){
  .home-page .hero-visual img{width:230px!important;max-height:175px!important}
  .home-page .daily-fields{grid-template-columns:1fr!important}
  .home-page .footer-grid{grid-template-columns:1fr!important}
  .home-page .footer-grid>div:first-child{grid-column:auto}
}


/* build 20260905-7 */


/* v8 — daily calculator reliability + slightly distinct footer */
.home-page .daily-result{padding-left:8px}
.home-page .daily-result-row{min-height:38px}
.home-page .site-footer{
  background:#edf5f1!important;
  border-top:1px solid #cfddd6!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65);
}
.home-page .site-footer .footer-grid{padding-top:2px}
.home-page .footer-title{letter-spacing:.06em!important}
.home-page .footer-brand{font-size:1.28rem!important}
.home-page .copyright{border-top-color:#d3e0da!important}
@media(max-width:760px){
  .home-page .site-footer{padding:38px 0 24px!important}
  .home-page .footer-note{max-width:310px}
}

/* build 20260905-8 */


/* v9 — shared header on every page + TankujNajtaniej live widget */
.calculator-page .home-header,
.category-page .home-header,
body:not(.home-page) .home-header{
  background:#fff;
  border-bottom:1px solid #e1e9e5;
}
body:not(.home-page) .home-header .header-inner{min-height:78px}
body:not(.home-page) .brand-rich{text-decoration:none}
body:not(.home-page) .brand-copy strong{color:#173044}
body:not(.home-page) .brand-copy small{color:#7b8d85}
body:not(.home-page) .home-nav a{color:#334a40}
body:not(.home-page) .round-action{background:#f4f8f6;border-color:#dde8e2;color:#173044}

.fuel-live-widget{
  margin:34px 0 10px;
  padding:26px 0 8px;
  border-top:1px solid #dce7e2;
  border-bottom:1px solid #dce7e2;
}
.fuel-live-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:14px}
.fuel-live-head .eyebrow{margin:0 0 5px;color:#2a7c5d;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800}
.fuel-live-head h2{margin:0;color:#173044;font-size:1.35rem;letter-spacing:-.02em}
.fuel-live-head>a{color:#267b5c;text-decoration:none;font-size:.88rem;font-weight:800;white-space:nowrap}
.fuel-live-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.fuel-live-row{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:11px;
  padding:13px 14px;border:1px solid #dce6e1;border-radius:12px;background:#fff;color:#173044;text-decoration:none;
}
.fuel-live-row:hover{border-color:#b9ccc3;background:#fbfdfc}
.fuel-live-badge{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:28px;padding:0 8px;border-radius:8px;background:#eef4f1;color:#365247;font-size:.72rem;font-weight:900}
.fuel-pb95{background:#eaf5ee;color:#286443}.fuel-pb98{background:#f5ecec;color:#814b4b}.fuel-on,.fuel-onplus{background:#eaf1f7;color:#3a6380}.fuel-lpg{background:#f0edf7;color:#655385}
.fuel-live-place{min-width:0;display:grid;gap:2px}.fuel-live-place strong{font-size:.88rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fuel-live-place small{font-size:.72rem;color:#75867e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fuel-live-price{font-size:1.05rem;white-space:nowrap}.fuel-live-arrow{color:#2a8a66}
.fuel-live-source{margin:10px 0 0;color:#84938c;font-size:.72rem}.fuel-live-source a{color:inherit}
.fuel-live-loading,.fuel-live-fallback{grid-column:1/-1;margin:0;padding:16px 0;color:#708078;font-size:.88rem}.fuel-live-fallback{display:block;color:#267b5c;text-decoration:none;font-weight:750}

@media(max-width:900px){.fuel-live-items{grid-template-columns:1fr}.fuel-live-row{grid-template-columns:auto minmax(0,1fr) auto auto}}
@media(max-width:760px){
  body:not(.home-page) .home-header .header-inner{min-height:70px}
  body:not(.home-page) .brand-copy small{display:block}
  .fuel-live-widget{margin-top:24px;padding-top:20px}
  .fuel-live-head{align-items:start}.fuel-live-head h2{font-size:1.2rem}.fuel-live-head>a{font-size:.8rem}
  .fuel-live-row{padding:12px 10px;gap:8px}.fuel-live-price{font-size:.96rem}.fuel-live-arrow{display:none}
}


/* v10 — live fuel prices in the right sidebar */
.fuel-live-widget--sidebar{
  margin:18px 0 0;
  padding:18px;
  border:1px solid #d9e4df;
  border-radius:14px;
  background:#f8fbfa;
}
.fuel-live-widget--sidebar .fuel-live-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px
}
.fuel-live-widget--sidebar .fuel-live-head .eyebrow{
  margin:0 0 4px;font-size:.66rem;letter-spacing:.08em;text-transform:uppercase
}
.fuel-live-widget--sidebar .fuel-live-head h2{margin:0;font-size:1.08rem;line-height:1.2}
.fuel-live-widget--sidebar .fuel-live-head>a{font-size:.76rem;white-space:nowrap}
.fuel-live-widget--sidebar .fuel-live-items{display:grid}
.fuel-live-widget--sidebar .fuel-live-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:"badge place price" "badge place arrow";
  gap:2px 10px;
  align-items:center;
  padding:11px 0;
  border-top:1px solid #e1e9e5;
  text-decoration:none;
}
.fuel-live-widget--sidebar .fuel-live-row:first-child{border-top:0}
.fuel-live-widget--sidebar .fuel-live-badge{
  grid-area:badge;min-width:43px;text-align:center;padding:5px 7px;border-radius:7px;font-size:.67rem;font-weight:800
}
.fuel-live-widget--sidebar .fuel-live-place{grid-area:place;min-width:0;display:grid;gap:2px}
.fuel-live-widget--sidebar .fuel-live-place strong{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;color:#173044
}
.fuel-live-widget--sidebar .fuel-live-place small{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;color:#7b8c84
}
.fuel-live-widget--sidebar .fuel-live-price{grid-area:price;font-size:.94rem;color:#173044;white-space:nowrap}
.fuel-live-widget--sidebar .fuel-live-arrow{grid-area:arrow;justify-self:end;color:#23815f;font-size:.8rem}
.fuel-live-widget--sidebar .fuel-live-source{
  margin:9px 0 0;padding-top:9px;border-top:1px solid #e1e9e5;font-size:.67rem;color:#829089
}
.fuel-live-widget--sidebar .fuel-live-source a{color:#5c7569}
.fuel-live-widget--sidebar .fuel-live-loading,
.fuel-live-widget--sidebar .fuel-live-fallback{padding:10px 0 2px;font-size:.78rem}
@media(max-width:900px){
  .fuel-live-widget--sidebar{margin-top:16px}
}

/* build 20260905-10 */
/* v11 — fuel widget: compact stacked list, no cramped mini-cards */
.fuel-live-widget--sidebar{
  padding:20px 20px 16px!important;
  background:#fbfdfc!important;
  border:1px solid #d7e3dd!important;
  border-radius:16px!important;
}
.fuel-live-widget--sidebar .fuel-live-head{
  margin-bottom:8px!important;
  align-items:flex-end!important;
}
.fuel-live-widget--sidebar .fuel-live-head .eyebrow{
  margin:0 0 5px!important;
  font-size:.64rem!important;
  letter-spacing:.10em!important;
  color:#2b7d60!important;
}
.fuel-live-widget--sidebar .fuel-live-head h2{
  margin:0!important;
  font-size:1.18rem!important;
  line-height:1.15!important;
  color:#173044!important;
}
.fuel-live-widget--sidebar .fuel-live-head>a{
  font-size:.72rem!important;
  color:#2a7f61!important;
  text-decoration:none!important;
  font-weight:800!important;
  padding-bottom:2px;
}
.fuel-live-widget--sidebar .fuel-live-items{
  display:block!important;
}
.fuel-live-widget--sidebar .fuel-live-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:12px 0!important;
  border-top:1px solid #e3ebe7!important;
  text-decoration:none!important;
  background:transparent!important;
}
.fuel-live-widget--sidebar .fuel-live-row:first-child{
  border-top:0!important;
}
.fuel-live-widget--sidebar .fuel-live-main{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  flex:1 1 auto!important;
}
.fuel-live-widget--sidebar .fuel-live-side{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex:0 0 auto!important;
}
.fuel-live-widget--sidebar .fuel-live-badge{
  min-width:46px!important;
  padding:6px 7px!important;
  border-radius:8px!important;
  font-size:.66rem!important;
  line-height:1!important;
  font-weight:900!important;
  text-align:center!important;
}
.fuel-live-widget--sidebar .fuel-live-place{
  min-width:0!important;
  display:block!important;
}
.fuel-live-widget--sidebar .fuel-live-place strong{
  display:block!important;
  max-width:180px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:.82rem!important;
  line-height:1.2!important;
  color:#173044!important;
}
.fuel-live-widget--sidebar .fuel-live-place small{
  display:block!important;
  margin-top:3px!important;
  max-width:180px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:.68rem!important;
  color:#7b8d85!important;
}
.fuel-live-widget--sidebar .fuel-live-price{
  font-size:1rem!important;
  font-weight:900!important;
  color:#173044!important;
  white-space:nowrap!important;
}
.fuel-live-widget--sidebar .fuel-live-arrow{
  color:#2b8b69!important;
  font-size:.9rem!important;
}
.fuel-live-widget--sidebar .fuel-live-source{
  margin:8px 0 0!important;
  padding-top:10px!important;
  border-top:1px solid #e3ebe7!important;
  font-size:.66rem!important;
  color:#8a9891!important;
}
.fuel-live-widget--sidebar .fuel-live-fallback{
  display:block!important;
  padding:12px 0 4px!important;
  font-size:.8rem!important;
  color:#2a7f61!important;
  text-decoration:none!important;
}
@media(max-width:1050px){
  .fuel-live-widget--sidebar .fuel-live-place strong,
  .fuel-live-widget--sidebar .fuel-live-place small{max-width:130px!important}
}
@media(max-width:900px){
  .fuel-live-widget--sidebar .fuel-live-place strong,
  .fuel-live-widget--sidebar .fuel-live-place small{max-width:none!important}
}

/* build 20260905-11 */
/* v12 — subpage footer aligned with homepage footer */
body:not(.home-page) .site-footer{
  background:#edf5f1!important;
  color:#173044!important;
  border-top:1px solid #cfddd6!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65)!important;
  padding:48px 0 28px!important;
}
body:not(.home-page) .site-footer .footer-grid{
  display:grid!important;
  grid-template-columns:1.45fr repeat(3,minmax(130px,1fr))!important;
  gap:44px!important;
  align-items:start!important;
}
body:not(.home-page) .site-footer .footer-brand{
  color:#173044!important;
  font-size:1.28rem!important;
  font-weight:900!important;
  text-decoration:none!important;
}
body:not(.home-page) .site-footer .footer-note{
  color:#71827a!important;
  max-width:360px!important;
  line-height:1.55!important;
}
body:not(.home-page) .site-footer .footer-title{
  color:#173044!important;
  font-size:.78rem!important;
  line-height:1.2!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  font-weight:850!important;
  margin:0 0 12px!important;
}
body:not(.home-page) .site-footer .footer-links{
  display:grid!important;
  gap:9px!important;
}
body:not(.home-page) .site-footer .footer-links a{
  color:#5d7067!important;
  font-size:.88rem!important;
  line-height:1.35!important;
  text-decoration:none!important;
}
body:not(.home-page) .site-footer .footer-links a:hover{
  color:#207b5b!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}
body:not(.home-page) .site-footer .copyright{
  color:#87968f!important;
  border-top:1px solid #d3e0da!important;
  margin-top:34px!important;
  padding-top:18px!important;
  font-size:.78rem!important;
}

@media(max-width:800px){
  body:not(.home-page) .site-footer .footer-grid{
    grid-template-columns:1fr 1fr!important;
    gap:28px 18px!important;
  }
  body:not(.home-page) .site-footer .footer-grid>div:first-child{
    grid-column:1/-1!important;
  }
}
@media(max-width:520px){
  body:not(.home-page) .site-footer{
    padding:38px 0 24px!important;
  }
  body:not(.home-page) .site-footer .footer-grid{
    grid-template-columns:1fr!important;
  }
  body:not(.home-page) .site-footer .footer-grid>div:first-child{
    grid-column:auto!important;
  }
}
/* build 20260905-12 */
/* v13 — contact form */
.contact-page{padding:58px 0 76px}
.contact-shell{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);gap:72px;align-items:start}
.contact-intro{padding-top:8px}
.contact-intro h1{margin:6px 0 16px;color:#173044;font-size:clamp(2.5rem,5vw,4.6rem);line-height:.98;letter-spacing:-.055em}
.contact-intro>p:last-child{margin:0;max-width:460px;color:#667970;font-size:1.04rem;line-height:1.65}
.contact-form-wrap{max-width:720px;width:100%}
.contact-form{display:grid;gap:17px;padding:28px;border:1px solid #d9e4df;border-radius:16px;background:#fbfdfc}
.contact-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.contact-form label{display:grid;gap:7px;color:#30483d;font-size:.82rem;font-weight:750}
.contact-form label>span{display:inline;color:#89978f;font-size:.72rem;font-weight:550}
.contact-form input,.contact-form select,.contact-form textarea{
  width:100%;border:1px solid #cbdad3;border-radius:9px;background:#fff;color:#173044;padding:11px 12px;font:inherit;outline:none
}
.contact-form input,.contact-form select{height:46px}
.contact-form textarea{resize:vertical;min-height:150px;line-height:1.5}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{
  border-color:#299c73;box-shadow:0 0 0 3px rgba(41,156,115,.10)
}
.contact-submit{
  justify-self:start;border:0;border-radius:9px;background:#087a5b;color:#fff;padding:12px 18px;font:inherit;font-weight:850;cursor:pointer
}
.contact-submit:hover{background:#06684d}
.contact-privacy{margin:0;color:#83928a;font-size:.75rem}
.contact-success,.contact-error{padding:18px 20px;border-radius:12px;display:grid;gap:3px}
.contact-success{border:1px solid #bfe0d1;background:#edf8f3;color:#185d46}
.contact-error{border:1px solid #edc7c3;background:#fff3f2;color:#8c312a;margin-bottom:14px}
.contact-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}

@media(max-width:800px){
  .contact-page{padding:38px 0 56px}
  .contact-shell{grid-template-columns:1fr;gap:30px}
  .contact-intro h1{font-size:2.7rem}
  .contact-form{padding:20px}
}
@media(max-width:520px){
  .contact-row{grid-template-columns:1fr}
  .contact-form{padding:16px;border-radius:12px}
  .contact-submit{width:100%}
}
/* build 20260905-13 */


/* v14 — currencies */
.home-currency{padding:24px 0 34px;background:#f7fbf9;border-top:1px solid #dfeae5;border-bottom:1px solid #dfeae5}
.home-currency-inner{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.5fr) auto;gap:28px;align-items:center}
.home-currency-copy h2{margin:0 0 5px;font-size:1.45rem;color:#173044}
.home-currency-copy p:last-child{margin:0;color:#72827a;font-size:.88rem}
.home-currency-rates{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.currency-rate-item{padding:12px 14px;border-left:1px solid #d9e5df}
.currency-rate-item:first-child{border-left:0}
.currency-rate-item span{display:block;color:#73847b;font-size:.72rem;font-weight:800;letter-spacing:.06em}
.currency-rate-item strong{display:block;margin-top:3px;color:#173044;font-size:1rem;white-space:nowrap}
.currency-rate-skeleton,.currency-rate-error{color:#7d8c85;font-size:.85rem}
.home-currency-link{white-space:nowrap;text-decoration:none;font-weight:850;color:#1e7758}
.home-currency-link span{margin-left:5px}

.currency-layout{grid-template-columns:minmax(0,760px) minmax(250px,1fr)}
.currency-fields{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(180px,1fr) auto minmax(180px,1fr);gap:12px;align-items:end}
.currency-fields label{display:grid;gap:7px;color:#30483d;font-size:.84rem;font-weight:750}
.currency-fields input,.currency-fields select{width:100%;height:50px;border:1px solid #c8d7d0;border-radius:9px;background:#fff;color:#173044;padding:0 12px;font:inherit}
.currency-swap{height:50px;width:50px;border:1px solid #c8d7d0;border-radius:9px;background:#f6faf8;color:#1f7859;font-size:1.2rem;font-weight:800;cursor:pointer}
.currency-results{padding:26px;background:#eef7f3}
.currency-main-result{display:block;margin-top:4px;color:#173044;font-size:2.25rem;font-weight:900;letter-spacing:-.035em}
.currency-rate-note{margin:7px 0 0;color:#71837a;font-size:.8rem}
.currency-side-rates{display:grid}
.currency-side-rates .currency-rate-item{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-left:0;border-top:1px solid #e2e9e6}
.currency-side-rates .currency-rate-item:first-child{border-top:0}
.currency-updated{margin:8px 0 0;color:#8a9992;font-size:.68rem}

.currency-seo-box{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:28px;border:1px solid #d9e4df;border-radius:14px;background:#fff}
.currency-seo-box>div{display:grid;gap:3px}
.currency-seo-code{color:#2b7c60;font-size:.76rem;font-weight:850;letter-spacing:.09em}
.currency-seo-box strong{font-size:2.2rem;color:#173044}
.currency-seo-box small{color:#7a8b82}
.currency-seo-box>a{text-decoration:none;font-weight:850}

@media(max-width:900px){
  .home-currency-inner{grid-template-columns:1fr;gap:16px}
  .home-currency-rates{grid-template-columns:repeat(4,1fr)}
  .home-currency-link{justify-self:start}
  .currency-fields{grid-template-columns:1fr 1fr}
  .currency-swap{grid-row:2;justify-self:start}
}
@media(max-width:620px){
  .home-currency{padding:20px 0 24px}
  .home-currency-rates{grid-template-columns:1fr 1fr}
  .currency-rate-item{border-left:0;border-top:1px solid #d9e5df;padding:10px 0}
  .currency-rate-item:nth-child(-n+2){border-top:0}
  .currency-fields{grid-template-columns:1fr}
  .currency-swap{grid-row:auto;width:100%}
  .currency-main-result{font-size:1.85rem}
  .currency-seo-box{align-items:flex-start;flex-direction:column}
}

.gold-layout{grid-template-columns:minmax(0,760px) minmax(250px,1fr)}
.gold-card{overflow:hidden}.gold-price-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:26px;background:#f8f6ef;border-bottom:1px solid #e6e0cf}
.gold-price-head strong{display:block;margin-top:4px;font-size:2.35rem;line-height:1;color:#173044;letter-spacing:-.04em}.gold-price-head small{color:#7d7b6e;font-size:.76rem}
.gold-fields{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1fr);gap:16px;align-items:end}.gold-fields label{display:grid;gap:7px;color:#30483d;font-size:.84rem;font-weight:750}
.gold-fields input{height:50px;border:1px solid #c8d7d0;border-radius:9px;background:#fff;color:#173044;padding:0 12px;font:inherit}
.gold-result-box{min-height:78px;padding:14px 16px;border:1px solid #d7dfda;border-radius:10px;background:#f8fbfa;display:grid;align-content:center}.gold-result-box span{font-size:.72rem;color:#7a8a82;font-weight:700}.gold-result-box output{margin-top:3px;font-size:1.35rem;color:#173044;font-weight:900}
.goldsaver-box{margin-top:20px;padding:24px;border:1px solid #ddd7bf;border-radius:14px;background:#fbf9f1;display:flex;align-items:center;justify-content:space-between;gap:24px}.goldsaver-box h2{margin:3px 0 7px;font-size:1.35rem;color:#173044}.goldsaver-box p{margin:0;color:#6f746d;line-height:1.5}.goldsaver-box small{display:block;margin-top:9px;color:#847f6d}.goldsaver-box>a{flex:0 0 auto;padding:11px 16px;border-radius:9px;background:#173044;color:#fff;text-decoration:none;font-weight:850}.affiliate-note{margin:7px 2px 0;color:#8a918c;font-size:.68rem;line-height:1.45}
@media(max-width:720px){.gold-price-head{align-items:flex-start;flex-direction:column}.gold-fields{grid-template-columns:1fr}.goldsaver-box{align-items:flex-start;flex-direction:column}.goldsaver-box>a{width:100%;text-align:center}}


/* v16 — gold savings calculator */
.gold-savings-card{margin-top:20px}
.gold-savings-card .calc-form{padding-bottom:20px}
.gold-savings-card h2{margin:4px 0 8px}
.gold-savings-fields{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:18px
}
.gold-savings-fields label{
  display:grid;
  gap:7px;
  color:#30483d;
  font-size:.84rem;
  font-weight:750
}
.gold-savings-results{padding:22px 24px;background:#f6faf8;border-top:1px solid #e0e9e5}
.gold-savings-results .result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.gold-savings-results .result-item.primary{background:#edf7f2}
.gold-savings-results .result-value{font-size:1.25rem}
@media(max-width:720px){
  .gold-savings-fields{grid-template-columns:1fr}
  .gold-savings-results .result-grid{grid-template-columns:1fr}
}


/* v17 — gold SEO pages */
.gold-seo-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(250px,1fr);gap:34px;align-items:start}
.gold-seo-value{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border:1px solid #ddd7bf;border-radius:14px;background:#fbf9f1}
.gold-seo-value>div{display:grid;gap:4px}
.gold-seo-label{color:#7c795f;font-size:.76rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.gold-seo-value strong{font-size:2.35rem;line-height:1;color:#173044;letter-spacing:-.04em}
.gold-seo-value small{color:#8c8974}
.gold-seo-value>a{text-decoration:none;font-weight:850;color:#1f7658;white-space:nowrap}
.gold-topic-links{margin-top:22px}
.gold-topic-links h2{margin-bottom:12px}
.gold-topic-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gold-topic-grid a{display:grid;gap:3px;padding:14px 15px;border:1px solid #dfe7e3;border-radius:11px;background:#fff;text-decoration:none}
.gold-topic-grid strong{color:#173044;font-size:.9rem}
.gold-topic-grid span{color:#76877e;font-size:.76rem;line-height:1.35}
@media(max-width:900px){.gold-seo-layout{grid-template-columns:1fr}}
@media(max-width:620px){.gold-seo-value{align-items:flex-start;flex-direction:column}.gold-topic-grid{grid-template-columns:1fr}}

.search-results-page{padding:54px 0 76px}.search-results-page h1{margin:5px 0 22px;color:#173044;font-size:clamp(2.2rem,5vw,4rem);letter-spacing:-.045em}.search-results-form{display:flex;gap:10px;max-width:760px}.search-results-form input{flex:1;min-width:0;height:52px;border:1px solid #cbdad3;border-radius:10px;background:#fff;padding:0 15px;font:inherit;color:#173044}.search-results-form button{height:52px;border:0;border-radius:10px;background:#087a5b;color:#fff;padding:0 20px;font:inherit;font-weight:850}.search-results-summary{margin:22px 0 14px;color:#75867d}.search-results-list{display:grid;gap:10px;max-width:860px}.search-results-list>a{position:relative;display:grid;gap:4px;padding:18px 48px 18px 18px;border:1px solid #dce6e1;border-radius:12px;background:#fff;text-decoration:none}.search-results-list>a span{font-size:.7rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em;color:#2b7d60}.search-results-list>a strong{font-size:1rem;color:#173044}.search-results-list>a p{margin:0;color:#74857c;font-size:.84rem;line-height:1.45}.search-results-list>a i{position:absolute;right:18px;top:50%;transform:translateY(-50%);font-style:normal;color:#2b8465}@media(max-width:560px){.search-results-form{display:grid}.search-results-form button{width:100%}.search-results-page{padding:38px 0 56px}}
/* build 20260905-21 */
