@font-face { font-family: "Schibsted Grotesk"; src: url(fonts/schibsted-grotesk.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
/* Figtree: the headings. It is the closest free font to the wordmark (owner, November 12, 2026). Latin letters only. */
@font-face { font-family: "Figtree"; src: url(fonts/figtree-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-800.woff2) format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Pixel"; src: url(fonts/geist-pixel-square.woff2) format("woff2"); font-display: swap; }

/* ---------- palette (user-pinned) and the three themes the ghost paints ---------- */
:root {
  --stone: #b4b3ad; --gray: #8c8b86; --ink: #141414; --signal: #d94f37;
  --cobalt: #0c388d; --peri: #8f9bdf; --bone: #eeede8;
  --sub-ink: #4a4945; /* secondary text on bone (Bone theme, Ink's white configurator) */
  --toon-mint: #a8ccb6; --toon-wheat: #e3a53b; /* the cartoon site's picture-show colours, for the Cartoon swatch */
  --sepia: #7a5230; --film-black: #000; /* the reel transition to the cartoon edition */
  --azure: #4d7cff; /* cobalt lit up for the Ink theme: 4.95:1 on ink, and ink text on it */
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --r: 4px;
}
html[data-theme="bone"], html:not([data-theme]) {
  --bg: var(--bone); --fg: var(--ink); --sub: var(--sub-ink); --line: var(--stone); --line-2: var(--gray); --soft: #e3e2dc;
  --field: var(--cobalt); --on-field: var(--bone); --field-sub: #c3d2f2;
  --btn: var(--cobalt); --on-btn: var(--bone); --link: var(--cobalt);
  --word2: var(--cobalt); --mark: var(--signal); --focus: var(--signal); --field-focus: var(--bone); --accent: var(--cobalt); --accent-bg: transparent;
  color-scheme: light;
}
html[data-theme="ink"] {
  --bg: var(--ink); --fg: var(--bone); --sub: var(--stone); --line: #34342f; --line-2: var(--gray); --soft: #1d1d1c;
  /* azure, not periwinkle: a true blue that reads as lit-up cobalt on near-black */
  --field: var(--azure); --on-field: var(--ink); --field-sub: var(--ink);
  --btn: var(--azure); --on-btn: var(--ink); --link: var(--azure);
  --word2: var(--azure); --mark: var(--signal); --focus: var(--signal); --field-focus: var(--ink); --accent: var(--azure); --accent-bg: transparent;
  color-scheme: dark;
}
html[data-theme="cobalt"] {
  --bg: var(--cobalt); --fg: var(--bone); --sub: #c3d2f2; --line: #3a5aa8; --line-2: var(--peri); --soft: #1a4192;
  --field: var(--ink); --on-field: var(--bone); --field-sub: var(--stone);
  --btn: var(--bone); --on-btn: var(--ink); --link: var(--bone);
  /* signal red and periwinkle both fall under 3:1 on cobalt, so focus goes bone and the accent becomes an ink block */
  --word2: var(--peri); --mark: var(--bone); --focus: var(--bone); --field-focus: var(--signal); --accent: var(--bone); --accent-bg: var(--ink);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--line-2) var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--fg); border-top: 4px solid var(--signal);
  font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; caret-color: var(--mark);
}
::selection { background: var(--fg); color: var(--bg); } /* full text contrast in every theme */
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.config, .band { --focus: var(--field-focus); }
.wrap { width: min(1240px, 100% - clamp(2.5rem, 8vw, 6rem)); margin-inline: auto; }
/* skip link: off-screen until a keyboard user tabs to it */
.skip { position: absolute; left: clamp(1rem, 3vw, 2rem); top: -100px; z-index: 100; padding: .7em 1.1em; border-radius: var(--r); background: var(--btn); color: var(--on-btn); font-weight: 700; text-decoration: none; }
.skip:focus { top: .8rem; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: "Figtree", var(--sans); }
h1 { font-size: clamp(2.9rem, 7vw, 6.4rem); font-weight: 800; line-height: .92; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 750; line-height: 1; letter-spacing: -.035em; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--sub); max-width: 36em; }
.mono, code { font-family: var(--mono); font-feature-settings: "zero"; }
/* Vertical rhythm (owner, November 12, 2026: too much blank space). A section had 128px above and below it on a wide screen: 80px now. */
.section { padding-block: clamp(3rem, 5.5vw, 5rem); border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.section-head p { color: var(--sub); max-width: 38em; }
.section--flush { padding-top: 0; border-top: 0; } /* first section straight under a page head */
h2 + .lede { margin-top: 1.2rem; }
.more { margin-top: 1.6rem; }

.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.4em; white-space: nowrap; border: 0; border-radius: var(--r);
  background: var(--btn); color: var(--on-btn); font: 700 1rem/1 var(--sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: transform .16s var(--ease), background-color .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
@media (hover: hover) { .btn:hover svg { transform: translateX(3px); } }
.btn--line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg); }
/* Marker buttons (owner, November 10, 2026): a thick black outline like a marker line, and a black emboss.
   The corners are a little uneven, as if drawn by hand. The emboss is a stack of 1px steps, so its corners are cut
   at 45 degrees like a solid block. A press pushes the button into its emboss. --d is the depth.
   The Terminal theme keeps its own prompt buttons. */
