/* Practical Precision: howtohosta.website */
:root {
  --ink: #171a18;
  --paper: #f4f6f3;
  --paper-raised: #ffffff;
  --kraft: #e3e7e1;
  --signal: #d95d20;
  --signal-text: #a64013;
  --signal-dark: #a64013;
  --signal-dim: #fff0e8;
  --line: #d5dbd4;
  --muted: #626c65;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --display: "Geist", Arial, Helvetica, sans-serif;
  --body: "Geist", Arial, Helvetica, sans-serif;
  --radius-card: 14px;
  --radius-control: 9px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background:
    radial-gradient(circle at 84% -10%, rgba(217, 93, 32, .065), transparent 30rem),
    var(--paper) !important;
  color: var(--ink) !important;
  font-family: var(--body) !important;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--signal); color: #fff; }
.wrap { width: min(1200px, calc(100% - 40px)); max-width: none; margin-inline: auto; padding-inline: 0; }
a { text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: rgba(255, 255, 255, .9) !important;
  backdrop-filter: blur(16px) saturate(135%);
}
.header-row { min-height: 68px; padding: 0 !important; }
.wordmark {
  color: var(--ink);
  font-family: var(--display) !important;
  font-size: 1rem !important;
  font-weight: 750 !important;
  letter-spacing: -.035em !important;
}
.wordmark span { color: var(--signal-text); }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a {
  margin: 0 !important;
  padding: 8px 0 !important;
  border: 0 !important;
  color: #515b54;
  font-family: var(--body) !important;
  font-size: .84rem !important;
  font-weight: 600;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.site-header nav a:hover,
.site-header nav a:focus-visible { color: var(--signal-text); }
.site-header nav .nav-quiz { color: var(--signal-text); }

h1, h2, h3 { color: var(--ink); font-family: var(--display) !important; text-wrap: balance; }
h1 { font-weight: 760 !important; letter-spacing: -.052em !important; line-height: 1.02 !important; }
h2 { letter-spacing: -.035em; }
p { text-wrap: pretty; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr);
  column-gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding-block: clamp(72px, 9vw, 116px) !important;
}
.hero > h1, .hero > .lede, .hero > .hero-actions, .hero > .hero-subtext { grid-column: 1; }
.hero > h1 { grid-row: 1; max-width: 13ch; margin-bottom: 24px; font-size: clamp(2.8rem, 5.8vw, 5.2rem); }
.hero > .lede { grid-row: 2; max-width: 62ch; color: var(--muted); font-size: 1.08rem; }
.hero > .hero-actions { grid-row: 3; }
.hero > .hero-subtext { grid-row: 4; color: var(--muted); }
.label-stamp {
  grid-column: 2;
  grid-row: 1 / 5;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px;
  transform: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper-raised);
  box-shadow: 0 18px 45px rgba(24, 31, 26, .07);
}
.label-row { border-color: var(--line); font-size: .72rem; }
.label-row span { color: var(--signal-text); }
.barcode { opacity: .72; }

