/* whois.tool.sovereignweb.site. Family tokens from design 1 (sovereignwebsite.ai theme.css), system fonts, no external requests. design.b, 20 Nov 2026. */
:root {
  color-scheme: light dark;
  --bg: #fbf6ee; --surface: #fffdf9; --fg: #2a1f17; --muted: #5e5148;
  --accent: #a5432a; --accent-soft: #f6e3d9; --line: #eadccd; --note: #f7ecdc;
  --field-border: #8f7d6f; --family-fg: #4a3d33;
  --max: 68rem; --text: 42rem;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1512; --surface: #231c18; --fg: #f1e9e1; --muted: #c2b5aa;
    --accent: #f0a084; --accent-soft: #3a261d; --line: #3a2f28; --note: #2b221b;
    --field-border: #8a7a6e; --family-fg: #d9cdc2;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-wrap: break-word; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--fg); color: var(--bg); padding: .5rem .8rem; z-index: 10; }
.skip:focus { top: 1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

/* Family bar: explicit colour, no opacity, 24px targets (proposed for seed/shared too). .family{ marker kept so build/family-bar.mjs does not append its own CSS. */
.family{ font-size: .875rem; border-bottom: 1px solid var(--line); background: var(--note); }
.family ul { list-style: none; margin: 0 auto; padding: .1rem 1rem; display: flex; flex-wrap: wrap; gap: 0 1rem; max-width: var(--max); }
.family a { color: var(--family-fg); text-decoration: none; display: inline-block; padding: .2rem 0; min-height: 24px; }
.family a:hover, .family a:focus-visible { color: var(--fg); text-decoration: underline; }
.family a[aria-current="true"] { color: var(--fg); font-weight: 600; }
.family .family-sep { margin-left: auto; }
@media (max-width: 40rem) { .family .family-sep { margin-left: 0; } }

/* Page */
main.wrap { max-width: calc(var(--text) + 2rem); padding-top: clamp(2rem, 7vw, 4rem); padding-bottom: 3rem; }
.mark { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 650; margin: 0 0 .6rem; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1.05; letter-spacing: -.015em; margin: 0 0 1rem; }
h1 + p { font-size: clamp(1.1rem, 2.4vw, 1.25rem); color: var(--muted); }
h2 { font-size: clamp(1.45rem, 3.6vw, 1.9rem); line-height: 1.2; margin: 2.8rem 0 .7rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }
p, ul, ol { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
li { margin: .3rem 0; }
code, pre { font-family: var(--mono); font-size: .88em; }
code { background: var(--accent-soft); padding: .05rem .3rem; border-radius: .25rem; overflow-wrap: anywhere; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
@media (max-width: 34rem) {
  table, tbody, tr, th, td { display: block; }
  tr:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { border-bottom: 1px solid var(--line); padding: .55rem 0; }
  td { border: 0; padding: .1rem 0; white-space: normal; }
  td:first-child { font-weight: 600; color: var(--accent); }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 1.6rem 0 2.4rem; color: var(--muted); font-size: .92rem; }
.site-footer p { max-width: var(--text); margin: 0; }

.lede { font-size: clamp(1.1rem, 2.4vw, 1.25rem); color: var(--muted); }
form { margin: 2rem 0 1rem; }
label { display: block; font-weight: 650; margin-bottom: .45rem; }
.row { display: flex; gap: .5rem; flex-wrap: wrap; }
input[type=text] { flex: 1 1 16rem; min-width: 0; font: inherit; font-family: var(--mono); padding: .75rem .9rem; border: 2px solid var(--field-border); border-radius: .6rem; background: var(--surface); color: var(--fg); }
input[type=text]:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
button { font: inherit; font-weight: 650; padding: .75rem 1.3rem; border: 0; border-radius: .6rem; background: var(--accent); color: var(--surface); cursor: pointer; min-height: 44px; }
@media (prefers-color-scheme: dark) { button { color: #1a1512; } }
button:hover { filter: brightness(1.08); }
.hint { font-size: .92rem; color: var(--muted); margin-top: .6rem; }
#status { min-height: 1.6rem; color: var(--muted); }
#status.bad { color: var(--fg); background: var(--note); border-left: 4px solid var(--accent); padding: .7rem .9rem; border-radius: .3rem; }
#result { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 1.2rem 1.3rem 1rem; margin: 1rem 0 2rem; box-shadow: 0 .6rem 1.6rem rgba(90, 50, 30, .08); }
#result h2 { border: 0; padding: 0; margin: 0; font-size: clamp(1.5rem, 5vw, 2.1rem); overflow-wrap: anywhere; }
.kind { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 650; margin: .2rem 0 1rem; }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; margin: 0 0 1.2rem; }
.summary dt { color: var(--muted); font-size: .92rem; }
.summary dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 34rem) { .summary { grid-template-columns: 1fr; gap: 0; } .summary dd { margin-bottom: .6rem; } }
h3.sub { font-size: 1rem; margin: 1.2rem 0 .6rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .7rem; }
.card { border: 1px solid var(--line); border-radius: .7rem; padding: .8rem .9rem; background: var(--bg); }
.card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .4rem; }
.card p { margin: 0 0 .2rem; overflow-wrap: anywhere; }
details { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: .8rem; }
summary { cursor: pointer; font-weight: 650; color: var(--accent); }
.source { font-size: .92rem; color: var(--muted); margin: .6rem 0; }
pre#raw { max-height: 28rem; overflow: auto; background: var(--bg); border: 1px solid var(--line); border-radius: .6rem; padding: .8rem; font-size: .8rem; line-height: 1.5; }
.about { margin-top: 2rem; }
.notice { font-size: .9rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: .7rem; margin-top: .8rem; }
