/* ============================================================
   MY TIME CALCULATORS — Card layout, minimal palette
   Palette: ink, paper, white card, one cobalt accent + grays.
   Icons: navigation/menu only (all decorative icons removed).
   ============================================================ */

:root {
  /* Minimal palette — ink, paper, card, one accent, grays */
  --ink:      #1A1D24;   /* text / headings */
  --ink-soft: #4A5160;   /* body text */
  --ink-faint:#8A90A0;   /* muted captions */
  --paper:    #F4F5F7;   /* page background */
  --card:     #FFFFFF;   /* card surface */
  --line:     #E6E8EC;   /* borders */
  --accent:   #2F5BEA;   /* single accent */
  --accent-deep:#2447C4;
  --accent-soft:#EEF2FE;

  --radius:   14px;
  --radius-lg:20px;
  --maxw:     1080px;
  --shadow-sm: 0 1px 2px rgba(26,29,36,.05);
  --shadow:    0 4px 16px rgba(26,29,36,.06);
  --shadow-lg: 0 12px 32px rgba(26,29,36,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px;
}

/* hide decorative icons everywhere; show only navigation/menu icons */
.ti { display: none; }
.nav-links .ti, .nav-toggle .ti, .nav-cta .ti { display: inline-flex; }

/* ── CONTAINERS ── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 28px 0; }
.section-sm { padding: 16px 0; }

/* ── HEADER (card) ── */
.site-header {
  position: sticky; top: 14px; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: var(--maxw); margin: 14px auto 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; padding: 0 22px; }
.brand { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; display: inline-flex; align-items: center; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .accent { color: var(--accent); }
.brand .tick { width: 6px; height: 6px; background: var(--accent); display: inline-block; margin-left: 5px; border-radius: 50%; }
.brand-logo { display: block; height: 24px; width: auto; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-soft); padding: 8px 13px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; transition: all .12s; }
.nav-links a:hover { color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.nav-links a i { font-size: 15px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 8px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; gap: 6px; transition: background .12s; }
.nav-cta:hover { background: var(--accent-deep); text-decoration: none; }
.nav-toggle { display: none; background: var(--accent-soft); border: none; width: 40px; height: 40px; border-radius: 8px; font-size: 20px; color: var(--accent); cursor: pointer; align-items: center; justify-content: center; }

/* ── LABELS ── */
.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.eyebrow.gold { color: var(--accent); }
.pill { font-size: 12px; font-weight: 500; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); border-radius: 50px; padding: 4px 12px; display: inline-flex; align-items: center; gap: 5px; }
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 600; }
.section-head p { font-size: 15px; color: var(--ink-soft); margin-top: 6px; max-width: 560px; }

/* ── BREADCRUMB ── */
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-faint); padding: 18px 0 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-soft); font-weight: 500; }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.breadcrumb .sep { color: var(--line); }

/* ── HERO (card) ── */
.hero { padding: 24px 0; }
.hero > .wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 56px 48px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; letter-spacing: -0.03em; margin: 16px 0 18px; line-height: 1.05; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 17.5px; color: var(--ink-soft); max-width: 54ch; margin: 0 0 28px; }
.hero-search { display: flex; align-items: center; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0; max-width: 540px; margin: 0 0 24px; box-shadow: var(--shadow-sm); transition: box-shadow .15s; }
.hero-search:focus-within { box-shadow: 0 0 0 3px var(--accent-soft); border-color: var(--accent); }
.hero-search i { display: none; }
.hero-search input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 16px; color: var(--ink); background: transparent; padding: 15px 18px; }
.hero-search button { font-size: 14px; font-weight: 600; padding: 15px 26px; border: none; background: var(--accent); color: #fff; cursor: pointer; transition: background .12s; border-radius: 0 12px 12px 0; }
.hero-search button:hover { background: var(--accent-deep); }
.hero-meta { display: inline-flex; gap: 0; margin-top: 8px; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.hero-meta .m { display: flex; flex-direction: column; gap: 2px; padding: 14px 26px; border-right: 1px solid var(--line); }
.hero-meta .m:last-child { border-right: none; }
.hero-meta .m i { display: none; }
.hero-meta .m b { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 600; color: var(--ink); }
.hero-meta .m span { font-size: 12px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }

/* ── FEATURED (card) ── */
.featured { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 32px; box-shadow: var(--shadow); }
.featured .f-icon { display: none; }
.featured h3 { font-size: 21px; font-weight: 600; margin-bottom: 4px; }
.featured p { font-size: 14.5px; color: var(--ink-soft); }

/* ── CATEGORY CARDS ── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; align-items: flex-start; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.cat-tile .ic { display: none; }
.cat-tile h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.cat-tile p { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; line-height: 1.5; }
.cat-tile .count { font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }

/* ── TOOL CARDS ── */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool-card { display: flex; flex-direction: column; align-items: flex-start; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-soft); text-decoration: none; }
.tool-card .ic { display: none; }
.tool-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.tool-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }

