@font-face {
  font-family: "Hottub Thermae";
  src: url("/_fonts/thermae-latin-282cc5fbf4.woff2") format("woff2");
  font-weight: 300 800;
  font-stretch: 85% 115%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hottub Thermae Mono";
  src: url("/_fonts/thermae-mono-b960464c23.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Official Hottub Brand Palette (warm ceramic cream, sandstone, mineral steam,
   spruce ink, hot-spring teal, warm coral, golden sun, terracotta primary CTAs) */
:root {
  color-scheme: light;
  --bg: #fbf7f1;
  --sand: #f4ece1;
  --foot: #f2e9dd;
  --steam: #eaf4f5;
  --warm-tint: #fff3e8;
  --card: #ffffff;
  --ink: #11302f;
  --text: #3c504e;
  --muted: #566866;
  --line: rgba(17, 48, 47, 0.12);
  --line-2: rgba(17, 48, 47, 0.22);
  --teal: #115e6e;
  --teal-2: #1b8a9e;
  --teal-3: #6fc4d2;
  --coral: #f26d4a;
  --coral-ink: #c94a28;
  --sun: #ffb84d;
  --act: #ad3b24;
  --act-2: #8f2e19;
  --deep: #0f2b2d;
  --ok: #156d49;
  --ok-soft: #e3f5ec;
  --warn: #8a5200;
  --warn-soft: #fff2d6;
  --danger: #b52b27;
  --danger-soft: #fdecea;
  --r: 20px;
  --r-sm: 14px;
  --r-lg: 28px;
  --sh-1: 0 1px 2px rgba(12, 59, 70, 0.06), 0 6px 18px -10px rgba(12, 59, 70, 0.16);
  --sh-h: 0 2px 6px -2px rgba(12, 59, 70, 0.08), 0 22px 44px -24px rgba(12, 59, 70, 0.34);
  --sh-2: 0 34px 70px -38px rgba(12, 59, 70, 0.45);
  --max: 1140px;
  --g: clamp(16px, 4vw, 32px);
  --sans: "Hottub Thermae", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Hottub Thermae Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 1.03rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { flex: 1; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.16;
  text-wrap: balance;
}
h1 { font-weight: 560; }
p { margin: 0 0 14px; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong, b { color: var(--ink); font-weight: 600; }
code, pre, textarea.code {
  font-family: var(--mono);
  font-size: 0.88em;
}
:not(pre) > code {
  background: var(--sand);
  color: var(--ink);
  padding: 2px 7px;
  border-radius: 7px;
  border: 1px solid var(--line);
}
::selection { background: rgba(242, 109, 74, 0.22); color: var(--ink); }
a {
  color: var(--teal);
  text-decoration: none;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.07em;
}
a:hover { color: var(--act); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; }

.wrap {
  width: min(100% - 2 * var(--g), var(--max));
  margin-inline: auto;
}
.page-main { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 88px); }

/* Sticky Hottub Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 241, 0.92);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  width: min(100% - 2 * var(--g), var(--max));
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: 1.18rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-sub {
  font-weight: 450;
  color: var(--muted);
  font-size: 0.96rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav > a:not(.btn) {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.nav > a:not(.btn):hover {
  background: rgba(17, 94, 110, 0.08);
  color: var(--teal);
  text-decoration: none;
}
.nav-sep {
  width: 1px;
  height: 24px;
  background: var(--line);
  margin: 0 6px;
}
@media (max-width: 720px) { .nav-sep { display: none; } }

/* Buttons — Signature Hottub Pill Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--act);
  color: #fff;
  font: 600 0.95rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(143, 46, 25, 0.22), 0 8px 18px -10px rgba(173, 59, 36, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background-color 0.16s, border-color 0.16s, box-shadow 0.16s, transform 0.16s, color 0.16s;
}
.btn:hover {
  background: var(--act-2);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:active { transform: none; }
.btn.secondary {
  background: #fff;
  color: var(--teal);
  border-color: rgba(17, 94, 110, 0.26);
  box-shadow: none;
}
.btn.secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: #fff;
  box-shadow: var(--sh-1);
}
.btn.danger {
  background: var(--danger);
  border-color: var(--danger);
  box-shadow: none;
}
.btn.danger:hover { background: #96221f; }
.btn.sm { min-height: 38px; padding: 7px 15px; font-size: 0.88rem; }

/* Warm Hottub Hero Aura */
.hero-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 76px) clamp(36px, 5vw, 60px);
}
.hero-band::before {
  content: "";
  position: absolute;
  inset: -24% -10% auto auto;
  width: min(68vw, 780px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 77, 0.28) 0, rgba(242, 109, 74, 0.11) 38%, rgba(242, 109, 74, 0) 68%);
  pointer-events: none;
}
.hero-band::after {
  content: "";
  position: absolute;
  inset: 14% auto auto -14%;
  width: min(50vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 138, 158, 0.12) 0, rgba(27, 138, 158, 0) 64%);
  pointer-events: none;
}
.hero-in { position: relative; z-index: 1; max-width: 780px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--steam);
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-in h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  line-height: 1.07;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.hero-in .lede {
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  line-height: 1.55;
  color: var(--text);
  max-width: 60ch;
  margin-bottom: 26px;
}

