/* Coral Hosts' public pages. Brand palette: CoralHosts Website/CoralHosts-Brand-Kit-2026-09.zip (navy #001826,
   deep blue #0F57B9, cyan #26C4CF), the colours the store's theme takes (tests/test_store_brand.py). System fonts
   only: the page loads nothing from another site. */
:root {
  --ink: #001826;
  --blue: #0F57B9;
  --cyan: #26C4CF;
  --slate: #4A5D6B;
  --mist: #EEF4F7;
  --line: #D3DEE5;
  --paper: #FFFFFF;
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 106.25%;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: 40rem; }

/* Header: the hexagon mark and the name, then the page's own links. */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem;
  padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.brand img { width: 2.25rem; height: 2.25rem; }
.top nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .95rem; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { color: var(--blue); text-decoration: underline; }
.top nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* The opening statement. */
.lead { padding-top: 3.5rem; padding-bottom: 2.5rem; }
h1 { margin: 0 0 1.25rem; max-width: 22ch; font-size: clamp(2.1rem, 5.6vw, 3.5rem); line-height: 1.06;
  letter-spacing: -.025em; font-weight: 750; }
.lead p { max-width: 40rem; margin: 0 0 1rem; font-size: 1.15rem; color: var(--slate); }
.lead .soon { display: inline-block; margin-top: .75rem; padding: .7rem 1rem; border-left: 4px solid var(--cyan);
  background: var(--mist); color: var(--ink); font-size: 1rem; }
.lead .soon strong { font-weight: 700; }

section { padding: 2.25rem 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 .75rem; font-size: 1.6rem; line-height: 1.2; letter-spacing: -.015em; }
h3 { margin: 1.75rem 0 .4rem; font-size: 1.1rem; line-height: 1.3; }
p, li { margin: 0 0 .85rem; }
ul { padding-left: 1.2rem; }
.muted { color: var(--slate); }
.tag { display: inline-block; margin-left: .5rem; padding: .1rem .55rem; border: 1px solid var(--blue);
  border-radius: 1rem; color: var(--blue); font-size: .8rem; font-weight: 600; vertical-align: .3em;
  letter-spacing: 0; }

/* The datasheet: what each Minecraft line runs on, side by side. */
.sheet { width: 100%; max-width: 52rem; margin: 1.5rem 0 1rem; border-collapse: collapse;
  font-variant-numeric: tabular-nums; }
.sheet thead th { background: var(--ink); color: var(--paper); text-align: left; padding: .8rem 1rem;
  font-size: 1.1rem; border-bottom: 4px solid var(--cyan); }
.sheet thead th:first-child { background: var(--paper); border-bottom-color: var(--paper); }
.sheet tbody th { text-align: left; font-weight: 600; color: var(--slate); padding: .75rem 1rem .75rem 0;
  width: 26%; vertical-align: top; border-bottom: 1px solid var(--line); }
.sheet td { padding: .75rem 1rem; vertical-align: top; border-bottom: 1px solid var(--line); width: 37%; }
.sheet tr.price td { font-weight: 700; font-size: 1.1rem; }

.share { max-width: 40rem; padding: 1rem 1.25rem; background: var(--mist); }
.share h3 { margin-top: 0; }
.share p:last-child { margin-bottom: 0; }

/* Fact lists: a label and its value. */
dl.facts { display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: 0; max-width: 46rem; margin: 1.25rem 0; }
dl.facts dt, dl.facts dd { margin: 0; padding: .6rem 0; border-bottom: 1px solid var(--line); }
dl.facts dt { color: var(--slate); font-weight: 600; padding-right: 1rem; }

/* Policy pages. */
.policy { padding-top: 2.5rem; padding-bottom: 1rem; }
.policy h1 { font-size: clamp(2rem, 5vw, 2.75rem); max-width: none; }
.policy h2 { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.updated { color: var(--slate); font-size: .95rem; }

footer { margin-top: 2rem; padding: 2rem 0 3rem; background: var(--ink); color: #C9D7E0; font-size: .95rem; }
footer a { color: var(--paper); }
footer ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
footer p { margin: 0 0 .4rem; }

@media (max-width: 40rem) {
  .lead { padding-top: 2.25rem; padding-bottom: 1.75rem; }
  /* The datasheet keeps both lines side by side; each row's label sits above its two values. */
  .sheet thead th:first-child { display: none; }
  .sheet thead tr { display: grid; grid-template-columns: 1fr 1fr; }
  .sheet tbody tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .sheet tbody th { grid-column: 1 / -1; width: auto; padding: .7rem .75rem 0; border-bottom: 0; font-size: .9rem; }
  .sheet td { width: auto; padding: .2rem .75rem .7rem; border-bottom: 0; }
  .sheet thead th { padding: .6rem .75rem; }
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dt { border-bottom: 0; padding-bottom: 0; }
  dl.facts dd { padding-top: .15rem; }
}
@media print { footer { background: none; color: var(--ink); } footer a { color: var(--ink); } }
