/* Free planning tools (stetera.com/tools/): the hub page and every tool page. Same look as the email check and the
   domain lookup: dark navy, cyan accent, Clash Display headings, Satoshi text. */
:root { --ink: #f4f7fb; --ink-soft: rgba(244, 247, 251, .74); --accent: #2fd6e8; --accent-dark: #032229; --blue: #8b9cff;
        --glass: rgba(10, 16, 34, .7); --line: rgba(244, 247, 251, .16); --danger: #ff8a7a; --warn: #ffd27a; --ok: #7fe0a8; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Satoshi", system-ui, sans-serif; color: var(--ink); line-height: 1.6; background: #060a16; min-height: 100vh; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(60% 50% at 15% 10%, rgba(47, 214, 232, .14), transparent 70%), radial-gradient(55% 45% at 90% 35%, rgba(139, 156, 255, .14), transparent 70%), linear-gradient(180deg, #060a16, #081226 55%, #060a16); }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 2rem 1rem 4rem; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: auto; filter: drop-shadow(0 0 12px rgba(47, 214, 232, .35)); }
.brand b { display: block; font-family: "Clash Display", system-ui, sans-serif; font-weight: 600; font-size: 1.9rem; line-height: .95; color: var(--accent); letter-spacing: .01em; }
.brand i { display: block; font-family: "Clash Display", system-ui, sans-serif; font-style: normal; font-size: .85rem; letter-spacing: .26em; color: #a5f3fc; text-transform: uppercase; }
.biz { text-align: right; font-size: .9rem; color: var(--ink-soft); }
.biz a { color: inherit; }
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--accent); }
.draft { background: rgba(255, 210, 122, .14); border: 1px solid var(--warn); color: var(--warn); border-radius: 12px; padding: .7rem 1rem; margin-bottom: 1rem; font-weight: 700; }
h1 { font-family: "Clash Display", system-ui, sans-serif; font-weight: 600; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.08; overflow-wrap: anywhere; margin-bottom: .7rem; }
h2 { font-size: 1.25rem; margin: 0 0 .7rem; }
.copy h2 { margin-top: 1.6rem; }
.copy h2:first-child { margin-top: 0; }
p, ul { margin-bottom: .8rem; }
ul { padding-left: 1.3rem; }
.hero { margin-bottom: 1.2rem; max-width: 760px; }
.lead p { font-size: 1.12rem; color: var(--ink-soft); }
.panel { background: var(--glass); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.1rem, 4vw, 1.8rem); margin-bottom: 1.1rem; }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.tool .panel { margin-bottom: 0; }
.results { position: sticky; top: 1rem; }
@media (max-width: 820px) { .tool { grid-template-columns: 1fr; } .results { position: static; } }
.field { margin-bottom: 1rem; }
.field label, legend { display: block; font-weight: 600; margin-bottom: .35rem; }
fieldset { border: 0; }
.pick { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; margin-right: 1.2rem; cursor: pointer; min-height: 44px; }
.pick input { width: 20px; height: 20px; accent-color: var(--accent); }
.num { display: flex; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 12px; }
.num:focus-within, select:focus { border-color: var(--accent); outline: 2px solid rgba(47, 214, 232, .35); }
.num input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); font: inherit; font-size: 1.05rem; padding: .7rem .8rem; outline: none; }
.num .pre { padding-left: .8rem; color: var(--ink-soft); }
.num .post { padding-right: .8rem; color: var(--ink-soft); white-space: nowrap; }
select { width: 100%; background: #0c1428; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font: inherit; font-size: 1.05rem; padding: .7rem .8rem; }
.help { font-size: .9rem; color: var(--ink-soft); margin: .3rem 0 0; }
dl { display: grid; gap: .6rem; margin-bottom: 1rem; }
.out { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.out dt { color: var(--ink-soft); }
.out dd { font-weight: 700; font-size: 1.1rem; text-align: right; font-variant-numeric: tabular-nums; }
.out.big dd { font-family: "Clash Display", system-ui, sans-serif; font-size: 1.7rem; color: var(--accent); }
.out.text { display: block; }
.out.text dd { text-align: left; font-weight: 500; font-size: 1rem; margin-top: .2rem; }
.band { border-radius: 14px; padding: .8rem 1rem; margin-bottom: 1rem; border: 1px solid var(--line); }
.band b { display: block; font-size: 1.15rem; }
.band span { color: var(--ink-soft); }
.band-low { border-color: var(--danger); background: rgba(255, 138, 122, .1); } .band-low b { color: var(--danger); }
.band-mid { border-color: var(--warn); background: rgba(255, 210, 122, .1); } .band-mid b { color: var(--warn); }
.band-high { border-color: var(--ok); background: rgba(127, 224, 168, .1); } .band-high b { color: var(--ok); }
.cta { border-top: 1px solid var(--line); padding-top: 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem 1.1rem; border-radius: 999px; background: var(--accent); color: var(--accent-dark); font-weight: 700; text-decoration: none; margin: 0 .4rem .4rem 0; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn:hover, .btn:focus-visible { filter: brightness(1.1); }
.copy, .faq, .related { margin-top: 1.1rem; max-width: 860px; }
.table-wrap { overflow-x: auto; margin-bottom: 1rem; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid var(--line); }
th { color: var(--accent); font-weight: 600; }
td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
details { border-bottom: 1px solid var(--line); padding: .7rem 0; }
summary { cursor: pointer; font-weight: 600; min-height: 32px; }
details p { margin: .5rem 0 0; color: var(--ink-soft); }
.related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.small { font-size: .88rem; color: var(--ink-soft); margin-top: 1.5rem; max-width: 860px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.card { display: block; text-decoration: none; color: var(--ink); background: var(--glass); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; }
.card:hover, .card:focus-visible { border-color: var(--accent); }
.card b { display: block; font-size: 1.1rem; margin-bottom: .3rem; color: var(--ink); }
.card span { color: var(--ink-soft); font-size: .95rem; }