.btn,
.q-option,
button,
input { border-radius: var(--radius-control) !important; }
.btn {
  padding: 12px 19px;
  border-width: 1px;
  font-family: var(--body) !important;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #303632; border-color: #303632; }
.btn-signal { background: var(--signal-dark); border-color: var(--signal-dark); color: #fff; }
.btn-signal:hover { background: #8e350f; border-color: #8e350f; }
.btn-ghost { border-color: var(--line); background: var(--paper-raised); }
.btn-ghost:hover { background: var(--signal-dim); border-color: #edb89e; }
.btn:active, button:active { transform: translateY(1px); }

.guides, .compare, .about { padding-inline: 0 !important; }
.guides { padding-block: 66px 18px !important; }
.section-eyebrow {
  margin-bottom: 24px;
  padding-top: 12px;
  border-color: var(--line);
  border-width: 1px;
  color: var(--muted);
  font-family: var(--body) !important;
  font-size: .76rem;
  font-weight: 750;
}
.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border: 0;
  background: transparent;
}
.guide-card {
  min-height: 176px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper-raised);
}
.guide-card:hover { border-color: #edb89e; background: #fffaf7; }
.guide-index { color: var(--signal-text); font-family: var(--body); font-weight: 700; }
.guide-card h3 { font-size: 1.18rem; letter-spacing: -.025em; }
.guide-card p { color: var(--muted); }

.compare { padding-block: 76px !important; }
.compare-note {
  max-width: 84ch;
  color: var(--muted);
  font-size: 1rem;
}
.pick-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper-raised);
}
.pick-meta { flex: 1 1 680px; min-width: 0; }
.pick-meta p { max-width: 84ch; }
.pick-card-second { margin-top: 14px; }
.pick-tag { color: var(--signal-text); font-family: var(--body); font-weight: 700; }
.affiliate-tag { border-radius: 4px; background: var(--signal-dark); }
.about {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
  padding-block: 10px 76px !important;
}
.about .section-eyebrow { margin: 0; }
.about p { max-width: 84ch; margin: 0; font-size: 1rem; }

.article {
  width: min(780px, calc(100% - 40px));
  padding: 64px 0 84px !important;
}
.article h1 { max-width: 17ch !important; font-size: clamp(2.4rem, 6vw, 4.35rem) !important; }
.article h2 { margin-top: 44px; padding-top: 0 !important; border: 0 !important; font-size: 1.65rem !important; }
.article h3 { font-size: 1.18rem; }
.article p, .article li { color: #424b45 !important; }
.breadcrumbs, .back-link { margin-bottom: 28px; color: var(--muted); font-size: .8rem; }
.breadcrumbs a, .back-link { color: #535d56; }
.kicker { color: var(--signal-text); font-family: var(--body); font-weight: 750; }
.updated-date { color: var(--muted); }
.callout {
  padding: 22px;
  border: 1px solid #edb89e;
  border-radius: var(--radius-card);
  background: var(--signal-dim);
}
.compare-table { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); }
.compare-table th { border-color: var(--line); background: #ecefeb; }
.compare-table td { border-color: var(--line); }

.quiz-page { width: min(720px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 84px; }
.quiz-page h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
.progress-bar { background: var(--line) !important; }
.progress-fill { background: var(--signal) !important; }
.q-number { color: var(--signal-text) !important; font-family: var(--body) !important; font-weight: 750; }
.q-text { font-family: var(--display) !important; letter-spacing: -.025em; }
.q-option { border: 1px solid var(--line) !important; background: #fff !important; }
.q-option:hover, .q-option:focus-visible { border-color: #e4946d !important; background: var(--signal-dim) !important; }
#resultCard { border: 1px solid var(--line) !important; border-radius: var(--radius-card) !important; background: #fff !important; }

.legal-page { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 84px; }
.legal-page h1 { margin: 0 0 10px; font-size: clamp(2.5rem, 7vw, 4.2rem); }
.legal-page h2 { margin: 42px 0 12px; font-size: 1.55rem; }
.legal-page p, .legal-page li { color: #424b45; }
.legal-page .updated { color: var(--muted); font-size: .85rem; }

.site-footer {
  padding: 30px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  background: transparent !important;
  color: var(--muted) !important;
  font-size: .78rem !important;
}
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--signal-text); }

:focus-visible { outline: 3px solid rgba(217, 93, 32, .32) !important; outline-offset: 3px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; row-gap: 38px; }
  .hero > h1, .hero > .lede, .hero > .hero-actions, .hero > .hero-subtext, .label-stamp { grid-column: 1; }
  .hero > h1 { grid-row: 1; }
  .hero > .lede { grid-row: 2; }
  .hero > .hero-actions { grid-row: 3; }
  .hero > .hero-subtext { grid-row: 4; }
  .label-stamp { grid-row: 5; max-width: 520px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { display: block; }
  .about .section-eyebrow { margin-bottom: 24px; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1200px); }
  .header-row { min-height: 62px; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: .75rem !important; }
  .site-header nav a:nth-child(3) { display: none; }
  .hero { padding-block: 52px 64px !important; }
  .hero > h1 { font-size: 2.8rem; }
  .guide-grid { grid-template-columns: 1fr; }
  .article, .quiz-page, .legal-page { width: min(100% - 28px, 780px); padding-block: 46px 64px !important; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
