/* Voltax design system — Airbnb-inspired: warm, rounded, friendly, generous
   whitespace, soft shadows, one electric accent. Shared chrome (.site-nav,
   .container, .site-foot) is used identically by the home page AND the guides
   so the two are perfectly consistent. */
:root {
  --ink: #222222;
  --muted: #717171;
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --line: #ebebeb;
  --card: #ffffff;
  --accent: #0a8f5f;
  --accent-press: #07744b;
  --accent-tint: #e9f7f0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.14);
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui,
    sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2f2;
    --muted: #9b9b9b;
    --bg: #0e0e10;
    --bg-alt: #161618;
    --line: #2a2a2e;
    --card: #1a1a1d;
    --accent: #2bcf86;
    --accent-press: #57da9e;
    --accent-tint: #122a20;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 22px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 6px 22px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.6);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── shared layout primitives ────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow.center,
.center {
  text-align: center;
}
.fine {
  font-size: 13.5px;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}

/* ── shared nav (home + guides) ──────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner,
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-decoration: none;
}
.bolt {
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--accent);
}
/* Wrapper around the auth links (Sign in / Connect) so nav.js can swap them as a
   unit without becoming a flex item itself — keeps the nav's gap intact. */
.nav-auth {
  display: contents;
}

/* ── buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  border: 0;
  border-radius: 980px;
  padding: 15px 30px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  background: var(--accent-press);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
}
.btn-sm {
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 980px;
  text-decoration: none;
}
.btn-sm:hover {
  background: var(--accent-press);
}

/* ── hero (connect-bar direction) ────────────────────────────────── */
.hero {
  text-align: center;
}
.hero-inner {
  max-width: 820px;
  padding-top: 80px;
  padding-bottom: 64px;
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 58px);
  line-height: 1.07;
  letter-spacing: -1.4px;
  font-weight: 800;
  margin-bottom: 18px;
}
.lede {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--muted);
  margin: 0 auto 32px;
  max-width: 30ch;
}

/* the focal "connect" bar — Airbnb search-bar energy */
.connect-bar {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 980px;
  box-shadow: var(--shadow-md);
  padding: 10px 12px 10px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.connect-bar:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.cb-icon {
  font-size: 24px;
}
.cb-label {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
.cb-label b {
  font-size: 17px;
  font-weight: 600;
}
.cb-label small {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.cb-go {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex: none;
}
.connect-bar:hover .cb-go {
  background: var(--accent-press);
}
.hero .fine {
  margin-top: 16px;
}

/* hero sample report card */
.hero-mock {
  margin: 44px auto 0;
  width: 100%;
  max-width: 400px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  text-align: left;
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mock-dots {
  display: inline-flex;
  gap: 5px;
}
.mock-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.mock-title {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.mock-amount {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 18px 0 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.mock-amount small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.mock-row {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.mock-row:last-child {
  border-bottom: 0;
}
.mock-row b {
  font-variant-numeric: tabular-nums;
}
.mock-row.dim {
  color: var(--muted);
}
.mock-foot {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
}

/* ── content bands ───────────────────────────────────────────────── */
.band {
  padding: 84px 0;
}
.band.alt {
  background: var(--bg-alt);
}
.band-title {
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.8px;
  font-weight: 800;
  text-align: center;
  max-width: 20ch;
  margin: 0 auto 48px;
}
.band-title.left {
  text-align: left;
  margin-left: 0;
}
.steps,
.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 20px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}
.why {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.muted-lg {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.checks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}
.checks li {
  position: relative;
  padding-left: 34px;
  font-size: 16.5px;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── functional report view ──────────────────────────────────────── */
.report {
  padding: 64px 0 88px;
}
.report-inner {
  max-width: 760px;
  margin: 0 auto;
}
#headline {
  font-size: clamp(30px, 4.6vw, 46px);
  letter-spacing: -1px;
  font-weight: 800;
  text-align: center;
}
.report-sub {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin-top: 6px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin: 26px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  font-weight: 600;
  background: var(--bg-alt);
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr {
  transition: background 0.12s ease;
}
tbody tr:hover {
  background: var(--accent-tint);
}
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.biz {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}
#export {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
#email {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 980px;
  font-size: 15px;
  background: var(--card);
  color: var(--ink);
}
#email:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
}

/* ── upgrade upsell (shown on the report after a real total) ───────── */
.upgrade {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-tint);
}
.upgrade-title {
  font-size: 22px;
  letter-spacing: -0.4px;
  text-align: center;
  margin: 4px 0 8px;
}
.upgrade-row {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 18px auto 6px;
}
.upgrade-row input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 980px;
  font-size: 15px;
  background: var(--card);
  color: var(--ink);
}
.upgrade-row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.upgrade-row .btn {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .upgrade-row {
    flex-direction: column;
  }
}

/* ── guide cards ─────────────────────────────────────────────────── */
.guide-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.guide-card h3 {
  font-size: 19px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.guide-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.guide-card .arrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}

/* ── shared footer ───────────────────────────────────────────────── */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.foot-inner {
  flex-wrap: wrap;
  gap: 10px;
}
.foot-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.foot-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.foot-links a:hover {
  color: var(--accent);
}

/* ── responsive ──────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .hero-inner {
    padding-top: 52px;
  }
  .steps,
  .guide-cards {
    grid-template-columns: 1fr;
  }
  .why {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .band-title.left {
    text-align: center;
  }
  .band {
    padding: 60px 0;
  }
  #export {
    flex-direction: column;
  }
  .nav-links {
    gap: 16px;
  }
}
@media (max-width: 460px) {
  .connect-bar {
    width: 100%;
    justify-content: space-between;
  }
}

/* ── sign-in modal (injected by nav.js, shared by home + guides) ──────── */
.vx-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.vx-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.vx-modal__card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 30px 28px;
  position: relative;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.vx-modal.open .vx-modal__card {
  transform: none;
}
.vx-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
}
.vx-modal__close:hover {
  color: var(--ink);
}
.vx-modal__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.vx-modal h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 6px;
}
.vx-modal p.sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
}
.vx-modal form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vx-modal input[type='email'] {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 980px;
  font-size: 16px;
  font-family: inherit;
  background: var(--card);
  color: var(--ink);
}
.vx-modal input[type='email']:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.vx-modal .btn {
  width: 100%;
}
.vx-modal__msg {
  font-size: 13.5px;
  min-height: 18px;
  margin-top: 4px;
}
.vx-modal__msg.err {
  color: #c0392b;
}
.vx-modal__sent {
  text-align: center;
  padding: 6px 0 2px;
}
.vx-modal__sent .vx-modal__icon {
  margin: 0 auto 16px;
}
