*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--hx-bg);
  color: var(--hx-ink);
  font-family: var(--hx-font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--hx-accent); text-underline-offset: 2px; }
a:hover { color: #a82019; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; border-radius: 2px; }
code, pre, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
code { background: var(--hx-bg-soft); border: 1px solid var(--hx-border); border-radius: 4px; padding: 0.0625rem 0.375rem; font-size: 0.875em; overflow-wrap: anywhere; }

.skip { position: absolute; left: -999px; top: 0; background: var(--hx-ink); color: #fff; padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

/* header */
.top { border-bottom: 1px solid var(--hx-border); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; min-height: 3.5rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; color: var(--hx-ink); text-decoration: none; font-weight: 600; }
.brand img { width: 1.75rem; height: 1.75rem; display: block; }
.top nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 0.9375rem; }
.top nav a { color: var(--hx-ink-soft); text-decoration: none; }
.top nav a:hover { color: var(--hx-accent); }

/* hero */
.hero { padding: 3.5rem 0 3rem; background: var(--hx-bg-soft); border-bottom: 1px solid var(--hx-border); }
.hero .wrap { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
.eyebrow { margin: 0 0 0.75rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hx-accent); }
h1 { margin: 0 0 1rem; font-size: 2.25rem; line-height: 1.15; letter-spacing: -0.01em; }
.lede { margin: 0 0 1.5rem; font-size: 1.125rem; color: var(--hx-ink-soft); max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.btn { display: inline-block; padding: 0.75rem 1.25rem; border-radius: 6px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid var(--hx-accent); }
.btn-primary { background: var(--hx-accent); color: #fff; }
.btn-primary:hover { background: #a82019; border-color: #a82019; color: #fff; }
.btn-secondary { background: transparent; color: var(--hx-accent); }
.btn-secondary:hover { background: #fff; color: #a82019; border-color: #a82019; }
.facts { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.875rem; color: var(--hx-ink-soft); }
.facts li + li::before { content: "\00b7"; margin-right: 1rem; color: var(--hx-border); }

.console { margin: 0; border-radius: 8px; background: var(--hx-ink); color: #e6e9ee; overflow: hidden; border: 1px solid #0f1115; }
.console-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.875rem; background: #12151a; color: #9aa3b2; font-size: 0.75rem; }
.console-bar span { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: #3a4150; display: inline-block; }
.console pre { margin: 0; padding: 1rem; font-size: 0.8125rem; line-height: 1.6; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.console .p { color: #7ee787; }
.console .m { color: #9aa3b2; }
.console .ok { color: #79c0ff; }
.cap { margin: 0.5rem 0 0; font-size: 0.8125rem; color: var(--hx-ink-soft); }

/* sections */
section { padding: 3rem 0; }
section + section { border-top: 1px solid var(--hx-border); }
h2 { margin: 0 0 0.5rem; font-size: 1.5rem; line-height: 1.25; }
h3 { margin: 0 0 0.5rem; font-size: 1.0625rem; line-height: 1.3; }
.intro { margin: 0 0 1.5rem; color: var(--hx-ink-soft); max-width: 42rem; }
p, li { max-width: 46rem; }

.tablewrap { overflow-x: auto; border: 1px solid var(--hx-border); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 34rem; }
th, td { text-align: left; vertical-align: top; padding: 0.75rem 1rem; border-bottom: 1px solid var(--hx-border); }
tr:last-child td { border-bottom: 0; }
th { background: var(--hx-bg-soft); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--hx-ink-soft); }
td:first-child { white-space: nowrap; }

.editions { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.edition { border: 1px solid var(--hx-border); border-radius: 8px; padding: 1.5rem; background: #fff; }
.edition.pro { background: var(--hx-bg-soft); }
.tag { display: inline-block; margin-bottom: 0.75rem; padding: 0.125rem 0.625rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid var(--hx-border); background: #fff; color: var(--hx-ink-soft); }
.tag.now { color: #0b6b2c; border-color: #9fd3b0; background: #eef9f1; }
.edition ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.edition li { margin-bottom: 0.375rem; }
.edition .price { margin: 0; font-weight: 600; }
.edition .price span { font-weight: 400; color: var(--hx-ink-soft); }

ol.steps { margin: 0; padding-left: 1.25rem; }
ol.steps li { margin-bottom: 0.5rem; }
.sub { margin: 2rem 0 0.75rem; }

details { border-bottom: 1px solid var(--hx-border); padding: 0.875rem 0; max-width: 46rem; }
details:first-of-type { border-top: 1px solid var(--hx-border); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 0.5rem 0 0; color: var(--hx-ink-soft); }

.hx-footer p { margin: 0.375rem 0; max-width: none; }

@media (min-width: 48rem) {
  .hero { padding: 4.5rem 0 4rem; }
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; }
  h1 { font-size: 2.75rem; }
  .editions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { padding: 4rem 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 47.99rem) {
  table { min-width: 0; }
  thead { position: absolute; left: -999px; }
  tr, td { display: block; }
  tr { border-bottom: 1px solid var(--hx-border); padding: 0.5rem 0; }
  tr:last-child { border-bottom: 0; }
  th, td { border-bottom: 0; }
  td { padding: 0.125rem 1rem; }
  td:first-child { white-space: normal; padding-top: 0.5rem; }
  td[data-label]::before { content: attr(data-label) ": "; color: var(--hx-ink-soft); }
}

.narrow { max-width: 44rem; }
.narrow ol { padding-left: 1.25rem; }
.narrow li { margin-bottom: 0.5rem; }

/* guide article */
.article { padding: 2.5rem 0 3.5rem; }
.article h1 { max-width: 44rem; }
.article h2 { margin: 2.5rem 0 0.75rem; }
.article h2:first-of-type { margin-top: 2rem; }
.article ul, .article ol.steps { margin: 0; padding-left: 1.25rem; }
.article li { margin-bottom: 0.625rem; }
.article .tablewrap { margin: 1rem 0 0; }
.callout { margin-top: 3rem; padding: 1.5rem; border: 1px solid var(--hx-border); border-left: 4px solid var(--hx-accent); border-radius: 8px; background: var(--hx-bg-soft); }
.callout h2 { margin-top: 0; font-size: 1.25rem; }
.callout p { margin: 0 0 1rem; }
.callout p:last-child { margin-bottom: 0; }
.top nav a { display: inline-block; padding: 0.5rem 0; }

/* email capture */
.capture label { display: block; margin: 0 0 0.375rem; font-weight: 600; }
.capture-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.capture input[type="email"] { flex: 1 1 16rem; min-width: 0; min-height: 3rem; padding: 0.5rem 0.875rem; font: inherit; color: var(--hx-ink); background: #fff; border: 2px solid var(--hx-border); border-radius: 6px; }
.capture input[type="email"]:focus-visible { outline: 3px solid var(--hx-accent); outline-offset: 2px; border-color: var(--hx-accent); }
.capture .btn { min-height: 3rem; cursor: pointer; font-family: inherit; }
.capture .cap { margin-top: 0.75rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--hx-border); }
.signup h2 { margin-top: 0; font-size: 1.25rem; }
