/* StoreAuditLab homepage layer.
   Shared tokens, site chrome, buttons, and base typography live in pages.css. */

.page-style-home main {
  overflow: clip;
}

.page-style-home section {
  position: relative;
  padding: 104px 0;
}

/* ---------- Hero ---------- */
.hero {
  padding: 92px 0 0 !important;
}

.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -160px;
  border-radius: 50%;
  border: 1px solid rgba(52, 211, 153, 0.1);
  box-shadow:
    0 0 0 70px rgba(52, 211, 153, 0.025),
    0 0 0 140px rgba(52, 211, 153, 0.018);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.hero-copy {
  padding-bottom: 82px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 8px 15px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.075);
  color: var(--emerald-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 12px var(--emerald);
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(2.65rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--emerald-bright);
}

.hero-copy > p {
  max-width: 660px;
  margin: 0 0 34px;
  color: var(--slate-light);
  font-size: clamp(1.02rem, 1.8vw, 1.16rem);
  line-height: 1.72;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-cta-row .btn {
  min-height: 52px;
  padding: 14px 25px;
  font-size: 0.96rem;
}

.risk-reducers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  color: var(--slate);
  font-size: 0.82rem;
}

.risk-reducers span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.risk-reducers i {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(52, 211, 153, 0.38);
  border-radius: 50%;
  color: var(--emerald-bright);
  font-style: normal;
  font-size: 0.65rem;
}

.risk-reducers i::before {
  content: "\2713";
}

.hero-report {
  position: relative;
  display: grid;
  gap: 14px;
  align-self: stretch;
  min-height: 520px;
  padding: 22px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius-lg) var(--radius-lg) 8px var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(22, 33, 58, 0.92), rgba(7, 12, 24, 0.86)),
    var(--card);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 70px rgba(16, 185, 129, 0.07);
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  transform: rotate(1.5deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.hero-report::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-report:hover {
  color: var(--white);
  border-color: var(--border-glow);
  transform: rotate(0) translateY(-4px);
}

.hero-report__label,
.hero-report__footer {
  position: relative;
  z-index: 1;
}

.hero-report__label {
  color: var(--emerald-bright);
  font-family: "Sora", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-report__frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 22px 22px 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(7, 12, 24, 0.5);
}

.hero-report__frame img {
  display: block;
  width: min(100%, 270px);
  transform: translateY(30px) rotate(-1deg);
  border-radius: 5px 5px 0 0;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48);
}

.hero-report__footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 2px;
  color: var(--slate);
  font-size: 0.68rem;
}

.hero-report__footer span {
  display: grid;
  gap: 1px;
}