html:not([data-theme="ink"]) {
  .btn, .menu-toggle {
    --d: 5px; --e: var(--ink);
    --emboss: 1px 1px 0 var(--e), 2px 2px 0 var(--e), 3px 3px 0 var(--e), 4px 4px 0 var(--e), 5px 5px 0 var(--e);
    border: 3px solid var(--e); border-radius: 4px 8px 5px 9px / 8px 4px 9px 5px; box-shadow: var(--emboss); font-weight: 800;
    transition: translate .12s var(--ease), box-shadow .12s var(--ease), background-color .2s;
  }
  .btn--line, .menu-toggle { background: var(--bg); color: var(--fg); }
  .band .btn--line { background: var(--field); color: var(--on-field); }
  .nav a.btn, .results .buy, .srv .btn, .menu-toggle {
    --d: 4px; --emboss: 1px 1px 0 var(--e), 2px 2px 0 var(--e), 3px 3px 0 var(--e), 4px 4px 0 var(--e);
  }
  @media (hover: hover) { :is(.btn, .menu-toggle):hover { translate: -1px -1px; box-shadow: var(--emboss), calc(var(--d) + 1px) calc(var(--d) + 1px) 0 var(--e); } }
  :is(.btn, .menu-toggle):active { transform: none; translate: var(--d) var(--d); box-shadow: 0 0 0 var(--e); }
}
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow svg { flex: none; width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
@media (hover: hover) { .link-arrow:hover svg { transform: translateX(3px); } }

/* ---------- header ---------- */
.notice .wrap { display: block; }
.notice { font-size: .82rem; color: var(--sub); border-bottom: 1px solid var(--line); padding: .45rem 0; }
.top { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 2rem; min-height: 68px; }
.brand { flex: none; display: inline-flex; align-items: center; gap: .55rem; color: var(--fg); text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.035em; }
.brand .logo { height: 46px; width: auto; display: block; }
.brand .logo--white, html:is([data-theme="ink"], [data-theme="cobalt"]) .brand .logo--ink { display: none; }
html:is([data-theme="ink"], [data-theme="cobalt"]) .brand .logo--white { display: block; }
.l-word { fill: var(--fg); } .l-word2 { fill: var(--word2); } /* "boot" in text colour, "ghost" in the accent; logotypes are exempt from contrast minimums */ /* the symbol keeps its own bone / cobalt / ink colours in every theme */
.nav { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 500; padding-block: .4rem; position: relative; }
.nav a[aria-current="page"]::after, .nav a:not(.btn):hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--mark);
}
.nav a:not(.btn):hover::after { background: var(--line-2); }
.nav a.btn { padding: .7em 1.1em; color: var(--on-btn); }
.nav a.login { margin-left: .4rem; padding-left: 1.6rem; border-left: 1px solid var(--line); }
.nav a.login::after { left: 1.6rem; }
.nav a.btn::after { display: none; }
.menu-toggle { display: none; }
@media (max-width: 520px) {
  .top .wrap { gap: 1rem; }
  .brand .logo { height: 26px; }
  .nav a.btn { padding: .65em .85em; }
}
@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; background: none; border: 1.5px solid var(--fg); color: var(--fg); border-radius: var(--r); padding: .55em .9em; font: 600 .95rem var(--sans); }
  .nav { margin-left: .75rem; }
  .top.open .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem clamp(1.25rem, 4vw, 3rem) 1rem; margin: 0; }
  .top.open .nav a:not(.btn) { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .top.open .nav .btn { margin-top: .8rem; justify-content: center; }
  .top.open .nav a.login { margin-left: 0; padding-left: 0; border-left: 0; }
  .top.open .nav { animation: menu-in .2s var(--ease); } /* the menu comes down from the header. It closes at once */
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- home hero ---------- */
.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 5vw, 4.5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.hero h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.hero h1 em, .hack b, .results .dn b { background: var(--accent-bg); }
html[data-theme="cobalt"] :is(.hero h1 em, .hack b, .results .dn b) { padding-inline: .1em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* the h1's line-height is under 1, so its block is drawn shorter than the line box to stay clear of the line above */
.hero h1 em { background: linear-gradient(var(--accent-bg) 0 0) 0 75% / 100% 80% no-repeat; }
.hero .lede { margin: 1.6rem 0 2rem; }
.hero .actions { display: flex; gap: .8rem 1.8rem; flex-wrap: wrap; }

/* ---------- the order form: one form, two worlds. Corporate prints it as a receipt; Terminal types it as a command (see the terminal world) ---------- */
html[data-theme="ink"] .bone-only, html:not([data-theme="ink"]) .ink-only { display: none !important; }
.printer { position: relative; z-index: 3; /* above the hero ghost, which starts behind it */ max-width: 34rem; }
.config { position: relative; scroll-margin-top: 96px; }
.config fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.config :is(.seg, .chips, .coins) input { position: absolute; opacity: 0; pointer-events: none; }
.config label { cursor: pointer; }
.seg .px { height: auto; image-rendering: pixelated; }
.price { font-variant-numeric: tabular-nums; }
@keyframes print { from { scale: 1 1; } }
@keyframes reprint { from { clip-path: inset(0 0 100% 0); } }
@keyframes post-on { from { visibility: hidden; } }
@keyframes hl { from { background-color: color-mix(in srgb, var(--term) 22%, transparent); } }

html:not([data-theme="ink"]) {
  --paper: #fbfaf6; --stamp: #b5381f; /* signal red, darkened to 5.6:1 on the paper */
  .printer { filter: drop-shadow(0 16px 14px rgb(20 20 20 / .2)); } /* on the wrapper, so the shadow follows the torn edge */
  .slot { position: relative; z-index: 1; height: 14px; margin-inline: -10px; border-radius: 7px; background: var(--ink); }
  .config {
    margin-top: -7px; padding: 1.6rem 1.5rem 2.6rem; background: var(--paper); color: var(--ink); font: .86rem/1.45 var(--mono); --focus: var(--signal);
    --t: 10px; /* the torn bottom edge */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--t)), 95% 100%, 90% calc(100% - var(--t)), 85% 100%, 80% calc(100% - var(--t)), 75% 100%, 70% calc(100% - var(--t)), 65% 100%, 60% calc(100% - var(--t)), 55% 100%, 50% calc(100% - var(--t)), 45% 100%, 40% calc(100% - var(--t)), 35% 100%, 30% calc(100% - var(--t)), 25% 100%, 20% calc(100% - var(--t)), 15% 100%, 10% calc(100% - var(--t)), 5% 100%, 0 calc(100% - var(--t)));
  }
  /* it prints once on load: the paper is there from the start (the hero ghost hides behind it), and the lines come out top to bottom */
  .config::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--paper); pointer-events: none; transform-origin: 50% 100%; scale: 1 0; }
  &:not(.painted) .config::after { animation: print 1.1s steps(18) .1s both; }
  .rc-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px dashed var(--stone); text-transform: uppercase; letter-spacing: .03em; font-size: .76rem; color: var(--sub-ink); }
  .rc-head b { color: var(--ink); font-weight: 600; }
  .stamp { position: absolute; right: 1.3rem; top: 3.1rem; rotate: -6deg; padding: .3em .55em; background: var(--paper); border: 2px solid var(--stamp); color: var(--stamp); font: 700 .78rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; pointer-events: none; }
  .config :is(legend, .cap) { display: block; padding: 1rem 0 .4rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--sub-ink); }
  /* plan rows: the spec and the price are on every row, so the names never need decoding */
  .seg label { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .8rem; align-items: center; margin-inline: -.5rem; padding: .55rem .5rem; border-radius: 3px; transition: background-color .15s; }
  .seg label:hover { background: var(--bone); }
  .seg .px { width: 34px; grid-row: span 2; transition: translate .2s var(--ease); }
  @media (hover: hover) { .seg label:hover .px { translate: 0 -2px; } }
  .seg .nm { font: 800 1.08rem/1.1 var(--sans); letter-spacing: -.02em; }
  .seg .pr { font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
  .seg .sp { grid-column: 1 / 3; color: var(--sub-ink); font-size: .78rem; }
  .seg input:checked + label { background: var(--cobalt); color: var(--bone); }
  .seg input:checked + label .sp { color: #c3d2f2; }
  .config input:focus-visible + label { outline: 2px solid var(--signal); outline-offset: 2px; }
  .config select {
    width: 100%; min-height: 44px; padding: .6rem 2.2rem .6rem .7rem; border: 1px solid var(--stone); border-radius: 3px; appearance: none; cursor: pointer; font: inherit; color: var(--ink);
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23141414' stroke-width='1.5'/%3E%3C/svg%3E") right .8rem center / 10px no-repeat;
  }
  .config select:hover { border-color: var(--ink); }
  .coins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .coins label { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--stone); border-radius: 3px; font-weight: 600; transition: border-color .15s; }
  .coins label:hover { border-color: var(--ink); }
  .coins input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--paper); }
  .coin-rule { margin-top: .5rem; min-height: 1.45em; color: var(--sub-ink); font-size: .78rem; }
  .lines { margin: 1.1rem 0 0; padding-top: .9rem; border-top: 1px dashed var(--stone); }
  .lines div { display: flex; justify-content: space-between; gap: 1rem; }
  .lines dt { color: var(--sub-ink); }
  .lines dd { margin: 0; text-align: right; }
  .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .8rem; padding-top: .8rem; border-top: 2px solid var(--ink); }
  .total > span { text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; }
  .price { font: 800 2.6rem/1 var(--sans); letter-spacing: -.04em; }
  .price small { font: 500 .85rem var(--mono); letter-spacing: 0; color: var(--sub-ink); }
  .price.reprint { animation: reprint .3s steps(6) both; } /* a visitor changes the plan many times: the new total must not wait */
  .lock { display: flex; gap: .6rem; align-items: center; margin: 1rem 0 1.1rem; padding: .7rem .8rem; background: var(--bone); font-size: .8rem; }
  .lock svg { flex: none; width: 18px; }
  .config .btn { width: 100%; justify-content: center; }
  .config .note { margin-top: .8rem; padding: .7rem .8rem; border: 1px solid var(--ink); font-size: .8rem; }
  .config .fine { max-width: none; margin-top: .8rem; font-size: .78rem; text-align: center; }
}
@media (max-width: 520px) { html:not([data-theme="ink"]) .config { padding-inline: 1.1rem; } }

/* ---------- home sections ---------- */
.clouds { border-top: 1px solid var(--line); padding-block: 1.3rem; color: var(--sub); }
.clouds .wrap { display: flex; flex-wrap: wrap; gap: .6rem 2.4rem; align-items: baseline; }
.clouds strong { color: var(--fg); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--fg); }
.steps li { padding: 1.6rem clamp(1rem, 2.5vw, 2rem) 0 0; display: grid; gap: .9rem; align-content: start; }
.steps li + li { border-left: 1px solid var(--line); padding-left: clamp(1rem, 2.5vw, 2rem); }
.steps .n { font-family: var(--mono); font-size: .9rem; color: var(--sub); }
.steps p { color: var(--sub); }
.shell { font-family: var(--mono); font-size: .88rem; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .9rem; overflow-x: auto; white-space: nowrap; color: var(--fg); }
.shell::before { content: "$ "; color: var(--mark); }

.fine { font-size: .88rem; color: var(--sub); margin-top: 1.4rem; max-width: 62ch; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
.ruled li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: .3rem 2rem; }
.ruled strong { font-weight: 700; }
.ruled span { color: var(--sub); }

.hack { font: 600 clamp(2.6rem, 8vw, 7rem)/1 var(--mono); letter-spacing: -.06em; overflow-wrap: anywhere; }
.hack b { color: var(--accent); font-weight: 600; }

.band { background: var(--field); color: var(--on-field); padding-block: clamp(3rem, 5.5vw, 4.75rem); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 2rem; align-items: end; justify-content: space-between; }
.band h2 { max-width: 14em; }
.band .btn { background: var(--on-field); color: var(--field); }
.band .btn--line { background: transparent; color: var(--on-field); box-shadow: inset 0 0 0 1.5px var(--on-field); }
.band .actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- inner pages ---------- */
.page-head { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 3.5vw, 3rem); }
.page-head h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.page-head .lede { margin-top: 1.4rem; }

