:root{
  --ink:#1C1B1A;
  --oat:#F5F1EC;
  --moss:#627A65;
  --gold:#D4B46A;
  --slate:#475057;
  --radius:14px;
  --shadow:0 6px 18px rgba(0,0,0,.08);
  --logo-size:64px;
}

/* Base */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,system-ui,Apple Color Emoji,Segoe UI Emoji;
  color:var(--ink);
  background:var(--oat);
  line-height:1.6;
}
a{color:var(--moss);text-decoration:none}
a:focus,button:focus,.btn:focus{outline:3px solid var(--gold);outline-offset:2px}
img{max-width:100%;height:auto;display:block}

/* Layout */
.container{max-width:1024px;margin:0 auto;padding:24px}
.center{text-align:center}
.max-60{max-width:60ch;margin-inline:auto}

/* Header / Nav */
.header{position:sticky;top:0;z-index:10;background:var(--oat);border-bottom:1px solid #e5e1db}
.navbar{display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:var(--logo-size);height:var(--logo-size);border-radius:12px;box-shadow:var(--shadow)}
.brand-title{font-weight:700}
.nav a{margin-left:18px;color:var(--slate)}
.nav a[aria-current="page"]{color:var(--ink);font-weight:600}

/* Hero */
.hero{display:grid;gap:28px;align-items:center;justify-items:center;text-align:center;margin:28px 0}
.hero h1{font-size:clamp(32px,5vw,48px);line-height:1.1;margin:0}
.lead{font-size:1.125rem;color:var(--slate);max-width:60ch}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:12px;border:0;cursor:pointer;font-weight:600;box-shadow:var(--shadow);transition:transform .06s ease, background .2s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--moss);color:#fff}
.btn-primary:hover{background:#556b58}
.btn-secondary{background:#e7e3dc;color:var(--slate)}
.btn-disabled{background:#d8d4cd;color:#7a7a78;cursor:not-allowed}

/* Store badges */
.store-badges{display:flex;gap:12px;justify-content:center;align-items:flex-start;flex-wrap:wrap}
.store-badges>*{display:flex;flex-direction:column;align-items:center}
.store-badges img{height:56px;width:auto;line-height:0}
.store-badges .disabled{opacity:.6;filter:saturate(.9);cursor:default}
.store-badges small{margin-top:4px;color:var(--slate);text-align:center;line-height:1}

/* Phone mockup — overlay frame */
.phone-wrap{max-width:300px;width:100%;margin:0 auto}
.phone-bezel{
  position:relative;
  width:100%;
  aspect-ratio:390/844;
  overflow:hidden;
  filter:drop-shadow(0 14px 28px rgba(28,27,26,.18));
  background:none !important;
}
.phone-bezel .screen{
  width:100%;height:100%;
  object-fit:cover;
  border-radius:45px;
  display:block;
  -webkit-mask:none !important;
          mask:none !important;
}
.phone-bezel .frame{
  position:absolute;inset:0;
  width:100%;height:100%;
  pointer-events:none;user-select:none;
}
@media (max-width:420px){.phone-wrap{max-width:260px}}
@media (min-width:1200px){.phone-wrap{max-width:320px}}

/* How it Works */
.how{margin:56px 0;text-align:center}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;justify-items:center}
.step{background:#fff;border:1px solid #e6e2dc;border-radius:14px;padding:18px;box-shadow:var(--shadow);text-align:center}
.step img{width:40px;height:40px}
.kicker,.notice{color:var(--slate);font-size:.95rem}

/* Footer */
.footer{margin-top:64px;border-top:1px solid #e5e1db}
.footer-inner{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:center;padding:16px 0;color:var(--slate);font-size:.95rem;text-align:center}
.footer a{color:var(--slate)}

/* Forms */
fieldset{border:0;padding:0;margin:0}
label{display:block;margin-top:12px}
input,textarea{width:100%;padding:12px;border-radius:10px;border:1px solid #d5d1ca;background:#fff}
textarea{min-height:140px}
.form-note{color:var(--slate);font-size:.95rem;margin-top:6px}

/* QR placeholder */
.qr{width:180px;height:180px;border-radius:12px;border:2px dashed var(--slate);display:flex;align-items:center;justify-content:center;margin:16px 0;background:#fff;color:var(--slate)}

/* Responsive hero layout */
@media (min-width:840px){
  .hero{grid-template-columns:1.2fr .8fr}
}