:root {
  --bg: #060606;
  --panel: rgba(18, 14, 10, 0.9);
  --gold: #d7b56f;
  --gold-bright: #f4dfab;
  --text: #f5efe3;
  --muted: #d2c3a0;
  --line: rgba(244, 223, 171, 0.2);
  --shadow: rgba(0, 0, 0, 0.42);
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(215, 181, 111, 0.16), transparent 30rem),
    radial-gradient(circle at bottom left, rgba(120, 80, 24, 0.16), transparent 24rem),
    linear-gradient(180deg, #0d0b09 0%, #040404 100%);
}
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: 0.24; background-image: radial-gradient(circle at 14% 22%, rgba(255, 242, 210, 0.3) 0 1px, transparent 2px), radial-gradient(circle at 80% 20%, rgba(255, 242, 210, 0.2) 0 1px, transparent 2px), radial-gradient(circle at 24% 74%, rgba(255, 242, 210, 0.14) 0 1px, transparent 2px); }
a { color: var(--gold-bright); }
.tool-header, .tool-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 18px clamp(16px, 4vw, 34px) 0; }
.tool-footer { justify-content: center; padding-bottom: 24px; }
.site-logo-link, .site-footer-logo-link { display: inline-flex; text-decoration: none; }
.site-logo { max-height: 48px; width: auto; }
.site-footer-logo { max-height: 28px; width: auto; }
.mini-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; }
.mini-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 0.42rem 0.72rem; background: rgba(255,255,255,0.06); color: var(--gold-bright); text-decoration: none; font-size: 0.88rem; }
.tools-page { position: relative; z-index: 1; width: min(100% - 32px, 1160px); margin: 0 auto; padding: 24px 0 56px; }
.hero, .cards-section { margin: 0 auto; }
.hero { text-align: center; padding: clamp(28px, 6vw, 56px) clamp(18px, 4vw, 40px); border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(0,0,0,0.24)), var(--panel); box-shadow: 0 24px 70px var(--shadow); }
.eyebrow, .card-kicker { margin: 0 0 12px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-bright); }
h1, h2, h3 { margin: 0 0 0.75rem; line-height: 1.08; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
.intro { margin: 0 auto; max-width: 54rem; color: #ebdfc6; font-size: 1.1rem; line-height: 1.75; }
.hero-actions, .filter-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1.2rem; }
.filter-row a { border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 0.85rem; background: rgba(255,255,255,0.06); text-decoration: none; }
.cards-section { margin-top: 34px; }
.section-head { margin-bottom: 1rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tool-card { display: flex; flex-direction: column; padding: 24px 22px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(30, 22, 16, 0.94), rgba(15, 11, 8, 0.98)); box-shadow: 0 18px 40px var(--shadow), inset 0 0 0 1px rgba(255,237,193,0.04); }
.tool-card p { color: #e8dcc5; line-height: 1.7; }
.wide-card { max-width: 760px; margin: 0 auto; text-align: center; }
.tool-button { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(244,223,171,0.55); color: #261807; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; background: linear-gradient(135deg, #f4dfab 0%, #d0a55c 50%, #f0cf83 100%); box-shadow: 0 12px 22px rgba(0,0,0,0.24); }
.tool-button.secondary { color: var(--gold-bright); background: rgba(255,255,255,0.06); }
@media (max-width: 920px) { .card-grid { grid-template-columns: 1fr; } .tool-header { align-items: flex-start; } }
@media (max-width: 640px) { .tools-page { width: min(100% - 24px, 1160px); } .site-logo { max-height: 38px; } .mini-nav a { font-size: 0.78rem; padding: 0.34rem 0.52rem; } .hero { border-radius: 24px; } .tool-button { width: 100%; } }
