/* ============================================================
   The shop window.

   One bold element — the headline set against a real phone
   running the real buying screen — and everything else quiet.
   Built phone-first; the two columns only appear when there is
   room for them.
   ============================================================ */

.ad-hero {
  display: grid; gap: 34px;
  padding: 10px 0 44px;
}

.ad-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  margin: 0 0 20px;
}
.ad-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--a2); box-shadow: 0 0 0 4px var(--a2-bg);
}

/* The headline is the design, not a label for it. */
.ad-headline {
  font-size: clamp(34px, 10.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--ink);
}

.ad-lede {
  font-size: clamp(15.5px, 4.1vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 26px;
}

.ad-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: var(--radius); }

.ad-assure { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ad-assure li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--muted);
}
.ad-assure svg { color: var(--a2); flex: 0 0 auto; }

/* ------------------------------------------------- the phone */

.ad-hero-art { position: relative; display: flex; justify-content: center; padding: 8px 0 40px; }

.phone {
  width: 252px; flex: 0 0 252px;
  border-radius: 34px;
  background: var(--ink);
  padding: 9px;
  box-shadow:
    0 2px 6px rgba(16,26,43,.10),
    0 30px 60px -24px rgba(16,26,43,.45);
}
.phone-screen {
  background: var(--surface);
  border-radius: 26px;
  padding: 10px 13px 16px;
  overflow: hidden;
}

/* The second phone is the moment after — the point of the whole thing. */
/* It sits off the main phone's bottom corner — near enough to read as
   the next moment, far enough to leave the pay button showing. */
.phone-behind {
  position: absolute; right: max(0px, calc(50% - 184px)); bottom: -6px;
  width: 126px; flex-basis: 126px;
  transform: rotate(7deg);
  border-radius: 22px; padding: 6px;
}
.phone-behind .phone-screen { min-height: 208px; border-radius: 17px; padding: 14px 10px; }
.phone-screen-done {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; text-align: center;
  background: linear-gradient(160deg, var(--grad-from), var(--grad-to));
  color: var(--on-grad);
}
.mock-tick {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: inline-flex; align-items: center; justify-content: center;
}
.phone-screen-done strong { font-size: 13.5px; letter-spacing: -0.01em; }
.mock-done-sub { font-size: 10px; opacity: .8; font-family: var(--mono); }

.mock-bar { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; }
.mock-time { font-size: 10.5px; font-weight: 700; color: var(--text); }
.mock-dots { display: inline-flex; gap: 3px; }
.mock-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); display: block; }

.mock-head {
  display: flex; align-items: center; gap: 7px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 13px;
}
.mock-brand {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--brand); color: var(--on-brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.mock-name { font-size: 12px; font-weight: 700; }
.mock-wallet {
  margin-left: auto; font-size: 9.5px; font-weight: 700;
  background: var(--brand-50); color: var(--brand-700);
  border-radius: 999px; padding: 3px 8px;
}

.mock-step {
  font-size: 9.5px; font-weight: 700; color: var(--muted-2);
  margin: 0 0 6px;
}
.mock-field {
  display: flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--brand); border-radius: 10px;
  padding: 9px 10px; margin-bottom: 7px;
}
.mock-prefix { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mock-number { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--text); }
.mock-caret {
  display: inline-block; width: 1.5px; height: 13px; vertical-align: -2px;
  background: var(--brand); margin-left: 2px;
  animation: mock-blink 1.1s step-end infinite;
}
@keyframes mock-blink { 50% { opacity: 0; } }

.mock-detect { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); margin: 0 0 15px; }

.mock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-bottom: 16px; }
.mock-chip {
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 11px 9px; font-size: 13px; font-weight: 700; color: var(--text);
}
.mock-chip.is-picked { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }

.mock-pay {
  background: var(--brand); color: var(--on-brand);
  border-radius: 11px; padding: 12px; text-align: center;
  font-size: 12.5px; font-weight: 700;
}

/* --------------------------------------------- the networks */

