/* joewallick.com — bento one-pager
   Reference: DesignCloth realtor bento (swipe vault item 10) */

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

:root {
  --bg: #eef0f3;
  --card: rgba(255, 255, 255, 0.52);
  --ink: #17181c;
  --ink-2: #4c4e56;
  --ink-3: #7d7f88;
  --line: rgba(255, 255, 255, 0.65);
  --blue: #3478f6;
  --radius: 28px;
  --shadow: 0 2px 6px rgba(31, 38, 63, 0.05), 0 18px 44px rgba(31, 38, 63, 0.10);
  --glass-blur: blur(26px) saturate(170%);
}

html { -webkit-text-size-adjust: 100%; }

/* dark mode overrides live at the END of this file so they beat base rules */

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  min-height: 100vh;
  padding: clamp(16px, 3vw, 44px);
  position: relative;
}

/* color field behind the glass */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(38% 42% at 16% 18%, rgba(122, 168, 255, 0.55), transparent 70%),
    radial-gradient(34% 38% at 84% 12%, rgba(255, 189, 152, 0.50), transparent 70%),
    radial-gradient(40% 44% at 78% 82%, rgba(140, 226, 178, 0.45), transparent 70%),
    radial-gradient(36% 40% at 12% 84%, rgba(197, 168, 255, 0.45), transparent 70%),
    radial-gradient(30% 34% at 50% 50%, rgba(255, 226, 148, 0.30), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(-2%, -1.5%, 0) scale(1); }
  to   { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

.bento {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto auto auto auto auto;
  grid-template-areas:
    "hero    hero    chart   chart   creds   creds"
    "hero    hero    chart   chart   map     map"
    "contact contact stats   stats   map     map"
    "deals   deals   avail   logo    scan    scan"
    "deals   deals   quote   video   scan    scan"
    "built   follow  quote   video   scan    scan";
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 26px;
  position: relative;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
}

.card__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card__title--center { text-align: center; }

.ic { width: 1em; height: 1em; vertical-align: -0.12em; }

/* ---------- pills & buttons ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  white-space: nowrap;
}

.pill--stat {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 8px rgba(31, 38, 63, 0.06);
  color: var(--ink);
}

.pill--blue {
  background: linear-gradient(180deg, #4d8bff, #2f6ff0);
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  box-shadow: 0 6px 16px rgba(52, 120, 246, .35);
}

.pill--overlay {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 2px 10px rgba(23,24,28,.14);
  font-weight: 600;
  z-index: 2;
}

.pill--ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 8px rgba(31, 38, 63, 0.06);
  font-weight: 600;
  padding: 10px 18px;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(180deg, #2a2b31, #131417);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(23,24,28,.22), inset 0 1px 0 rgba(255,255,255,.14);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(23,24,28,.28), inset 0 1px 0 rgba(255,255,255,.14); }
.btn-dark:active { transform: translateY(0); }

/* ---------- hero ---------- */

.card--hero { padding: 34px; display: flex; flex-direction: column; gap: 22px; }

.hero__typed {
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  min-height: 1.2em;
  line-height: 1.15;
}

.caret {
  display: inline-block;
  width: 3px;
  height: 0.95em;
  background: var(--ink);
  margin-left: 3px;
  vertical-align: -0.12em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__meta { display: flex; align-items: center; gap: 16px; }

.hero__avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(23,24,28,.18);
}

.hero__name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.hero__role { color: var(--ink-2); font-size: 15.5px; margin-top: 1px; }
.hero__loc { color: var(--ink-3); font-size: 14.5px; margin-top: 3px; }

.hero__bio { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 46ch; }

/* ---------- CTA cards ---------- */

.card--cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 24px 20px;
}
.card--cta .btn-dark { width: 100%; max-width: 200px; }

/* ---------- always running ---------- */

.card--sys { display: flex; flex-direction: column; gap: 14px; }

.sys {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 6px;
}

