* { box-sizing: border-box; margin: 0; padding: 0; }
      body { font-family: var(--font-sans); }
      .hw { width: 100%; padding: 1.5rem 0; }
      .steps-nav {
        display: flex;
        gap: 0;
        margin-bottom: 1.5rem;
        border: 0.5px solid var(--color-border-tertiary);
        border-radius: var(--border-radius-lg);
        overflow: hidden;
        background: var(--color-background-secondary);
      }
      .step-btn {
        flex: 1;
        padding: 8px 4px;
        font-size: 11px;
        font-weight: 500;
        color: var(--color-text-tertiary);
        background: transparent;
        border: none;
        cursor: pointer;
        border-right: 0.5px solid var(--color-border-tertiary);
        transition: background 0.15s, color 0.15s;
        line-height: 1.3;
        text-align: center;
      }
      .step-btn:last-child { border-right: none; }
      .step-btn.active {
        background: var(--color-background-primary);
        color: var(--color-text-primary);
      }
      .step-num {
        display: block;
        font-size: 10px;
        color: var(--color-text-tertiary);
        margin-bottom: 2px;
      }
      .step-btn.active .step-num { color: var(--color-brand-dark); }

      .screen-wrap {
        background: var(--color-background-secondary);
        border-radius: var(--border-radius-lg);
        padding: 1rem;
        margin-bottom: 1rem;
      }
      .phone {
        width: 240px;
        margin: 0 auto;
        background: var(--color-background-primary);
        border-radius: 20px;
        border: 0.5px solid var(--color-border-secondary);
        overflow: hidden;
        min-height: 380px;
      }
      .phone-bar {
        background: var(--color-background-secondary);
        padding: 10px 14px 8px;
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: flex-start;
      }
      .phone-bar-mark {
        width: 22px;
        height: 22px;
        display: block;
        flex-shrink: 0;
      }
      .phone-bar-title { font-size: 13px; font-weight: 500; color: var(--color-text-primary); }
      .phone-bar-sub { font-size: 10px; color: var(--color-text-tertiary); }
      .phone-body { padding: 14px; }

      .caption {
        text-align: center;
        font-size: 13px;
        color: var(--color-text-secondary);
        line-height: 1.5;
        max-width: 420px;
        margin: 0 auto;
        padding: 0 1rem;
      }

      .nav-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
      }
      .nav-btn {
        padding: 8px 16px;
        font-size: 13px;
        font-weight: 500;
        border-radius: var(--border-radius-md);
        border: 0.5px solid var(--color-border-secondary);
        background: transparent;
        color: var(--color-text-primary);
        cursor: pointer;
        font-family: var(--font-sans);
      }
      .nav-btn.primary {
        background: var(--color-brand-dark);
        color: var(--color-brand-tint);
        border-color: var(--color-brand-dark);
      }
      .nav-btn:disabled { opacity: 0.3; cursor: default; }
      .prog { font-size: 12px; color: var(--color-text-tertiary); }

      .field { margin-bottom: 10px; }
      .field-label { font-size: 10px; color: var(--color-text-tertiary); margin-bottom: 3px; }
      .field-val {
        font-size: 12px;
        color: var(--color-text-primary);
        background: var(--color-background-secondary);
        border: 0.5px solid var(--color-border-tertiary);
        border-radius: var(--border-radius-md);
        padding: 7px 10px;
      }
      .field-val.placeholder { color: var(--color-text-tertiary); }

      .big-btn {
        width: 100%;
        padding: 10px;
        border-radius: var(--border-radius-md);
        border: none;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        font-family: var(--font-sans);
        margin-top: 8px;
      }
      .big-btn.green { background: var(--color-brand-tint); color: var(--color-brand-darker); }
      .big-btn.dark { background: var(--color-brand-darker); color: var(--color-brand-tint); }

      .delivery-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 7px 0;
        border-bottom: 0.5px solid var(--color-border-tertiary);
        font-size: 11px;
      }
      .delivery-row:last-child { border-bottom: none; }
      .delivery-platform {
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 10px;
        background: var(--color-background-secondary);
        color: var(--color-text-secondary);
        margin-bottom: 2px;
        display: inline-block;
      }
      .delivery-payout { font-weight: 500; color: var(--color-text-primary); font-size: 12px; }
      .delivery-tip { font-size: 10px; color: var(--color-brand-dark); }

      .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
      .stat-card {
        background: var(--color-background-secondary);
        border-radius: var(--border-radius-md);
        padding: 8px 10px;
      }
      .stat-card .s-label { font-size: 9px; color: var(--color-text-tertiary); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.06em; }
      .stat-card .s-val { font-size: 16px; font-weight: 500; color: var(--color-text-primary); }
      .stat-card .s-val.green { color: var(--color-brand-dark); }
      .stat-card .s-val.red { color: var(--color-negative); }

      .cost-row {
        display: flex;
        justify-content: space-between;
        font-size: 11px;
        padding: 5px 0;
        border-bottom: 0.5px solid var(--color-border-tertiary);
        color: var(--color-text-secondary);
      }
      .cost-row:last-child { border-bottom: none; }
      .cost-row .val { font-weight: 500; color: var(--color-text-primary); }
      .cost-row .val.neg { color: var(--color-negative); }
      .cost-row .val.pos { color: var(--color-brand-dark); font-size: 13px; }

      .google-btn {
        width: 100%;
        padding: 10px;
        border-radius: var(--border-radius-md);
        border: 0.5px solid var(--color-border-secondary);
        background: var(--color-background-primary);
        font-size: 13px;
        font-weight: 500;
        color: var(--color-text-primary);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-family: var(--font-sans);
        margin-top: 16px;
      }
      .g-icon {
        width: 16px; height: 16px;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
      }

      .screen { display: none; }
      .screen.active { display: block; }

      .chart-bar-wrap { margin-top: 8px; }
      .chart-row { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; font-size: 10px; color: var(--color-text-secondary); }
      .chart-bar-bg { flex: 1; height: 12px; background: var(--color-background-secondary); border-radius: 3px; overflow: hidden; }
      .chart-bar-fill { height: 100%; border-radius: 3px; background: var(--color-brand-primary); }
      .chart-val { font-size: 10px; font-weight: 500; color: var(--color-text-primary); min-width: 32px; text-align: right; }

/* ---------- Responsive layout (desktop / tablet) ---------------------
 *
 * The walkthrough page is mostly a phone mockup (.phone is 240px) plus
 * surrounding chrome (steps-nav, caption, nav buttons). On wide
 * viewports we just want to center it — the phone shouldn't grow with
 * the viewport, and the steps-nav already reads fine constrained.
 *
 * One nice-to-have on really wide screens: side-by-side phone + caption
 * instead of stacked. Skipped for v1 — the centered single-column
 * layout reads cleanly enough. Revisit if marketing wants more density.
 */

@media (min-width: 720px) {
  .hw {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5rem 2rem;
  }

  /* Slightly larger phone on desktop so the screens are easier to
   * read — still keeps a phone-like aspect ratio. */
  .phone {
    width: 280px;
  }

  /* Steps nav doesn't need to span the entire 720px — a tighter
   * cluster reads more like a tab bar. */
  .steps-nav {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1024px) {
  .hw {
    padding: 3.5rem 2rem;
  }
}
