/* ==========================================================================
   Shopify Ad Tracking Audit page
   Builds on tokens.css + site.css. Layout and components for this page only.
   ========================================================================== */

.au-section { padding: var(--space-12) 0; }
#request { scroll-margin-top: 96px; }
.au-section.tinted { background: var(--bg-soft); }

/* Skip link: off screen until it receives keyboard focus */
.au-skip { position: absolute; left: -9999px; top: 12px; z-index: 1000; background: var(--brand-purple-700); color: #fff; padding: 10px 16px; border-radius: 8px; }
.au-skip:focus { left: 16px; }
.au-success h3:focus { outline: none; }

/* ---- Hero ---- */
.au-hero {
  padding: var(--space-12) 0 var(--space-11);
  background:
    radial-gradient(700px 420px at 85% 0%, var(--brand-purple-100) 0%, transparent 70%),
    var(--bg);
}
.au-hero-grid {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: var(--space-10); align-items: center;
}
.au-hero h1 {
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(36px, 5vw, 62px); line-height: 1.05; letter-spacing: -.025em;
  color: var(--fg); margin: 18px 0 20px;
}
.au-hero h1 .accent { color: var(--brand-purple-700); }
.au-hero .lead { font-size: 19px; line-height: 1.6; color: var(--fg-muted); margin: 0 0 28px; max-width: 600px; }
.au-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.au-hero-note { margin-top: 18px; font-size: 14px; color: var(--fg-subtle); }

/* Offer card beside the hero copy */
.au-offer {
  background: var(--brand-purple-900); color: #fff;
  border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg, 0 20px 50px rgba(30,4,56,.25));
}
.au-offer-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-mustard-500); }
.au-offer-price { font-size: 56px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 2px; line-height: 1; }
.au-offer-price small { font-size: 16px; font-weight: 500; color: rgba(255,255,255,.7); letter-spacing: 0; margin-left: 6px; }
.au-offer ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.au-offer li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.88); }
.au-offer li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 1px; border-radius: 99px;
  background: var(--brand-mustard-500)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E0438' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

/* ---- Problem cards ---- */
.au-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.au-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 28px;
}
.au-card h3 { font-size: 19px; line-height: 1.3; margin: 0 0 10px; color: var(--fg); }
.au-card p { font-size: 15.5px; line-height: 1.6; color: var(--fg-muted); margin: 0; }

/* ---- Deliverables ---- */
.au-list { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: grid; gap: 14px; }
.au-list li {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px;
}
.au-list .num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-purple-100); color: var(--brand-purple-700); font-weight: 700;
}
.au-list strong { display: block; font-size: 17px; color: var(--fg); margin-bottom: 4px; }
.au-list span.desc { font-size: 15.5px; line-height: 1.55; color: var(--fg-muted); }

/* ---- Steps ---- */
.au-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.au-step { position: relative; padding-top: 52px; }
.au-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 99px;
  display: grid; place-items: center; font-weight: 700;
  background: var(--brand-purple-700); color: #fff;
}
.au-step h3 { font-size: 18px; margin: 0 0 8px; color: var(--fg); }
.au-step p { font-size: 15px; line-height: 1.6; color: var(--fg-muted); margin: 0; }

/* ---- Proof ---- */
.au-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: var(--space-9); }
.au-stat { background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.au-stat .big { font-size: 38px; font-weight: 800; letter-spacing: -.02em; color: var(--brand-purple-700); line-height: 1.1; }
.au-stat p { font-size: 15px; line-height: 1.55; color: var(--fg-muted); margin: 10px 0 0; }
.au-quote {
  max-width: 820px; margin: 0 auto; text-align: center;
}
.au-quote p {
  font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; color: var(--fg); margin: 0 0 18px;
  font-weight: 500;
}
.au-quote .attr { font-size: 15px; color: var(--fg-muted); }
.au-quote .attr strong { color: var(--fg); }
.au-proof-foot { text-align: center; margin-top: 26px; font-size: 13px; color: var(--fg-subtle); }
.au-proof-foot a { color: var(--link); font-weight: 600; }

/* ---- About Henry ---- */
.au-about { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-9); align-items: center; max-width: 920px; margin: 0 auto; }
.au-about img { width: 260px; height: 325px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-md); }
.au-about h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 16px; color: var(--fg); }
.au-about p { font-size: 17px; line-height: 1.65; color: var(--fg-muted); margin: 0 0 14px; }