.sys li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  padding: 9px 14px;
}

.sys strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.sys em { display: block; font-style: normal; font-size: 12px; color: var(--ink-3); margin-top: 1px; }

.sys__ic {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--ink-2);
  display: grid;
  place-items: center;
}
.sys__ic svg { width: 17px; height: 17px; }

/* ---------- the 2026 list ---------- */

.card--list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 22px;
}

.ylist {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 4px;
}

.ylist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.ylist__box {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(23, 24, 28, 0.18);
  display: grid;
  place-items: center;
}
.ylist__box svg { width: 12px; height: 12px; color: #fff; }

.ylist .is-done .ylist__box {
  background: #23c552;
  border-color: #23c552;
}
.ylist .is-done { color: var(--ink-2); }

/* ---------- map ---------- */

.card--map { padding: 10px; display: flex; flex-direction: column; }

.map__img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 10px);
  background: #e9edf2;
}

.map__wx {
  top: 18px;
  font-size: 13px;
}

.map__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 6px 8px;
}

/* ---------- stats ---------- */

.card--stats {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 10px;
  padding: 22px 16px;
}

.stat { text-align: center; }
.stat__num { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.stat__label { color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }
.stat__div { width: 1px; align-self: stretch; background: rgba(23, 24, 28, 0.09); }

/* ---------- deals carousel ---------- */

.card--deals { padding: 0; min-height: 320px; }

.deals__track, .deals__slide, .deals__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.deals__slide {
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.deals__slide.is-active { opacity: 1; pointer-events: auto; }

.deals__slide img {
  object-fit: cover;
  object-position: top center;
}

.deals__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(250,250,249,.9);
  box-shadow: 0 2px 10px rgba(23,24,28,.18);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  padding-bottom: 3px;
}
.deals__arrow--prev { left: 14px; }
.deals__arrow--next { right: 14px; }
.deals__arrow:hover { background: #fff; }

.deals__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.deals__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 3px rgba(23,24,28,.3);
  cursor: pointer;
  padding: 0;
}
.deals__dots i:hover { background: rgba(255,255,255,.85); }
.deals__dots i.is-active { background: #fff; }

/* ---------- available ---------- */

.card--avail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.lights {
  display: flex;
  gap: 12px;
  background: linear-gradient(180deg, #2a2b31, #131417);
  border-radius: 999px;
  padding: 11px 16px;
  box-shadow: 0 8px 18px rgba(23,24,28,.25), inset 0 1px 0 rgba(255,255,255,.1);
  cursor: pointer;
  border: none;
}

.light { transition: background .3s ease, box-shadow .3s ease; }

.lights.is-red .light--green {
  background: #1d4a2b;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.4);
}
.lights.is-red .light--red {
  background: radial-gradient(circle at 35% 30%, #ff8f85, #e5261a 65%);
  box-shadow: 0 0 14px rgba(240, 60, 45, .8), 0 0 30px rgba(240, 60, 45, .35);
}

.light { width: 26px; height: 26px; border-radius: 50%; }
.light--red   { background: #5d1f1f; box-shadow: inset 0 2px 4px rgba(0,0,0,.4); }
.light--amber { background: #5f4a17; box-shadow: inset 0 2px 4px rgba(0,0,0,.4); }
.light--green {
  background: radial-gradient(circle at 35% 30%, #7dffa1, #1fd24e 65%);
  box-shadow: 0 0 14px rgba(46, 230, 100, .8), 0 0 30px rgba(46, 230, 100, .35);
}

/* ---------- logo card ---------- */

.card--logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.logo__img { max-width: 82%; height: auto; }
.logo__img--dark { display: none; }
.logo__sub { color: var(--ink-3); font-size: 13px; }
.card--logo:hover .logo__sub { color: var(--ink-2); }

/* ---------- quote ---------- */

.card--quote { display: flex; flex-direction: column; gap: 18px; }

.quote__text {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5;
  flex: 1;
  display: grid;
  align-content: center;
}
.quote__inner { display: inline; }

.quote__sub { margin-top: auto; }

.caret--quote { height: 0.9em; }
.caret.is-hidden { display: none; }

.quote__sub { color: var(--ink-3); font-size: 13.5px; }

/* ---------- teams ---------- */

.card--teams {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 18px;
}

.teams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 8px rgba(31, 38, 63, 0.06);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 10px 6px 8px;
  min-height: 0;
}
.team em { font-style: normal; }
.team img {
  width: auto;
  height: clamp(28px, 5.2vh, 52px);
  max-width: 80%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(31, 38, 63, 0.18));
}
.team--vikings { border-bottom: 3px solid #4f2683; }
.team--twins   { border-bottom: 3px solid #002b5c; }
.team--wolves  { border-bottom: 3px solid #78be20; }
.team--wild    { border-bottom: 3px solid #154734; }

.teams__sub {
  text-align: center;
  color: var(--ink-3);
  font-size: 12.5px;
}

/* ---------- scan ---------- */

.card--scan { display: flex; flex-direction: column; gap: 18px; }

.browser {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(23,24,28,.14);
  overflow: hidden;
  margin: 0 6px;
  transform: translateY(6px);
  transition: transform .2s ease;
}
.card--scan:hover .browser { transform: translateY(2px); }

.browser__bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #f4f3f1;
}
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; }
.browser__bar i:nth-child(1) { background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }

.browser img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (max-width: 1020px) {
  .browser img { max-height: 340px; }
}

/* ---------- built by / follow ---------- */

.card--built, .card--follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-align: center;
  padding: 22px 18px;
}

.built__label, .follow__label {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.4;
}
.follow__label { font-weight: 600; color: var(--ink); }

.follow__icons {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.appicon {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(23,24,28,.22);
  transition: transform .15s ease;
}
.appicon:hover { transform: translateY(-2px); }
.appicon svg { width: 22px; height: 22px; }
.appicon--yt { background: linear-gradient(180deg, #ff4e45, #e6170c); }
.appicon--tt { background: linear-gradient(180deg, #2b2b33, #0f0f14); }
.appicon--li { background: linear-gradient(180deg, #1a8ad6, #0a66c2); }
.appicon--ig { background: linear-gradient(200deg, #8a3ab9 5%, #e1306c 50%, #fcaf45 100%); }

.appicon__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff3b30;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(23,24,28,.3);
}

/* ---------- focus + sheen ---------- */

a:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 2px;
  border-radius: 999px;
}

@media (hover: hover) {
  .card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.32), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
  }
  .card:hover::after { opacity: 1; }
}

/* ---------- no-scroll viewport fit (desktop) ---------- */

@media (min-width: 1021px) {
  html, body { height: 100%; }
  body { overflow: hidden; padding: clamp(10px, 1.8vh, 28px); }

  .bento {
    height: 100%;
    max-width: 1400px;
    gap: clamp(8px, 1.3vh, 16px);
    grid-template-rows: 1.15fr 1.15fr 0.72fr 1fr 1fr 0.72fr;
  }

  .card { padding: clamp(12px, 2vh, 24px); min-height: 0; }

  .card--hero { padding: clamp(14px, 2.4vh, 30px); gap: clamp(8px, 1.6vh, 18px); }
  .hero__typed { font-size: clamp(20px, 3.8vh, 40px); }
  .hero__avatar { width: clamp(44px, 7vh, 68px); height: clamp(44px, 7vh, 68px); }
  .hero__name { font-size: clamp(15px, 2.3vh, 20px); }
  .hero__role { font-size: clamp(12px, 1.7vh, 15px); }
  .hero__loc { font-size: clamp(11px, 1.5vh, 13.5px); }
  .hero__bio { font-size: clamp(11.5px, 1.7vh, 15px); line-height: 1.5; }

  .card__title { font-size: clamp(12.5px, 1.8vh, 16px); }
  .pill { font-size: clamp(10.5px, 1.5vh, 13px); padding: clamp(5px, 0.9vh, 8px) clamp(10px, 1.4vh, 13px); }
  .btn-dark { padding: clamp(8px, 1.4vh, 12px) clamp(16px, 2.4vh, 24px); font-size: clamp(12px, 1.7vh, 14.5px); }

  .card--sys { gap: clamp(6px, 1.2vh, 15px); }
  .sys { gap: clamp(3px, 0.6vh, 6px); }
  .sys li { padding: clamp(4px, 0.8vh, 9px) clamp(10px, 1.5vh, 14px); gap: clamp(8px, 1.3vh, 12px); }
  .sys strong { font-size: clamp(11.5px, 1.7vh, 14px); }
  .sys em { font-size: clamp(9.5px, 1.4vh, 12px); }
  .sys__ic { width: clamp(24px, 3.8vh, 34px); height: clamp(24px, 3.8vh, 34px); }
  .sys__ic svg { width: 50%; height: 50%; }

  .card--map { padding: 8px; }
  .map__caption { font-size: clamp(11px, 1.6vh, 14px); padding: clamp(6px, 1.1vh, 11px) 6px clamp(3px, 0.7vh, 7px); }

  .card--cta { padding: clamp(7px, 1.1vh, 20px); gap: clamp(4px, 0.9vh, 13px); justify-content: center; }
  .card--cta .btn-dark { padding: clamp(6px, 1vh, 12px) clamp(14px, 2vh, 24px); }
  .card--stats { padding: clamp(10px, 1.6vh, 20px) 14px; }
  .stat__num { font-size: clamp(15px, 2.5vh, 23px); }
  .stat__label { font-size: clamp(10px, 1.4vh, 12.5px); }

  .card--deals { min-height: 0; padding: 0; }
  .deals__arrow { width: clamp(26px, 4vh, 36px); height: clamp(26px, 4vh, 36px); font-size: clamp(16px, 2.4vh, 21px); }

  .card--list { padding: clamp(8px, 1.4vh, 18px) clamp(14px, 2vh, 22px); gap: clamp(5px, 0.9vh, 10px); }
  .ylist li { font-size: clamp(10.5px, 1.6vh, 13.5px); gap: clamp(6px, 1.1vh, 10px); }
  .ylist__box { width: clamp(13px, 2.1vh, 18px); height: clamp(13px, 2.1vh, 18px); border-radius: 5px; }

  .card--avail { gap: clamp(8px, 1.5vh, 15px); }
  .lights { padding: clamp(6px, 1.2vh, 10px) clamp(10px, 1.6vh, 15px); gap: clamp(7px, 1.2vh, 11px); }
  .light { width: clamp(15px, 2.4vh, 24px); height: clamp(15px, 2.4vh, 24px); }

  .card--logo { gap: clamp(5px, 1vh, 9px); }
  .logo__img { max-width: 70%; max-height: 42%; object-fit: contain; }
  .logo__sub { font-size: clamp(10px, 1.4vh, 12.5px); }

  .card--quote { gap: clamp(6px, 1.2vh, 12px); }
  .quote__text { font-size: clamp(11.5px, 1.8vh, 16px); min-height: 0; }
  .quote__sub { font-size: clamp(10px, 1.4vh, 12.5px); }

  .card--teams { gap: clamp(4px, 0.8vh, 12px); padding: clamp(8px, 1.2vh, 18px); }
  .teams { gap: clamp(4px, 0.8vh, 8px); }
  .team { padding: clamp(2px, 0.5vh, 8px) 6px; font-size: clamp(10px, 1.4vh, 13px); border-radius: 10px; gap: clamp(2px, 0.5vh, 6px); }
  .team img { height: clamp(18px, 3.6vh, 48px); }
  .teams__sub { font-size: clamp(9px, 1.2vh, 12px); }

  .card--scan { gap: clamp(8px, 1.4vh, 16px); }

  .card--built, .card--follow { gap: clamp(4px, 0.9vh, 11px); padding: clamp(7px, 1.1vh, 18px); }
  .built__label, .follow__label { font-size: clamp(10px, 1.4vh, 13.5px); line-height: 1.3; }
  .pill--ghost { padding: clamp(4px, 0.8vh, 9px) clamp(10px, 1.5vh, 16px); font-size: clamp(11px, 1.6vh, 14px); }
  .appicon { width: clamp(22px, 3.6vh, 34px); height: clamp(22px, 3.6vh, 34px); border-radius: 9px; }
  .appicon svg { width: 52%; height: 52%; }
  .follow__icons { gap: clamp(4px, 0.8vh, 8px); }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "hero    hero"
      "contact contact"
      "chart   chart"
      "stats   stats"
      "deals   deals"
      "avail   logo"
      "quote   quote"
      "video   scan"
      "map     map"
      "creds   creds"
      "built   follow";
  }
  .card--deals { min-height: 260px; }
  .card--map { min-height: 300px; }
}

@media (max-width: 620px) {
  body { padding: 14px; }
  .bento {
    gap: 14px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "contact"
      "chart"
      "stats"
      "deals"
      "avail"
      "logo"
      "quote"
      "video"
      "map"
      "creds"
      "scan"
      "built"
      "follow";
  }
  .card { border-radius: 24px; }
  .card--hero { padding: 26px; }
  .card--stats { flex-direction: row; padding: 20px 8px; }
  .stat__num { font-size: 21px; }
  .stat__label { font-size: 12px; }
  .card--deals { min-height: 230px; }
  .quote__text { min-height: 4.5em; }
}

/* ---------- dark mode (must stay last so it wins the cascade) ---------- */

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161c;
    --card: rgba(34, 37, 47, 0.55);
    --ink: #f2f3f6;
    --ink-2: #b9bcc6;
    --ink-3: #9296a1;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 18px 44px rgba(0, 0, 0, 0.4);
  }

  body::before {
    background:
      radial-gradient(38% 42% at 16% 18%, rgba(64, 110, 220, 0.4), transparent 70%),
      radial-gradient(34% 38% at 84% 12%, rgba(214, 120, 70, 0.32), transparent 70%),
      radial-gradient(40% 44% at 78% 82%, rgba(46, 150, 100, 0.3), transparent 70%),
      radial-gradient(36% 40% at 12% 84%, rgba(130, 90, 220, 0.32), transparent 70%),
      radial-gradient(30% 34% at 50% 50%, rgba(190, 150, 60, 0.16), transparent 70%);
  }

  .card {
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  }

  .pill--stat, .pill--ghost, .sys li, .ylist__box, .team {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.13);
  }

  .sys__ic {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #eceef2;
  }

  .ylist .is-done .ylist__box { background: #23c552; border-color: #23c552; }

  .pill--overlay {
    background: rgba(30, 33, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .btn-dark {
    background: linear-gradient(180deg, #3a3c45, #1c1e25);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .lights { border: 1px solid rgba(255, 255, 255, 0.12); }

  .stat__div { background: rgba(255, 255, 255, 0.12); }

  .map__img {
    filter: invert(0.92) hue-rotate(185deg) saturate(0.45) brightness(0.9);
  }

  .deals__arrow { background: rgba(30, 33, 42, 0.75); color: #f2f3f6; }
  .deals__arrow:hover { background: rgba(44, 47, 58, 0.9); }

  .browser { background: #1e2029; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); }
  .browser__bar { background: #2a2d37; }

  .logo__img { display: none; }
  .logo__img--dark { display: block !important; }

  @media (hover: hover) {
    .card::after {
      background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.09), transparent 65%);
    }
  }
}
