/* ==========================================================================
   Homepage
   ========================================================================== */

html, body { overflow-x: clip; }

section[id] { scroll-margin-top: 72px; }

/* ---- Nav (blur + mobile fit) ---- */
.nav {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--sp-7) var(--container-pad-mobile) var(--sp-6);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: center;
  justify-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: var(--sp-5);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--text) 35%, transparent);
  animation: dotPulse 2s ease-out infinite;
}

@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--text) 35%, transparent); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* big, very tight, two-tone headline (white / muted) */
.hero h1 {
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  margin-bottom: var(--sp-4);
}

/* second line: same face, red underline highlight */
.hl {
  color: var(--text-2);
}

.hero-sub {
  font-size: var(--fs-body-lg);
  color: var(--text-2);
  line-height: var(--lh-body);
  max-width: 480px;
  margin-bottom: var(--sp-6);
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--sp-2);
  width: 100%;
  max-width: 320px;
  margin-bottom: var(--sp-6);
}
.hero-cta .btn { width: 100%; }

.arr {
  display: inline-block;
  transition: transform .15s;
}
.btn:hover .arr { transform: translateX(3px); }

/* ---- Stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--sp-4) var(--sp-2);
  min-width: 0;
}
.stat + .stat { border-left: 1px solid var(--border); }

.stat-num {
  font-size: clamp(16px, 4.6vw, 20px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.3;
  text-align: center;
}

/* ==========================================================================
   Phone mock — everything inside scales with the phone via cqw
   (1cqw = 1% of screen width, so it looks identical at any size)
   ========================================================================== */

.demo {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(460px, 130%);
  aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in srgb, var(--text) 10%, transparent) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* iPhone Pro Max proportions: tall 9:19.5 screen, thin bezel, Dynamic Island.
   --pw is the phone width; every frame detail scales from it. */
.phone {
  --pw: min(300px, calc(100vw - 80px));
  position: relative;
  z-index: 1;
  width: var(--pw);
  padding: calc(var(--pw) * .028);
  border-radius: calc(var(--pw) * .15);
  background: linear-gradient(145deg, #55555a 0%, #232326 26%, #34343a 58%, #121214 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12) inset,
    0 0 0 1px rgba(0,0,0,.65),
    0 40px 80px -24px rgba(0,0,0,.65),
    0 0 0 1px var(--border);
}

/* side buttons (action + volume left, power + camera control right) */
.phone-btn {
  position: absolute;
  width: calc(var(--pw) * .012);
  background: linear-gradient(90deg, #202023, #4a4a50);
  border-radius: 2px;
}
.pb-action { left: calc(var(--pw) * -.009); top: 11.5%; height: 3.2%; }
.pb-vol1   { left: calc(var(--pw) * -.009); top: 17.5%; height: 6.2%; }
.pb-vol2   { left: calc(var(--pw) * -.009); top: 25%;   height: 6.2%; }
.pb-power  { right: calc(var(--pw) * -.009); top: 21%;  height: 9.8%; transform: scaleX(-1); }
.pb-camera { right: calc(var(--pw) * -.009); top: 59%;  height: 6%;   transform: scaleX(-1); }

.phone-screen {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 9 / 19.5;
  border-radius: calc(var(--pw) * .106);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 60% at 50% 105%, color-mix(in srgb, var(--text) 7%, transparent), transparent 60%),
    var(--surface);
  /* thin black glass bezel between screen and metal frame */
  box-shadow: 0 0 0 calc(var(--pw) * .014) #000;
}

.phone-island {
  position: absolute;
  top: 2.6cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 28.6cqw;
  height: 8.4cqw;
  background: #000;
  border-radius: 99px;
  z-index: 6;
}
.phone-island::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 2.8cqw;
  width: 3.4cqw;
  height: 3.4cqw;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #26304f 0%, #0b0f1d 60%, #05060b 100%);
}

/* status bar flanking the island */
.phone-status {
  position: absolute;
  top: 2.6cqw;
  left: 0;
  right: 0;
  height: 8.4cqw;
  padding: 0 8cqw 0 9cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 3.9cqw;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  z-index: 5;
  pointer-events: none;
}
.ps-icons { display: inline-flex; align-items: center; gap: 1.6cqw; }
.ps-icons svg { height: 3.6cqw; width: auto; fill: currentColor; }

