/* Spoor, the public pages and the client account (spoorhunt.com).
   The look of the Spoor app after dark: near-black navy, brass gold, a faint topographic map. Saira Stencil One for
   the big words (the owner's pick, "I'm a hunter"), Inter for reading, Poppins 800 for the SPOOR wordmark.
   Change the tokens in :root first; the rest follows. */

:root {
  --night: #060a11;
  --night-2: #0a111c;
  --panel: #0f1825;
  --panel-2: #142033;
  --line: rgba(226, 232, 240, .11);
  --line-2: rgba(226, 232, 240, .2);
  --ink: #f2f5f8;
  --dim: #c3ccd6;
  --muted: #95a2b0;
  --gold: #d9b26a;
  --gold-hi: #f0d39a;
  --gold-ink: #1a1206;
  --gold-soft: rgba(217, 178, 106, .14);
  --ok: #7cc59f;
  --ok-soft: rgba(124, 197, 159, .14);
  --bad: #f2948a;
  --bad-soft: rgba(242, 148, 138, .14);
  --warn: #e6bd62;
  --radius: 18px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 60px -28px rgba(0, 0, 0, .8);
  --wrap: 1140px;
  --display: 'Saira Stencil One', Impact, 'Arial Narrow', sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --brand: Poppins, Inter, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 16px/1.65 var(--body); color: var(--ink); background: var(--night); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .7rem; font-weight: 400; }
