/* VaultBTC home — scrollable page, natural card sizes */
:root, [data-theme="dark"] {
  --bg: #070b14;
  --bg2: #0e1524;
  --card: #121a2b;
  --border: rgba(255,255,255,0.09);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary: #0ea5e9;
  --primary2: #38bdf8;
  --orange: #f7931a;
  --green: #34d399;
  --laptop-body: #0f1218;
  --laptop-deck: linear-gradient(180deg, #252a36, #10131a);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
[data-theme="light"] {
  --bg: #eef2f7;
  --bg2: #e2e8f0;
  --card: #ffffff;
  --border: rgba(15,23,42,0.1);
  --text: #0f172a;
  --muted: #64748b;
  --primary: #0284c7;
  --primary2: #0ea5e9;
  --laptop-body: #dbe3ef;
  --laptop-deck: linear-gradient(180deg, #cbd5e1, #94a3b8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  height: auto;
  min-height: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  transition: background 0.2s, color 0.2s;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.home-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(0.75rem, 2vw, 1.5rem);
  padding-top: 56px;
  background: var(--bg);
}

/* Fixed nav */
.home-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 clamp(0.75rem, 2vw, 1.5rem);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.home-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 1.05rem;
  min-width: 0;
  flex-shrink: 1;
}
.home-brand .brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.home-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: auto;
  flex-shrink: 0;
}
.home-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}
.home-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}
.home-nav-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.lang-select, .theme-btn, .menu-btn {
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0 0.55rem;
}
.theme-btn, .menu-btn {
  width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu-btn { display: none; }

/* Main — natural size, page scrolls */
.home-main {
  display: grid;
  grid-template-columns: minmax(320px, 380px) 1fr;
  gap: 0.85rem;
  align-items: stretch;
  padding: 0.5rem 0 0.65rem;
  /* viewport minus nav + gap so CTA stays above fold */
  height: calc(100dvh - 56px - 1.2rem);
  min-height: 400px;
}

/* Calculator — comfortable size, no forced compress */
.home-calc {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--card) 72%, transparent);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.65rem 0.85rem 0.7rem;
  z-index: 2;
}
.home-calc > .btn-cta {
  flex-shrink: 0;
  margin-top: auto;
}

.calc-head h2 { font-size: 1.02rem; font-weight: 700; color: var(--text); }
.calc-head .sub {
  color: var(--muted);
  font-size: 0.7rem;
  margin-top: 0.1rem;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.currency-toggle {
  display: inline-flex;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 0.25rem;
  align-self: flex-start;
}
.cur-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.cur-btn.active { background: var(--primary); color: #fff; }

.field-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.3rem 0 0.2rem;
}
.amount-row {
  display: flex;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 0.75rem;
}
.amount-row input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.4rem 0;
  font-family: inherit;
  outline: none;
  min-width: 0;
}
.amount-row .unit {
  color: var(--primary2);
  font-weight: 700;
  font-size: 0.85rem;
}
.quick-amts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.3rem;
}
.quick-amts button {
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--muted);
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  font-size: 0.72rem;
  cursor: pointer;
  font-family: inherit;
}
.quick-amts button:hover { color: var(--text); border-color: var(--primary); }
.price-hint, .min-hint {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.min-hint { color: var(--primary2); font-weight: 500; }
.min-hint.warn { color: #f87171; }

.plan-pills {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
}
.plan-pill {
  border: 1px solid var(--border);
  background: var(--bg2);
  border-radius: 10px;
  padding: 0.35rem 0.2rem;
  cursor: pointer;
  text-align: center;
  color: var(--text);
  font-family: inherit;
}
.plan-pill .pill-name { display: block; font-weight: 700; font-size: 0.8rem; }
.plan-pill .pill-roi { display: block; font-size: 0.7rem; color: var(--muted); margin-top: 0.12rem; }
.plan-pill .pill-min { display: block; font-size: 0.65rem; color: var(--muted); margin-top: 0.12rem; }
.plan-pill.active {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 16%, var(--bg2));
}
.plan-pill.active .pill-roi { color: var(--primary2); }

.calc-results {
  margin-top: 0.3rem;
  padding: 0.2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-shrink: 1;
  min-height: 0;
}
.res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.18rem 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.res-row strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
}
.res-row .accent { color: var(--green); }
.res-row.highlight {
  margin-top: 0.15rem;
  padding-top: 0.3rem;
  border-top: 1px dashed var(--border);
  color: var(--text);
}
.res-row.highlight strong {
  font-size: 0.95rem;
  color: var(--primary2);
}
.res-note {
  font-size: 0.62rem;
  color: var(--muted);
  margin-top: 0.2rem;
  line-height: 1.3;
}