/* home indicator */
.phone-screen::after {
  content: '';
  position: absolute;
  bottom: 2.2cqw;
  left: 50%;
  width: 34cqw;
  height: 1.2cqw;
  transform: translateX(-50%);
  border-radius: 99px;
  background: color-mix(in srgb, var(--text) 55%, transparent);
  z-index: 7;
}

/* top bar */
.tt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  padding: 15.5cqw 5cqw 0;
  z-index: 3;
}

.tt-profile {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  min-width: 0;
}

.tt-avatar {
  width: 10.5cqw;
  height: 10.5cqw;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #111;
  box-shadow: 0 0 0 .5cqw color-mix(in srgb, var(--text) 38%, transparent);
}
.tt-avatar .brand-mark {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.tt-info {
  display: flex;
  flex-direction: column;
  gap: .6cqw;
  min-width: 0;
}

.tt-username {
  font-size: 4.2cqw;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.tt-live-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 2.8cqw;
  font-weight: 700;
  line-height: 1;
  background: var(--red);
  color: #fff;
  padding: .9cqw 2cqw;
  border-radius: var(--radius-full);
  letter-spacing: .06em;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

.tt-viewers {
  font-size: 3.6cqw;
  font-weight: 600;
  color: var(--text-2);
  background: color-mix(in srgb, var(--text) 8%, transparent);
  padding: 1.4cqw 2.8cqw;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* overlay alerts — pinned in their own zone so they never touch chat */
.demo-overlay {
  position: absolute;
  top: 38cqw;
  left: 6cqw;
  right: 6cqw;
  height: 34cqw;
  z-index: 4;
}

.ov-alert {
  position: absolute;
  inset: 0 0 auto 0;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4.5cqw;
  padding: 3.6cqw 4cqw 4.4cqw;
  text-align: center;
  opacity: 0;
  transform: translateY(-4cqw) scale(.94);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
  box-shadow: 0 3cqw 8cqw -2cqw rgba(0,0,0,.5);
}
.ov-alert::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 40%;
  background: linear-gradient(color-mix(in srgb, var(--text) 6%, transparent), transparent);
  pointer-events: none;
}
.ov-alert::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1cqw;
  width: 100%;
  background: var(--text-3);
  transform-origin: left;
  transform: scaleX(0);
}

.ov-alert.ov-show {
  opacity: 1;
  transform: none;
  animation: alertIn .55s cubic-bezier(.34,1.56,.64,1);
}
.ov-alert.ov-show::after { animation: alertTimer 2.8s linear forwards; }

@keyframes alertIn {
  from { opacity: 0; transform: translateY(-5cqw) scale(.9); }
  to   { opacity: 1; transform: none; }
}
@keyframes alertTimer {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

.ov-header {
  position: relative;
  font-size: 3.7cqw;
  color: var(--text-2);
  margin-bottom: .8cqw;
}

.ov-name {
  font-weight: 700;
  color: var(--red);
}

.ov-amount {
  position: relative;
  font-size: 8.4cqw;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: .8cqw;
}
.ov-alert.ov-show .ov-amount { animation: amountPop .6s cubic-bezier(.34,1.56,.64,1) .1s both; }
@keyframes amountPop {
  from { transform: scale(.85); }
  to   { transform: scale(1); }
}

.ov-msg {
  position: relative;
  font-size: 3.9cqw;
  color: var(--text-2);
}

/* likes floating up the right edge */
.tt-hearts {
  position: absolute;
  right: 4cqw;
  bottom: 26cqw;
  width: 12cqw;
  height: 70cqw;
  z-index: 2;
  pointer-events: none;
}
.tt-hearts span {
  position: absolute;
  bottom: 0;
  left: 50%;
  font-size: 5.6cqw;
  line-height: 1;
  opacity: 0;
  animation: heartUp 5.4s ease-in infinite;
}
.tt-hearts span:nth-child(1) { animation-delay: 0s;   margin-left: -2cqw; }
.tt-hearts span:nth-child(2) { animation-delay: 1.8s; margin-left: 1cqw; }
.tt-hearts span:nth-child(3) { animation-delay: 3.5s; margin-left: -1cqw; }
@keyframes heartUp {
  0%   { transform: translate(0, 0) scale(.6); opacity: 0; }
  12%  { opacity: .9; }
  50%  { transform: translate(-2.5cqw, -32cqw) scale(1); }
  100% { transform: translate(1.5cqw, -64cqw) scale(.9); opacity: 0; }
}

/* chat — bottom-anchored, above the input bar */
.tt-chat {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24cqw;
  padding: 0 5cqw;
  display: flex;
  flex-direction: column;
  gap: 1.6cqw;
  z-index: 2;
}

.chat-line {
  font-size: 3.7cqw;
  line-height: 1.35;
  color: var(--text-2);
  background: color-mix(in srgb, var(--text) 8%, transparent);
  padding: 1.8cqw 3.2cqw;
  border-radius: 3.6cqw;
  width: fit-content;
  max-width: 100%;
  opacity: 0;
  animation: chatCycle 9s ease-out infinite both;
}
.chat-line b {
  color: var(--text);
  font-weight: 600;
  margin-right: 1cqw;
}
.cl-1 { animation-delay: .4s; }
.cl-2 { animation-delay: 1.8s; }
.cl-3 { animation-delay: 3.2s; }

@keyframes chatCycle {
  0%   { opacity: 0; transform: translateY(2cqw); }
  5%   { opacity: 1; transform: none; }
  88%  { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

/* bottom bar */
.tt-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  padding: 3cqw 4cqw 8cqw;
  z-index: 3;
}

.tt-input {
  flex: 1;
  min-width: 0;
  font-size: 3.8cqw;
  line-height: 1;
  color: var(--text-3);
  background: color-mix(in srgb, var(--text) 10%, transparent);
  padding: 3cqw 4cqw;
  border-radius: var(--radius-full);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-actions {
  display: flex;
  gap: 2cqw;
  flex-shrink: 0;
}

.tt-icon {
  width: 9cqw;
  height: 9cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.2cqw;
  background: color-mix(in srgb, var(--text) 10%, transparent);
  border-radius: 50%;
}

/* ==========================================================================
   Section headers
   ========================================================================== */

.section-header-center {
  text-align: center;
  margin-bottom: var(--sp-7);
}
.section-header-center .section-label,
.section-header-center .section-heading { display: block; }
.section-header-center .section-heading { text-wrap: balance; }

.section-sub {
  max-width: 460px;
  margin: var(--sp-2) auto 0;
  font-size: var(--fs-body-lg);
  color: var(--text-2);
  line-height: var(--lh-body);
  text-wrap: balance;
}

/* ==========================================================================
   Steps
   ========================================================================== */

.steps {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--sp-8) var(--container-pad-mobile);
}

.steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: var(--sp-4);
  row-gap: 4px;
  align-items: start;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--text-3);
}

.step-icon {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

.step-number {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-5);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-3);
  opacity: .35;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  padding-right: 40px;
  align-self: end;
}