h1, h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; }
h1 { font-size: clamp(2.2rem, 6.4vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font: 700 1.1rem/1.3 var(--body); }
p { margin: 0 0 1rem; }
em { font-style: normal; color: var(--gold); }
strong { color: var(--ink); }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: .7rem 1rem; border-radius: 0 0 10px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -.18em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(6, 10, 17, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--gold); }
.brand:hover { color: var(--gold-hi); }
.brand__mark { width: 26px; height: 26px; }
.brand__name { font: 800 1.3rem/1 var(--brand); letter-spacing: .06em; text-transform: uppercase; }
.header__menu { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav { display: flex; gap: 1.4rem; }
.nav a, .portal-nav a, .header__login { color: var(--dim); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .portal-nav a:hover, .header__login:hover, .nav a[aria-current="page"], .portal-nav a[aria-current="page"] { color: var(--gold-hi); }
.header__actions { display: flex; align-items: center; gap: 1rem; }
.portal-nav { margin-left: auto; display: flex; gap: 1.2rem; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .ic--close, .nav-toggle[aria-expanded="true"] .ic--open { display: none; }
.nav-toggle[aria-expanded="true"] .ic--close { display: inline; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .header__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; background: var(--night-2); border-bottom: 1px solid var(--line); }
  .header__menu.is-open { display: flex; }
  .nav { flex-direction: column; gap: 0; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header__actions { justify-content: space-between; padding-top: 1rem; }
  .portal-nav { gap: .9rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 700 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .15s; }
.btn:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.btn--primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--gold-ink); }
.btn--ghost { border-color: var(--line-2); }
.btn--sm { min-height: 40px; padding: .5rem 1.05rem; font-size: .92rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2.2rem, 5vw, 3.5rem) 0; }
.section--panel { background: var(--night-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; margin: 0 0 .8rem; font: 600 .78rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--dim); max-width: 42rem; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* The product hero, with the topographic map */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem); border-bottom: 1px solid var(--line); }
.hero::before { content: ''; position: absolute; inset: 0; background: url(/assets/img/topo.svg) center / cover no-repeat; opacity: .16; pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 15% 0%, rgba(19, 53, 89, .6), transparent 70%), radial-gradient(50% 60% at 95% 100%, rgba(217, 178, 106, .12), transparent 70%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-bottom: 1.8rem; }
.hero__note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.page-hero { padding: clamp(3rem, 7vw, 4.5rem) 0 2rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.crumbs a { color: var(--muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.feature { padding: 1.4rem 1.4rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.feature .ic { width: 28px; height: 28px; color: var(--gold); margin-bottom: .9rem; }
.feature h3 { margin-bottom: .4rem; }
.feature p { margin: 0; color: var(--dim); font-size: .96rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; counter-reset: step; }
.steps li { position: relative; padding: 1.3rem 1.3rem 1.1rem 4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--dim); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 1.2rem; top: 1.15rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font: 700 .95rem/1 var(--body); }
.steps strong { display: block; margin-bottom: .2rem; }

/* Plans */
.interval-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--night-2); margin-bottom: 1.6rem; }
.interval-toggle button { min-height: 40px; padding: .4rem 1.2rem; border: 0; border-radius: 999px; background: transparent; color: var(--dim); font: 600 .95rem/1 var(--body); cursor: pointer; }
.interval-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.interval-toggle .save { font-size: .78rem; opacity: .85; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.8rem 1.6rem 1.6rem; border: 1px solid var(--line-2); border-radius: 22px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: var(--shadow); }
.plan--featured { border-color: rgba(217, 178, 106, .55); }
.plan__tag { position: absolute; top: -12px; left: 1.4rem; padding: .3rem .7rem; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font: 700 .72rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.plan h3 { font: 400 1.5rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .3rem; }
.plan__who { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }
.plan__price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .2rem; }
.plan__amount { font: 700 2.6rem/1 var(--body); letter-spacing: -.02em; }
.plan__per { color: var(--muted); }
.plan__sub { color: var(--muted); font-size: .88rem; min-height: 1.4em; margin-bottom: 1.2rem; }
.plan .checks { margin-bottom: 1.5rem; flex: 1; }
[data-interval="month"] .when-year, [data-interval="year"] .when-month { display: none; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.checks li { position: relative; padding-left: 1.7rem; color: var(--dim); }
.checks li::before { content: ''; position: absolute; left: .15rem; top: .45em; width: .9rem; height: .5rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* FAQ */
.faq { display: grid; gap: .7rem; max-width: 50rem; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-weight: 700; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--dim); }

/* Call to action band */
.cta-band { padding: clamp(3rem, 7vw, 4.5rem) 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(60% 120% at 50% 100%, rgba(217, 178, 106, .1), transparent 70%); }
.cta-band .btn-row { justify-content: center; }

/* Forms */
.form { display: grid; gap: 1rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
/* Business name is only for Spoor Outfitter: hidden for Spoor Hunt Pro, and the name then takes the whole row. */
[hidden] { display: none !important; }
.form__grid:has(> [data-business][hidden]) > .field { grid-column: 1 / -1; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .field .label { font-weight: 600; font-size: .92rem; color: var(--dim); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .9rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--night-2); color: var(--ink); font: 16px/1.4 var(--body); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.hint, .hint-text { font-size: .85rem; color: var(--muted); }
.req { color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tick { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--night-2); color: var(--dim); font-size: .95rem; cursor: pointer; }
.tick input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--gold); flex: none; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.choice label { position: relative; display: block; padding: .9rem 1rem; border: 1px solid var(--line-2); border-radius: 14px; background: var(--night-2); cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.choice label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice strong { display: block; }
.choice span { color: var(--muted); font-size: .9rem; }

/* Messages (an error also opens in the pop-up below) */
.flash { padding: .9rem 1.1rem; border-radius: 12px; border: 1px solid var(--line-2); margin-bottom: 1rem; color: var(--ink); background: var(--panel-2); }
.flash--ok { border-color: rgba(124, 197, 159, .4); background: var(--ok-soft); }
.flash--err { border-color: rgba(242, 148, 138, .45); background: var(--bad-soft); }
.popup { width: min(92vw, 26rem); padding: 1.6rem 1.5rem 1.3rem; border: 1px solid var(--line-2); border-radius: 22px; background: var(--panel); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); }
.popup::backdrop { background: rgba(2, 4, 8, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.popup h2 { font: 700 1.2rem/1.3 var(--body); text-transform: none; letter-spacing: 0; margin-bottom: .5rem; }
.popup__text { color: var(--dim); margin-bottom: 1.3rem; }

/* Sign in, sign up and the account */
.auth-wrap { padding: clamp(2.5rem, 7vw, 5rem) 1.25rem; display: grid; place-items: start center; }
.auth-card { width: 100%; max-width: 30rem; padding: clamp(1.6rem, 4vw, 2.4rem); border: 1px solid var(--line-2); border-radius: 24px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: var(--shadow); }
.auth-card--wide { max-width: 40rem; }
.auth-card h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.auth-help { margin: 1.3rem 0 0; color: var(--muted); font-size: .92rem; }
.acct { padding: clamp(2rem, 6vw, 3.5rem) 0 4rem; }
.acct__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.card h2 { font-size: 1.35rem; }
.card h3 { margin-bottom: .6rem; }
.card--plan { border-color: rgba(217, 178, 106, .4); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0 0 1.2rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 999px; font: 700 .78rem/1.2 var(--body); background: var(--panel-2); color: var(--dim); border: 1px solid var(--line-2); }
.pill--ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(124, 197, 159, .35); }
.pill--warn { background: var(--gold-soft); color: var(--warn); border-color: rgba(230, 189, 98, .35); }
.pill--bad { background: var(--bad-soft); color: var(--bad); border-color: rgba(242, 148, 138, .35); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.table-wrap { overflow-x: auto; }
.store-badges { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.prose { max-width: 46rem; color: var(--dim); }
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; color: var(--ink); }
.prose h3 { margin-top: 1.4rem; color: var(--ink); }
.prose li { margin-bottom: .4rem; }
.draft-note { padding: 1rem 1.2rem; margin-bottom: 2rem; border: 1px dashed rgba(230, 189, 98, .6); border-radius: 12px; background: var(--gold-soft); color: var(--warn); font-size: .95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.6rem 0 1.6rem; margin-top: 2rem; background: var(--night-2); }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.6rem 2rem; }
.footer__tag { color: var(--muted); max-width: 26rem; margin: .7rem 0 0; font-size: .95rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; }
.footer__links a { color: var(--dim); text-decoration: none; }
.footer__links a:hover { color: var(--gold-hi); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.powered-by a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--gold); text-decoration: none; font-weight: 500; }
.powered-by a:hover { color: var(--gold-hi); }
.pb-icon { width: 18px; height: 18px; }

/* Reveal on scroll (only when JavaScript runs, and never with reduced motion) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.plans:has(> .plan:only-child) { max-width: 440px; }

/* ---- App screens in a phone frame (app_shot, app_tour in _site.php) */
.phone { width: 100%; max-width: 300px; padding: 9px; border-radius: 46px; background: linear-gradient(160deg, #1d2836, #090e16);
  border: 1px solid var(--line-2); box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(217, 178, 106, .07); }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 1391; border-radius: 38px; background: #f3efe6; }

.hero--app .container { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__phone { justify-self: center; width: 100%; max-width: 300px; }
@media (max-width: 860px) {
  .hero--app .container { grid-template-columns: 1fr; }
  /* On a phone the hero shows the top of the screen, fading out, so the page does not start with a long scroll. */
  .hero__phone { max-width: 270px; max-height: 400px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
}

.section--tour { border-top: 1px solid var(--line); }
.tour { display: grid; gap: clamp(3rem, 8vw, 5.5rem); max-width: 980px; margin: 0 auto; }
.tour__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.tour__row .phone { justify-self: center; }
.tour__row:nth-child(even) .phone { order: 2; }
.tour__text h3 { font: 400 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .8rem; }
.tour__text p { margin: 0; color: var(--dim); font-size: 1.05rem; max-width: 30rem; }
.tour__more { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 250px)); justify-content: center; gap: 2rem; margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.tour__more figure { margin: 0; }
.tour__more figcaption { margin-top: .9rem; text-align: center; color: var(--dim); font-size: .95rem; }
@media (max-width: 760px) {
  .tour__row { grid-template-columns: 1fr; gap: 1.4rem; }
  .tour__row .phone, .tour__row:nth-child(even) .phone { order: 2; max-width: 260px; }
  .tour__text { text-align: center; }
  .tour__text p { margin: 0 auto; }
}

/* Cloudflare Turnstile on the public forms: room kept for it so the button does not jump when it appears. */
.cf-turnstile { min-height: 65px; margin: .2rem 0 .4rem; }

/* ---- Free or Pro (hunters page) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.compare-wrap { max-width: 56rem; margin: 0 auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .97rem; }
.compare th, .compare td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font: 600 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line-2); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.compare td { color: var(--dim); width: 38%; }
.compare .compare__pro { background: rgba(217, 178, 106, .06); color: var(--ink); border-left: 1px solid rgba(217, 178, 106, .35); border-right: 1px solid rgba(217, 178, 106, .35); }
.compare thead .compare__pro { color: var(--gold); border-top: 1px solid rgba(217, 178, 106, .35); border-radius: 12px 12px 0 0; }
.compare tbody tr:last-child .compare__pro { border-bottom: 1px solid rgba(217, 178, 106, .35); border-radius: 0 0 12px 12px; }
.compare__no { color: var(--muted); font-size: .9rem; }
.compare__yes { width: 20px; height: 20px; color: var(--gold); vertical-align: -4px; }
@media (max-width: 600px) {
  .compare { font-size: .88rem; }
  .compare th, .compare td { padding: .7rem .55rem; }
  .compare tbody th { width: 28%; }
}

/* ---- The owner's legal pages (legal-page.php). Their words are kept as written; only the look is the site's. */
.legal { max-width: 50rem; }
.legal h1 { font: 700 clamp(1.8rem, 4.6vw, 2.5rem)/1.2 var(--body); text-transform: none; letter-spacing: 0; color: var(--ink); margin: 0 0 .5rem; }
.legal h2 { font: 700 clamp(1.15rem, 2.6vw, 1.4rem)/1.3 var(--body); text-transform: none; letter-spacing: 0; color: var(--ink);
  margin: 2.4rem 0 .6rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.05rem; color: var(--ink); margin: 1.6rem 0 .4rem; }
.legal p, .legal li { line-height: 1.7; overflow-wrap: anywhere; }
.legal strong { color: var(--ink); }
.legal a { color: var(--gold); }
.legal > p:first-of-type em, .legal h1 + p em { color: var(--muted); }
.legal table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: .94rem; margin: 1rem 0 1.4rem; }
.legal th, .legal td { border: 1px solid var(--line-2); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.legal th { background: var(--panel); color: var(--ink); }
/* Placeholders for the owner to fill in: yellow, as on their own pages. */
.legal .ph { background: #fbefc9; color: #23261f; padding: 0 .3em; border-radius: 3px; }
.legal .cards { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; }
.legal .cards li { margin: 0; }
.legal .cards a { display: block; height: 100%; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  color: var(--ink); font-weight: 600; text-decoration: none; }
.legal .cards a:hover { border-color: var(--gold); }
.legal .cards span { display: block; margin-top: .35rem; color: var(--dim); font-weight: 400; font-size: .88rem; line-height: 1.5; }
.legal__foot { margin-top: 3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