/* ── CTA (card) ── */
.cta-band { background: var(--ink); border-radius: var(--radius-lg); padding: 52px 40px; text-align: center; color: #fff; box-shadow: var(--shadow); }
.cta-band h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 600; margin-bottom: 10px; color: #fff; }
.cta-band p { font-size: 15.5px; color: rgba(255,255,255,.75); margin: 0 auto 22px; max-width: 50ch; }
.btn-primary { font-size: 14px; font-weight: 600; padding: 13px 26px; border: none; background: var(--accent); color: #fff; cursor: pointer; transition: all .12s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; }
.btn-primary:hover { background: var(--accent-deep); text-decoration: none; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--paper); }

/* ── PAGE HERO (card) ── */
.page-hero { padding: 18px 0 0; margin-bottom: 24px; }
.page-hero > * { max-width: 100%; }
.page-hero .ic-lg { display: none; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 600; letter-spacing: -0.025em; margin-bottom: 12px; }
.page-hero .lede { font-size: 16.5px; color: var(--ink-soft); max-width: 62ch; }
/* card wrapper for page-hero content */
.page-hero { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 32px 32px; margin-top: 18px; }

/* ── CALCULATOR (card) ── */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.calc-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.calc-panel h3, .result-panel h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 20px; display: flex; align-items: center; gap: 6px; }
.calc-panel h3 i, .result-panel h3 i { display: none; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.input-group { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); transition: all .12s; }
.input-group:focus-within { border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 3px var(--accent-soft); }
.input-prefix { padding: 0 14px; display: flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-right: 1px solid var(--line); }
.input-group input { flex: 1; border: none; outline: none; padding: 12px 14px; font-family: inherit; font-size: 15px; color: var(--ink); background: transparent; width: 100%; }
.field-input { width: 100%; padding: 12px 14px; font-family: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); outline: none; transition: all .12s; }
.field-input:focus { border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 3px var(--accent-soft); }
select.field-input { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A90A0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.btn-calc { width: 100%; padding: 14px; font-size: 14.5px; font-weight: 600; background: var(--accent); color: #fff; border: none; border-radius: 10px; cursor: pointer; transition: background .12s; margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-calc:hover { background: var(--accent-deep); }

/* ── RESULT (card) ── */
.result-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; }
.result-hero { background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; text-align: center; margin-bottom: 14px; }
.result-hero .label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }
.result-hero .label i { display: none; }
.result-hero .value { font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px, 5vw, 44px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.result-line { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.result-line:last-of-type { border-bottom: none; }
.result-line .k { font-size: 13.5px; color: var(--ink-soft); font-weight: 500; }
.result-line .v { font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.result-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.result-actions button { flex: 1; font-size: 13px; font-weight: 600; padding: 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); cursor: pointer; transition: all .12s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.result-actions button:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-soft); }
.result-actions button i { display: none; }

/* solo result */
.result-solo { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 540px; margin: 28px auto; }
.result-solo .result-panel { width: 100%; }
.result-solo .result-hero .value { size: 30px; }
.analog-clock { width: 200px; height: 200px; background: var(--card); border: 3px solid var(--line); border-radius: 50%; padding: 6px; box-shadow: var(--shadow-sm); }
.analog-clock svg { width: 100%; height: 100%; }
.analog-clock #clk-sec, .analog-clock #clk-min, .analog-clock #clk-hour { transition: transform .15s cubic-bezier(.4,2.1,.6,1); transform-origin: 100px 100px; }

/* currency bar */
.currency-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; flex-wrap: wrap; }
.currency-bar i { display: none; }
.currency-bar select { font-size: 13px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; background: var(--card); color: var(--ink); outline: none; cursor: pointer; font-weight: 600; }