.step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}

.step-connector { display: none; }

/* ==========================================================================
   Bento
   ========================================================================== */

.bento {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--sp-8) var(--container-pad-mobile);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

.bento-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  overflow: hidden;
  position: relative;
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--text-3);
  box-shadow: var(--glow-accent);
}

.bc-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.bc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bc-tag {
  font-size: var(--fs-caption);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-3);
}

.bento-card h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-heading);
  margin-bottom: var(--sp-2);
}
.bento-card h3 em {
  font-style: italic;
  font-weight: 600;
  color: var(--text-2);
}

.bento-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

/* mini visuals inside cards */
.mini-alert {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-2);
}
.bc-1 p { margin-bottom: var(--sp-5); }
.mini-ico { font-size: 18px; line-height: 1; }
.mini-txt { flex: 1; min-width: 0; }
.mini-txt b { color: var(--text); font-weight: 700; }
.mini-txt strong { color: var(--text); font-weight: 800; white-space: nowrap; }
.mini-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: var(--success-bg);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.chip-x {
  color: var(--text-2);
  text-decoration: line-through;
  text-decoration-color: var(--text-3);
  text-decoration-thickness: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer-v2 {
  border-top: 1px solid var(--border);
  margin-top: var(--sp-5);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--sp-8) var(--container-pad-mobile) var(--sp-6);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-7);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-3);
  line-height: var(--lh-body);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-3);
  margin-bottom: var(--sp-1);
}

