/* Houseguest site. Editorial, dark only: warm near-black, Newsreader serif display type, quiet rules, the product's orange. */
@import url("../fonts/newsreader.css"); /* self-hosted, no third-party font requests */
:root {
  /* Dark only (Ryan, 2026-10-16): the site looks the same whatever the visitor's system setting. */
  --bg: #17130f; --bg-alt: #1e1914; --surface: #231d17; --fg: #f1e9dd; --muted: #b5a998; --line: #3a3128; --line-ui: #7d6b57;
  --accent: #f0954d; --accent-fg: #1d1206; --accent-soft: #3a2616; --good: #7fcf9c;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Charter, Georgia, serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 600; --display-track: -0.015em;
  --radius: 10px; --maxw: 1160px; --band: 104px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--font-body); text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--font-mono); font-size: .92em; }
.small { font-size: 14px; } .muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--fg); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand .mark { width: 26px; height: 26px; color: var(--accent); }
.brand.small { font-size: 16px; } .brand.small .mark { width: 20px; height: 20px; }
header.site nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
header.site nav a:not(.btn) { color: var(--muted); text-decoration: none; }
header.site nav a { white-space: nowrap; }
header.site nav a:not(.btn):hover { color: var(--fg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-weight: 600; text-decoration: none; border: 1px solid var(--accent); transition: transform .12s ease, filter .12s ease; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-ui); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.cta-row.center { justify-content: center; }

/* Type */
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1.04; }
h2 { font-size: clamp(30px, 3.6vw, 44px); max-width: 22ch; }
.center h2 { margin-inline: auto; }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0; }
.eyebrow { font: 600 12px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lede { font: 22px/1.5 var(--font-display); color: var(--muted); margin-top: 22px; max-width: 46ch; }
.center .lede { margin-inline: auto; }
.big { font-size: 21px; line-height: 1.55; }

/* Hero */
.hero { padding: 88px 0 var(--band); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.proof { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--muted); }
.proof li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 9px; vertical-align: middle; }
.hero-fig { margin: 0; }
.hero-fig figcaption { font-size: 14px; color: var(--muted); margin-top: 14px; text-align: center; }
.window { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(0, 0, 0, .7); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.window-bar b { margin-left: 10px; font: 500 13px var(--font-mono); color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-body { padding: 34px 32px 36px; display: grid; gap: 12px; }
.w-mark { font: 600 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.w-title { font-size: 21px; font-weight: 600; line-height: 1.3; }
.w-text { color: var(--muted); font-size: 15px; }
.w-input { border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; font-size: 15px; background: var(--bg); margin-top: 6px; }
.w-btn { background: var(--accent); color: var(--accent-fg); border-radius: 8px; padding: 12px; text-align: center; font-weight: 600; font-size: 15px; }

/* Bands */
.band { padding: var(--band) 0; }
.band.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.band + .band:not(.alt) { border-top: 1px solid var(--line); }
.band h2 + * { margin-top: 44px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.problem { align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg) translateY(-50%); }
.ticks.bad li::before { width: 12px; height: 2px; border: 0; background: var(--muted); transform: none; top: .8em; }

/* Diagram */
.diagram { margin: 0; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.diagram svg { display: block; width: 100%; height: auto; font-family: var(--font-body); }
.diagram svg.dia-v { display: none; }
.diagram figcaption { margin-top: 18px; color: var(--muted); font-size: 15px; text-align: center; }
.d-zone rect { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 6 5; opacity: .9; }
.d-cap { font-size: 14px; font-weight: 600; fill: var(--accent); }
.d-box rect { fill: var(--surface); stroke: currentColor; stroke-width: 1.3; }
.d-hi rect { stroke: var(--accent); stroke-width: 2.4; }
.d-name { font-size: 17px; font-weight: 650; text-anchor: middle; fill: currentColor; }
.d-sub { font-size: 13px; text-anchor: middle; fill: var(--muted); }
.d-line path { stroke: currentColor; stroke-width: 1.6; }
.d-lab { font-size: 13px; text-anchor: middle; fill: var(--muted); }
.d-lab.start { text-anchor: start; }
.diagram marker path { fill: currentColor; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--fg); padding-top: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 600 30px var(--font-display); color: var(--accent); margin-bottom: 10px; letter-spacing: 0; }
.steps p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); max-width: 70ch; }
.note b { color: var(--fg); font-weight: 600; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 4px; padding: 34px; display: grid; gap: 16px; align-content: start; }
.card-lede { color: var(--muted); }

/* Facts */
.facts > div { border-left: 2px solid var(--accent); padding-left: 20px; }
.facts h3 { font-size: 18px; margin-bottom: 8px; }
.facts p { color: var(--muted); font-size: 16px; }
.more { margin-top: 44px; font-weight: 600; }

/* Compare */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { border-collapse: collapse; width: 100%; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-size: 18px; font-weight: 650; background: var(--bg-alt); }
.compare tbody th { color: var(--muted); font-weight: 500; width: 26%; }
.compare tr:last-child > * { border-bottom: 0; }
.versus tbody th { width: 20%; color: var(--fg); font-weight: 600; }
.versus thead th { width: 40%; }
.versus thead th:first-child { width: 20%; }
.tag { display: inline-block; white-space: nowrap; font: 600 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tag.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* Plans: one description column, so phones need no cell label. */
.plans-table { margin-top: 36px; }
.plans-table .compare tbody th { color: var(--fg); font-weight: 600; width: 20%; }
@media (max-width: 560px) {
  .plans-table .compare.stack td { display: block; }
  .plans-table .compare.stack td::before { content: none; }
}

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font: 400 26px var(--font-mono); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }

/* CTA */
.cta { text-align: center; }
.cta h2 { font-size: clamp(36px, 4.6vw, 58px); max-width: 18ch; }
.cta .small { margin-top: 18px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 34px 0 90px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 14px 20px; flex-wrap: wrap; font-size: 15px; }
.tm { font-size: .55em; font-weight: 600; letter-spacing: 0; vertical-align: super; line-height: 0; margin-left: 1px; }
.foot .legal { margin: 0; color: var(--muted); font-size: 13px; order: 3; flex-basis: 100%; }
.foot .legal .addr { display: block; margin-top: 2px; }
.foot nav { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--fg); }