.btn-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  margin-top: 0.4rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}
.btn-cta:hover { filter: brightness(1.08); }
.btn-cta.solid {
  display: inline-block;
  width: auto;
  padding: 0.7rem 1.25rem;
  margin-top: 0;
}
.btn-ghost {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 0.5rem;
}
.btn-ghost:hover { color: var(--text); }

/* Hero card */
.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center; /* balance whole block vertically in the card */
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 62%, transparent);
  backdrop-filter: blur(8px);
  padding: 1.1rem 1.2rem;
  z-index: 2;
}
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(200px, 0.9fr);
  gap: 0.75rem 1.1rem;
  align-items: end; /* laptop base still meets divider */
  flex: 0 1 auto; /* do not stretch empty space downward */
  min-height: 0;
  width: 100%;
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  width: 100%;
  flex: 0 0 auto;
}

.hero-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* sits with CTAs on same baseline as laptop base */
  align-items: flex-start;
  text-align: left;
  padding: 0.25rem 0.75rem 0 0.35rem;
  gap: 0.2rem;
  z-index: 1;
  min-width: 0;
  width: 100%;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
  width: 100%;
}

/* Title spreads — no narrow 16ch lock, no text-justify */
.hero-body h1 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: none;
  width: 100%;
  margin: 0.35rem 0 0;
  text-align: left;
  text-wrap: balance;
  hyphens: none;
}

.hero-lead {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.35vw, 1.05rem);
  line-height: 1.55;
  max-width: 48ch;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  text-wrap: pretty;
}

/* Green dots — straight vertical column, left aligned */
.hero-points {
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  max-width: 42ch;
  text-align: left;
}
.hero-points li {
  position: relative;
  font-size: clamp(0.9rem, 1.25vw, 1.02rem);
  color: var(--muted);
  line-height: 1.4;
  text-align: left;
  padding-left: 1.4rem;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 28%, transparent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem 1rem;
  margin-top: 0.55rem;
  width: 100%;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  border: none;
  width: auto;
  max-width: none;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
}
.hero-stats strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}
.hero-stats span {
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-laptop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  gap: 0.85rem;
  z-index: 1;
  min-height: 0;
  padding-bottom: 0; /* base sits on divider */
}
.laptop-top-text {
  margin-bottom: 0.35rem;
  max-width: 34ch;
  padding: 0 0.25rem;
}
.laptop-kicker {
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.laptop-sub {
  font-size: clamp(0.85rem, 1.2vw, 0.98rem);
  color: var(--primary2);
  margin-top: 0.35rem;
  font-weight: 600;
}
.laptop-3d {
  width: 100%;
  max-width: 360px;
  transform: rotateY(-4deg) rotateX(2deg) scale(1.04);
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.4)) drop-shadow(0 0 20px rgba(14,165,233,0.12));
}
.laptop-bezel {
  background: var(--laptop-body);
  border-radius: 12px 12px 5px 5px;
  padding: 10px 10px 5px;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.laptop-cam {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 50%, transparent);
  margin: 0 auto 5px;
}
.laptop-screen {
  background: var(--bg2);
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 16 / 9.6;
  border: none;
}
.dash-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
  border: none;
}
.laptop-deck {
  height: 12px;
  width: 114%;
  margin-left: -7%;
  margin-top: 2px;
  background: var(--laptop-deck);
  border-radius: 0 0 10px 10px;
  border: none;
  position: relative;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.laptop-hinge {
  position: absolute;
  left: 50%;
  top: -2px;
  transform: translateX(-50%);
  width: 26%;
  height: 3px;
  background: color-mix(in srgb, var(--bg) 70%, #000);
  border-radius: 2px;
}
.laptop-deck::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 34%;
  height: 4px;
  background: color-mix(in srgb, var(--bg) 85%, #000);
  border-radius: 0 0 4px 4px;
}
.laptop-caption {
  font-size: clamp(0.8rem, 1.15vw, 0.92rem);
  color: var(--muted);
  line-height: 1.35;
  max-width: 34ch;
  margin: 0;
  margin-left: auto;
  font-weight: 500;
  text-align: right;
}


/* ===== Testimonials infinite slide ===== */
.testimonials {
  padding: 1.25rem 0 0.5rem;
  overflow: hidden;
}
.testimonials-head {
  text-align: center;
  margin-bottom: 1rem;
}
.testimonials-head h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}
.testimonials-head .muted {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.testimonials-viewport {
  overflow: hidden;
  min-height: 160px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.testimonials-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: testi-scroll 42s linear infinite;
}
.testimonials-track:hover {
  animation-play-state: paused;
}
@keyframes testi-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.testi-card {
  flex: 0 0 auto;
  width: min(300px, 78vw);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(6px);
}
.testi-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}
.testi-quote {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 0.7rem;
}
.testi-user {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.testi-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 35%, var(--bg2));
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.testi-meta strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text);
}
.testi-meta span {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Footer — one horizontal line */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 0.75rem 0 1rem;
  margin-top: 0;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
}
.footer-brand .brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}
.footer-brand .brand-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
  flex-shrink: 0;
}
.footer-about {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
  max-width: 36ch;
}
.footer-sep {
  color: var(--muted);
  opacity: 0.6;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  flex-shrink: 0;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
}
.footer-links a:hover { color: var(--text); }