.ad-networks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; margin-bottom: 52px;
}
.ad-net {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
}
.ad-net-text { display: flex; flex-direction: column; min-width: 0; }
.ad-net-text strong { font-size: 15px; line-height: 1.25; }
.ad-net-text span { font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------ the steps */

.ad-steps { margin-bottom: 56px; }
.ad-steps h2, .ad-why h2, .ad-close h2 {
  font-size: clamp(24px, 6.4vw, 34px);
  letter-spacing: -0.03em; margin: 0 0 24px;
}

.ad-step-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  counter-reset: none;
}
.ad-step-list li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.ad-step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--brand-50); color: var(--brand-700);
  font-weight: 800; font-size: 14px; margin-bottom: 12px;
}
.ad-step-list h3 { font-size: 17px; margin: 0 0 6px; }
.ad-step-list p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* -------------------------------------------------- the why */

.ad-why { display: grid; gap: 28px; margin-bottom: 56px; }
.ad-why-main p { font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 36em; }
.ad-why-note { font-size: 14px !important; margin-bottom: 20px; }

.ad-why-side { display: grid; gap: 14px; }
.ad-point {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.ad-point-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-50); color: var(--brand-700); margin-bottom: 11px;
}
.ad-point h3 { font-size: 15.5px; margin: 0 0 5px; }
.ad-point p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ------------------------------------------------- the close */

.ad-close {
  background: linear-gradient(150deg, var(--grad-from), var(--grad-to));
  color: var(--on-grad);
  border-radius: var(--radius-lg);
  padding: 44px 26px; text-align: center; margin-bottom: 12px;
  position: relative; overflow: hidden;
}
.ad-close::after {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.07); right: -110px; top: -140px;
}
.ad-close h2 { color: inherit; margin-bottom: 10px; position: relative; }
.ad-close p { font-size: 15.5px; opacity: .88; margin: 0 0 22px; position: relative; }
.ad-close .btn {
  background: var(--surface); color: var(--brand-700); border: 0;
  position: relative;
}
.ad-close .btn:hover { background: var(--surface); opacity: .92; }
.ad-close-help { font-size: 13.5px; margin: 18px 0 0 !important; }
.ad-close-help a { color: inherit; text-decoration: underline; }

/* ------------------------------------------------ wider than a phone */

@media (min-width: 760px) {
  .ad-hero {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 40px;
    padding: 26px 0 64px;
  }
  .ad-hero-art { padding-bottom: 20px; }
  .ad-assure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ad-why { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .ad-close { padding: 64px 40px; }
}

@media (min-width: 1040px) {
  .phone { width: 282px; flex-basis: 282px; }
  .phone-behind { right: max(0px, calc(50% - 198px)); width: 138px; flex-basis: 138px; }
  .phone-behind .phone-screen { min-height: 236px; }
  .ad-assure { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .mock-caret { animation: none; }
}


/* --------------------------------------------- who buys here */

.ad-who { margin-bottom: 56px; }
.ad-who-grid { display: grid; gap: 14px; }
.ad-who-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.ad-who-card h3 { font-size: 16.5px; margin: 0 0 7px; }
.ad-who-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ----------------------------------------------- the reseller */

.ad-reseller {
  display: grid; gap: 24px; margin-bottom: 56px;
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.ad-reseller h2 { margin-bottom: 12px; }
.ad-reseller-copy p {
  font-size: 15px; line-height: 1.65; color: var(--muted);
  max-width: 34em; margin: 0 0 20px;
}
.ad-reseller-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ad-reseller-list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 14px; color: var(--text);
}
.ad-reseller-list svg { color: var(--brand-700); flex: 0 0 auto; margin-top: 2px; }

/* -------------------------------------------- asked often */

.ad-asked { margin-bottom: 56px; }
.ad-qa { display: grid; gap: 2px; }
.ad-qa details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0 18px;
}
.ad-qa summary {
  cursor: pointer; list-style: none;
  padding: 16px 0; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.ad-qa summary::-webkit-details-marker { display: none; }
.ad-qa summary::after {
  content: ''; width: 9px; height: 9px; flex: 0 0 auto;
  border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .18s ease;
}
.ad-qa details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.ad-qa p {
  margin: 0; padding: 0 0 17px; font-size: 14px;
  color: var(--muted); line-height: 1.6; max-width: 46em;
}

@media (min-width: 760px) {
  .ad-who-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ad-reseller { grid-template-columns: 1.15fr .85fr; gap: 40px; padding: 40px; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ad-qa summary::after { transition: none; }
}
