/* Shared styles for Accounting Gnome free SEO tool pages. */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0A192F; --blue: #0052CC; --blue-dark: #0747A6;
  --slate: #475569; --slate-light: #94a3b8; --bg: #f8fafc; --border: #e2e8f0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); }
.brand b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.btn { display: inline-block; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 11px; transition: background .15s; }
.btn:hover { background: var(--blue-dark); text-decoration: none; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* Hero */
.hero { padding: 44px 0 8px; }
.hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.hero p.lead { margin-top: 12px; font-size: 17px; color: var(--slate); }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); background: #eff4ff; border: 1px solid #dbe6ff; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

/* Calculator card */
.calc { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 12px 40px rgba(10,25,47,.06); padding: 24px; margin: 24px 0; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .hero h1 { font-size: 25px; } }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--slate); margin-bottom: 5px; }
.field .input { position: relative; }
.field .input .pre { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--slate-light); font-weight: 700; font-size: 14px; pointer-events: none; }
.field input, .field select { width: 100%; padding: 11px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 11px; font-size: 15px; outline: none; transition: border-color .15s; }
.field input.has-pre { padding-left: 24px; }
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,82,204,.12); }

/* Results */
.results { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 18px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .result-grid { grid-template-columns: 1fr; } }
.stat { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.stat.hero-stat { background: var(--blue); border-color: var(--blue); }
.stat .k { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-light); }
.stat.hero-stat .k { color: rgba(255,255,255,.8); }
.stat .v { font-size: 24px; font-weight: 800; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat.hero-stat .v { color: #fff; }
table.sched { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
table.sched th, table.sched td { text-align: right; padding: 7px 8px; border-bottom: 1px solid #f1f5f9; }
table.sched th:first-child, table.sched td:first-child { text-align: left; }
table.sched th { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-light); }

/* Content */
.content { padding: 8px 0 16px; }
.content h2 { font-size: 21px; font-weight: 800; margin: 28px 0 10px; letter-spacing: -0.02em; }
.content h3 { font-size: 16px; font-weight: 700; margin: 18px 0 6px; }
.content p { color: var(--slate); margin: 8px 0; }
.content ul { color: var(--slate); margin: 8px 0 8px 22px; }
.content li { margin: 4px 0; }
.formula { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 10px; padding: 12px 16px; margin: 12px 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: var(--navy); }

/* CTA */
.cta { background: var(--navy); color: #fff; border-radius: 20px; padding: 30px; text-align: center; margin: 32px 0; }
.cta h2 { font-size: 22px; font-weight: 800; color: #fff; }
.cta p { color: #aebfd4; margin: 10px 0 18px; }

/* Related + footer */
.related { margin: 28px 0; }
.related h2 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.related a { display: inline-block; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--navy); margin: 0 6px 6px 0; }
.related a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.disclaimer { font-size: 12px; color: var(--slate-light); margin: 20px 0; }
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; margin-top: 20px; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--slate-light); }
