/* Campaign landing-page components: the free-assessment page and the platform pages.
   Linked after site.css by free-assessment.html and platform.html.
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #F26522;
  --orange-light: #fff3ec;
  --charcoal: #2D2D2D;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --border: #e5e5e2;
  --bg: #f9f9f7;
  --surface: #ffffff;
  --green: #2e7d32;
  --green-light: #e8f5e9;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-w: 1120px;
}

html { scroll-behavior: smooth; }
section { scroll-margin-top: 64px; }
body { font-family: var(--font); color: var(--text); background: var(--surface); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Utilities (homepage system) ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: .75rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; color: var(--charcoal); line-height: 1.2; margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 640px; line-height: 1.7; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--orange); color: #fff; border: none; border-radius: 8px;
  padding: .8rem 1.5rem; font: 700 .95rem var(--font); cursor: pointer; transition: opacity .15s;
}
.btn-primary:hover { opacity: .88; }
.btn-ghost {
  display: inline-flex; align-items: center; background: none; color: var(--charcoal);
  border: 1.5px solid var(--border); border-radius: 8px; padding: .6rem 1.2rem;
  font: 600 .88rem var(--font); cursor: pointer; transition: border-color .15s;
}
.btn-ghost:hover { border-color: var(--charcoal); }

/* ── Hero + form ── */
#hero { background: linear-gradient(160deg, #fffcf9 0%, #fff 60%); padding: 4rem 0 4.5rem; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: start; }
.breadcrumb { font-size: .78rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb a:hover { color: var(--orange); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--orange-light); color: var(--orange);
  font-size: .78rem; font-weight: 700; padding: .3rem .75rem; border-radius: 20px; letter-spacing: .03em; margin-bottom: 1.25rem;
}
.hero-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 900; color: var(--charcoal); line-height: 1.1; margin-bottom: 1.1rem; }
h1 em { font-style: normal; color: var(--orange); }
.hero-sub { font-size: 1.12rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; max-width: 560px; }
.hero-checks { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.75rem; }
.hero-checks li { font-size: .95rem; padding-left: 1.75rem; position: relative; color: var(--text); }
.hero-checks li::before {
  content: "✓"; position: absolute; left: 0; top: .15rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--green-light); color: var(--green); font-size: .7rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.hero-proof { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; max-width: 560px; }
.hero-proof-faces { display: flex; }
.hero-proof-faces span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; background: #ddd center/cover; margin-left: -10px; }
.hero-proof-faces span:first-child { margin-left: 0; }
.hero-proof p { font-size: .84rem; color: var(--muted); line-height: 1.5; }
.hero-proof strong { color: var(--charcoal); }