.region-pick { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1.6rem; }
.region-pick label { font-weight: 600; }
.region-pick span { font-size: .9rem; color: var(--sub); }
.region-pick select {
  appearance: none; font: 600 1rem var(--sans); color: var(--fg); background: transparent; cursor: pointer;
  border: 1.5px solid var(--fg); border-radius: var(--r); padding: .6em 2.4em .6em .8em;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 1.15em center, right .8em center; background-size: .36em .36em; background-repeat: no-repeat;
}
.region-pick select option { color: var(--ink); background: var(--bone); }
.plans { width: 100%; border-collapse: collapse; }
.plans td.mono, .plans .cost { font-variant-numeric: tabular-nums; }
.plans th, .plans td { text-align: left; padding: 1.15rem 1rem 1.15rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.plans thead th { font-size: .82rem; font-weight: 600; color: var(--sub); border-bottom: 2px solid var(--fg); }
.plans tbody th { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.plans tbody th small { display: block; font-size: .9rem; font-weight: 400; letter-spacing: 0; color: var(--sub); }
.plans td.mono { font-size: .98rem; }
.plans .cost { font: 600 1.6rem var(--mono); letter-spacing: -.04em; }
.plans .cost small { font: 400 .85rem var(--sans); color: var(--sub); letter-spacing: 0; }
.plans .flag { display: inline-flex; align-items: center; gap: .4rem; margin-left: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: 0; color: var(--sub); vertical-align: .35em; }
.plans .flag::before { content: ""; width: .5rem; height: .5rem; background: var(--mark); }
@media (max-width: 760px) {
  .plans thead { display: none; }
  .plans tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
  .plans th, .plans td { border: 0; padding: 0; }
  .plans td.mono { grid-column: 1; }
  .plans .cost { grid-column: 2; grid-row: 1; text-align: right; }
  .plans td:last-child { grid-column: 1 / -1; margin-top: .6rem; }
}

.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 2px solid var(--fg); }
.qa summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: .75rem; height: .75rem; margin-top: -.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
.qa details[open] summary::after { transform: translateY(.3rem) rotate(-135deg); }
.qa details p { padding: 0 0 1.3rem; color: var(--sub); max-width: 62ch; }

.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: .1rem; border-left: 1px solid var(--line); }
.toc a { color: var(--sub); text-decoration: none; padding: .35rem 0 .35rem 1rem; margin-left: -1px; border-left: 3px solid transparent; font-size: .95rem; }
.toc a:hover { color: var(--fg); border-left-color: var(--line-2); }
.toc a[aria-current="true"] { color: var(--fg); font-weight: 600; border-left-color: var(--mark); }
.doc article { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.doc section { display: grid; gap: 1rem; scroll-margin-top: 96px; }
.doc section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.doc section p, .doc section li { color: var(--sub); max-width: 64ch; }
.doc section ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.doc section strong { color: var(--fg); }

.contacts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--fg); }
.contacts li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: .3rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contacts span { color: var(--sub); }

/* ---------- domains ---------- */
.finder { display: flex; gap: .8rem; flex-wrap: wrap; align-items: stretch; margin-bottom: 2.5rem; } /* the button takes the input's height */
.finder .btn { justify-content: center; }
.finder label { width: 100%; font-weight: 600; font-size: .9rem; color: var(--sub); }
.finder input { flex: 1 1 18rem; max-width: 36rem; font: 600 clamp(1.4rem, 3vw, 2rem) var(--mono); letter-spacing: -.03em; color: var(--fg); background: var(--soft); border: 1.5px solid var(--fg); border-radius: var(--r); padding: .5em .7em; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.results[hidden] { display: none; } /* the name box shows the hack words in place of the 3 lists (domain-ui.js) */
.results h3 { padding-bottom: .7rem; border-bottom: 2px solid var(--fg); }
.results h3 + p { color: var(--sub); font-size: .92rem; margin: .6rem 0 .4rem; }
.results ul { list-style: none; margin: 0; padding: 0; }
.results li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.results .dn { font: 600 1rem var(--mono); overflow-wrap: anywhere; margin-right: auto; }
.results .buy { flex: none; padding: .5em .75em; font-size: .85rem; font-variant-numeric: tabular-nums; }
html[data-theme="ink"] .results .buy { padding: .55em .7em; font-size: .8rem; letter-spacing: 0; } /* the row is narrow */
.results .dn b { color: var(--accent); font-weight: 600; }
.results .empty { color: var(--sub); font-style: italic; }
.chip-s { flex: none; font-size: .75rem; font-weight: 600; padding: .2em .6em; border-radius: 99px; border: 1px solid var(--line-2); color: var(--sub); }
.chip-s[data-s="free"] { background: var(--field); border-color: var(--field); color: var(--on-field); }
.chip-s[data-s="taken"] { border-color: var(--mark); color: var(--fg); }
.chip-s[data-s="checking"] { opacity: .6; }
a.chip-s { color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a.chip-s:hover { border-color: var(--fg); }

/* ---------- footer ---------- */
footer { border-top: 2px solid var(--fg); padding-block: 2.5rem 7rem; /* clears the corner ghost */ font-size: .95rem; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 2rem; }
footer h3 { font-size: .85rem; font-weight: 600; color: var(--sub); margin-bottom: .8rem; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
footer a { color: var(--fg); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .about { color: var(--sub); max-width: 26em; }
footer .about .brand { margin-bottom: .8rem; }

/* ---------- the ghost: theme switcher that haunts every page ---------- */
.haunt {
  position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px); z-index: 60;
  width: 66px; height: 86px; padding: 0; border: 0; background: none; cursor: pointer;
  view-transition-name: haunt; animation: hover-bob 3.2s ease-in-out infinite;
}
.haunt svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 14px rgb(20 20 20 / .25)); }
/* the outlined symbol keeps its own bone / cobalt / ink in every theme, like the logo */
.haunt .eyes { transition: transform .12s linear; }
.haunt { transition: opacity .25s, scale .16s var(--ease); }
.haunt:active { scale: .94; }
.haunt .tip {
  position: absolute; right: calc(100% + 10px); top: 50%; translate: 0 -50%; white-space: nowrap; pointer-events: none;
  background: var(--fg); color: var(--bg); font: 600 .85rem var(--sans); padding: .45em .75em; border-radius: var(--r);
  opacity: 0; transform: translateX(6px); transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.haunt:focus-visible .tip { opacity: 1; transform: none; }
@media (hover: hover) { .haunt:hover .tip { opacity: 1; transform: none; } } /* on a touch screen, the tip stayed open after the tap */
@keyframes hover-bob { 50% { transform: translateY(-6px) rotate(-3deg); } }

/* ---------- picking a theme: shared swatches ---------- */
.paint { border: 0; margin: 0; padding: 0; min-width: 0; }
.paint input { position: absolute; opacity: 0; pointer-events: none; }
.paint label { cursor: pointer; }
.paint label[data-t="bone"] { --sw: var(--bone); }
.paint label[data-t="ink"] { --sw: var(--ink); }
.paint label[data-t="cobalt"] { --sw: var(--cobalt); }
.paint label[data-t="cartoon"], :root { --cartoon: conic-gradient(from -45deg, var(--toon-mint) 0 50%, var(--toon-wheat) 0); }
.paint label[data-t="cartoon"] { --sw: conic-gradient(from -45deg, var(--toon-mint) 0 50%, var(--toon-wheat) 0); } /* the picture show's mint and wheat */
.sw { display: block; border-radius: 50%; background: var(--sw); }

/* the corner ghost's picker */
.paint-pop {
  position: fixed; inset: auto clamp(14px, 2.5vw, 28px) calc(clamp(14px, 2.5vw, 28px) + 96px) auto; margin: 0;
  padding: .9rem 1rem 1rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); color: var(--fg);
  box-shadow: 0 14px 34px rgb(20 20 20 / .2);
  opacity: 1; translate: 0; transition: opacity .2s var(--ease), translate .25s var(--ease), display .25s allow-discrete, overlay .25s allow-discrete;
}
@starting-style { .paint-pop:popover-open { opacity: 0; translate: 0 10px; } }
.paint-pop:not(:popover-open) { opacity: 0; translate: 0 10px; transition-duration: .14s; } /* it closes faster than it opens */
.paint-pop legend { font-size: .8rem; font-weight: 600; color: var(--sub); padding: 0; margin-bottom: .55rem; }
.paint-pop .paint { display: flex; gap: .3rem; }
.paint-pop label { display: grid; justify-items: center; gap: .4rem; min-width: 4.2rem; padding: .5rem .4rem .45rem; border-radius: var(--r); font-size: .85rem; font-weight: 600; }
.paint-pop label:hover { background: var(--soft); }
.paint-pop .sw { width: 2.4rem; height: 2.4rem; box-shadow: 0 0 0 1.5px var(--line-2); }
.paint-pop input:checked + label { box-shadow: inset 0 0 0 1.5px var(--fg); }
.paint-pop input:checked + label .sw { box-shadow: 0 0 0 1.5px var(--fg); }
.paint-pop input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }

