/* ===========================================================================
   Autohub — Landing page styles
   Brand: ink #23222E · navy #2D3A57 · logo blue #1C5499 · orange #EF3E0B
          cream #F0EEE9 · muted #8C8B98
   Font: Plus Jakarta Sans
   =========================================================================== */

:root {
  --ink: #23222E;
  --ink-soft: #45444F;
  --navy: #2D3A57;
  --navy-deep: #232f49;
  --blue: #1C5499;
  --orange: #EF3E0B;
  --cream: #F0EEE9;
  --paper: #FBFAF7;
  --muted: #8C8B98;
  --line: #E6E3DC;
  --line-dark: rgba(255,255,255,0.12);

  /* tweakable */
  --accent: #2D3A57;
  --accent-ink: #fff;
  --accent-on-dark: #A0A6B3;
  --head-font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body-font: 'Plus Jakarta Sans', system-ui, sans-serif;

  --maxw: 1200px;
  --radius: 22px;
  --shadow-soft: 0 18px 50px -22px rgba(35,34,46,0.28);
  --shadow-phone: 0 40px 90px -30px rgba(35,34,46,0.5), 0 8px 24px -12px rgba(35,34,46,0.3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--head-font);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.eyebrow.center { justify-content: center; }

.section { padding: 120px 0; position: relative; }
.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  margin-top: 18px;
}
.section-head p {
  margin-top: 22px;
  font-size: 19px;
  color: var(--ink-soft);
}

/* ===== Top nav ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .18s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* mobile nav toggle (hidden on desktop) */
.nav-collapse { display: contents; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none; background: transparent; cursor: pointer;
  padding: 0; align-items: center; justify-content: center;
  margin: -6px -8px -6px 0;
}
.nav-toggle-bars { position: relative; width: 24px; height: 16px; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 2.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 7px; }
.nav-toggle-bars span:nth-child(3) { top: 14px; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* logo */
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: block;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-mark svg { width: 22px; height: 22px; }
.logo-word {
  font-family: var(--head-font);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.logo-word b { color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-primary:hover { box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--accent) 75%, transparent); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* store badges */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 11px 20px 11px 17px;
  border-radius: 15px;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow-soft);
}
.store-badge:hover { transform: translateY(-3px); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-txt { display: flex; flex-direction: column; line-height: 1.12; }
.store-badge .sb-small { font-size: 11px; font-weight: 500; opacity: 0.8; letter-spacing: 0.02em; }
.store-badge .sb-big { font-family: var(--head-font); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.stores.on-dark .store-badge { background: #fff; color: var(--ink); }

/* ===== Hero ======================================================= */
.hero { padding: 70px 0 100px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 5.6vw, 74px);
  margin-top: 24px;
}
.hero h1 .hl { color: var(--accent); }
.hero-sub {
  margin-top: 26px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
}
.hero-actions { margin-top: 38px; }
.hero-meta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
}
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--cream);
  margin-left: -12px;
  background-size: cover;
  background-position: center;
}
.avatars span:first-child { margin-left: 0; }

/* phone */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}
.glow {
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 2;
  width: 300px;
  aspect-ratio: 1170 / 2532;
  background: #0c0c10;
  border-radius: 46px;
  padding: 11px;
  box-shadow: var(--shadow-phone);
}
.phone::after { /* side button hint */
  content: "";
  position: absolute;
  right: -3px; top: 150px;
  width: 3px; height: 64px;
  background: #0c0c10;
  border-radius: 2px;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* hero splash: show the full designed screen, no crop; blend the
   small letterbox into the splash's own dark edges */
.hero-visual .phone-screen {
  background: linear-gradient(180deg, #000000 0%, #01030f 50%, #01031a 100%);
}
.hero-visual .phone-screen img {
  object-fit: contain;
  object-position: center;
}
.phone.tilt { transform: rotate(-4deg); }
.float-anim { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .float-anim { animation: none; }
}

/* floating chip on hero phone */
.chip {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: 16px;
  padding: 13px 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.chip .chip-ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.chip .chip-t { font-weight: 700; color: var(--ink); }
.chip .chip-s { color: var(--muted); font-size: 12px; }
.chip.c1 { left: -28px; top: 90px; }
.chip.c2 { right: -30px; bottom: 120px; }

/* ===== Logos / value strip ======================================= */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
}
.strip-item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.strip-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

/* ===== Features (dark) =========================================== */
.dark {
  background: var(--ink);
  color: var(--cream);
}
.dark .section-head p { color: rgba(240,238,233,0.66); }
.dark .eyebrow { color: var(--accent-on-dark); }
.dark .eyebrow::before { background: var(--accent-on-dark); }

.feature-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-on-dark) 45%, transparent);
  background: rgba(255,255,255,0.06);
}
.feature-ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent-on-dark) 18%, transparent);
  color: var(--accent-on-dark);
  margin-bottom: 22px;
}
.feature-ic svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 21px; font-weight: 700; }
.feature-card p { margin-top: 11px; font-size: 15.5px; color: rgba(240,238,233,0.66); line-height: 1.55; }