/* ── PROSE (card via section) ── */
.prose { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); max-width: 100%; }
.prose h2 { font-size: 22px; font-weight: 600; margin: 30px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h2 i { display: none; }
.prose h3 { font-size: 17.5px; font-weight: 600; margin: 24px 0 8px; }
.prose p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.7; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 7px; line-height: 1.65; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ── QUICK ANSWER (card) ── */
.quick-answer { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.quick-answer .eyebrow { color: var(--accent); margin-bottom: 8px; }
.quick-answer p { font-size: 15.5px; color: var(--ink); margin: 0; font-weight: 500; line-height: 1.6; }

/* formula */
.formula-display { background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 18px 0; text-align: center; font-size: 16px; font-weight: 600; color: var(--accent-deep); }

/* example box (card) */
.example-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 18px 0; }
.example-box .scenario { font-size: 15px; color: var(--ink); font-weight: 600; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: flex; gap: 8px; }
.example-box .scenario i { display: none; }
.example-box ol { margin: 0 0 0 20px; }
.example-box li { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 7px; line-height: 1.55; }

/* ── FAQ (card list) ── */
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: var(--ink); padding: 18px 22px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 20px; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.faq-item .faq-body p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* ── RELATED CARDS ── */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-card { display: flex; flex-direction: column; align-items: flex-start; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.related-card .ic { display: none; }
.related-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.related-card p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }

/* ads */
.ad-slot { margin: 28px auto; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; width: 100%; }
.ad-leaderboard { min-height: 90px; }
.ad-inline { min-height: 250px; }
.ad-sidebar { min-height: 600px; width: 300px; }
body.ad-debug .ad-slot::before { content: attr(data-ad-label); display: flex; align-items: center; justify-content: center; width: 100%; min-height: inherit; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); border: 1px dashed var(--line); border-radius: var(--radius); }
@media (max-width: 640px) { .ad-inline, .ad-leaderboard { min-height: 100px; } }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 48px 0 24px; background: var(--card); }
.footer-top { display: grid; grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr; gap: 36px; margin-bottom: 40px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--ink-soft); max-width: 280px; line-height: 1.6; margin-bottom: 14px; }
.footer-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-faint); font-weight: 500; }
.footer-meta i { display: none; }
.footer-col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col a { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-soft); margin-bottom: 9px; transition: color .12s; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-col a i { display: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-faint); flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--accent); }

/* ── WHY GRID (cards) ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.why-card .ic { display: none; }
.why-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 7px; }
.why-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* home prose (card) */
.home-prose { max-width: 100%; margin: 0 auto; background: var(--card); border: 1px solid var(--line); padding: 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.home-prose h2 { font-size: 22px; margin: 30px 0 12px; font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.home-prose h2:first-child { margin-top: 0; }

/* ── CALENDAR (card) ── */
.calendar-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.cal-year { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 600; color: var(--ink); margin: 0; }
.cal-print { font-size: 13px; padding: 9px 16px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); border-radius: 9px; }
.cal-print:hover { background: var(--accent-soft); color: var(--accent); }
.calendar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cal-month { background: var(--paper); border: 1px solid var(--line); padding: 16px; border-radius: var(--radius); }
.cal-month h3 { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 12px; text-align: center; text-transform: uppercase; letter-spacing: .05em; }
.cal-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal-table th { font-size: 10.5px; font-weight: 600; color: var(--ink-faint); padding: 3px 0; text-align: center; text-transform: uppercase; }
.cal-table td { font-size: 12px; color: var(--ink); text-align: center; padding: 5px 0; border-radius: 6px; }
.cal-table td.weekend { color: var(--accent); }
.cal-table td.today { background: var(--accent); color: #fff; font-weight: 600; }
.cal-table td.empty { color: transparent; }
.cal-legend { display: flex; gap: 18px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); flex-wrap: wrap; }
.cal-legend span { display: inline-flex; align-items: center; gap: 5px; }
.cal-legend i { display: none; }

/* facts table (card) */
.facts-table { width: 100%; border-collapse: collapse; margin: 14px 0 4px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts-table tr { background: var(--card); }
.facts-table tr:nth-child(even) { background: var(--paper); }
.facts-table th, .facts-table td { text-align: left; padding: 13px 16px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.facts-table th { width: 38%; color: var(--ink-soft); font-weight: 600; border-right: 1px solid var(--line); }
.facts-table td { color: var(--ink); }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .calc-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .featured .btn-primary { justify-content: center; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero > .wrap { padding: 40px 28px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .site-header { margin: 8px auto 0; top: 8px; }
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--card); padding: 10px 16px; gap: 2px; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); z-index: 101; }
  .nav-toggle { display: flex; }
  .nav-cta span { display: none; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero > .wrap { padding: 32px 20px; }
  .hero-meta { width: 100%; }
  .hero-meta .m { flex: 1; }
  .page-hero { padding: 24px 20px; }
  .prose { padding: 22px; }
}
@media (max-width: 480px) {
  .tool-grid { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* print */
@media print {
  .site-header, .site-footer, .breadcrumb, .cal-print, .ad-slot, .quick-answer, .prose, .related-grid, .page-hero .lede, .pill, .result-actions { display: none !important; }
  .calendar-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }
  .cal-month { border: 1px solid #000 !important; }
  .calendar-wrap { border: none; box-shadow: none; padding: 0; }
  body { background: #fff; }
}