/* the home hero: the ghost peeks out from behind the last line of the headline, theme dots on its belly */
.headline { position: relative; }
.headline h1 { position: relative; z-index: 1; }
.headline .last { anchor-name: --last; }
.headline h1 em { anchor-name: --card; }
.headline h1 em::after { content: "\A"; white-space: pre; } /* No card. / No ID. always on their own lines */
.peek {
  position: absolute; z-index: 2; font-size: clamp(2.9rem, 7vw, 6.4rem); /* above the h1 box, or the h1 swallows every click */
  width: max(1.3em, 120px); aspect-ratio: 288 / 376;
  right: 0; bottom: 0; /* fallback without anchor positioning */
}
@supports (anchor-name: --a) {
  /* tucked just behind the end of the longer of the last two lines, so its eyes sit beside "No card." */
  .peek { right: auto; left: calc(max(anchor(--card right), anchor(--last right)) + .06em); bottom: calc(anchor(--last bottom) - .04em); }
}
.peek .body { position: absolute; inset: 0; transform-origin: 50% 100%; padding: 0; border: 0; background: none; pointer-events: none; } /* an animation only: the corner ghost is the theme switch */
.peek .body:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: var(--r); }
.peek svg { width: 100%; height: 100%; overflow: visible; animation: peek-sway 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
.peek .eyes { transition: transform .12s linear; }
@keyframes peek-sway { 50% { transform: rotate(-4deg) translateY(-3%); } }
.peek .cap { position: absolute; left: calc(100% + .7rem); bottom: 14%; font-size: .8rem; font-weight: 500; color: var(--sub); white-space: nowrap; }
.peek .cap b { color: var(--fg); font-weight: 700; }
html.peek-intro .peek { visibility: hidden; animation: peek-unhide 0s 4s forwards; } /* if the script never runs, the ghost still shows up */
@keyframes peek-unhide { to { visibility: visible; } }
.peek .cap { transition: opacity .4s var(--ease); }
html.peek-arriving .peek .cap { opacity: 0; }
.peek .say-tap { display: none; }
@media (hover: none) { .peek .say-click { display: none; } .peek .say-tap { display: inline; } }
.peek .body { view-transition-name: peek; }
html.haunting::view-transition-group(peek) { animation-duration: 1.15s; }
@media (max-width: 520px) {
  .peek .cap { left: 50%; translate: -50% 0; bottom: -1.5rem; } /* under the ghost on phones */
  /* on phones the ghost is tall next to small type: drop it so its head clears "Big-cloud" */
  @supports (anchor-name: --a) { .peek { left: calc(max(anchor(--card right), anchor(--last right)) + .22em); bottom: calc(anchor(--last bottom) - 1.5rem); } }
  .hero .lede { margin-top: 2.6rem; }
}

/* the crazy part: the new theme floods out of a swelling ghost-shaped hole while the old page shivers away */
@property --s { syntax: "<length>"; inherits: false; initial-value: 0px; }
html.haunting::view-transition-old(root) { animation: shiver .95s cubic-bezier(.5, 0, .75, 0) both; }
html.haunting::view-transition-new(root) {
  animation: flood 1.15s cubic-bezier(.8, 0, .15, 1) both;
  -webkit-mask: var(--ghost-mask) no-repeat; mask: var(--ghost-mask) no-repeat;
  -webkit-mask-size: var(--s) calc(var(--s) * 1.336); mask-size: var(--s) calc(var(--s) * 1.336);
  -webkit-mask-position: calc(var(--gx) - var(--s) / 2) calc(var(--gy) - var(--s) * .668);
  mask-position: calc(var(--gx) - var(--s) / 2) calc(var(--gy) - var(--s) * .668);
}
html.haunting::view-transition-group(haunt) { animation-duration: 1.15s; }
@keyframes flood { from { --s: 0px; } to { --s: 460vmax; } }
@keyframes shiver {
  0% { transform: none; filter: none; }
  12% { transform: translate(-7px, 2px) skewX(-2deg); }
  24% { transform: translate(6px, -3px) skewX(2.5deg); }
  36% { transform: translate(-5px, 3px) skewX(-1.5deg) scale(.99); }
  60% { transform: translate(3px, -1px) scale(.97) rotate(-.6deg); filter: blur(1px); }
  100% { transform: scale(.9) rotate(-2deg); filter: blur(8px) grayscale(1); opacity: .2; }
}
:root { --ghost-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='128 80 256 342'%3E%3Cpath d='M128%20404V216C128%20141%20185%2080%20256%2080S384%20141%20384%20216V404Q384%20420%20370%20408C348%20384%20324%20384%20302%20410Q294%20422%20286%20410C264%20384%20240%20384%20218%20410Q210%20422%20202%20410C180%20384%20156%20384%20142%20408Q128%20420%20128%20404Z'/%3E%3C/svg%3E"); }

/* page-to-page: a quick, quiet cross-fade */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  /* the configurator comes straight after the intro; the secondary hero buttons follow it */
  .hero .wrap > div:first-child { display: contents; }
  .hero .actions { order: 1; }
  .hero .lede { margin-bottom: 0; }
  .hero .wrap, .split, .doc, .section-head { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .results { grid-template-columns: minmax(0, 1fr); }
  footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer .about { grid-column: 1 / -1; }
  footer .wrap > div:last-child { grid-column: 1 / -1; } /* full addresses need the width */
}
@media (max-width: 680px) {
  .notice { font-size: .8rem; line-height: 1.4; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 1.4rem; }
  .ruled li, .contacts li { grid-template-columns: minmax(0, 1fr); }
  .haunt { width: 50px; height: 65px; }
}
@media (prefers-reduced-motion: reduce) {
  /* nothing moves: no animation, and a transition changes only colour and opacity */
  *, *::before, *::after { animation: none !important; transition-property: color, background-color, border-color, outline-color, opacity !important; }
  html { scroll-behavior: auto; }
}

/* ---------- easter egg: the cartoon edition ---------- */
/* the cartoon ghost peeks up from the bottom edge of the footer */
footer { position: relative; }
.stowaway { position: absolute; right: clamp(6.5rem, 12vw, 11rem); top: 0; width: clamp(150px, 16vw, 210px); translate: 0 calc(-100% + 2px); z-index: 1;
  clip-path: inset(-40px -40px 0 -40px); /* the footer line is his ledge: anything below it is hidden */ }
.stowaway img { display: block; width: 100%; height: auto; animation: stow-duck 11s cubic-bezier(.45, 0, .2, 1) 3s infinite; }
/* hands on the ledge, he stays put; now and then he ducks out of sight and pops back up */
@keyframes stow-duck { 0%, 86%, 100% { transform: none; } 89%, 93% { transform: translateY(105%); } 96% { transform: translateY(-4%); } }
/* hover: he shuffles along the ledge, hands never leaving it */
.stowaway:focus-visible img { animation: stow-shuffle 1.6s ease-in-out infinite; }
@media (hover: hover) { .stowaway:hover img { animation: stow-shuffle 1.6s ease-in-out infinite; } }
@keyframes stow-shuffle { 0%, 100% { transform: none; } 25% { transform: translateX(-9%); } 75% { transform: translateX(9%); } }
@media (prefers-reduced-motion: reduce) { .stowaway img { animation: none; } }

/* the reel snaps: the page turns to old film, the cartoon ghost bursts out of the spot you clicked, an iris closes on it */
@property --iris { syntax: "<length>"; inherits: false; initial-value: 74vmax; } /* just past the corners */
html.reeling body > *:not(.iris, .iris-toon) { animation: reel 1.7s steps(14) both; }
/* a colour wash over everything, page background included, so every theme turns to old film */
html.reeling body::before { content: ""; position: fixed; inset: 0; z-index: 9997; pointer-events: none; background: var(--sepia); mix-blend-mode: color; animation: wash .5s steps(5) both; }
@keyframes wash { from { opacity: 0; } to { opacity: 1; } }
html.reeling body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grain .9s steps(6) infinite, flicker 1.7s steps(10) both;
}
@keyframes reel {
  0% { filter: none; transform: none; }
  12% { filter: sepia(1) contrast(1.35) brightness(1.08); transform: translate(-4px, 2px); }
  24% { filter: sepia(1) contrast(1.5) brightness(.9); transform: translate(5px, -3px) rotate(.5deg); }
  36% { transform: translate(-3px, 5px) rotate(-.4deg); }
  52% { filter: sepia(1) contrast(1.6) brightness(1.1); transform: translate(4px, -2px) scale(.99); }
  70% { transform: translate(-5px, 3px) scale(.98) rotate(.6deg); }
  100% { filter: sepia(1) contrast(1.7) brightness(.7) blur(1px); transform: scale(.95) rotate(-1deg); }
}
@keyframes grain { 0% { background-position: 0 0; } 25% { background-position: -40px 25px; } 50% { background-position: 30px -50px; } 75% { background-position: -20px 60px; } }
@keyframes flicker { 0%, 30%, 60%, 100% { opacity: .5; } 15%, 45%, 80% { opacity: .85; } }
.iris {
  position: fixed; inset: 0; z-index: 9999; pointer-events: all; background: var(--film-black);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--iris), var(--film-black) calc(var(--iris) + 1px));
  mask: radial-gradient(circle at 50% 50%, transparent var(--iris), var(--film-black) calc(var(--iris) + 1px));
  animation: iris-close .95s .6s cubic-bezier(.45, 0, .55, 1) both;
}
@keyframes iris-close { to { --iris: 0px; } }
.iris-toon {
  position: fixed; z-index: 10000; left: var(--ix); top: var(--iy); width: 140px; height: auto; pointer-events: none;
  animation: toon-burst 1.7s cubic-bezier(.5, 0, .3, 1) both;
}
@keyframes toon-burst {
  0% { transform: translate(-50%, -50%) scale(.2); }
  28% { transform: translate(-50%, -50%) scale(2.8) rotate(-14deg); }
  44% { transform: translate(-50%, -50%) scale(2.4) rotate(10deg); }
  60% { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(2.2) rotate(-6deg); }
  100% { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.05) rotate(720deg); }
}