/* ===== Spotlight rows ============================================ */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.spotlight + .spotlight { margin-top: 130px; }
.spotlight.flip .sp-visual { order: 2; }
.sp-copy .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
}
.sp-copy h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 20px; }
.sp-copy p { margin-top: 20px; font-size: 18.5px; color: var(--ink-soft); max-width: 480px; }
.sp-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.sp-list li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.sp-list { padding: 0; }
.sp-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.sp-check svg { width: 13px; height: 13px; }
.sp-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}
.sp-visual .blob {
  position: absolute;
  width: 78%; aspect-ratio: 1;
  border-radius: 42% 58% 60% 40% / 42% 45% 55% 58%;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--blue) 18%, transparent));
  filter: blur(6px);
  z-index: 0;
}
.sp-visual .phone { width: 282px; }

/* ===== Scrolly spotlights ======================================= */
.scrolly { position: relative; }
.scrolly-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.scrolly-steps { display: flex; flex-direction: column; }
.scrolly-step {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 56px 24px 4px;
  opacity: 0.3;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.scrolly-step.is-active { opacity: 1; transform: none; }
.scrolly-step .badge {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-weight: 700; font-size: 13px;
  padding: 7px 14px; border-radius: 999px;
}
.scrolly-step h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 20px; }
.scrolly-step p { margin-top: 20px; font-size: 18.5px; color: var(--ink-soft); max-width: 480px; }

.scrolly-visual { position: relative; }
.scrolly-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
}
.scrolly-phone { position: relative; z-index: 2; width: 300px; will-change: transform; }
.scrolly-phone .phone-screen { position: relative; }
.scrolly-screen {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0;
  transition: opacity .55s ease;
  will-change: opacity;
}
.scrolly-screen.is-active { opacity: 1; }
.scrolly-blob {
  position: absolute;
  width: 370px; aspect-ratio: 1;
  border-radius: 42% 58% 60% 40% / 42% 45% 55% 58%;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--blue) 18%, transparent));
  filter: blur(8px);
  z-index: 0;
  will-change: transform;
}
.scrolly-chip {
  position: absolute; z-index: 3;
  background: #fff; border-radius: 16px; padding: 13px 16px;
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 12px; font-size: 13px;
  will-change: transform;
}
.scrolly-chip .chip-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.scrolly-chip .chip-t { font-weight: 700; color: var(--ink); }
.scrolly-chip .chip-s { color: var(--muted); font-size: 12px; }
.scrolly-chip.sc1 { left: 2%; top: 26%; }
.scrolly-chip.sc2 { right: 0%; bottom: 24%; }
.scrolly-dots {
  position: absolute;
  left: 50%; bottom: 5%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 4;
}
.scrolly-dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  border: none; cursor: pointer;
  background: color-mix(in srgb, var(--ink) 20%, transparent);
  transition: background .3s ease, transform .3s ease;
}
.scrolly-dot.is-active { background: var(--accent); transform: scale(1.3); }

@media (prefers-reduced-motion: reduce) {
  .scrolly-screen { transition: none; }
  .scrolly-step { transition: opacity .2s ease; transform: none; }
}

