.mobile-quote-bar {
  display:none;
}

.range {
  min-height:44px;
}

.label-row strong {
  flex:0 0 auto;
}

.setup-dialog {
  max-height:calc(100dvh - 20px);
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

@media (max-width:900px) {
  .hero-mark-inner {
    min-height:220px;
  }

  .results-column {
    scroll-margin-top:94px;
  }
}

@media (max-width:620px) {
  .header-inner {
    align-items:center;
    gap:12px;
    padding:6px 0;
  }

  .tokani-brand {
    min-height:44px;
    align-items:center;
    gap:9px;
    flex:0 1 auto;
  }

  .tokani-brand img {
    display:block;
    width:42px;
    height:42px;
    margin:0;
    border-radius:10px;
    transform:translateY(1px);
  }

  .tokani-brand-copy {
    justify-content:center;
    gap:2px;
    line-height:1;
  }

  .tokani-brand-copy strong {
    font-size:12px;
    line-height:1;
  }

  .tokani-brand-copy small {
    font-size:9px;
    line-height:1.1;
  }

  .header-badges {
    margin-left:auto;
    flex:0 0 auto;
  }

  .shell {
    padding:24px 0 76px;
  }

  .hero {
    gap:0;
    margin-bottom:22px;
  }

  .hero-copy {
    padding:6px 0 0;
  }

  .hero-mark {
    display:none;
  }

  .eyebrow {
    margin-bottom:10px;
    font-size:10px;
    letter-spacing:.12em;
  }

  .hero h1 {
    font-size:clamp(36px,11vw,50px);
    line-height:1.03;
  }

  .hero-copy > p:last-child {
    margin-top:14px;
    font-size:15px;
    line-height:1.5;
  }

  .form-panel {
    padding:18px;
  }

  .section-heading {
    margin-bottom:22px;
  }

  .field {
    margin-bottom:17px;
  }

  .range {
    min-height:48px;
    margin:2px 0;
  }

  .mini-grid {
    grid-template-columns:1fr 1fr;
  }

  .mini-card {
    min-height:82px;
    padding:13px;
  }

  .mini-card strong {
    font-size:16px;
  }

  .quote-card {
    min-height:230px;
  }

  .quote-card-content {
    padding:22px;
  }

  .quote-reset {
    min-height:48px;
  }

  .setup-dialog {
    width:calc(100% - 20px);
    max-height:calc(100dvh - 20px);
    border-radius:22px;
  }

  .setup-card {
    padding:21px;
  }

  .setup-brand {
    margin-bottom:20px;
  }

  .setup-card h2 {
    font-size:28px;
  }

  .setup-intro {
    margin:10px 0 20px;
  }

  .mobile-quote-bar {
    position:fixed;
    z-index:45;
    left:50%;
    bottom:max(10px,env(safe-area-inset-bottom));
    transform:translateX(-50%);
    width:min(calc(100% - 20px),560px);
    min-height:64px;
    padding:10px 12px 10px 15px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:18px;
    background:rgba(17,17,17,.96);
    color:white;
    box-shadow:0 18px 48px rgba(17,17,17,.28);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    transition:opacity .2s ease,transform .2s ease;
    backdrop-filter:blur(14px);
  }

  .mobile-quote-bar > span {
    min-width:0;
    display:grid;
    gap:1px;
    line-height:1.1;
  }

  .mobile-quote-bar small {
    color:#bfc3c5;
    font-size:10px;
    font-weight:750;
    text-transform:uppercase;
    letter-spacing:.06em;
  }

  .mobile-quote-bar strong {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:white;
    font-size:21px;
    font-weight:900;
    letter-spacing:-.03em;
  }

  .mobile-quote-bar b {
    flex:0 0 auto;
    min-height:42px;
    padding:0 14px;
    border-radius:999px;
    background:var(--blue);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:850;
  }

  .mobile-quote-bar.is-hidden {
    opacity:0;
    pointer-events:none;
    transform:translate(-50%,14px);
  }

  .site-footer {
    padding-bottom:calc(104px + env(safe-area-inset-bottom));
  }
}

@media (max-width:520px) {
  .offline-note {
    display:none;
  }
}

@media (max-width:420px) {
  .header-inner {
    min-height:68px;
  }

  .tokani-brand {
    gap:8px;
  }

  .tokani-brand img {
    width:40px;
    height:40px;
  }

  .tokani-brand-copy {
    gap:0;
  }

  .tokani-brand-copy strong {
    font-size:11px;
  }

  .big-price {
    font-size:36px;
  }

  .mobile-quote-bar strong {
    font-size:19px;
  }
}

@media (max-width:350px) {
  .mini-grid {
    grid-template-columns:1fr;
  }

  .tokani-brand-copy strong {
    font-size:10px;
  }

  .mobile-quote-bar {
    gap:8px;
    padding-left:12px;
  }

  .mobile-quote-bar b {
    padding:0 11px;
    font-size:11px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }

  .mobile-quote-bar {
    transition:none;
  }
}