/* home.css — Home page sections: hero, how-it-works, why-bitcoin. */

/* ---------- Hero ---------- */
.hero{
  max-width:var(--maxw);margin:0 auto;
  display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;
  padding:96px 28px 88px;
}
h1 em{font-style:italic;color:var(--orange-deep)}
/* sub-headline: explicit 1.55 leading + a wider measure (34ch -> 44ch) so it stops wrapping to 4 lines on desktop */
.hero-sub{font-size:19px;line-height:1.55;color:var(--ink-soft);max-width:44ch;margin-bottom:36px}
.hero-ctas{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
/* hero secondary CTA: ghost pill. No page-scoped override needed any more — the AA fix in
   kanban t_2b61265d moved the outline colour into the base .btn-ghost rule in tokens.css
   (--orange-deep, 3.89:1 on --paper). Do NOT re-add a `.hero-ctas .btn-ghost` rest rule:
   it ties on specificity (0,2,0) with `.btn-ghost:hover` and, loading later, would pin the
   hover fill to --paper and kill the hover state. */
.hero-trust{margin-top:44px;display:flex;gap:16px 26px;flex-wrap:wrap;font-size:15px;font-weight:500;color:var(--ink)}
.hero-trust span{display:flex;align-items:center;gap:9px;white-space:nowrap}
.hero-trust svg{width:18px;height:18px;flex:none;color:var(--orange-deep)}

/* ---------- Hero illustration ---------- */
.hero-art{position:relative;min-height:460px}
.hero-art .halo{
  position:absolute;inset:8% 4% 8% 10%;
  background:radial-gradient(closest-side,var(--orange-soft),transparent 72%);
  border-radius:50%;
}
.hero-art .halo.h2{
  inset:auto -10% -14% auto;width:55%;height:55%;
  background:radial-gradient(closest-side,#FBF0DC,transparent 70%);
}
.gift{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(78%,340px);
  filter:drop-shadow(0 18px 24px rgba(204,98,0,.18));
}
.orbit{position:absolute;border-radius:50%}
.orbit.o1{width:16px;height:16px;background:var(--orange);left:6%;top:14%}
.orbit.o2{width:10px;height:10px;background:var(--gold);right:8%;top:22%}
.orbit.o3{width:22px;height:22px;background:var(--orange-bright);right:2%;bottom:20%;opacity:.85}
.orbit.o4{width:8px;height:8px;background:var(--orange-deep);left:12%;bottom:14%}
.orbit.o5{width:6px;height:6px;background:var(--orange);left:30%;top:6%}
.orbit.o6{width:12px;height:12px;background:var(--gold);left:-2%;bottom:32%;opacity:.8}
.orbit-ring{
  position:absolute;width:64px;height:64px;border-radius:50%;
  border:2px dashed var(--orange);opacity:.5;left:0;top:46%;
}
.orbit-ring.r2{width:40px;height:40px;left:auto;right:6%;top:60%;border-color:var(--gold)}
.orbit-ring.r3{width:110px;height:110px;left:14%;top:2%;border-color:var(--orange-bright);opacity:.35}
.spark{
  position:absolute;color:var(--orange-deep);opacity:.55;
  font-family:var(--sans);font-weight:400;line-height:1;user-select:none;
}
.spark.s1{font-size:26px;left:22%;top:24%}
.spark.s2{font-size:20px;right:16%;top:44%;color:var(--gold);opacity:.7}
.spark.s3{font-size:18px;left:38%;bottom:6%;color:var(--orange-bright)}
.arc{position:absolute;border-radius:50%;border:3px solid transparent}
.arc.a1{
  width:150px;height:150px;left:4%;bottom:2%;
  border-color:transparent transparent var(--gold) transparent;
  transform:rotate(-30deg);opacity:.5;
}
.arc.a2{
  width:90px;height:90px;right:18%;top:4%;
  border-color:var(--orange) transparent transparent transparent;
  transform:rotate(24deg);opacity:.4;
}

/* ---------- How it works ---------- */
.how{background:var(--cream);padding:88px 0}
.how-head{max-width:var(--maxw);margin:0 auto;padding:0 28px;text-align:center;margin-bottom:56px}
.how-head .lede{max-width:52ch;margin:12px auto 0}
.steps{
  max-width:var(--maxw);margin:0 auto;padding:0 28px;
  display:grid;grid-template-columns:repeat(3,1fr);gap:32px;position:relative;
}
.steps::before{
  content:'';position:absolute;top:44px;left:16.67%;right:16.67%;height:2px;
  background-image:linear-gradient(90deg,var(--orange) 50%,transparent 50%);
  background-size:14px 2px;opacity:.4;
}
.step{text-align:center;position:relative;z-index:1}
.step-num{
  width:88px;height:88px;margin:0 auto 20px;border-radius:50%;
  background:var(--paper);border:2px solid var(--orange);
  display:grid;place-items:center;
  font-family:var(--serif);font-size:36px;font-weight:600;color:var(--orange-deep);
}
.step-ico{margin:0 auto 16px;color:var(--orange-deep)}
.step-ico svg{width:56px;height:56px}
.step h3{margin-bottom:8px}
.step p{font-size:15px;color:var(--ink-soft);max-width:30ch;margin:0 auto}

/* ---------- Why Bitcoin ---------- */
.why{padding:96px 28px}
.why-inner{max-width:var(--maxw);margin:0 auto}
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.why-copy p{font-size:18px;color:var(--ink-soft);margin-bottom:20px;max-width:52ch}
.why-copy p strong{color:var(--ink)}
.pull-quote{
  background:var(--orange-soft);border-left:4px solid var(--orange);
  border-radius:0 var(--radius) var(--radius) 0;padding:20px 24px;margin:28px 0;
  font-family:var(--serif);font-size:22px;font-weight:600;line-height:1.35;color:var(--ink);
}
.why-stat{
  background:var(--ink);color:var(--cream);border-radius:var(--radius);
  padding:40px;text-align:center;box-shadow:var(--shadow);
}
.why-stat .stat-num{font-family:var(--mono);font-size:clamp(34px,5vw,54px);color:var(--orange-bright)}
.why-stat .stat-label{font-size:15px;color:rgba(250,245,236,.72);margin-top:8px}
.why-stat p{margin-top:18px;font-size:14px;color:rgba(250,245,236,.6)}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .hero{grid-template-columns:1fr;padding:64px 24px 72px;gap:48px}
  .hero-art{min-height:340px;order:2}
  .hero-sub{max-width:100%}
  .hero-ctas{margin-top:8px}
  .hero-trust{margin-top:40px;gap:16px}
  .steps{grid-template-columns:1fr;gap:48px}
  .steps::before{display:none}
  .why-grid{grid-template-columns:1fr;gap:40px}
}
