:root {
  --hub-ink: #2a2226;
  --hub-paper: #fffefa;
  --hub-signal: #a6335d;
  --hub-proof: #54705f;
  --hub-boundary: #c28a2c;
  --hub-rule: #d2cbc1;
  --hub-muted: #6d6464;
  --hub-tint: #f5f0eb;
  --hub-panel: #ffffff;
  --hub-accent: var(--hub-signal);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--hub-paper);
  color: var(--hub-ink);
}

.hub-theme--plum { --hub-accent: #a6335d; }
.hub-theme--moss { --hub-accent: #54705f; }
.hub-theme--amber { --hub-accent: #8f5b10; }
.hub-theme--brick { --hub-accent: #a34432; }
.hub-theme--slate { --hub-accent: #446477; }
.hub-theme--violet { --hub-accent: #655392; }

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 86% 3%, color-mix(in srgb, var(--hub-accent) 12%, transparent), transparent 28rem),
    var(--hub-paper);
  color: var(--hub-ink);
  line-height: 1.6;
}

img { max-width: 100%; }

a { color: var(--hub-proof); }

a:hover { color: var(--hub-signal); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--hub-boundary);
  outline-offset: 4px;
}

.hub-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hub-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--hub-rule) 72%, transparent);
}

.hub-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--hub-ink);
  font-weight: 800;
  text-decoration: none;
}

.hub-brand img {
  width: 36px;
  height: 36px;
  border: 1px solid var(--hub-rule);
  border-radius: 6px;
}

.hub-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
}

.hub-nav__links a {
  color: var(--hub-muted);
  text-decoration: none;
}

.hub-kicker,
.hub-label,
.hub-price small,
.hub-fact dt,
.hub-proofline span,
.hub-status {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
  min-height: 680px;
  padding: 76px 0 84px;
}

.hub-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--hub-proof);
  font-size: 0.76rem;
  font-weight: 800;
}