/* ===== How it works ============================================== */
.steps {
  margin-top: 66px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
}
.step { position: relative; padding-top: 18px; }
.step-num {
  font-family: var(--head-font);
  font-weight: 800;
  font-size: 17px;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.step h3 { font-size: 22px; }
.step p { margin-top: 12px; font-size: 16.5px; color: var(--ink-soft); }
.step:not(:last-child) .step-num::after {
  content: "";
  position: absolute;
  left: 60px; top: 22px;
  height: 2px;
  width: calc(100% - 60px);
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}

/* ===== Download CTA ============================================== */
.cta-band { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.cta-band .glow {
  width: 620px; height: 620px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-on-dark) 30%, transparent), transparent 62%);
}
.cta-band .eyebrow { color: var(--accent-on-dark); }
.cta-band .eyebrow::before { background: var(--accent-on-dark); }
.cta-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.cta-inner h2 { font-size: clamp(34px, 4.4vw, 58px); color: #fff; }
.cta-inner p { margin-top: 22px; font-size: 19px; color: rgba(255,255,255,0.74); max-width: 460px; }
.cta-actions { margin-top: 34px; }
.cta-visual { display: grid; place-items: center; position: relative; min-height: 360px; }
.qr {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-phone);
  color: var(--ink);
}
.qr-code {
  width: 150px; height: 150px;
  border-radius: 12px;
  background:
    linear-gradient(var(--ink),var(--ink)) 0 0/100% 100%,
    conic-gradient(from 0deg, var(--ink) 90deg, #fff 90deg 180deg, var(--ink) 180deg 270deg, #fff 270deg) 0 0/18px 18px;
  background-blend-mode: multiply;
  /* simplified faux-QR via repeating squares */
  background:
    repeating-conic-gradient(var(--ink) 0% 25%, #fff 0% 50%) 0 0 / 17px 17px;
  border: 8px solid #fff;
  outline: 2px solid var(--ink);
}
.qr-label { font-size: 13.5px; font-weight: 700; }

/* ===== Footer =================================================== */
.footer {
  background: var(--ink);
  color: rgba(240,238,233,0.66);
  padding: 80px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-dark);
}
.footer .logo-word { color: var(--cream); }
.footer-brand p { margin-top: 18px; font-size: 15px; max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(240,238,233,0.5); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 15px; color: rgba(240,238,233,0.8); transition: color .16s; }
.footer-col a:hover { color: var(--accent-on-dark); }
.footer-bottom {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
.footer-bottom a { text-decoration: underline; }

/* ===== Newsletter =============================================== */
.newsletter {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.news-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.news-copy h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 16px; }
.news-copy p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 440px;
}
.news-form { width: 100%; }
.news-field {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
  transition: border-color .18s, box-shadow .18s;
}
.news-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
.news-field input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}
.news-field input::placeholder { color: var(--muted); }
.news-field .btn { flex-shrink: 0; }
.news-field .btn[disabled] { opacity: 0.6; cursor: default; }
.news-status {
  margin-top: 12px;
  min-height: 20px;
  font-size: 14.5px;
  font-weight: 600;
}
.news-status.is-success { color: var(--blue); }
.news-status.is-error { color: var(--accent); }

/* ===== Responsive ============================================== */

/* Large tablet / small laptop */
@media (max-width: 1100px) {
  .nav-links { gap: 26px; }
  .hero-grid { gap: 28px; }
  .chip.c1 { left: -10px; }
  .chip.c2 { right: -12px; }
}

