/* Home-page-only rules. Loaded after main.css via `extra_css: [home]`. */

html{ scroll-behavior: smooth; font-size: 17px; }
h3{ font-family: "Space Grotesk", "IBM Plex Sans", sans-serif; color: var(--text); margin: 0; }

.wrap{ max-width: 1360px; }

/* ---------- header (home variant) ---------- */
header{
  position: sticky; top:0; z-index: 40;
  background: rgba(238,241,244,0.9);
  backdrop-filter: blur(10px);
}
header .wrap{ height: 82px; }
.brand{ gap:14px; }
.brand img{ height: 50px; }
.brand-text{ font-size: 23px; }

.btn{
  appearance:none; border:none; cursor:pointer;
  font-family:"IBM Plex Sans",sans-serif; font-size:16px; font-weight:600;
  padding: 13px 26px; border-radius: 7px;
  display:inline-flex; align-items:center; gap:8px;
}
.btn-primary{ background:var(--accent); color:var(--accent-ink, #ffffff); }
.btn-primary:hover{ background:#a91771; }

/* ---------- hero ---------- */
.hero{ padding: 26px 0 16px; text-align:center; }
.hero h1{
  font-size: 38px;
  font-weight: 700; letter-spacing: -0.01em; line-height:1.25;
  max-width: 980px; margin: 0 auto;
}
.hero p{
  max-width: 680px; margin: 14px auto 0;
  color: var(--text-soft); font-size: 16px; line-height:1.5;
}
.hero-offer{
  max-width: 920px; margin: 20px auto 0 0; text-align:left;
}
.hero-offer ul{ margin:0; padding-left:22px; }
.hero-offer li{
  font-size:16.5px; line-height:1.6; margin:3px 0;
  text-align:left;
}
.hero-offer li b{ font-weight:700; }
.hero-offer li:nth-child(1){ color: var(--turquoise); }
.hero-offer li:nth-child(1)::marker{ color: var(--turquoise); }
.hero-offer li:nth-child(2){ color: var(--accent); }
.hero-offer li:nth-child(2)::marker{ color: var(--accent); }
.hero-offer li:nth-child(3){ color: var(--text-soft); }
.hero-offer li:nth-child(3)::marker{ color: var(--text-soft); }

/* ---------- showcase ---------- */
.showcase{
  display:grid;
  grid-template-columns: 1.05fr 1.3fr 1.05fr;
  gap: 30px;
  align-items:start;
  padding: 14px 0 28px;
}
.panel{ padding-top: 10px; }
.panel h2{ font-size: 38px; font-weight:700; letter-spacing: -0.01em; margin-bottom: 16px; }
.panel ul{ margin:0; padding:0; list-style:none; }
.panel li{
  font-size: 20px; line-height:1.45; color: var(--text-soft); padding: 16px 0;
  border-top: 1px solid var(--line);
}
.panel li:first-child{ border-top:none; padding-top:0; }
.panel li b{ color:var(--text); font-weight:600; }

.stage{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stage-frame{ width:100%; height: min(70vh, 660px); }
.stage-frame iframe{ width:100%; height:100%; border:0; display:block; }
.stage-caption{
  padding: 10px 18px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-dim); text-align:center;
}

@media (max-width: 980px){
  .showcase{ grid-template-columns: 1fr; }
  .stage-frame{ height: 56vh; }
}

/* ---------- generic sections ---------- */
.section{ padding: 20px 0 44px; }
.results-section{ padding: 8px 0 20px; }
.section-head{ margin-bottom: 22px; }
.section-head h2{ font-size: 25px; font-weight:700; letter-spacing:-0.01em; }
.section-sub{ margin: 8px 0 0; font-size: 15.5px; color: var(--text-soft); max-width: 620px; }

/* ---------- about ---------- */
.about-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 44px;
}
.about-card p{ font-size: 17px; line-height:1.55; color: var(--text-soft); margin: 0 0 14px; max-width: 100%; }
.about-card .strong-lead{ font-weight:600; color: var(--text); }
.about-card p:last-of-type{ margin-bottom: 0; }
.about-card ol{ margin: 0 0 14px; padding-left: 24px; }
.about-card li{ font-size: 17px; line-height:1.55; color: var(--text-soft); margin: 0 0 10px; }
.about-card li:last-child{ margin-bottom: 0; }
.about-card li b{ color: var(--text); font-weight:700; }
.chips{ display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.chip{
  font-size: 16.5px; font-weight:600; padding: 9px 18px; border-radius: 22px;
}
.chip.magenta{ background: var(--accent-soft); color: #7a1054; }
.chip.turquoise{ background: var(--turquoise-soft); color: #0a6570; }

/* ---------- results ---------- */
.results{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  text-align:center;
}
.stat-btn{
  display:flex; align-items:center; justify-content:center;
  text-decoration:none;
  border-radius: var(--radius);
  padding: 13px 16px;
  color: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.stat-btn:hover{ transform: translateY(-3px); box-shadow: 0 26px 60px rgba(20,25,35,0.16); }
.stat-btn span{ font-family:"Space Grotesk",sans-serif; font-size: 19px; font-weight:600; letter-spacing:-0.005em; }
.stat-btn.turquoise{ background: var(--turquoise); }
.stat-btn.magenta{ background: var(--accent); }
.stat-btn.gray{ background: #6b7480; }
@media (max-width: 720px){
  .results{ grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
}

/* ---------- contact cta ---------- */
.cta{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px 32px;
  text-align:center;
}
.cta h2{ font-size: 23px; font-weight:700; }
.cta p{ margin: 8px 0 22px; color:var(--text-soft); font-size:16px; }

/* ---------- footer (home variant) ---------- */
footer{ padding: 24px 0 32px; }
footer, footer a{ font-size: 14px; }

/* ---------- contact modal ---------- */
.modal-backdrop{
  position:fixed; inset:0; background: rgba(20,24,32,0.44);
  display:none; align-items:center; justify-content:center; padding:24px;
  z-index: 100;
}
.modal-backdrop.open{ display:flex; }
.modal{
  background: var(--surface);
  border-radius: 14px;
  width: 100%; max-width: 440px;
  padding: 28px 28px 24px;
  box-shadow: 0 30px 80px rgba(15,18,24,0.28);
}
.modal-head{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom: 4px; }
.modal h3{ font-size:20px; font-weight:700; }
.modal p.lead{ color:var(--text-soft); font-size:14.5px; margin:6px 0 18px; }
.modal-close{
  background:none; border:none; cursor:pointer; color:var(--text-dim);
  font-size:22px; line-height:1; padding:2px;
}
.field{ margin-bottom: 15px; }
.field label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:6px; }
.field input, .field textarea{
  width:100%; font-family:"IBM Plex Sans",sans-serif; font-size:15px;
  padding: 11px 13px; border-radius:7px; border:1px solid var(--line);
  background: #fafbfc; color:var(--text); resize: vertical;
}
.field input:focus, .field textarea:focus{ outline:none; border-color: var(--accent); }
.field textarea{ min-height: 100px; }
.field-check{ display:flex; align-items:center; gap:8px; font-size:14.5px; color:var(--text-dim); }
.field-check input{ width:68px; flex:none; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.modal-status{ font-size:14px; margin-top:12px; display:none; }
.modal-status.ok{ color:#1a7a4c; display:block; }
.modal-status.err{ color:#c0392b; display:block; }
.modal .btn-primary{ width:100%; justify-content:center; margin-top:6px; }
