/* =============== Root, Reset, Typography =============== */
:root{
  --text: #111111;
  --muted: #636a73;
  --bg: #ffffff;
  --ink: #000000;
  --btn: #111111;
  --btn-fg: #ffffff;
  --ring: rgba(0,0,0,.08);
  --radius: 999px;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --shadow-strong: 0 30px 60px rgba(0,0,0,.18);
  --maxw: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background: var(--bg);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{ max-width:100%; display:block; }
.container{ width:100%; max-width: var(--maxw); margin:0 auto; padding:0 20px; }

/* =============== Header =============== */
.site-header{ position:sticky; top:0; z-index:30; background:rgba(255,255,255,.75); backdrop-filter: blur(8px); }
.header-inner{ display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap:12px; padding:16px 0; }
.brand{ justify-self:center; text-decoration:none; color:#111; font-weight:800; font-size:20px; letter-spacing:.2px; }
.header-actions{ justify-self:end; display:flex; align-items:center; gap:10px; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border-radius: 999px; border:1px solid rgba(0,0,0,.08); text-decoration:none; font-weight:600; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; }
.btn-ghost{ background:#fff; color:#111; }
.btn-dark{ background: var(--btn); color: var(--btn-fg); border-color: transparent; box-shadow: var(--shadow); }
.btn-dark:hover{ transform: translateY(-1px); filter: brightness(1.05); box-shadow: var(--shadow-strong); }
.btn-ghost:hover{ transform: translateY(-1px); box-shadow: var(--shadow); }

/* =============== Decor Squiggles =============== */
.decor{ position:fixed; inset:0; pointer-events:none; z-index:-1; }
.squiggle{ position:absolute; opacity:.95; }
.s1{ top:150px; left:200px; width:100px; }
.s2{ top:200px; right:100px; width:110px; }
.s3{ top:360px; left:70px; width:120px; }
.s4{ top:450px; right:180px; width:130px; }
.s5{ bottom:170px; left:150px; width:150px; }
.s6{ bottom:120px; right:80px; width:110px; }

/* =============== Hero =============== */
.hero{ position:relative; padding: 56px 0 120px; text-align:center; }
.hero-inner h1{ font-weight:900; letter-spacing:-.02em; line-height:1.1; font-size: clamp(2.4rem, 6vw, 3.8rem); margin: 16px 0; }
.lead{ color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.15rem); }
.hero-cta{ margin-top: 18px; }

/* Phones */
.phones{ position: relative; height: 520px; max-width: 900px; margin: 40px auto 0; }
.phone{ position:absolute; width: 750px; height:auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.18)); }
.phone-left{ left:10%; top:0; transform: rotate(-14deg); }
.phone-right{ right:12%; bottom:-20px; transform: rotate(12deg); }

/* Divider */
.divider{ border:0; height:1px; background: rgba(0,0,0,.08); margin: 32px 0; }

/* =============== How It Works =============== */
.how{ padding: 30px 0 80px; }
.center{ text-align:center; }
.how h2{ font-size: clamp(1.8rem, 4.2vw, 2.2rem); letter-spacing:-.01em; margin-bottom: 6px; }
.sub{ color: var(--muted); margin: 0 auto 24px; max-width: 60ch; }

.steps{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.step{ border:1px solid rgba(0,0,0,.08); border-radius: 16px; padding: 24px; background:#fff; box-shadow: 0 6px 24px rgba(0,0,0,.05); text-align:left; }
.step-icon{ width:40px; height:40px; margin-bottom: 14px; }
.step h3{ margin:0 0 6px; font-size: 1.1rem; }
.step p{ margin:0; color: var(--muted); }
.step-cta{ margin-top: 28px; }

/* =============== Footer =============== */
.site-footer{ padding: 40px 0 60px; }
.foot .brand{ font-weight:900; }
.tagline{ color: var(--muted); margin: 6px 0 16px; }
.foot-links{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.foot-links a{ color:#333; text-decoration:none; }
.foot-links a:hover{ text-decoration:underline; }
.copyright{ color:#555; margin-top: 12px; font-size:.9rem; }

/* =============== Animations =============== */
.reveal{ opacity:0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform: translateY(0); }

/* =============== Responsive =============== */
@media (max-width: 1024px){
  .phone{ width:320px; }
}
@media (max-width: 860px){
  .phones{ height: 440px; }
  .phone{ width:280px; }
  .phone-left{ left:2%; }
  .phone-right{ right:4%; }
  .s3{ top:460px; }
  .s4{ top:460px; }
}
@media (max-width: 700px){
  .s1, .s2, .s3, .s4, .s5{ display:none; }
  .hero{ padding-bottom: 40px; }
  .phones{ height:auto; display:grid; grid-template-columns: 1fr; gap:20px; margin-top:24px; }
  .phone{ position:relative; transform:none !important; width: 76%; margin: 0 auto; }
  .divider{ margin: 24px 0; }
  .steps{ grid-template-columns: 1fr; }
}