.hub-kicker::before {
  width: 30px;
  height: 2px;
  content: "";
  background: var(--hub-accent);
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-family: "Arial Narrow", "Avenir Next Condensed", Impact, sans-serif;
  font-size: clamp(3.35rem, 7.3vw, 6.9rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

h2 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h3 { line-height: 1.2; }

.hub-lede {
  max-width: 720px;
  margin-bottom: 30px;
  color: #554c50;
  font-size: clamp(1.07rem, 1.6vw, 1.28rem);
}

.hub-offer {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 28px 0 14px;
}

.hub-price {
  display: grid;
  min-width: 142px;
  padding-right: 20px;
  border-right: 1px solid var(--hub-rule);
  font-size: 2.2rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hub-price small {
  margin-top: 7px;
  color: var(--hub-muted);
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.hub-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid var(--hub-ink);
  border-radius: 4px;
  background: var(--hub-ink);
  color: var(--hub-paper);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.hub-button:hover {
  transform: translateY(-2px);
  background: var(--hub-signal);
  color: white;
}

.hub-button:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.hub-button--quiet {
  background: transparent;
  color: var(--hub-ink);
}

.hub-fineprint {
  max-width: 660px;
  color: var(--hub-muted);
  font-size: 0.82rem;
}

.hub-status {
  min-height: 1.4rem;
  margin: 10px 0 0;
  color: var(--hub-muted);
  font-size: 0.7rem;
}

.hub-status[data-kind="error"] { color: #982d32; }
.hub-status[data-kind="success"] { color: var(--hub-proof); }
.hub-status[data-kind="warning"] { color: #855d12; }

.hub-shot {
  position: relative;
  align-self: start;
  margin: 0;
  padding: 14px;
  border: 1px solid #bdb3aa;
  border-radius: 10px;
  background: #efeae4;
  box-shadow: 24px 28px 0 color-mix(in srgb, var(--hub-accent) 13%, transparent);
  transform: rotate(0.7deg);
  height: auto;
  min-height: 0;
}

.hub-shot::before {
  display: block;
  height: 18px;
  margin: -2px 0 10px;
  content: "●  ●  ●";
  color: #9d9188;
  font-size: 0.68rem;
  letter-spacing: 0.35rem;
}

.hub-shot__frame {
  position: relative;
  display: block;
  overflow: hidden;
  /* The preview image is the source of truth for the frame height.  Keep an
     explicit reset here so an older cached rule cannot stretch a short image
     into a tall, mostly blank browser mockup. */
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  background: linear-gradient(135deg, #e9e2da, #f7f3ee 52%, #e3e9e5);
}

.hub-shot__loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: color-mix(in srgb, #efeae4 92%, transparent);
  color: var(--hub-muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: center;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.hub-shot__frame[data-preview-state="ready"] .hub-shot__loading,
.hub-shot__frame[data-preview-state="error"] .hub-shot__loading {
  opacity: 0;
  visibility: hidden;
}

.hub-shot__frame[data-preview-state="error"]::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  content: "Preview unavailable";
  color: #982d32;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.hub-shot img {
  display: block;
  width: 100%;
  /* The evidence frame must size the card; never letterbox it inside a taller mock window. */
  height: auto !important;
  inline-size: 100%;
  block-size: auto !important;
  min-height: 0;
  max-height: none !important;
  aspect-ratio: auto;
  border: 1px solid #c7bdb5;
  border-radius: 3px;
  background: white;
}

.hub-shot figcaption {
  padding: 12px 2px 1px;
  color: var(--hub-muted);
  font-size: 0.76rem;
}

.hub-proofline {
  border-block: 1px solid var(--hub-rule);
  background: rgba(255, 255, 255, 0.62);
}

.hub-proofline__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hub-proofline div {
  padding: 22px 22px 22px 0;
  border-right: 1px solid var(--hub-rule);
}

.hub-proofline div + div { padding-left: 22px; }
.hub-proofline div:last-child { border-right: 0; }

.hub-proofline span {
  display: block;
  color: var(--hub-muted);
  font-size: 0.65rem;
}

.hub-proofline strong { font-size: 0.94rem; }

.hub-section { padding: clamp(72px, 9vw, 120px) 0; }

.hub-section--tint {
  border-block: 1px solid var(--hub-rule);
  background: var(--hub-tint);
}

.hub-section__head {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 46px;
}

.hub-label {
  margin: 8px 0 0;
  color: var(--hub-accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--hub-rule);
  background: var(--hub-rule);
}

.hub-card {
  min-height: 210px;
  padding: 28px;
  background: var(--hub-panel);
}

.hub-card__number {
  display: block;
  margin-bottom: 48px;
  color: var(--hub-accent);
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
}

.hub-card h3 { margin-bottom: 10px; }
.hub-card p { margin-bottom: 0; color: var(--hub-muted); }

.hub-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.hub-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hub-rule);
}

.hub-list li {
  position: relative;
  padding: 17px 8px 17px 32px;
  border-bottom: 1px solid var(--hub-rule);
}

.hub-list li::before {
  position: absolute;
  top: 20px;
  left: 4px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--hub-proof);
  border-radius: 50%;
  content: "";
}

.hub-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--hub-rule);
}

.hub-fact {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hub-rule);
}

.hub-fact dt {
  color: var(--hub-muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.hub-fact dd { margin: 0; }

.hub-fact code,
.hub-checksum {
  overflow-wrap: anywhere;
  color: var(--hub-ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
}

.hub-warning {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 4px solid var(--hub-boundary);
  background: #fff9e9;
  color: #54441d;
}

.hub-steps {
  margin: 0;
  padding-left: 1.2rem;
}

.hub-steps li { padding: 8px 0 8px 8px; }

.hub-recovery {
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--hub-rule);
  background: var(--hub-ink);
  color: var(--hub-paper);
}

.hub-recovery h2 { max-width: 720px; }

.hub-recovery p { color: rgba(255, 254, 250, 0.72); }

.hub-recovery form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 680px;
}

.hub-recovery form > label,
.hub-recovery form > .hub-status {
  grid-column: 1 / -1;
}

.hub-recovery .hub-fineprint,
.hub-recovery .hub-status {
  color: #fffefa;
}

.hub-recovery .hub-status[data-kind="error"] { color: #ffb8bd; }
.hub-recovery .hub-status[data-kind="success"] { color: #bfe8cd; }
.hub-recovery .hub-status[data-kind="warning"] { color: #ffe09a; }

.hub-recovery input {
  min-width: 0;
  flex: 1;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  background: white;
  color: var(--hub-ink);
  font: inherit;
}

.hub-recovery .hub-button {
  border-color: var(--hub-signal);
  background: var(--hub-signal);
}

.hub-faq details {
  border-top: 1px solid var(--hub-rule);
}

.hub-faq details:last-child { border-bottom: 1px solid var(--hub-rule); }

.hub-faq summary {
  padding: 20px 4px;
  font-weight: 760;
  cursor: pointer;
}

.hub-faq details p { max-width: 820px; color: var(--hub-muted); }

.hub-footer {
  padding: 42px 0;
  border-top: 1px solid var(--hub-rule);
  color: var(--hub-muted);
  font-size: 0.82rem;
}

.hub-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.hub-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

.hub-success {
  display: grid;
  min-height: calc(100svh - 150px);
  place-items: center;
  padding: 70px 0;
}

.hub-success__panel {
  width: min(760px, 100%);
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--hub-rule);
  background: white;
  box-shadow: 18px 18px 0 color-mix(in srgb, var(--hub-proof) 13%, transparent);
}

.hub-success__panel code {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px;
  background: var(--hub-tint);
  font-size: 0.76rem;
}

@media (max-width: 860px) {
  .hub-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 54px; }
  .hub-shot { max-width: 680px; transform: none; }
  .hub-proofline__inner { grid-template-columns: 1fr 1fr; }
  .hub-proofline div:nth-child(2) { border-right: 0; }
  .hub-proofline div:nth-child(n+3) { border-top: 1px solid var(--hub-rule); }
  .hub-grid { grid-template-columns: 1fr 1fr; }
  .hub-split, .hub-section__head { grid-template-columns: 1fr; }
  .hub-label { margin-top: 0; }
}

@media (max-width: 600px) {
  .hub-shell { width: min(100% - 28px, 1180px); }
  .hub-nav { align-items: flex-start; }
  .hub-nav__links { justify-content: flex-end; font-size: 0.75rem; }
  .hub-nav__links a:first-child { display: none; }
  h1 { font-size: clamp(3rem, 17vw, 4.7rem); }
  .hub-offer { align-items: stretch; }
  .hub-price { width: 100%; padding: 0 0 15px; border-right: 0; border-bottom: 1px solid var(--hub-rule); }
  .hub-button { width: 100%; }
  .hub-proofline__inner, .hub-grid { grid-template-columns: 1fr; }
  .hub-proofline div { padding: 16px 0; border-right: 0; }
  .hub-proofline div + div { padding-left: 0; border-top: 1px solid var(--hub-rule); }
  .hub-card { min-height: 0; }
  .hub-card__number { margin-bottom: 24px; }
  .hub-fact { grid-template-columns: 1fr; gap: 5px; }
  .hub-recovery { padding: 22px; }
  .hub-recovery form { grid-template-columns: 1fr; }
}

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