/* Hottub Pill Domain Onboarding Bar */
.domain-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 640px;
  padding: 6px 6px 6px 20px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  box-shadow: var(--sh-1);
  transition: border-color 0.16s, box-shadow 0.16s;
}
.domain-bar:focus-within {
  border-color: var(--teal-2);
  box-shadow: 0 0 0 4px rgba(27, 138, 158, 0.16), var(--sh-1);
}
.domain-prefix {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.95rem;
  user-select: none;
}
.domain-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 500 1.02rem/1.3 var(--sans);
  padding: 10px 4px;
  margin: 0;
  outline: none;
}
.domain-bar input::placeholder { color: #6f7f7d; }
.domain-bar .btn { flex: none; min-height: 46px; }
@media (max-width: 580px) {
  .domain-bar { border-radius: 22px; flex-wrap: wrap; padding: 12px 14px; }
  .domain-bar .btn { width: 100%; }
}
.hero-sub {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 0.93rem;
  color: var(--muted);
}
.hero-sub a { font-weight: 600; }

/* Sections & Surfaces */
.band { padding-block: clamp(36px, 5vw, 64px); }
.band-sand { background: var(--sand); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: 24px; max-width: 660px; }
.sec-head h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); margin-bottom: 8px; }
.sec-head p { color: var(--muted); font-size: 1.02rem; }

.hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--sh-1);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(1.65rem, 3vw, 2.25rem); margin-bottom: 10px; }
.hero p { color: var(--text); max-width: 68ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-bottom: 22px;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); margin-bottom: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.2vw, 24px); }
@media (max-width: 860px) { .two-col, .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: var(--sh-1);
  margin-bottom: 20px;
}
.grid .card, .grid-2 .card, .grid-3 .card, .two-col .card { margin-bottom: 0; }
.card h2 { font-size: 1.24rem; margin-bottom: 10px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }

/* Hottub Rounded Icon Tiles */
.ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin-bottom: 16px;
  color: var(--teal);
  background: linear-gradient(180deg, rgba(27, 138, 158, 0.08), rgba(27, 138, 158, 0.16));
  box-shadow: inset 0 0 0 1px rgba(17, 94, 110, 0.12);
}
.ico-coral {
  color: var(--act);
  background: linear-gradient(180deg, rgba(242, 109, 74, 0.09), rgba(242, 109, 74, 0.18));
  box-shadow: inset 0 0 0 1px rgba(173, 59, 36, 0.12);
}
.ico-sun {
  color: var(--warn);
  background: linear-gradient(180deg, rgba(255, 184, 77, 0.16), rgba(255, 184, 77, 0.28));
  box-shadow: inset 0 0 0 1px rgba(138, 82, 0, 0.14);
}
.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 14px;
}