.form-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px;
  padding: 1.75rem; box-shadow: 0 14px 48px rgba(0,0,0,.08); position: relative;
}
.form-card::before {
  content: "FREE"; position: absolute; top: -12px; right: 1.5rem; background: var(--green); color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: .25rem .6rem; border-radius: 4px;
}
.form-card h2 { font-size: 1.3rem; font-weight: 800; color: var(--charcoal); margin-bottom: .25rem; }
.form-card .form-sub { font-size: .86rem; color: var(--muted); margin-bottom: 1.25rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.f-field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .8rem; }
.f-field label { font-size: .76rem; font-weight: 700; color: var(--charcoal); }
.f-field label small { font-weight: 500; color: var(--muted); }
.f-field input, .f-field select, .f-field textarea {
  font: .9rem var(--font); color: var(--text); background: var(--surface); width: 100%;
  border: 1.5px solid var(--border); border-radius: 8px; padding: .6rem .75rem; transition: border-color .15s;
}
.f-field textarea { resize: vertical; min-height: 64px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--orange); }
.f-field.invalid input, .f-field.invalid select { border-color: #d32f2f; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-submit { width: 100%; font-size: 1.02rem; padding: .95rem 1.5rem; margin-top: .2rem; }
.f-submit[disabled] { opacity: .6; cursor: wait; }
.f-note { font-size: .75rem; color: var(--muted); margin-top: .7rem; text-align: center; line-height: 1.5; }
.f-error { display: none; background: #fdecea; color: #c62828; border-radius: 8px; padding: .75rem 1rem; font-size: .85rem; font-weight: 600; margin-top: .8rem; }
.f-error.show { display: block; }
.f-error a { color: inherit; text-decoration: underline; }
.f-success { text-align: center; padding: 1.5rem .5rem; outline: none; }
.f-success-icon { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 1rem; background: var(--green-light); color: var(--green); font-size: 1.7rem; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.f-success h2 { margin-bottom: .5rem; }
.f-success p { font-size: .92rem; color: var(--muted); line-height: 1.7; margin-bottom: .75rem; }
.f-success ol { text-align: left; font-size: .88rem; color: var(--text); margin: 1rem 0 0 1.25rem; display: flex; flex-direction: column; gap: .35rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) { .f-row { grid-template-columns: 1fr; gap: 0; } .form-card { padding: 1.35rem; } }

/* ── Trust strip ── */
.trust { background: var(--charcoal); color: #fff; padding: 1.75rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; text-align: center; }
.trust-num { font-size: 1.6rem; font-weight: 900; color: var(--orange); line-height: 1.1; }
.trust-lbl { font-size: .76rem; color: rgba(255,255,255,.7); margin-top: .25rem; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; } .trust-grid > div:last-child { grid-column: span 2; } }

.band { padding: 5rem 0; }
.band.alt { background: var(--bg); }
@media (max-width: 640px) { .band { padding: 3.5rem 0; } }

/* ── Answer box (AEO) ── */
.answer {
  margin-top: 1.5rem; max-width: 820px; background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--orange); border-radius: 10px; padding: 1.1rem 1.25rem; font-size: .98rem; line-height: 1.7;
}
.answer strong { color: var(--charcoal); }

/* ── What's inside ── */
.inside-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.25rem; }
.inside-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.25rem; transition: border-color .2s, box-shadow .2s; }
.inside-card:hover { border-color: var(--orange); box-shadow: 0 4px 20px rgba(242,101,34,.08); }
.inside-top { display: flex; align-items: center; gap: .65rem; margin-bottom: .55rem; }
.inside-icon { width: 2.2rem; height: 2.2rem; border-radius: 8px; background: var(--orange-light); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.inside-card h3 { font-size: .98rem; font-weight: 800; color: var(--charcoal); line-height: 1.3; }
.inside-card p { font-size: .86rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .inside-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .inside-grid { grid-template-columns: 1fr; } }
.inside-card.feature { background: var(--charcoal); border-color: var(--charcoal); }
.inside-card.feature h3 { color: #fff; }
.inside-card.feature p { color: rgba(255,255,255,.72); }
.inside-card.feature .inside-icon { background: rgba(242,101,34,.2); }

/* ── Sample report ── */
.report-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: center; margin-top: 1rem; }
.report-points { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin: 1.5rem 0; }
.report-points li { font-size: .95rem; padding-left: 1.6rem; position: relative; }
.report-points li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.report-viewer { display: grid; grid-template-columns: 1fr 74px; gap: .9rem; align-items: start; }
.report-main {
  border: 0; padding: 0; background: #fff; border-radius: 8px; overflow: hidden; cursor: zoom-in; position: relative;
  box-shadow: 0 16px 50px rgba(0,0,0,.16); transform: rotate(-1.2deg); transition: transform .3s ease, box-shadow .3s ease;
}
.report-main:hover, .report-main:focus-visible { transform: rotate(0) translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.22); outline: none; }
.report-main img { width: 100%; height: auto; display: block; }
.report-main .zoom {
  position: absolute; right: .75rem; bottom: .75rem; background: rgba(45,45,45,.85); color: #fff;
  font-size: .75rem; font-weight: 700; padding: .35rem .65rem; border-radius: 6px;
}
.report-thumbs { display: flex; flex-direction: column; gap: .5rem; }
.report-thumb {
  border: 2px solid var(--border); border-radius: 6px; padding: 0; background: #fff; cursor: pointer; overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.report-thumb:hover { border-color: var(--charcoal); transform: translateX(-3px); }
.report-thumb.active { border-color: var(--orange); }
.report-thumb img { width: 100%; height: auto; display: block; }
.report-badge { grid-column: span 2; font-size: .78rem; color: var(--muted); text-align: center; margin-top: .4rem; }
.report-badge strong { color: var(--charcoal); }
@media (max-width: 900px) {
  .report-wrap { grid-template-columns: 1fr; }
  .report-viewer { grid-template-columns: 1fr; }
  .report-main { transform: none; }
  .report-thumbs { flex-direction: row; }
  .report-thumb { flex: 1; }
  .report-badge { grid-column: auto; }
}

/* ── How it works ── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 1.4rem; left: 12%; right: 12%; height: 2px; background: var(--border); }
.step { text-align: center; position: relative; padding: 0 .5rem; }
.step-num {
  width: 2.8rem; height: 2.8rem; border-radius: 50%; margin: 0 auto .9rem; position: relative; z-index: 1;
  background: var(--orange); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--bg);
}
.step h3 { font-size: 1rem; font-weight: 800; color: var(--charcoal); margin-bottom: .35rem; }
.step p { font-size: .86rem; color: var(--muted); line-height: 1.6; }
.step-time { display: inline-block; margin-top: .5rem; background: var(--green-light); color: var(--green); font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 4px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps::before { top: 0; bottom: 0; left: 1.4rem; right: auto; width: 2px; height: auto; }
  .step { text-align: left; display: grid; grid-template-columns: 2.8rem 1fr; gap: 0 1rem; padding: 0; }
  .step-num { margin: 0; grid-row: span 3; box-shadow: 0 0 0 6px var(--bg); }
  .step-time { justify-self: start; }
}

/* ── Why Shopify ── */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.25rem; }
.stat { background: var(--bg); border-radius: var(--radius); padding: 1.25rem; min-width: 0; }
@media (max-width: 400px) { .stat { padding: 1rem .85rem; } .stat-num { font-size: 1.55rem; } }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--orange); line-height: 1; }
.stat-lbl { font-size: .84rem; color: var(--text); margin-top: .4rem; font-weight: 600; line-height: 1.4; }
.stat-src { font-size: .7rem; color: var(--muted); margin-top: .35rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.benefit { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.benefit h3 { font-size: .98rem; font-weight: 800; color: var(--charcoal); margin-bottom: .35rem; display: flex; gap: .5rem; align-items: center; }
.benefit p { font-size: .86rem; color: var(--muted); line-height: 1.6; }
.stat-note { font-size: .74rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .benefit-grid { grid-template-columns: 1fr; } }

/* ── Videos + reviews ── */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.25rem; }
.video-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.video-thumb {
  position: relative; aspect-ratio: 16/9; border: 0; padding: 0; cursor: pointer; width: 100%;
  background: #000 center/cover no-repeat; display: block;
}
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.45)); }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 58px; height: 58px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center;
  transition: transform .15s; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.video-play::before { content: ""; margin-left: 4px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.video-thumb:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.video-body blockquote { font-size: .92rem; color: var(--charcoal); line-height: 1.65; flex: 1; }
.video-body blockquote::before { content: "\201C"; color: var(--orange); font-size: 1.6rem; font-family: Georgia, serif; line-height: 0; vertical-align: -.45rem; margin-right: .15rem; }
.video-who { margin-top: .9rem; font-size: .82rem; color: var(--muted); }
.video-who strong { display: block; color: var(--charcoal); font-size: .9rem; }
.video-tag { display: inline-block; align-self: flex-start; margin-top: .5rem; background: var(--green-light); color: var(--green); font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 4px; }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; } }