/* ---------- the cast: the outlined ghost as the four plans ---------- */
.plans tbody th { position: relative; }
.cast { display: inline-block; width: 4.3rem; height: 4.1rem; margin-right: .9rem; vertical-align: -1.35rem; } /* fixed height, width follows the art, so every ghost body is the same size */
.cast :is(svg, img) { width: auto; height: 100%; overflow: visible; transition: transform .35s var(--ease); transform-origin: 50% 100%; }
.plans tr:hover .cast :is(svg, img) { transform: rotate(-6deg) translateY(-3px); }
@media (max-width: 760px) { .cast { width: 3.6rem; height: 3.4rem; margin-right: .7rem; vertical-align: -1.1rem; } }

/* a ghost peeking over the end of each inner page title: only its head shows above the baseline */
.peeker { display: inline-block; width: .62em; height: .52em; margin-left: .12em; overflow: hidden; vertical-align: baseline; }
.peeker svg { display: block; width: 100%; height: auto; transform: translateY(6%) rotate(-6deg); transform-origin: 50% 100%; animation: peeker-bob 5s ease-in-out infinite; }
@keyframes peeker-bob { 0%, 70%, 100% { transform: translateY(6%) rotate(-6deg); } 80% { transform: translateY(-4%) rotate(4deg); } 90% { transform: translateY(8%) rotate(-8deg); } }

/* one line in the cartoon voice under each inner page lede */
.boo { margin-top: 1rem; font-weight: 600; color: var(--accent); background: var(--accent-bg); justify-self: start; width: fit-content; }
html[data-theme="cobalt"] .boo { padding: .1em .35em; border-radius: 2px; }

/* hero caption: a swatch previews the theme a click will paint */
.peek .cap { display: inline-flex; align-items: center; gap: .45rem; font-size: .95rem; }
.next-sw { width: .95rem; height: .95rem; border-radius: 50%; background: var(--next, var(--ink)); box-shadow: 0 0 0 1.5px var(--fg); flex: none; }

/* the corner picker: Cartoon is a different website, so it stands apart as a link-like choice */
.paint-pop label[data-t="cartoon"] { margin-left: .45rem; position: relative; }
.paint-pop label[data-t="cartoon"]::before { content: ""; position: absolute; left: -.45rem; top: .4rem; bottom: .4rem; width: 1px; background: var(--line-2); }
.paint-pop label[data-t="cartoon"] .nm { display: inline-flex; align-items: center; gap: .25rem; }
.door { width: .95em; height: .95em; }

/* domains page: one tool per section, the buy box first */
.tool-h { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 1.5rem; }
.buy-out { display: grid; gap: .9rem; align-content: start; min-height: 5.5rem; } /* room for the result, so the generator below doesn't jump */
.buy-line { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding: 1.1rem 0; border-top: 2px solid var(--fg); border-bottom: 1px solid var(--line); }
.buy-line .dn { font: 600 clamp(1.35rem, 2.6vw, 1.9rem) var(--mono); letter-spacing: -.03em; overflow-wrap: anywhere; }
.buy-line .dn b { color: var(--accent); font-weight: 600; background: var(--accent-bg); }
.buy-line .btn { margin-left: auto; }
.buy-note { color: var(--sub); max-width: 62ch; }
.buy-note a { font-weight: 600; }
.buy-err { color: var(--fg); display: flex; gap: .6rem; }
.buy-err::before { content: ""; flex: none; width: .55rem; height: .55rem; margin-top: .5em; background: var(--mark); }
.finder input[aria-invalid="true"] { border-color: var(--mark); box-shadow: inset 0 0 0 1px var(--mark); }
/* a generated name is a button: picking it sends it up to the buy box */
.results button.dn { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-thickness: 1.5px; text-decoration-color: var(--line-2); text-underline-offset: .22em; }
.results button.dn:hover { text-decoration-color: currentColor; }
@media (max-width: 520px) { .buy-line .btn { margin-left: 0; width: 100%; justify-content: center; } }

/* domains: a starting state until the first check */
.start-hint { color: var(--sub); margin-bottom: 1.2rem; max-width: 60ch; }
.results:not(.checked) .chip-s { display: none; }
.results.checked ~ * .start-hint, .start-hint[hidden] { display: none; }
/* suggestions below a finder input: real words in the name generator, extensions in "Hack words" */
.sugg { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .5rem; font-size: .9rem; color: var(--sub); }
.sugg[hidden] { display: none; }
.sugg button { font: 600 .9rem var(--mono); padding: .4em .7em; border: 1px solid var(--line-2); border-radius: 99px; background: none; color: var(--fg); cursor: pointer; }
.sugg button:hover { border-color: var(--fg); }
.sugg button b { color: var(--accent); font-weight: 600; }
/* hack words: one long list, in columns */
.results--words { display: block; }
.results--words ul { columns: 3 17rem; column-gap: 2rem; }
.results--words li { break-inside: avoid; }
.results--words + .btn { margin-top: 1.5rem; }

.cast img { image-rendering: pixelated; }
.notice b { font-weight: 600; }
.ph { font: 500 .85em var(--mono); padding: .05em .4em; border: 1px dashed currentColor; color: var(--link); white-space: nowrap; }

/* ---------- the terminal world (ink theme): a pixel console. Pixel headline, a signup check and the order as a command line,
   all over a live network of racks trading packets. Every symbol here is drawn on a pixel grid. ---------- */