/* Warm CTA Panel */
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 48px);
  background:
    radial-gradient(120% 140% at 100% 0, rgba(255, 184, 77, 0.36) 0, rgba(255, 184, 77, 0) 48%),
    radial-gradient(90% 120% at 0 100%, rgba(27, 138, 158, 0.18) 0, rgba(27, 138, 158, 0) 54%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.cta-panel h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.cta-panel p { max-width: 54ch; color: var(--text); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

/* Dashboard KPIs & Navigation Tabs */
.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.page-head h1 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
.kpi-val {
  font-size: 1.85rem;
  font-weight: 650;
  color: var(--ink);
  margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
}
.meta { color: var(--muted); font-size: 0.9rem; }

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.tab {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.tab:hover { background: rgba(17, 94, 110, 0.09); color: var(--teal); text-decoration: none; }
.tab.active { background: var(--ink); color: #fff; }
.tab.active:hover { background: var(--ink); color: #fff; }

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.blocker, .badge.high { background: var(--danger-soft); color: var(--danger); }
.badge.medium { background: var(--warn-soft); color: var(--warn); }
.badge.tip { background: var(--steam); color: var(--teal); }

/* Forms & Inputs */
input[type="text"], input[type="url"], select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 400 0.96rem/1.45 var(--sans);
  margin-bottom: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input[type="text"]:focus, input[type="url"]:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal-2);
  box-shadow: 0 0 0 3px rgba(27, 138, 158, 0.18);
}
.domain-bar input[type="text"],
.domain-bar input[type="text"]:focus {
  width: auto;
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 500 1.02rem/1.3 var(--sans);
  padding: 10px 6px;
  margin: 0;
  box-shadow: none;
  outline: none;
}
label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; font-variant-numeric: tabular-nums; }
th, td {
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg);
}
tr:last-child td { border-bottom: 0; }

/* Action Cards & Diagnostics */
.action-card {
  border-left: 4px solid var(--teal);
  background: var(--bg);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.action-card.blocker, .action-card.high { border-left-color: var(--danger); background: #fff7f6; }
.action-card.medium { border-left-color: var(--sun); background: #fffaf0; }
.action-card.tip { border-left-color: var(--teal-2); background: var(--steam); }
.act-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.remediation { margin: 8px 0 0; font-size: 0.91rem; color: var(--ink); }

.lint-summary { margin-bottom: 14px; }
.lint-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; }

.traffic-svg { width: 100%; height: auto; display: block; }
.traffic-svg .grid { stroke: #e5dccf; stroke-dasharray: 3 3; }
.traffic-svg .axis { stroke: #b8afa0; }
.traffic-svg .axis-lbl { font-size: 11px; fill: #566866; }

.proof-box {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 6px 0 14px;
  overflow-x: auto;
}
.proof-box code { background: transparent; border: 0; padding: 0; }

.flash {
  padding: 13px 18px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: var(--steam);
  border: 1px solid rgba(17, 94, 110, 0.22);
  color: var(--ink);
  font-size: 0.95rem;
}

.clean-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.clean-list li { padding: 8px 12px; background: var(--bg); border-radius: 10px; border: 1px solid var(--line); }

/* Hottub Sandstone Footer */
.site-footer {
  margin-top: auto;
  background: var(--foot);
  border-top: 1px solid var(--line);
  padding: 40px 0 32px;
  font-size: 0.92rem;
}
.ft-grid {
  width: min(100% - 2 * var(--g), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 780px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
.ft-brand strong { display: block; font-size: 1.05rem; margin-bottom: 6px; color: var(--ink); }
.ft-brand p { color: var(--muted); max-width: 34ch; font-size: 0.9rem; }
.ft-col h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 10px;
}
.ft-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ft-col a { color: var(--text); }
.ft-col a:hover { color: var(--act); }
.ft-legal {
  width: min(100% - 2 * var(--g), var(--max));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