/* ── Case studies ── */
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.25rem; }
.cs-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cs-card:hover { border-color: var(--orange); box-shadow: 0 8px 30px rgba(242,101,34,.1); transform: translateY(-3px); }
.cs-route { display: flex; gap: .4rem; align-items: center; font-size: .72rem; font-weight: 700; margin-bottom: .8rem; flex-wrap: wrap; }
.cs-route .from { background: var(--bg); border: 1px solid var(--border); padding: .15rem .5rem; border-radius: 4px; }
.cs-route .to { background: #96bf48; color: #fff; padding: .15rem .5rem; border-radius: 4px; }
.cs-card h3 { font-size: 1.12rem; font-weight: 800; color: var(--charcoal); margin-bottom: .35rem; }
.cs-card > p { font-size: .87rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.cs-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.1rem; }
.cs-metric { background: var(--bg); border-radius: 8px; padding: .65rem .75rem; }
.cs-metric b { display: block; font-size: 1.25rem; font-weight: 900; color: var(--orange); line-height: 1.1; }
.cs-metric span { font-size: .72rem; color: var(--muted); }
.cs-link { margin-top: auto; font-size: .84rem; font-weight: 700; color: var(--orange); }
.cs-link:hover { text-decoration: underline; }
@media (max-width: 900px) { .cs-grid { grid-template-columns: 1fr; } }

/* ── Platforms / fit ── */
.fit-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.platforms { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.platform { background: var(--surface); border: 1.5px solid var(--border); border-radius: 8px; padding: .5rem .9rem; font-size: .86rem; font-weight: 700; color: var(--charcoal); }
.platform.to { background: #96bf48; border-color: #96bf48; color: #fff; }
.fit-box { background: var(--charcoal); color: #fff; border-radius: 14px; padding: 2rem; }
.fit-box .big { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 900; color: var(--orange); line-height: 1.1; }
.fit-box p { color: rgba(255,255,255,.75); font-size: .92rem; line-height: 1.7; margin-top: .6rem; }
.fit-box ul { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: .45rem; }
.fit-box li { font-size: .88rem; padding-left: 1.4rem; position: relative; }
.fit-box li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
@media (max-width: 860px) { .fit-grid { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.faq { max-width: 820px; margin: 2rem auto 0; display: flex; flex-direction: column; gap: .7rem; }
.faq details { background: var(--surface); border: 1.5px solid var(--border); border-radius: 10px; padding: 0 1.25rem; transition: border-color .15s; }
.faq details[open] { border-color: var(--orange); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 0; font-weight: 700; color: var(--charcoal); display: flex; justify-content: space-between; gap: 1rem; font-size: .98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 1.1rem; color: var(--muted); font-size: .92rem; line-height: 1.7; }

/* ── Final CTA ── */
.final { background: var(--charcoal); color: #fff; padding: 4.5rem 0; text-align: center; }
.final h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 900; line-height: 1.2; margin-bottom: .8rem; }
.final h2 em { font-style: normal; color: var(--orange); }
.final p { color: rgba(255,255,255,.72); max-width: 580px; margin: 0 auto 1.75rem; line-height: 1.7; }
.final .alt { margin-top: 1.1rem; font-size: .85rem; color: rgba(255,255,255,.6); }
.final .alt a { color: #fff; font-weight: 600; text-decoration: underline; }

/* ── Sticky mobile CTA ── */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(0,0,0,.06);
  display: none; transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn-primary { width: 100%; }
@media (max-width: 900px) { .mobile-cta { display: block; } body { padding-bottom: 76px; } }

/* ── Lightbox ── */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(20,20,20,.88); display: none; align-items: center; justify-content: center; padding: 1rem; }
.lb.open { display: flex; }
.lb-box { width: 100%; max-width: 960px; position: relative; max-height: 92vh; }
.lb-box.img { max-width: 720px; }
.lb-content { border-radius: 10px; overflow: auto; max-height: 86vh; background: #000; }
.lb-content.video { aspect-ratio: 16/9; }
.lb-content iframe { width: 100%; height: 100%; border: 0; display: block; }
.lb-content img { width: 100%; height: auto; }
.lb-close { position: absolute; top: -2.6rem; right: 0; background: none; border: none; color: #fff; font: 700 .9rem var(--font); cursor: pointer; padding: .5rem; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); cursor: pointer; font-size: 1.1rem; }
.lb-prev { left: -56px; } .lb-next { right: -56px; }
@media (max-width: 860px) { .lb-prev { left: 6px; } .lb-next { right: 6px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .report-main, .report-thumb, .cs-card, .mobile-cta { transition: none; } }