.net { display: none; }
html[data-theme="ink"] {
  --bg: #060606; --fg: #e8e8e2; --sub: #9a9a94; --line: #232321; --line-2: #3a3a37; --soft: #111110;
  --term: #437cef; /* rack blue #0c388d at 60% lightness, same hue and saturation: 5.2:1 on black */
  --field: #0b0b0b; --on-field: var(--fg); --field-sub: var(--sub);
  --btn: var(--term); --on-btn: #060606; --link: var(--term);
  --word2: var(--term); --mark: var(--term); --focus: var(--term); --field-focus: var(--term); --accent: var(--term); --accent-bg: transparent;
  --cartoon: repeating-conic-gradient(var(--toon-mint) 0 25%, var(--toon-wheat) 0 50%) 0 0 / 50% 50%; /* the cartoon swatch as a pixel checker */
  /* the pixel symbol set: one grid, square pixels, used as masks so each takes its element's colour */
  --px-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 7' shape-rendering='crispEdges'%3E%3Cpath d='M0 0h2v1H0zM1 1h2v1H1zM2 2h2v1H2zM3 3h2v1H3zM2 4h2v1H2zM1 5h2v1H1zM0 6h2v1H0z'/%3E%3C/svg%3E");
  --px-tri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 7' shape-rendering='crispEdges'%3E%3Cpath d='M0 0h1v7H0zM1 1h1v5H1zM2 2h1v3H2zM3 3h1v1H3z'/%3E%3C/svg%3E");
  --px-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 4' shape-rendering='crispEdges'%3E%3Cpath d='M0 0h2v1H0zM6 0h2v1H6zM1 1h2v1H1zM5 1h2v1H5zM2 2h4v1H2zM3 3h2v1H3z'/%3E%3C/svg%3E");
  --px-ghost: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath d='M2 0h4v1H2zM1 1h6v1H1zM0 2h2v2H0zM3 2h2v2H3zM6 2h2v2H6zM0 4h8v3H0zM0 7h1v1H0zM3 7h2v1H3zM7 7h1v1H7z'/%3E%3C/svg%3E");
  --px-chev-fg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 4' shape-rendering='crispEdges'%3E%3Cpath fill='%23e8e8e2' d='M0 0h2v1H0zM6 0h2v1H6zM1 1h2v1H1zM5 1h2v1H5zM2 2h4v1H2zM3 3h2v1H3z'/%3E%3C/svg%3E");
}
html[data-theme="ink"] body { font-family: var(--mono); font-size: .95rem; letter-spacing: -.01em; border-top-color: var(--term); background: var(--bg); }
/* the dot grid lives only in the page-top heroes; tables, lists and everything below sit on solid black */
html[data-theme="ink"] :is(.hero, .page-head) {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Crect width='2' height='2' fill='%23191917'/%3E%3C/svg%3E") 0 0 / 16px 16px fixed, var(--bg);
}
html[data-theme="ink"] :is(h1, h2) { font-family: "Geist Pixel", var(--mono); font-weight: 400; letter-spacing: -.02em; text-transform: lowercase; }
html[data-theme="ink"] h3 { font-family: var(--mono); letter-spacing: -.02em; }
html[data-theme="ink"] :is(.btn, .config, .paint-pop, .paint-pop label, .haunt .tip, .shell, .chip-s, .sugg button, .sw, .next-sw, .skip, .finder input, .menu-toggle) { border-radius: 0; }
html[data-theme="ink"] .config { --field: #0b0b0b; --on-field: var(--fg); --field-sub: var(--sub); }

/* the symbols: carets, play triangles, chevrons and a tiny ghost, all masks of the set above */
html[data-theme="ink"] :is(.btn:not(.btn--line), .nav a[aria-current="page"], .notice .wrap, .ruled strong)::before,
html[data-theme="ink"] :is(.btn--line, .link-arrow, .qa summary)::after {
  content: ""; flex: none; display: inline-block; background: currentColor;
  -webkit-mask: var(--px) center / contain no-repeat; mask: var(--px) center / contain no-repeat;
}
html[data-theme="ink"] :is(.btn:not(.btn--line), .nav a[aria-current="page"])::before { --px: var(--px-caret); width: .45em; height: .63em; }
html[data-theme="ink"] :is(.btn--line, .link-arrow)::after { --px: var(--px-tri); width: .36em; height: .63em; background: var(--term); transition: translate .2s var(--ease); }
@media (hover: hover) { html[data-theme="ink"] :is(.btn--line, .link-arrow):hover::after { translate: 3px 0; } }
html[data-theme="ink"] :is(.notice .wrap, .ruled strong)::before { --px: var(--px-ghost); width: .8em; height: .8em; margin-right: .6em; vertical-align: -.08em; background: var(--term); }
html[data-theme="ink"] :is(.btn, .link-arrow) svg { display: none; }

/* header: pixel lockup, lowercase nav, a caret on the page you're on */
html[data-theme="ink"] .top { background-color: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(6px); }
html[data-theme="ink"] .notice { font-family: var(--mono); color: var(--sub); }
html[data-theme="ink"] .nav { gap: 2.2rem; }
html[data-theme="ink"] .nav a:not(.btn) { text-transform: lowercase; color: var(--sub); }
html[data-theme="ink"] .nav a:not(.btn):hover { color: var(--fg); }
html[data-theme="ink"] .nav a:not(.btn):hover::after { display: none; }
html[data-theme="ink"] .nav a[aria-current="page"] { color: var(--term); }
html[data-theme="ink"] .nav a[aria-current="page"]::before { margin-right: .55em; }
html[data-theme="ink"] .nav a[aria-current="page"]::after { display: none; }
html[data-theme="ink"] .menu-toggle { font-family: var(--mono); text-transform: lowercase; border-width: 1px; }

/* buttons: an outlined prompt for the primary, a bare link with a play triangle for the rest */
html[data-theme="ink"] .btn {
  gap: .7em; padding: 1em 1.3em; background: transparent; color: var(--term); box-shadow: inset 0 0 0 1px var(--line-2);
  font: 500 .95rem/1 var(--mono); letter-spacing: .02em; text-transform: lowercase; transition: box-shadow .2s, background-color .2s, transform .16s var(--ease);
}
html[data-theme="ink"] .btn:hover { box-shadow: inset 0 0 0 1px var(--term); background: color-mix(in srgb, var(--term) 10%, transparent); }
html[data-theme="ink"] .btn--line { box-shadow: none; color: var(--fg); padding-inline: .5em; }
html[data-theme="ink"] .btn--line:hover { box-shadow: none; background: none; color: var(--term); }
html[data-theme="ink"] .config .btn { background: var(--term); color: #060606; box-shadow: none; }
html[data-theme="ink"] .config .btn:hover { background: var(--fg); }
html[data-theme="ink"] .nav a.btn { padding: .75em 1em; color: var(--term); }

/* the network canvas behind the page head: brightest up and to the right, quieter under the words */
html[data-theme="ink"] :is(.hero, .page-head) { position: relative; isolation: isolate; }
html[data-theme="ink"] .net {
  display: block; position: absolute; left: 0; top: 0; z-index: -1; pointer-events: none; image-rendering: pixelated; opacity: .78;
  -webkit-mask: linear-gradient(90deg, rgb(0 0 0 / .5), rgb(0 0 0 / .62) 40%, #000 78%), linear-gradient(#000 60%, transparent);
  -webkit-mask-composite: source-in; mask: linear-gradient(90deg, rgb(0 0 0 / .5), rgb(0 0 0 / .62) 40%, #000 78%), linear-gradient(#000 60%, transparent);
  mask-composite: intersect;
}

/* ---- home hero, boot sequence: the signup check, headline and links on the left, the order as a command line on the right ---- */
html[data-theme="ink"] .hero { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 6vw, 5rem); }
html[data-theme="ink"] .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 33rem); }
html[data-theme="ink"] .hero h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 1; text-wrap: wrap; }
html[data-theme="ink"] .hero h1 em { color: var(--fg); }
html[data-theme="ink"] .hero h1 .last { color: var(--term); }
html[data-theme="ink"] .hero h1 .last::after { content: ""; display: inline-block; width: .42em; height: .62em; margin-left: .1em; background: var(--term); vertical-align: 0; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
html[data-theme="ink"] .peek { font-size: clamp(2.8rem, 6vw, 5.6rem); }
html[data-theme="ink"] .hero .lede { margin: 2rem 0 2.4rem; max-width: 34em; color: var(--fg); font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.65; }
html[data-theme="ink"] .hero .actions a { font-weight: 500; text-transform: lowercase; color: var(--fg); }

html[data-theme="ink"] {
  /* the signup check: what the order needs, printed like a power-on self test */
  .post { list-style: none; margin: 0 0 2rem; padding: 0; font: .86rem/1.75 var(--mono); color: var(--sub); }
  .post li { display: flex; gap: .6ch; white-space: nowrap; overflow: hidden; }
  .post .dots { flex: 1; overflow: hidden; color: var(--line-2); }
  .post .dots::before { content: "................................................................................................"; }
  .post b { font-weight: 500; color: var(--fg); }
  .post b.no { color: var(--term); }
  &:not(.painted) .post li { animation: post-on 0s steps(1) both; animation-delay: calc(var(--i) * 260ms + 200ms); }

  /* the command line: every flag value is a real choice, and the output answers it */
  .config { border: 1px solid var(--line-2); background: var(--field); color: var(--fg); font: .88rem/1.5 var(--mono); --focus: var(--fg); }
  .bar { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .9rem; border-bottom: 1px solid var(--line); color: var(--sub); font-size: .78rem; }
  .bar i { font-style: normal; color: var(--term); }
  .cmd { padding: 1rem .9rem 0; line-height: 1.9; overflow-wrap: anywhere; text-transform: lowercase; }
  .cmd .p { color: var(--term); }
  .cmd .flag { color: var(--sub); white-space: nowrap; }
  .cmd button { padding: .05em .35em; border: 1px dashed var(--line-2); background: none; color: var(--term); font: inherit; text-transform: inherit; white-space: nowrap; cursor: pointer; }
  .cmd button:hover { border-style: solid; border-color: var(--term); }
  .config fieldset { margin-top: 1.1rem; padding: 0 .9rem; } /* a legend sits in the border line, so the space above it is a margin */
  .config legend { padding: 0 0 .5rem; font-size: .76rem; line-height: 1; text-transform: uppercase; letter-spacing: .06em; color: var(--sub); }
  .config :is(.seg, .chips, .coins) { display: flex; flex-wrap: wrap; gap: 4px; text-transform: lowercase; }
  .config :is(.seg, .chips, .coins) label { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .35rem .6rem; border: 1px solid var(--line-2); color: var(--sub); transition: border-color .15s, color .15s; }
  .config :is(.seg, .chips, .coins) label:hover { border-color: var(--sub); color: var(--fg); }
  .seg .px { width: 21px; }
  .seg .pr { font-size: .78rem; }
  .seg .sp { display: none; } /* the picked plan's spec is in the output below */
  .config :is(.seg, .chips, .coins) input:checked + label { border-color: var(--term); background: var(--term); color: var(--on-btn); }
  .config input:focus-visible + label { outline: 2px solid var(--fg); outline-offset: 2px; }
  .config .hl { animation: hl .9s var(--ease); }
  .lines { display: grid; gap: .25rem; margin: 1rem 0 0; padding: .9rem .9rem 0; border-top: 1px solid var(--line); }
  .lines div, .total { display: grid; grid-template-columns: 7ch minmax(0, 1fr); gap: 1rem; align-items: baseline; }
  .lines dt, .total > span { color: var(--sub); text-transform: lowercase; }
  .lines dd { margin: 0; }
  .total { padding: .35rem .9rem .9rem; }
  .price { font: 400 2rem/1 "Geist Pixel", var(--mono); color: var(--term); }
  .price small { font: .8rem var(--mono); color: var(--sub); }
  .foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem .9rem; border-top: 1px solid var(--line); }
  .foot > span { color: var(--sub); font-size: .78rem; }
  .config .note { display: flex; gap: .6rem; padding: 0 .9rem .9rem; color: var(--sub); }
  .config .note[hidden] { display: none; }
  .config .note::before { content: ""; flex: none; width: .55rem; height: .55rem; margin-top: .45em; background: var(--term); }
}
html[data-theme="ink"] :is(.config, .region-pick) select {
  border-radius: 0; border: 1px solid var(--line-2); font: 400 1rem var(--mono); text-transform: lowercase;
  background: var(--bg) var(--px-chev-fg) right .9em center / 9px 5px no-repeat;
}

