@font-face {
  font-family: "Nunito Sans";
  src: url("/fonts/nunito-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #3a0ca3;
  --purple-ink: #1b0b4a;
  --pink: #f72585;
  --cyan: #4cc9f0;
  --violet: #7209b7;
  --surface: #f7f5fc;
  --white: #fff;
  --text: #2a2340;
  --muted: #5d5675;
  --line: #e4def3;
  --err: #b0124f;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
img, svg { display: block; }
a { color: var(--purple); }

.glow {
  position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 380px at 88% 18%, rgba(76, 201, 240, .22), transparent 70%),
    radial-gradient(480px 360px at 62% 70%, rgba(247, 37, 133, .12), transparent 70%);
}

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 8px; }
.logo img { width: 180px; height: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; line-height: 1;
  padding: 9px 14px; border-radius: 999px;
}
.pill-soon { background: var(--white); color: var(--purple); border: 1px solid var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(247,37,133,.5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(247,37,133,0); } 100% { box-shadow: 0 0 0 0 rgba(247,37,133,0); } }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  padding-top: 56px; padding-bottom: 72px;
}
h1 {
  margin: 0 0 20px; color: var(--purple);
  font-weight: 800; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -.02em;
}
h1 span { color: var(--purple-ink); }
.lede { margin: 0 0 32px; font-size: 19px; color: var(--muted); max-width: 33em; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; max-width: 520px;
  box-shadow: 0 1px 2px rgba(27, 11, 74, .04), 0 12px 32px -12px rgba(58, 12, 163, .18);
}
.label { display: block; font-weight: 700; font-size: 17px; color: var(--purple-ink); margin-bottom: 12px; }
.row { display: flex; gap: 10px; }
input[type="email"] {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input[type="email"]::placeholder { color: #9a93b3; }
input[type="email"]:focus { outline: none; background: var(--white); border-color: var(--purple); box-shadow: 0 0 0 4px rgba(58, 12, 163, .14); }
button {
  height: 52px; padding: 0 22px; border: 0; border-radius: 12px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 16px; color: var(--white); background: var(--purple);
  white-space: nowrap; transition: background .15s, transform .05s;
}
button:hover { background: #2f0a86; }
button:active { transform: translateY(1px); }
button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
button:disabled { opacity: .7; cursor: progress; }

.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--purple); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 10px 0 0; min-height: 0; font-size: 14px; font-weight: 600; }
.msg:empty { display: none; }
.msg.err { color: var(--err); }
.fine { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

.done { display: flex; gap: 14px; align-items: center; }
.done[hidden], form[hidden] { display: none; }
.done-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: var(--white); }
.done-title { margin: 0; font-weight: 800; font-size: 19px; color: var(--purple-ink); }
.done-text { margin: 2px 0 0; color: var(--muted); }

/* phone mockup */
.visual { position: relative; display: flex; justify-content: center; padding: 8px 120px 28px 0; }
.phone {
  width: 290px; padding: 12px; border-radius: 44px; background: var(--purple-ink);
  box-shadow: 0 30px 60px -20px rgba(27, 11, 74, .45), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.screen { border-radius: 33px; overflow: hidden; background: var(--surface); padding-bottom: 18px; }
.p-hero { background: var(--purple); color: var(--white); padding: 34px 20px 22px; text-align: center; }
.p-tile {
  width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 16px;
  background: var(--pink); display: grid; place-items: center;
  font-weight: 800; font-size: 22px; letter-spacing: .02em;
}
.p-name { margin: 0; font-weight: 800; font-size: 19px; line-height: 1.2; }
.p-sub { margin: 4px 0 12px; font-size: 13px; opacity: .85; }
.p-open { display: inline-block; font-size: 12px; font-weight: 700; color: var(--purple-ink); background: var(--cyan); padding: 5px 11px; border-radius: 999px; }
.p-actions { display: grid; gap: 9px; padding: 16px 14px 4px; }
.p-btn {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px;
  border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  font-weight: 600; font-size: 14px; color: var(--purple-ink);
}
.p-btn svg { width: 18px; height: 18px; fill: var(--purple); flex: none; }
.p-primary { background: var(--purple); border-color: var(--purple); color: var(--white); }
.p-primary svg { fill: var(--white); }
.p-hours { margin: 10px 14px 0; padding: 11px 14px; border-radius: 12px; background: var(--white); display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.p-hours b { color: var(--purple-ink); font-weight: 700; }

.qr {
  position: absolute; right: 0; bottom: 0; z-index: 1; margin: 0; width: 158px;
  background: var(--white); border-radius: 18px; padding: 14px 14px 12px; text-align: center;
  box-shadow: 0 18px 40px -16px rgba(27, 11, 74, .35); border: 1px solid var(--line);
  transform: rotate(3deg);
}
.qr img { width: 112px; height: 112px; margin: 0 auto 8px; }
.qr figcaption { font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--purple-ink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 72px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px;
  font-weight: 800; color: var(--white); background: var(--purple);
}
.step:nth-child(2) .num { background: var(--pink); }
.step:nth-child(3) .num { background: var(--cyan); color: var(--purple-ink); }
.step h2 { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--purple-ink); line-height: 1.3; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* footer */
.foot { padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.foot-brand { margin: 0; }
.sep { margin: 0 8px; }
.slogan { font-weight: 600; color: var(--purple); }
.legal { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); max-width: 46em; }
.foot a { font-weight: 600; text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 32px; padding-bottom: 56px; }
  .visual { padding-right: 0; }
  .qr { right: auto; left: calc(50% + 130px); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top { padding-top: 20px; }
  .hero { padding-top: 28px; }
  .logo img { width: 160px; }
  .pill { font-size: 13px; padding: 8px 12px; }
  .lede { font-size: 17px; }
  .card { padding: 20px; }
  .row { flex-direction: column; }
  input[type="email"] { flex: none; width: 100%; }
  button { width: 100%; }
  .visual { padding: 0; gap: 10px; align-items: flex-end; }
  .phone { width: 222px; padding: 10px; border-radius: 38px; }
  .screen { border-radius: 29px; }
  .p-hero { padding: 26px 14px 18px; }
  .p-name { font-size: 17px; }
  .p-actions { padding: 14px 10px 2px; gap: 8px; }
  .p-btn { font-size: 13px; padding: 0 10px; gap: 8px; height: 40px; }
  .p-hours { margin: 8px 10px 0; padding: 10px; font-size: 12px; }
  .qr { position: relative; left: auto; right: auto; bottom: -10px; flex: none; width: 118px; padding: 10px 10px 8px; }
  .qr img { width: 96px; height: 96px; }
  .qr figcaption { font-size: 11px; }
  .foot-row { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.notfound { padding-top: 80px; padding-bottom: 120px; }
@media (max-width: 380px) {
  .phone { width: 204px; }
  .p-btn { font-size: 12px; }
  .qr { width: 108px; }
  .qr img { width: 86px; height: 86px; }
}