/* Inner page (security) */
.page-head { padding: 80px 0 56px; border-bottom: 1px solid var(--line); }
.doc { padding: 64px 0 var(--band); }
.doc h2 { font-size: clamp(24px, 2.6vw, 30px); max-width: none; margin-top: 56px; }
.doc h2:first-child { margin-top: 0; }
.doc h2 + * { margin-top: 18px; }
.doc p, .doc li { color: var(--muted); max-width: 70ch; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 14px; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; }
.doc .table-wrap { margin-top: 22px; }
.doc .compare td, .doc .compare th { font-size: 15px; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-fig { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  /* Room for the Docs link: the in-page Access and Addresses links go first. */
  header.site nav { gap: 18px; }
  header.site nav a[href$="#access"], header.site nav a[href$="#addresses"] { display: none; }
}
@media (max-width: 760px) {
  :root { --band: 72px; }
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  header.site nav a:not(.btn) { display: none; }
  .hero { padding: 56px 0 var(--band); }
  .big { font-size: 18px; }
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; gap: 28px; }
  .diagram { padding: 14px; }
  .diagram svg:first-of-type { display: none; } /* phones get the vertical drawing */
  .diagram svg.dia-v { display: block; max-width: 360px; margin: 0 auto; }
  .card { padding: 24px; }
  .compare th, .compare td { padding: 12px 14px; font-size: 14px; }
  .compare tbody th { width: auto; }
}
/* Phones: a stacked table, each cell labelled with its column. */
@media (max-width: 560px) {
  .compare.stack thead { display: none; }
  .compare.stack, .compare.stack tbody, .compare.stack tr, .compare.stack th, .compare.stack td { display: block; width: auto; }
  .compare.stack tr { border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .compare.stack tr:last-child { border-bottom: 0; }
  .compare.stack th, .compare.stack td { border: 0; padding: 0; }
  .compare.stack tbody th { font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
  .compare.stack td { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 4px 0; }
  .compare.stack td::before { content: attr(data-label); color: var(--muted); }
  .compare.stack td .tag { justify-self: start; }
  .versus.stack tbody th { line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