/* ---- Fit ---- */
.au-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.au-fit-col { background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.au-fit-col h3 { font-size: 18px; margin: 0 0 14px; }
.au-fit-col ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.au-fit-col li { font-size: 15.5px; line-height: 1.55; color: var(--fg-muted); }

/* ---- FAQ (native details, works without JavaScript) ---- */
.au-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.au-faq details { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; }
.au-faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; color: var(--fg);
  display: flex; justify-content: space-between; gap: 16px;
}
.au-faq summary::-webkit-details-marker { display: none; }
.au-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand-purple-700); }
.au-faq details[open] summary::after { content: "\2212"; }
.au-faq details p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.65; color: var(--fg-muted); }

/* ---- Request form ---- */
.au-form-wrap {
  max-width: 720px; margin: 0 auto; background: var(--bg); border: 1px solid var(--border);
  border-radius: 24px; padding: 36px; box-shadow: var(--shadow-md);
}
.au-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.au-form[hidden] { display: none; }
.au-field { display: grid; gap: 7px; }
.au-field.full { grid-column: 1 / -1; }
.au-field label, .au-field legend { font-size: 14px; font-weight: 600; color: var(--fg); padding: 0; }
.au-field .opt { color: var(--fg-subtle); font-weight: 500; }
.au-field input[type=text], .au-field input[type=email], .au-field input[type=url],
.au-field select, .au-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg);
  border: 1.5px solid var(--neutral-500); border-radius: 12px; padding: 12px 14px; background: var(--bg);
}
.au-field textarea { min-height: 110px; resize: vertical; }
.au-field input:focus, .au-field select:focus, .au-field textarea:focus {
  outline: none; border-color: var(--brand-purple-700); box-shadow: 0 0 0 3px var(--brand-purple-100);
}
.au-field fieldset { border: 0; margin: 0; padding: 0; }
.au-checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 7px; }
.au-checks label {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px;
  border: 1.5px solid var(--neutral-500); border-radius: 999px; padding: 9px 16px; cursor: pointer;
}
.au-checks input { accent-color: var(--brand-purple-700); }
.au-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.au-form-actions { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.au-form-actions .small { font-size: 14px; color: var(--fg-subtle); }
.au-form-error {
  grid-column: 1 / -1; background: #FDECEA; color: #8A1F17; border-radius: 12px; padding: 12px 16px; font-size: 15px;
}
.au-success { text-align: center; padding: 10px 0; }
.au-success h3 { font-size: 26px; margin: 0 0 10px; }
.au-success p { font-size: 16.5px; line-height: 1.6; color: var(--fg-muted); margin: 0 auto 22px; max-width: 520px; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .au-hero-grid { grid-template-columns: 1fr; }
  .au-steps { grid-template-columns: 1fr 1fr; }
  .au-cards, .au-stats { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .au-section { padding: var(--space-10) 0; }
  .au-hero { padding: var(--space-10) 0; }
  .au-steps, .au-fit, .au-form { grid-template-columns: 1fr; }
  .au-about { grid-template-columns: 1fr; text-align: center; }
  .au-about img { margin: 0 auto; width: 200px; height: 250px; }
  .au-form-wrap { padding: 24px 18px; }
  .au-offer { padding: 26px; }
  .au-hero-ctas .btn { width: 100%; }
  .au-stat .big { font-size: 30px; }
}