/* ---- ghosts go pixel: the hero peeker, the corner switcher, the page-title peekers ---- */
html[data-theme="ink"] :is(.peek, .haunt, .peeker) svg { display: none; }
html[data-theme="ink"] :is(.peek .body, .haunt) { background: url(img/px-ghost.svg) center bottom / contain no-repeat; }
html[data-theme="ink"] .peek .body { animation: px-idle 1.4s steps(1) infinite; }
html[data-theme="ink"] .haunt { animation: px-idle 1.2s steps(1) infinite; }
@keyframes px-idle { 50% { translate: 0 -4px; } } /* two-frame sprite idle */
html[data-theme="ink"] .peeker::before { content: ""; display: block; width: 100%; aspect-ratio: 336 / 368; background: url(img/px-ghost.svg) center top / 100% auto no-repeat; translate: 0 8%; animation: px-peek 5s steps(1) infinite; }
@keyframes px-peek { 0%, 70%, 100% { translate: 0 8%; } 80% { translate: 0 -2%; } 90% { translate: 0 16%; } }
html[data-theme="ink"] .plans tr:hover .cast :is(svg, img) { transform: translateY(-4px); }

/* ---- the rest of the page, pixel-cut ---- */
html[data-theme="ink"] .steps { border: 1px solid var(--line-2); }
html[data-theme="ink"] .steps li { padding: 1.6rem clamp(1rem, 2.5vw, 1.8rem); }
html[data-theme="ink"] .steps li + li { border-left-color: var(--line-2); }
html[data-theme="ink"] .ruled strong { display: flex; align-items: center; }
html[data-theme="ink"] .qa summary::after { --px: var(--px-chev); position: absolute; right: .3rem; top: 50%; width: .75rem; height: .4rem; margin-top: -.2rem; border: 0; transform: none; }
html[data-theme="ink"] .qa details[open] summary::after { transform: rotate(180deg); }
html[data-theme="ink"] .paint-pop { box-shadow: none; }
html[data-theme="ink"] .band { border-top: 1px solid var(--line-2); }
html[data-theme="ink"] footer { border-top-color: var(--line-2); }

@media (max-width: 960px) {
  html[data-theme="ink"] .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  html[data-theme="ink"] .post { margin-bottom: 0; } /* the grid gap separates the stacked parts */
}
@media (max-width: 680px) {
  html[data-theme="ink"] .steps li + li { border-left: 0; border-top: 1px solid var(--line-2); margin-top: 0; }
}
@media (max-width: 520px) {
  html[data-theme="ink"] .nav a.btn { font-size: .78rem; padding: .7em .65em; }
  html[data-theme="ink"] .nav a.btn::before { display: none; }
  html[data-theme="ink"] .menu-toggle { font-size: .85rem; padding: .5em .7em; }
  html[data-theme="ink"] .hero .lede { margin-top: 2.8rem; }
  /* the pixel face runs wider than the sans: keep the ghost inside the screen */
  html[data-theme="ink"] .peek { width: 58px; }
  html[data-theme="ink"] .peek .cap { left: calc(100% + .5rem); bottom: 30%; translate: none; }
  @supports (anchor-name: --a) { html[data-theme="ink"] .peek { left: calc(anchor(--last right) + .35em); bottom: calc(anchor(--last bottom) - .1em); } }
}
@media (prefers-reduced-motion: reduce) { html[data-theme="ink"] .hero h1 .last::after { animation: none; } }

/* ---------- the logo (owner's choice, November 10, 2026). Sources: output/brand/bootghost-wordmark-only.png and bootghost-moving.svg.
   Header: the wordmark only (see .site-logo at the end of this file).
   Footer: the moving logo, where the ghost walks behind the word. It is one near-black picture, so the dark theme inverts it. ---------- */
.wm-moving { display: block; width: min(300px, 100%); height: auto; margin-left: -20px; } /* the picture has empty space at its left edge */
html[data-theme="ink"] .wm-moving { filter: invert(1); }


