/* Home page layout. Colors are app tokens; type and buttons come from site.css. */

/* Soft colored glows that drift at their own speed (parallax). */
.glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: 0.9; }
.g1 { width: 620px; height: 620px; right: -160px; top: -120px; background: var(--tint-green); }
.g2 { width: 520px; height: 520px; left: -200px; bottom: -220px; background: var(--tint-cyan); }
.g3 { width: 480px; height: 480px; right: -180px; top: 20%; background: var(--tint-violet); }
.g4 { width: 560px; height: 560px; left: -220px; top: 10%; background: var(--tint-cyan); }
.g5 { width: 760px; height: 460px; left: 50%; top: 0; margin-left: -380px; background: var(--tint-green); }

/* ---------- Hero ---------- */
.s-hero { padding-top: clamp(56px, 7vw, 96px); min-height: calc(100vh - 68px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-art { position: relative; }
.print-stage { position: relative; width: min(470px, 100%); aspect-ratio: 1; margin: 0 auto; }
.print-stage canvas { width: 100%; height: 100%; display: block; }
.print-stage .example { position: absolute; bottom: -6px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.chip-float { position: absolute; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px; box-shadow: 0 16px 40px var(--shadow); font-weight: 700; color: var(--text); animation: bob 6s ease-in-out infinite; line-height: 1.15; }
.chip-float b { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.chip-float small { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.chip-float i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--green); margin-right: 8px; box-shadow: 0 0 0 5px var(--tint-green); vertical-align: 1px; }
.c1 { left: -6%; top: 12%; }
.c2 { right: -4%; top: 46%; animation-delay: -2s; }
.c3 { left: 6%; bottom: 8%; animation-delay: -4s; font-size: 0.95rem; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 980px) {
  .s-hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .print-stage { width: min(380px, 86vw); }
  .c1 { left: 0; } .c2 { right: 0; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; box-shadow: 0 18px 50px var(--shadow); }
.step .num { position: absolute; top: 18px; right: 22px; font-size: 3.2rem; font-weight: 900; line-height: 1; color: var(--line); letter-spacing: -0.04em; }
.step p { color: var(--muted); margin-top: 10px; font-size: 1rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- What you get ---------- */
.get-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.get-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 980px) { .get-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .get-list { grid-template-columns: 1fr; } }

/* ---------- Machines ---------- */
.machines { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.machines span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-weight: 600; font-size: 0.98rem; }

/* ---------- Under the hood ---------- */
.hood { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: 0 18px 50px var(--shadow); }
.hood-art { width: 180px; aspect-ratio: 1; margin: -6px auto 12px; }
.hood-art canvas { width: 100%; height: 100%; display: block; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.ticks li { position: relative; padding-left: 34px; color: var(--muted); font-size: 1rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--tint-green); box-shadow: inset 0 0 0 2px var(--green); }
.ticks b { color: var(--text); }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.quote { position: relative; padding: 40px 36px; border-radius: 26px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 18px 50px var(--shadow); }
.quote::before { content: "\201C"; position: absolute; top: -34px; left: 26px; font-size: 140px; line-height: 1; font-weight: 900; color: var(--green); }
.quote p { font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.quote span { display: block; margin-top: 18px; color: var(--muted); font-weight: 700; font-size: 0.95rem; }
@media (max-width: 980px) { .story { grid-template-columns: 1fr; } }

/* ---------- Closing CTA ---------- */
.cta { text-align: center; }
.center { display: flex; flex-direction: column; align-items: center; }
.center .s-h2 { max-width: none; }
.center .s-btns { justify-content: center; }
.s-h2.big { font-size: clamp(40px, 5.4vw, 80px); }

/* ---------- Footer ---------- */
.s-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; background: var(--band); }
/* Stacked and centered: logo, links, then the copyright line. */
.s-foot .s-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.s-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; }
.s-foot nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.s-foot nav a:hover { color: var(--text); }
.s-foot p { color: var(--dim); font-size: 0.9rem; margin: 0; }