.footer-col a {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--duration-fast);
}
.footer-col a:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--sp-5) var(--container-pad-mobile);
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-3);
  text-align: center;
}

/* ==========================================================================
   Mobile menu
   ========================================================================== */

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: var(--sp-2);
  min-height: 44px;
  min-width: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-3) var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open {
  display: flex;
  animation: menuOpen .25s var(--ease-out);
}

@keyframes menuOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-link {
  display: block;
  padding: var(--sp-3);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}
.mobile-menu-link:hover {
  background: var(--surface-hover);
  color: var(--text);
  text-decoration: none;
}
.mobile-menu-link.btn {
  text-align: center;
  color: var(--accent-text);
  padding: 9px 20px;
}
.mobile-menu-link.btn:hover { color: var(--accent-text); background: var(--accent-hover); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-entrance) var(--ease-out),
              transform var(--duration-entrance) var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* footer: brand on top, links in two columns */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6) var(--sp-5);
    padding: var(--sp-7) var(--container-pad-mobile) var(--sp-6);
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* small phones: tighten nav so the hamburger never gets pushed off-screen */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-inner { padding: 0 var(--container-pad-mobile); gap: var(--sp-2); }
  .nav-actions { margin-left: auto; gap: var(--sp-2); }
  .nav-cta { display: none; }
}

@media (max-width: 380px) {
  .brand { font-size: 15px; }
  .theme-seg button { padding: 5px 6px; }
  .stat-label { font-size: 11px; }
  .step { padding: var(--sp-4); column-gap: var(--sp-3); }
  .bento-card { padding: var(--sp-4); }
}

/* mobile hero CTA side-by-side once there's room */
@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
    max-width: none;
    width: auto;
  }
  .hero-cta .btn { width: auto; }
}

@media (min-width: 769px) {
  .section-header-center { margin-bottom: var(--sp-8); }

  .hero { padding: var(--sp-8) var(--container-pad-tablet) var(--sp-7); }

  .steps { padding: var(--sp-8) var(--container-pad-tablet) var(--sp-9); }
  .bento { padding: 0 var(--container-pad-tablet) var(--sp-9); }

  .steps-row {
    grid-template-columns: 1fr 40px 1fr 40px 1fr;
    gap: 0;
    align-items: stretch;
  }

  .step {
    display: block;
    padding: var(--sp-6) var(--sp-5);
  }
  .step-icon { margin-bottom: var(--sp-5); }
  .step-number { top: var(--sp-5); right: var(--sp-5); font-size: 36px; }
  .step h3 { padding-right: 0; font-size: 18px; margin-bottom: var(--sp-2); }
  .step p { font-size: 15px; }

  .step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .step-connector::before {
    content: '';
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--text-3) 0 4px, transparent 4px 8px);
    opacity: .6;
  }

  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--sp-4);
  }
  .bento-card { padding: var(--sp-6); }
  .bc-1 { grid-column: span 7; }
  .bc-2 { grid-column: span 5; }
  .bc-3 { grid-column: span 5; }
  .bc-4 { grid-column: span 7; }
}

/* desktop: two-column hero */
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: var(--sp-7);
    justify-items: stretch;
  }

  .hero-copy {
    align-items: flex-start;
    text-align: left;
  }

  .hero h1 { font-size: clamp(2.75rem, 5.6vw, 4.5rem); }
  .hero-sub { margin-bottom: var(--sp-6); }

  .hero-cta {
    justify-content: flex-start;
    margin-bottom: var(--sp-7);
  }

  .stats { max-width: 480px; }

  .demo { justify-content: center; padding: var(--sp-5) 0; }
  .phone { --pw: 300px; }
}