.hero-report__footer strong {
  color: var(--white);
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.hero-rule {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(7, 12, 24, 0.62);
}

.hero-rule span {
  padding: 16px 20px;
  border-right: 1px solid var(--border);
  color: var(--slate);
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-rule span:last-child {
  border-right: 0;
}

/* ---------- Scope band ---------- */
.scope-band {
  padding: 42px 0 !important;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 12, 24, 0.4);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.scope-grid > div {
  padding: 6px 28px;
  border-right: 1px solid var(--border);
}

.scope-grid > div:last-child {
  border-right: 0;
}

.scope-num {
  color: var(--emerald-bright);
  font-family: "Sora", sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.scope-label {
  margin-top: 8px;
  color: var(--slate);
  font-size: 0.8rem;
}

/* ---------- Sections ---------- */
.section-label {
  margin-bottom: 14px;
  color: var(--emerald-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.7vw, 3rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-desc {
  max-width: 680px;
  margin: 0 0 50px;
  color: var(--slate-light);
  font-size: 1.03rem;
}

.center .section-label,
.center .section-title,
.center .section-desc {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.prose {
  max-width: 780px;
}

.prose h3 {
  margin: 36px 0 12px;
  font-size: 1.14rem;
}

.prose p {
  margin: 0 0 18px;
  color: var(--slate-light);
  font-size: 1rem;
}

.prose strong {
  color: var(--white);
}

a.inline-link,
.prose a,
.faq-a a {
  color: var(--emerald-bright);
  font-weight: 600;
  text-decoration: none;
}

a.inline-link:hover,
.prose a:hover,
.faq-a a:hover {
  text-decoration: underline;
}

/* ---------- Proof ---------- */
.proof,
.deliverable,
.honesty {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(700px 320px at 50% 25%, rgba(16, 185, 129, 0.07), transparent 70%),
    var(--navy-0);
}

.proof-fan {
  position: relative;
  height: 470px;
  max-width: 820px;
  margin: 8px auto 42px;
}

.proof-fan img {
  position: absolute;
  width: 310px;
  max-width: 42vw;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.58);
  transition: transform 0.25s ease;
}

.proof-fan img:nth-child(1) { left: 5%; top: 42px; z-index: 1; transform: rotate(-6deg); }
.proof-fan img:nth-child(2) { left: 50%; top: 0; z-index: 3; transform: translateX(-50%) rotate(0.5deg); }
.proof-fan img:nth-child(3) { right: 5%; top: 50px; z-index: 2; transform: rotate(6deg); }
.proof-fan img:hover { z-index: 5; transform: rotate(0) scale(1.035); }
.proof-fan img:nth-child(2):hover { transform: translateX(-50%) scale(1.035); }

.proof-note {
  max-width: 590px;
  margin: 0 auto 28px;
  color: var(--slate);
  text-align: center;
  font-size: 0.8rem;
}

.proof-cta {
  text-align: center;
}

/* ---------- Reusable cards ---------- */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.check-card,
.tri-card,
.fit-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(22, 33, 58, 0.96), rgba(18, 28, 48, 0.82));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.check-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(52, 211, 153, 0.08);
  border-radius: 50%;
}

.check-card {
  transition: border-color 0.2s, transform 0.2s;
}

.check-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.check-card .num {
  margin-bottom: 14px;
  color: var(--emerald-bright);
  font-family: "Sora", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.check-card h3 {
  margin: 0 0 9px;
  font-size: 1.04rem;
}

.check-card p,
.tri-card p,
.step p,
.fit-card li {
  color: var(--slate-light);
  font-size: 0.88rem;
}

.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tri-card .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pill .p-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.pill-now { color: var(--red); border: 1px solid rgba(248, 113, 113, 0.28); background: rgba(248, 113, 113, 0.08); }
.pill-next { color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.28); background: rgba(245, 158, 11, 0.08); }
.pill-wait { color: var(--emerald-bright); border: 1px solid rgba(16, 185, 129, 0.28); background: rgba(16, 185, 129, 0.08); }
.pill-now .p-dot { background: var(--red); }
.pill-next .p-dot { background: var(--amber); }
.pill-wait .p-dot { background: var(--emerald-bright); }

/* ---------- Process ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 52px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  right: 16%;
  left: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.5), transparent);
}

.step {
  position: relative;
  text-align: center;
}

.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border: 1px solid rgba(52, 211, 153, 0.52);
  border-radius: 50%;
  background: var(--navy-1);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.13);
  color: var(--emerald-bright);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

/* ---------- Honesty and fit ---------- */
.honesty {
  text-align: center;
}

.honesty h2 {
  max-width: 800px;
  margin: 0 auto 24px;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.honesty h2 .keep {
  color: var(--emerald-bright);
}

.honesty p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--slate-light);
  font-size: 1.02rem;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fit-card h3 {
  margin: 0 0 18px;
  font-size: 1.06rem;
}

.fit-card ul,
.includes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-card li,
.includes li {
  position: relative;
  padding: 7px 0 7px 27px;
}

.fit-yes li::before,
.includes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--emerald-bright);
  font-weight: 800;
}

.fit-no li::before {
  content: "\00d7";
  position: absolute;
  left: 2px;
  color: var(--slate);
  font-size: 1.1rem;
  font-weight: 800;
}

/* ---------- Price ---------- */
.cta-box {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 62px 52px;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(400px 260px at 50% 0%, rgba(16, 185, 129, 0.13), transparent 70%),
    linear-gradient(150deg, rgba(22, 33, 58, 0.98), rgba(7, 12, 24, 0.94));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.cta-box h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.04em;
}

.cta-box > p {
  margin: 0 0 30px;
  color: var(--slate-light);
}

.price-tag {
  margin: 0;
  font-size: 4rem;
  font-weight: 800;
}

.price-tag sup {
  color: var(--emerald-bright);
  font-size: 1.6rem;
}

.cta-box .price-sub {
  margin: 6px 0 30px;
}

.includes {
  max-width: 460px;
  margin: 0 auto 34px;
  text-align: left;
}

.includes li {
  color: var(--slate-light);
  font-size: 0.9rem;
}

.fiverr-alt {
  margin-top: 20px !important;
  color: var(--slate) !important;
  font-size: 0.84rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 46px auto 0;
}

.faq-list details {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-glass);
}

.faq-list details[open] {
  border-color: var(--border-glow);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  color: var(--white);
  font-weight: 650;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  color: var(--emerald-bright);
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 22px 20px;
  color: var(--slate-light);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .page-style-home section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 68px !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-copy {
    padding-bottom: 44px;
  }

  .hero-report {
    width: min(620px, 100%);
    min-height: 0;
    margin: 0 auto 54px;
    transform: none;
  }

  .hero-report__frame {
    min-height: 330px;
  }

  .scope-grid {
    grid-template-columns: 1fr 1fr;
  }

  .scope-grid > div:nth-child(2) {
    border-right: 0;
  }

  .scope-grid > div:nth-child(-n + 2) {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
  }

  .scope-grid > div:nth-child(n + 3) {
    padding-top: 24px;
  }

  .tri-grid,
  .steps,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .proof-fan {
    display: flex;
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .proof-fan img {
    position: static;
    width: min(350px, 86vw);
    max-width: none;
    transform: none !important;
  }

  .proof-fan img:nth-child(3) {
    display: none;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .risk-reducers {
    display: grid;
  }

  .hero-report {
    padding: 16px;
    border-radius: 20px 20px 6px 20px;
  }

  .hero-report__frame {
    min-height: 280px;
    padding: 12px 12px 0;
  }

  .hero-rule {
    grid-template-columns: 1fr;
  }

  .hero-rule span {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-rule span:last-child {
    border-bottom: 0;
  }

  .scope-grid {
    gap: 0;
  }

  .scope-grid > div {
    padding-right: 14px;
    padding-left: 14px;
  }

  .scope-num {
    font-size: 1.9rem;
  }

  .scope-label {
    font-size: 0.72rem;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .check-card,
  .tri-card,
  .fit-card {
    padding: 23px;
  }

  .cta-box {
    padding: 44px 23px;
  }
}