/* ---------- pricing: the server spec sheet and the lit rack ---------- */
.picker { display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.rig { min-width: 0; }
@media (min-width: 1081px) and (min-height: 860px) { .rig { position: sticky; top: 1rem; } }
.rig fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.rig .slot { position: relative; z-index: 1; height: 14px; margin-inline: -10px; border-radius: 7px; background: var(--ink); }
.sheet { --t: 10px; margin-top: -7px; padding: 1.6rem 1.5rem 2.2rem; background: var(--paper, var(--soft)); color: var(--fg); font: .8rem/1.45 var(--mono);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--t)), 95% 100%, 90% calc(100% - var(--t)), 85% 100%, 80% calc(100% - var(--t)), 75% 100%, 70% calc(100% - var(--t)), 65% 100%, 60% calc(100% - var(--t)), 55% 100%, 50% calc(100% - var(--t)), 45% 100%, 40% calc(100% - var(--t)), 35% 100%, 30% calc(100% - var(--t)), 25% 100%, 20% calc(100% - var(--t)), 15% 100%, 10% calc(100% - var(--t)), 5% 100%, 0 calc(100% - var(--t))); }
.sheet-top { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; color: var(--sub); padding-bottom: .8rem; margin-bottom: 1rem; border-bottom: 1px dashed var(--line-2); }
.sheet-top b { color: var(--fg); }
.rig legend { padding: 0; margin-bottom: .45rem; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; color: var(--sub); }
.rig input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts { display: flex; gap: .3rem; }
.opts label { flex: 1 1 auto; display: grid; place-items: center; min-height: 40px; padding: .3rem .45rem; text-align: center; white-space: nowrap; font-weight: 600; font-size: .74rem; letter-spacing: -.02em; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.opts label:hover { border-color: var(--fg); }
.opts input:checked + label { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.rig input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.hint { margin-top: .45rem; min-height: 2.9em; font-size: .74rem; color: var(--sub); }

.rack { --cell: minmax(0, 1fr); --rowh: 26px; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); grid-template-rows: auto auto; gap: 3px; margin-top: .2rem; }
.rack fieldset { margin: 0; }
.rack legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rack-corner { display: flex; flex-direction: column; justify-content: end; font-size: .58rem; line-height: 1.1; letter-spacing: 0; color: var(--sub); text-align: center; }
.rack-corner i { display: block; width: 100%; height: 1px; margin-block: 1px; background: var(--line-2); }
.axis label { display: grid; place-items: center; font-size: .72rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--sub); border-radius: 3px; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.axis label:hover, .axis label.hot { color: var(--fg); background: var(--soft); }
.axis input:checked + label { background: var(--btn); color: var(--on-btn); }
.axis--cpu > div { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; }
.axis--cpu label { min-height: 28px; }
.axis--ram > div { display: grid; grid-auto-rows: var(--rowh); gap: 3px; }
.cells { display: grid; grid-template-columns: repeat(var(--cols, 8), minmax(0, 1fr)); grid-auto-rows: var(--rowh); gap: 3px; }
.cells button { all: unset; box-sizing: border-box; position: relative; cursor: pointer; border-radius: 2px; background: color-mix(in srgb, var(--line) 42%, transparent); transition: background-color .2s var(--ease), outline-color .15s; }
.cells button.zone { background: color-mix(in srgb, var(--btn) 13%, transparent); }
.cells button.on { background: color-mix(in srgb, var(--btn) 38%, var(--paper, var(--soft))); }
.cells button.on.zone { background: var(--btn); }
.cells button.pin { outline: 2px solid var(--mark); outline-offset: 1px; z-index: 1; }
.cells button:hover { outline: 2px solid var(--fg); outline-offset: 1px; z-index: 2; }
.picker.js .cells button.on { animation: rack-on .55s var(--ease) calc(var(--d) * 28ms) backwards; }
@keyframes rack-on { from { background: color-mix(in srgb, var(--line) 42%, transparent); } }
.readout { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 44px; margin-top: .55rem; padding-bottom: .55rem; border-bottom: 1px dashed var(--line-2); font-size: .75rem; color: var(--sub); }
.clear { all: unset; flex: none; min-height: 32px; padding-inline: .2rem; font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.clear:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.clear:disabled { color: var(--sub); text-decoration: none; opacity: .55; cursor: default; }
.spec-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .7rem; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; color: var(--sub); }
.spec-total strong { font: 800 2.5rem/1 var(--sans); letter-spacing: -.04em; color: var(--fg); text-transform: none; }
.spec-total strong i { font-style: normal; font-size: .62em; color: var(--sub); letter-spacing: -.02em; }
.spec-total strong small { font: 400 .78rem var(--mono); letter-spacing: 0; color: var(--sub); }

.found { min-width: 0; }
.found-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .6rem 1.5rem; margin-bottom: 1rem; }
.found-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -.035em; }
.sort { display: flex; align-items: center; gap: .2rem; font: .76rem var(--mono); color: var(--sub); }
.sort span { margin-right: .4rem; }
.sort button { all: unset; min-height: 36px; padding-inline: .6rem; font-weight: 600; color: var(--sub); border-radius: 3px; cursor: pointer; }
.sort button:hover { color: var(--fg); }
.sort button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.sort button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.srv { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.srv th, .srv td { text-align: left; padding: .8rem .75rem .8rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.srv thead th { font-size: .78rem; font-weight: 600; color: var(--sub); border-bottom: 2px solid var(--fg); }
.srv tbody th { font-size: 1.02rem; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; }
.srv td { font: .86rem var(--mono); letter-spacing: -.02em; white-space: nowrap; }
.srv td.cost { font: 800 1.3rem var(--sans); letter-spacing: -.035em; }
.srv td.cost i { font-style: normal; font-size: .8em; color: var(--sub); }
.srv td.cost small { font: 400 .74rem var(--mono); letter-spacing: 0; color: var(--sub); }
.srv td:last-child { padding-right: 0; text-align: right; }
.srv .btn { min-height: 40px; padding-block: .5em; font-size: .85rem; }
.srv tr.pick { background: color-mix(in srgb, var(--btn) 8%, transparent); }
.srv tr.pick th { padding-left: .75rem; }
.srv tr.pick th::after { content: "Lowest price"; display: block; font: 600 .68rem var(--mono); letter-spacing: 0; color: var(--link); }
.srv tr.pick td:last-child { padding-right: .75rem; }
.srv tbody th .where { display: block; font: 400 .72rem var(--mono); letter-spacing: 0; color: var(--sub); } /* a server in one city only: "Helsinki only" */
.picker.js .only-nojs { display: none; }
.only-nojs { display: block; font: 400 .72rem var(--mono); letter-spacing: 0; color: var(--sub); white-space: normal; }
.none { padding: 2.2rem 0; border-block: 1px solid var(--line); }
.none p { margin-bottom: 1rem; max-width: 46ch; }
html[data-theme="ink"] .sheet { border: 1px solid var(--line); clip-path: none; }
html[data-theme="ink"] .rig .slot { display: none; }
html[data-theme="ink"] .rack { --btn: var(--azure); --on-btn: var(--ink); }
@media (max-width: 1080px) {
  .picker { grid-template-columns: minmax(0, 1fr); }
  .rig { position: static; max-width: 34rem; }
}
@media (max-width: 640px) {
  .opts { flex-wrap: wrap; }
  .sheet { padding-inline: 1.1rem; }
  .rack { display: block; }
  .rack-corner, .cells { display: none; }
  .rack fieldset { margin-bottom: 1rem; }
  .rack legend { position: static; width: auto; height: auto; clip-path: none; }
  .axis--cpu > div, .axis--ram > div { display: flex; flex-wrap: wrap; gap: .3rem; }
  .axis label { min-width: 44px; min-height: 44px; border: 1px solid var(--line-2); border-radius: var(--r); }
  .srv thead { display: none; }
  .srv tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .srv tr[hidden] { display: none; }
  .srv th, .srv td { border: 0; padding: 0; }
  .srv tbody th { order: -2; flex: 0 0 calc(100% - 8rem); }
  .srv td.cost { order: -1; flex: 0 0 7rem; text-align: right; }
  .srv td:not(.cost) { white-space: normal; }
  .srv td:last-child { flex: 0 0 100%; margin-top: .55rem; text-align: left; padding: 0; }
  .srv td:nth-child(2)::after { content: " vCPU"; }
  .srv tr.pick th { padding-left: 0; }
  .srv tr.pick { padding-inline: .6rem; }
}
@media (prefers-reduced-motion: reduce) { .picker.js .cells button.on { animation: none; } }

/* the header logo: the wordmark only, with no symbol (owner, November 11, 2026). Art from output/brand/bootghost-wordmark-only.svg,
   black lines, turned white on the dark theme. */
.site-logo { display: block; height: 32px; width: auto; }
html[data-theme="ink"] .site-logo { filter: invert(1); }
@media (max-width: 520px) { .site-logo { height: 26px; } }

/* ---------- domains: one workbench (owner, November 12, 2026: too much blank space, most of all on this page) ----------
   The page had 4 sections, each with a small form in the left half and nothing beside it. Now:
   the "Buy a domain" box is in the page head beside the title, the 2 notes of the name generator are side by side,
   and "Hack words" shares its section with "How a domain hack works". */
.head-tool, .tool-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.head-tool-box { padding-top: .75rem; }
.head-tool-box .tool-h { margin-bottom: 1rem; }
.head-tool-box .finder { margin-bottom: 1rem; }
.head-tool-box .finder input { flex-basis: 12rem; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.head-tool-box .buy-out { min-height: 4rem; }
.head-tool-box .fine { margin-top: .8rem; }
.fines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 3rem; margin-top: 1.75rem; }
.fines .fine { margin-top: 0; }
.tool-split aside > p { color: var(--sub); margin-bottom: 1.5rem; }
.btn[hidden] { display: none; } /* "More words" showed before a search: .btn sets display, which is stronger than the hidden attribute */
.tool-split .results--words ul { columns: 2 14rem; }
.tool-split .ruled li { grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); }
/* Terminal theme: the page head has the moving network picture. The box gets a solid panel, so the picture is not behind its text. */
html[data-theme="ink"] .head-tool-box { padding: 1.25rem 1.4rem 1.4rem; border: 1px solid var(--line-2); background: var(--bg); }
@media (max-width: 960px) { .head-tool, .tool-split, .fines { grid-template-columns: minmax(0, 1fr); } html:not([data-theme="ink"]) .head-tool-box { padding-top: 0; } }

/* ---------- pricing: a shorter server list (owner, November 12, 2026: the list beside the chart looked too long) ----------
   The list shows the 10 servers that are first in the sort order. A button shows the others (corp.js, LIMIT).
   On a wide screen the rows are compact, so 10 rows and the button are not higher than the chart. */
.more-srv { margin-top: 1.25rem; }
@media (min-width: 641px) {
  .srv th, .srv td { padding-block: .5rem; }
  .srv tbody th { font-size: .95rem; }
  .srv td.cost { font-size: 1.12rem; }
  .srv .btn { min-height: 34px; padding: .3em .8em; font-size: .8rem; }
  html:not([data-theme="ink"]) .srv .btn { --d: 3px; --emboss: 1px 1px 0 var(--e), 2px 2px 0 var(--e), 3px 3px 0 var(--e); border-width: 2px; }
}