/* Chat */
.home-chat {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
}
.home-chat-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(14,165,233,0.35);
  font-family: inherit;
}
.home-chat.open .home-chat-fab { display: none; }
.home-chat-panel {
  display: none;
  width: 300px;
  max-width: calc(100vw - 2rem);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.home-chat.open .home-chat-panel { display: block; }
.home-chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--primary) 12%, var(--card));
}
.home-chat-head button {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
}
.home-chat-body { padding: 0.85rem 1rem 1rem; }
.home-chat-body label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0.4rem 0 0.2rem;
}
.home-chat-body input,
.home-chat-body textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
}
.home-chat-body.hidden { display: none; }
.ok-msg { font-size: 0.85rem; color: var(--green); line-height: 1.45; }

.drawer-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
}
.drawer-bg.show { display: block; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 260px;
  background: var(--card);
  border-left: 1px solid var(--border);
  z-index: 110;
  padding: 4.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.drawer.open { transform: translateX(0); }
.drawer a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
}

@media (max-width: 980px) {
  .home-main {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .home-calc, .hero-card {
    height: auto;
    overflow: visible;
  }
  .hero-top {
    grid-template-columns: 1fr;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .laptop-caption {
    text-align: left;
    margin-left: 0;
  }
  .laptop-3d {
    max-width: 320px;
    margin: 0 auto;
    transform: none;
  }
}

@media (max-width: 760px) {
  .home-links { display: none; }
  .menu-btn { display: inline-flex; }
  .home-brand .brand-name { max-width: 120px; }
  .home-main {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero-card {
    padding: 1.25rem 1rem 1.35rem;
    height: auto;
  }
  .hero-top {
    grid-template-columns: 1fr;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .laptop-caption {
    text-align: left;
    margin-left: 0;
  }
  .hero-body {
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }
  .hero-body h1 {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .hero-stats {
    justify-content: flex-start;
  }
  .hero-laptop {
    width: 100%;
    margin-top: 0.75rem;
    justify-content: center;
  }
  .laptop-3d {
    max-width: 300px;
  }
  .laptop-3d {
    max-width: 280px;
    width: 90%;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    justify-content: flex-start;
  }
}


/* Production mobile polish */
@media (max-width: 760px) {
  .home-nav {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .home-shell {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
  .home-calc {
    padding: 1rem 0.9rem 1.1rem;
  }
  .plan-pills {
    grid-template-columns: 1fr;
  }
  .market-explorer {
    margin-left: 0;
    margin-right: 0;
  }
  .testimonials-viewport {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }
  .home-chat-panel {
    width: min(340px, calc(100vw - 1.25rem));
    right: 0.5rem;
    left: auto;
  }
  .site-footer {
    padding: 1rem 0.75rem 1.5rem;
  }
}
@media (max-width: 400px) {
  .brand-name { font-size: 0.88rem; }
  .hero-body h1 { font-size: 1.28rem; }
}