/* Tablet — single-column stacks + mobile nav */
@media (max-width: 940px) {
  .section { padding: 88px 0; }
  .hero { padding: 48px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { min-height: 520px; margin-top: 20px; }
  .hero-sub { max-width: 600px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .spotlight { grid-template-columns: 1fr; gap: 40px; }
  .spotlight.flip .sp-visual { order: 0; }
  .sp-visual { min-height: 480px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step:not(:last-child) .step-num::after { display: none; }
  .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-visual { min-height: 0; }
  .news-inner { grid-template-columns: 1fr; gap: 28px; }

  /* scrolly → pinned phone on top, captions scroll below */
  .scrolly-grid { grid-template-columns: 1fr; gap: 0; }
  .scrolly-visual { order: -1; }
  .scrolly-stage {
    position: sticky; top: 0;
    height: auto;
    padding: 16px 0 14px;
    background: var(--cream);
    z-index: 6;
    box-shadow: 0 18px 24px -18px rgba(35,34,46,0.35);
  }
  .scrolly-phone { width: 210px; }
  .scrolly-blob { width: 240px; }
  .scrolly-chip { display: none; }
  .scrolly-dots { bottom: 8px; }
  .scrolly-step {
    min-height: 78vh;
    justify-content: flex-end;
    padding: 0 2px 6vh;
  }
  .scrolly-step:first-child { padding-top: 4vh; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 40px; }

  /* mobile nav */
  .nav-toggle { display: inline-flex; }
  .nav-collapse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: 22px 32px 28px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav-collapse.open { transform: none; opacity: 1; visibility: visible; }
  .nav-collapse .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .nav-collapse .nav-links a { font-size: 17px; padding: 9px 0; }
  .nav-collapse .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .nav-collapse .nav-cta .btn { width: 100%; font-size: 16px; padding: 14px 22px; }
}

/* Large phone */
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .spotlight + .spotlight { margin-top: 72px; }
  .section-head h2 { font-size: clamp(28px, 7vw, 40px); }
  .section-head p { font-size: 17px; margin-top: 18px; }
  .hero-sub { font-size: 18px; }
  .strip-inner { gap: 16px 24px; }
  .strip-item { font-size: 14px; }
  .sp-visual { min-height: 420px; }
  .sp-visual .phone { width: 250px; }
}

/* Phone */
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .nav-inner { height: 64px; }
  .nav-collapse { padding: 20px 20px 26px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer { padding: 60px 0 36px; }
  .hero { padding: 36px 0 64px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .hero-sub { margin-top: 20px; }
  .hero-actions { margin-top: 30px; }
  .hero-visual { min-height: 460px; }
  .phone { width: 264px; }
  .chip { padding: 10px 13px; font-size: 12px; }
  .chip .chip-ic { width: 32px; height: 32px; }
  .chip.c1 { left: -6px; top: 64px; }
  .chip.c2 { right: -6px; bottom: 90px; }
  .stores { gap: 12px; }
  .store-badge { flex: 1 1 auto; justify-content: center; }
  .qr { padding: 22px; }
  .news-field { flex-direction: column; gap: 8px; padding: 10px; }
  .news-field input { padding: 8px 10px; }
  .news-field .btn { width: 100%; }
  .scrolly-phone { width: 188px; }
  .scrolly-blob { width: 210px; }
  .scrolly-step h2 { font-size: clamp(24px, 6.4vw, 32px); }
  .scrolly-step p { font-size: 16px; margin-top: 16px; }
  .scrolly-step .sp-list { margin-top: 18px; gap: 11px; }
  .scrolly-step .sp-list li { font-size: 15px; }
}

/* Small phone */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 30px; }
  .phone { width: 232px; }
  .chip .chip-s { display: none; }
  .chip.c1 { top: 50px; }
  .store-badge { padding: 11px 16px; }
  .store-badge .sb-big { font-size: 16px; }
}

/* ===== Tweaks panel ============================================ */
#tw-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 300px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 70px -20px rgba(35,34,46,0.5), 0 0 0 1px rgba(35,34,46,0.06);
  font-family: var(--body-font);
  color: var(--ink);
  z-index: 9999;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
#tw-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.tw-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 15px;
}
.tw-x {
  border: none; background: var(--cream); color: var(--ink-soft);
  width: 28px; height: 28px; border-radius: 8px; cursor: pointer;
  font-size: 19px; line-height: 1; display: grid; place-items: center;
}
.tw-x:hover { background: var(--line); }
.tw-body { padding: 16px 18px 20px; }
.tw-sec {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--muted);
  margin: 18px 0 10px;
}
.tw-sec:first-child { margin-top: 0; }
.tw-swatches { display: flex; gap: 10px; }
.tw-sw {
  width: 34px; height: 34px; border-radius: 10px; cursor: pointer;
  border: 2px solid transparent; box-shadow: 0 0 0 1px rgba(0,0,0,0.06) inset;
  transition: transform .14s;
}
.tw-sw:hover { transform: scale(1.08); }
.tw-sw.on { border-color: var(--ink); box-shadow: 0 0 0 2px #fff inset, 0 0 0 1px rgba(0,0,0,0.1); }
.tw-seg {
  display: flex; gap: 4px; background: var(--cream);
  padding: 4px; border-radius: 11px;
}
.tw-seg button {
  flex: 1; border: none; background: transparent; cursor: pointer;
  padding: 8px 6px; border-radius: 8px; font-size: 13px; font-weight: 600;
  color: var(--ink-soft); transition: background .14s, color .14s;
}
.tw-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px -2px rgba(0,0,0,0.2); }
.tw-toggle { display: inline-flex; cursor: pointer; }
.tw-toggle input { position: absolute; opacity: 0; }
.tw-track {
  width: 46px; height: 27px; border-radius: 999px; background: var(--line);
  position: relative; transition: background .18s;
}
.tw-track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform .18s;
}
.tw-toggle input:checked + .tw-track { background: var(--accent); }
.tw-toggle input:checked + .tw-track::after { transform: translateX(19px); }
.tw-text {
  width: 100%; border: 1.5px solid var(--line); border-radius: 11px;
  padding: 11px 12px; font-family: var(--body-font); font-size: 13.5px;
  color: var(--ink); resize: vertical; line-height: 1.4;
}
.tw-text:focus { outline: none; border-color: var(--accent); }

/* scroll-to-top */
.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 80;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--accent) 70%, transparent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: opacity .22s ease, transform .22s ease, visibility .22s, box-shadow .16s;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.scroll-top:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 16px 34px -10px color-mix(in srgb, var(--accent) 75%, transparent); }
.scroll-top:active { transform: translateY(0) scale(.96); }
.scroll-top svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .scroll-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}
