:root {
  color-scheme: light;
  --page: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --surface-soft: #fbfbfd;
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.10);
  --line-strong: rgba(29, 29, 31, 0.16);
  --blue: #0071e3;
  --blue-dark: #0062c4;
  --violet: #7c3aed;
  --pink: #ec4899;
  --green: #168a5b;
  --red: #c9342f;
  --yellow: #ffcc00;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 28px rgba(0, 0, 0, .06);
  --shadow-md: 0 20px 70px rgba(0, 0, 0, .10);
  --shadow-wheel: 0 35px 90px rgba(28, 28, 30, .26), inset 0 2px 2px rgba(255,255,255,.9);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -8%, rgba(0, 113, 227, .12), transparent 30rem),
    radial-gradient(circle at 90% 10%, rgba(124, 58, 237, .10), transparent 32rem),
    var(--page);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  z-index: -1;
  background-image: radial-gradient(rgba(29,29,31,.17) .55px, transparent .55px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 65%);
}

::selection { background: rgba(0, 113, 227, .18); }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; }

.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(245, 245, 247, .72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}
.site-header.scrolled { border-color: var(--line); }
.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 730;
  font-size: 20px;
  letter-spacing: -.55px;
}
.brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(from 30deg, #00a7ff, #576bff, #9b4dff, #ff5d8f, #ffb12a, #00a7ff);
  box-shadow: inset 0 0 0 5px #fff, 0 7px 20px rgba(81, 73, 255, .22);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.brand-word span {
  background: linear-gradient(100deg, var(--blue), var(--violet));
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
.navlinks { display: flex; align-items: center; gap: 26px; }
.navlinks a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 560;
  transition: color .18s ease;
}
.navlinks a:hover { color: var(--blue); }
.lang {
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-weight: 650;
  font-size: 13px;
  padding: 8px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--ink);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.nav-cta:hover { background: #000; }

/* Buttons */
.button {
  border: 0;
  border-radius: 999px;
  min-height: 50px;
  padding: 0 23px;
  font-weight: 650;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(.985); }
.button:disabled { cursor: wait; opacity: .58; transform: none; }
.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(0,113,227,.24);
}
.button.primary:hover { background: var(--blue-dark); box-shadow: 0 16px 36px rgba(0,113,227,.27); }
.button.dark {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.button.secondary {
  color: var(--ink);
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line-strong);
  box-shadow: 0 7px 22px rgba(0,0,0,.04);
}
.button.ghost { min-height: 40px; padding: 0 16px; background: rgba(29,29,31,.06); color: var(--ink); font-size: 14px; }
.button.full { width: 100%; }
.button svg { width: 18px; height: 18px; }

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 0 42px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  left: 50%;
  top: -380px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(0,113,227,.28), rgba(124,58,237,.23), rgba(236,72,153,.18), rgba(0,113,227,.28));
  filter: blur(75px);
  opacity: .7;
  pointer-events: none;
}
.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  color: var(--ink-soft);
  font-weight: 620;
  font-size: 13px;
  backdrop-filter: blur(16px);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 4px rgba(40,200,64,.12); }
.hero h1 {
  position: relative;
  max-width: 950px;
  margin: 26px auto 22px;
  font-size: clamp(52px, 7.4vw, 92px);
  line-height: .98;
  letter-spacing: clamp(-4.8px, -.055em, -2.8px);
  font-weight: 760;
}
.gradient-text {
  background: linear-gradient(105deg, #1d1d1f 12%, #0066cc 47%, #7c3aed 78%, #ec4899 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-copy {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.45;
  letter-spacing: -.25px;
}
.hero-actions { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.proof {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}
.proof-item { display: inline-flex; align-items: center; gap: 7px; }
.proof-check { width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: rgba(22,138,91,.11); color: var(--green); font-size: 11px; font-weight: 850; }

.hero-showcase {
  position: relative;
  max-width: 980px;
  margin: 68px auto 0;
  min-height: 410px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,255,255,.56));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 40px 120px rgba(35,44,72,.14), inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
  backdrop-filter: blur(30px);
}
.showcase-grid { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 410px; }
.showcase-copy { padding: 62px 48px; text-align: left; display: flex; flex-direction: column; justify-content: center; }
.showcase-kicker { color: var(--blue); font-weight: 670; font-size: 14px; margin-bottom: 12px; }
.showcase-copy h2 { font-size: clamp(35px,4.6vw,58px); line-height: 1.03; letter-spacing: -.045em; margin: 0 0 18px; }
.showcase-copy p { color: var(--muted); font-size: 17px; line-height: 1.55; margin: 0; max-width: 410px; }
.showcase-visual { position: relative; min-height: 410px; display: grid; place-items: center; overflow: hidden; }
.showcase-visual::before { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; background: linear-gradient(135deg, rgba(0,113,227,.19), rgba(124,58,237,.18), rgba(236,72,153,.14)); filter: blur(10px); }
.mini-wheel {
  width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  background: repeating-conic-gradient(from -12deg, #0a84ff 0 30deg, #6155f5 30deg 60deg, #a855f7 60deg 90deg, #f04f92 90deg 120deg, #ff9f0a 120deg 150deg, #30d158 150deg 180deg);
  box-shadow: 0 30px 70px rgba(24,32,70,.28), inset 0 0 0 10px rgba(255,255,255,.95), inset 0 0 0 13px rgba(29,29,31,.14);
  transform: rotate(-9deg);
  animation: floatWheel 6s ease-in-out infinite;
}
.mini-wheel::before { content:""; position:absolute; inset:31%; border-radius:50%; background:linear-gradient(145deg,#fff,#e9e9ed); box-shadow:0 12px 30px rgba(0,0,0,.20), inset 0 1px 0 #fff; }
.mini-wheel::after { content:"SM"; position:absolute; inset:37%; border-radius:50%; display:grid; place-items:center; background:#1d1d1f; color:#fff; font-weight:750; letter-spacing:-1px; font-size:27px; box-shadow:0 5px 16px rgba(0,0,0,.25); }
.mini-pointer { position:absolute; z-index:3; top:45px; left:50%; transform:translateX(-50%); width:42px; height:55px; filter:drop-shadow(0 9px 9px rgba(0,0,0,.18)); }
.mini-pointer::before { content:""; position:absolute; left:6px; top:0; width:30px; height:42px; background:#1d1d1f; clip-path:polygon(50% 100%,0 0,100% 0); border-radius:4px; }
.floating-chip { position:absolute; z-index:4; display:flex; align-items:center; gap:9px; padding:11px 15px; border-radius:999px; background:rgba(255,255,255,.86); border:1px solid rgba(255,255,255,.95); box-shadow:0 14px 35px rgba(0,0,0,.12); font-weight:630; font-size:13px; backdrop-filter:blur(18px); }
.floating-chip.one { left:20px; bottom:48px; }
.floating-chip.two { right:19px; top:68px; }
@keyframes floatWheel { 0%,100%{transform:translateY(0) rotate(-9deg)} 50%{transform:translateY(-10px) rotate(-4deg)} }

/* Feature strip */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 74px auto 30px;
  border-radius: var(--radius-lg);
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.feature {
  background: rgba(255,255,255,.82);
  padding: 34px;
  min-height: 220px;
}
.feature-number { color: var(--blue); font-size: 13px; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.feature h3 { margin: 24px 0 10px; font-size: 25px; letter-spacing: -.025em; }
.feature p { margin: 0; color: var(--muted); line-height: 1.58; font-size: 15px; }
.feature-icon { width: 38px; height: 38px; margin-top: 22px; color: var(--ink); }

/* Free two-person demo */
.demo-section { margin: 30px auto 18px; }
.demo-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 40px;
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #1d1d1f 0%, #22243a 52%, #342165 100%);
  box-shadow: 0 36px 90px rgba(22, 24, 48, .24);
}
.demo-card::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -190px;
  top: -270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,92,230,.7), rgba(10,132,255,.18) 52%, transparent 70%);
  filter: blur(8px);
}
.demo-card > * { position: relative; z-index: 1; }
.demo-badge { display: inline-flex; min-height: 30px; align-items: center; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 700; }
.demo-copy h2 { max-width: 620px; margin: 18px 0 14px; font-size: clamp(34px, 4.7vw, 58px); line-height: 1.02; letter-spacing: -.048em; }
.demo-copy > p { max-width: 590px; margin: 0; color: rgba(255,255,255,.70); font-size: 17px; line-height: 1.55; }
.demo-points { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; color: rgba(255,255,255,.82); font-size: 13px; }
.demo-points > span { display: inline-flex; align-items: center; gap: 8px; }
.demo-points b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(48,209,88,.18); color: #6ee7a1; font-size: 12px; }
.demo-form { padding: 22px; border-radius: 25px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.demo-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-field { margin-bottom: 15px; }
.demo-field label { color: rgba(255,255,255,.82); }
.demo-field .input { background: rgba(255,255,255,.96); border-color: transparent; }
.demo-button { background: #fff; color: #1d1d1f; box-shadow: 0 14px 34px rgba(0,0,0,.20); }
.demo-button:hover { background: #f5f5f7; }
.demo-form .notice.error { color: #ffb4ae; background: rgba(255,69,58,.12); border-color: rgba(255,154,146,.22); }
.demo-fineprint { display: block; margin-top: 12px; color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.45; text-align: center; }

/* Sections and cards */
.section { padding: 92px 0; }
.section-head { max-width: 690px; margin-bottom: 38px; }
.section-label { color: var(--blue); font-size: 14px; font-weight: 680; margin-bottom: 9px; }
.section h2, .section-title { margin: 0; font-size: clamp(40px,5vw,64px); line-height: 1.02; letter-spacing: -.048em; font-weight: 730; }
.section-lead { margin: 18px 0 0; color: var(--muted); font-size: 20px; line-height: 1.48; letter-spacing: -.18px; }
.card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}
.builder { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .65fr); gap: 24px; align-items: start; }
.builder-card { padding: clamp(25px,4vw,46px); }
.summary { position: sticky; top: 90px; padding: 30px; }
.form-intro { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:32px; }
.form-intro h3 { font-size: 29px; letter-spacing:-.035em; margin:0 0 7px; }
.form-intro p { margin:0; color:var(--muted); line-height:1.45; }
.step-counter { flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; padding:8px 11px; border-radius:999px; background:rgba(29,29,31,.055); color:var(--muted); font-size:12px; font-weight:650; }

.field { margin-bottom: 25px; }
.field label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 650; color: var(--ink-soft); }
.field small, .field-help { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.input, .textarea, .select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.80);
  color: var(--ink);
  border-radius: 17px;
  padding: 15px 16px;
  outline: 0;
  transition: border-color .17s ease, box-shadow .17s ease, background .17s ease;
}
.input { min-height: 52px; }
.textarea { min-height: 220px; resize: vertical; line-height: 1.55; }
.select { min-height: 54px; appearance: none; background-image: linear-gradient(45deg,transparent 50%,#6e6e73 50%),linear-gradient(135deg,#6e6e73 50%,transparent 50%); background-position: calc(100% - 20px) 23px,calc(100% - 15px) 23px; background-size:5px 5px,5px 5px; background-repeat:no-repeat; padding-right:44px; }
.input:focus, .textarea:focus, .select:focus { border-color: rgba(0,113,227,.65); background:#fff; box-shadow: 0 0 0 4px rgba(0,113,227,.10); }
.templates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.template {
  position: relative;
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255,255,255,.68);
  padding: 17px;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  transition: border-color .17s ease, background .17s ease, transform .17s ease, box-shadow .17s ease;
}
.template:hover { transform: translateY(-1px); background:#fff; border-color:var(--line-strong); }
.template.active { border-color: rgba(0,113,227,.48); background: rgba(0,113,227,.065); box-shadow:0 0 0 3px rgba(0,113,227,.07); }
.template-top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.template-icon { width:34px; height:34px; border-radius:11px; display:grid; place-items:center; background:rgba(29,29,31,.055); font-size:18px; }
.template-check { width:20px; height:20px; border-radius:50%; border:1px solid var(--line-strong); display:grid; place-items:center; color:transparent; font-size:12px; }
.template.active .template-check { background:var(--blue); border-color:var(--blue); color:#fff; }
.template-name { display:block; margin-top:12px; font-size:15px; font-weight:660; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(0,113,227,.09);
  color: #0067ce;
  font-size: 12px;
  font-weight: 690;
}
.status-badge::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
.price { margin: 22px 0 12px; font-size: 54px; line-height: 1; letter-spacing: -.055em; font-weight: 740; }
.price small { font-size: 19px; letter-spacing: -.02em; color:var(--muted); font-weight:560; }
.summary-note { margin:0 0 24px; color:var(--muted); font-size:13px; line-height:1.5; }
.summary-row { display:flex; justify-content:space-between; align-items:center; gap:20px; min-height:48px; border-top:1px solid var(--line); font-size:14px; }
.summary-row span { color:var(--muted); }
.summary-row strong { text-align:right; font-weight:650; }
.price-tiers { margin-top:22px; padding:16px; border-radius:17px; background:rgba(29,29,31,.045); color:var(--muted); font-size:12px; line-height:1.65; }

.notice { margin-top: 15px; padding: 14px 16px; border-radius: 16px; background: rgba(29,29,31,.05); color: var(--muted); font-size: 13px; line-height: 1.5; border:1px solid transparent; }
.notice.error { background: #fff3f2; color: var(--red); border-color: rgba(201,52,47,.14); }
.notice.success { background: #effbf5; color: #087348; border-color: rgba(22,138,91,.14); }

/* Centered app pages */
.app-shell { min-height: calc(100vh - 66px); display:grid; place-items:center; padding:46px 20px 70px; }
.center-card { width: min(690px, 100%); }
.app-card { position:relative; overflow:hidden; padding: clamp(28px,5vw,48px); text-align:center; }
.app-card::before { content:""; position:absolute; width:340px; height:340px; top:-270px; left:50%; transform:translateX(-50%); border-radius:50%; background:linear-gradient(135deg,rgba(0,113,227,.30),rgba(124,58,237,.23),rgba(236,72,153,.18)); filter:blur(35px); }
.app-card > * { position:relative; }
.app-title { margin:19px 0 11px; font-size:clamp(34px,6vw,52px); line-height:1.05; letter-spacing:-.045em; }
.app-copy { margin:0 auto 28px; max-width:520px; color:var(--muted); font-size:16px; line-height:1.55; }
.app-meta { color:var(--muted); font-size:13px; }

/* Checkout */
.checkout-price { font-size: 68px; line-height:1; font-weight:750; letter-spacing:-.065em; margin:28px 0 33px; }
.checkout-price .currency { font-size:28px; color:var(--muted); font-weight:580; letter-spacing:-.02em; }
.paypal-redirect-button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  padding: 0 25px;
  background: #ffc439;
  color: #003087;
  font: inherit;
  font-size: 18px;
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0,48,135,.15);
  transition: transform .17s ease, filter .17s ease, box-shadow .17s ease;
}
.paypal-redirect-button:hover { transform:translateY(-1px); filter:brightness(.99); box-shadow:0 18px 40px rgba(0,48,135,.18); }
.paypal-redirect-button:disabled { opacity:.62; cursor:wait; transform:none; }
.payment-note { display:flex; align-items:center; justify-content:center; gap:7px; color:var(--muted); font-size:12px; margin:20px 0 0; }
.payment-note svg { width:14px; height:14px; }

/* Group selection */
.identity-panel { text-align:left; max-width:480px; margin:30px auto 0; }
.identity-panel .button { margin-top:12px; }
.micro-note { color:var(--muted); font-size:12px; line-height:1.5; margin-top:18px; }

/* Wheel */
.wheel-page {
  min-height: calc(100vh - 66px);
  position: relative;
  overflow: hidden;
  padding: 34px 20px 70px;
}
.wheel-page::before, .wheel-page::after { content:""; position:fixed; border-radius:50%; pointer-events:none; filter:blur(85px); opacity:.34; z-index:-1; }
.wheel-page::before { width:420px; height:420px; left:-140px; top:20%; background:#0a84ff; }
.wheel-page::after { width:420px; height:420px; right:-160px; top:8%; background:#bf5af2; }
.wheel-card { width:min(760px,100%); margin:auto; text-align:center; }
.wheel-heading { margin:16px 0 5px; font-size:clamp(30px,5.5vw,48px); line-height:1.05; letter-spacing:-.043em; }
.wheel-subtitle { margin:0; color:var(--muted); font-size:14px; }
.wheel-stage { position:relative; width:min(480px,88vw); aspect-ratio:1; margin:35px auto 28px; isolation:isolate; }
.wheel-glow { position:absolute; inset:7%; border-radius:50%; background:conic-gradient(from 0deg,#0a84ff,#5e5ce6,#bf5af2,#ff375f,#ff9f0a,#30d158,#0a84ff); filter:blur(36px); opacity:.32; transform:scale(.96); }
.wheel-rim { position:absolute; inset:0; border-radius:50%; padding:10px; background:linear-gradient(145deg,#fff,#bfc0c5 46%,#fff 72%,#909197); box-shadow:var(--shadow-wheel); }
.wheel-rim::before { content:""; position:absolute; inset:7px; border-radius:50%; box-shadow:inset 0 0 0 1px rgba(0,0,0,.16),inset 0 0 16px rgba(255,255,255,.75); pointer-events:none; z-index:5; }
.wheel-rotor { position:relative; width:100%; height:100%; border-radius:50%; overflow:hidden; background:repeating-conic-gradient(from -15deg,#0a84ff 0 30deg,#5e5ce6 30deg 60deg,#bf5af2 60deg 90deg,#ff375f 90deg 120deg,#ff9f0a 120deg 150deg,#30d158 150deg 180deg); transition:transform 5.2s cubic-bezier(.08,.72,.08,1); will-change:transform; }
.wheel-rotor::before { content:""; position:absolute; inset:0; border-radius:50%; background:radial-gradient(circle at 33% 24%,rgba(255,255,255,.40),transparent 20%),radial-gradient(circle,transparent 53%,rgba(0,0,0,.14) 100%); mix-blend-mode:soft-light; }
.wheel-lines { position:absolute; inset:0; border-radius:50%; background:repeating-conic-gradient(from -15deg,rgba(255,255,255,.48) 0 .45deg,transparent .45deg 30deg); pointer-events:none; }
.wheel-dots { position:absolute; inset:5px; border-radius:50%; pointer-events:none; background:radial-gradient(circle at 50% 3px,#fff 0 2.5px,transparent 3px); background-size:100% 30deg; }
.wheel-hub { position:absolute; z-index:7; inset:34%; border-radius:50%; display:grid; place-items:center; background:linear-gradient(145deg,#fff,#d9d9dd); box-shadow:0 16px 30px rgba(0,0,0,.26),inset 0 1px 0 #fff,inset 0 -2px 5px rgba(0,0,0,.09); }
.wheel-hub::before { content:""; position:absolute; inset:13%; border-radius:50%; background:linear-gradient(145deg,#2d2d31,#050506); box-shadow:inset 0 1px 1px rgba(255,255,255,.18),0 5px 13px rgba(0,0,0,.28); }
.wheel-hub span { position:relative; z-index:2; color:#fff; font-size:clamp(17px,4vw,26px); font-weight:760; letter-spacing:-.04em; }
.wheel-pointer { position:absolute; z-index:10; width:55px; height:74px; top:-25px; left:50%; transform:translateX(-50%); filter:drop-shadow(0 12px 10px rgba(0,0,0,.25)); }
.wheel-pointer::before { content:""; position:absolute; left:7px; top:0; width:41px; height:60px; background:linear-gradient(145deg,#2f3034,#050506); clip-path:polygon(50% 100%,0 0,100% 0); border-radius:7px; }
.wheel-pointer::after { content:""; position:absolute; width:17px; height:17px; border-radius:50%; background:#fff; top:8px; left:19px; box-shadow:inset 0 0 0 4px #1d1d1f; }
.wheel-status { min-height:24px; color:var(--muted); font-size:14px; margin-bottom:15px; }
.spin-button { width:min(420px,100%); min-height:56px; font-size:17px; margin-inline:auto; }
.result-panel { margin:25px auto 0; padding:28px; max-width:520px; border-radius:28px; background:rgba(255,255,255,.82); border:1px solid rgba(255,255,255,.98); box-shadow:var(--shadow-md); animation:resultIn .55s cubic-bezier(.2,.8,.2,1) both; }
.result-label { color:var(--muted); font-size:13px; font-weight:620; text-transform:uppercase; letter-spacing:.08em; }
.result { margin:10px 0 8px; font-size:clamp(46px,10vw,78px); line-height:1; letter-spacing:-.06em; font-weight:770; background:linear-gradient(105deg,#0066cc,#7c3aed,#ec4899); color:transparent; background-clip:text; -webkit-background-clip:text; overflow-wrap:anywhere; }
.result-copy { color:var(--muted); margin:0; }
@keyframes resultIn { from{opacity:0;transform:translateY(18px) scale(.97)} to{opacity:1;transform:none} }

/* Admin */
.admin-shell { padding:54px 0 84px; }
.admin-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr); gap:24px; align-items:start; }
.admin-card { padding:clamp(26px,4vw,42px); }
.admin-title { font-size:clamp(36px,5vw,57px); letter-spacing:-.05em; line-height:1.02; margin:18px 0 9px; overflow-wrap:anywhere; }
.admin-meta { color:var(--muted); margin:0 0 28px; }
.progress { height:9px; border-radius:999px; background:rgba(29,29,31,.075); overflow:hidden; }
.progress > div { height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--blue),var(--violet),var(--pink)); transition:width .6s ease; }
.progress-line { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:12px 0 30px; color:var(--muted); font-size:13px; }
.progress-line strong { color:var(--ink); font-size:15px; }
.copyline { display:flex; gap:9px; }
.copyline .input { flex:1; min-width:0; }
.copyline .button { min-height:52px; }
.participants { display:grid; gap:9px; margin-top:20px; max-height:610px; overflow:auto; padding-right:3px; }
.participant { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 14px 14px 16px; border:1px solid var(--line); border-radius:17px; background:rgba(255,255,255,.62); }
.participant strong { display:block; font-size:14px; overflow-wrap:anywhere; }
.participant small { display:inline-flex; align-items:center; gap:6px; margin-top:4px; color:var(--muted); font-size:11px; }
.participant small::before { content:""; width:6px; height:6px; border-radius:50%; background:#ff9f0a; }
.participant.is-done small::before { background:#30d158; }
.participant .button { min-height:37px; padding:0 13px; font-size:12px; }

/* Legal */
.legal-shell { padding:50px 0 90px; }
.legal-card { padding:clamp(28px,5vw,55px); }
.legal-card h1 { font-size:clamp(42px,7vw,65px); letter-spacing:-.055em; margin:0 0 34px; }
.legal-card h2 { margin:34px 0 9px; font-size:22px; letter-spacing:-.025em; }
.legal-card p { color:var(--ink-soft); line-height:1.68; }
.legal-card a { color:var(--blue); }

.footer { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; padding:45px 0 55px; color:var(--muted); font-size:12px; border-top:1px solid var(--line); }
.footer-links { display:flex; gap:18px; }
.footer a { text-decoration:none; }
.footer a:hover { color:var(--blue); }

/* Confetti */
.confetti-piece { position:fixed; top:-18px; width:9px; height:14px; border-radius:2px; z-index:100; pointer-events:none; animation:confettiFall 2.5s linear forwards; }
@keyframes confettiFall { to { transform:translate3d(var(--drift),110vh,0) rotate(920deg); opacity:.9; } }

@media (max-width: 900px) {
  .navlinks a:not(.nav-cta) { display:none; }
  .hero { padding-top:68px; }
  .showcase-grid { grid-template-columns:1fr; }
  .showcase-copy { padding:46px 34px 24px; text-align:center; align-items:center; }
  .showcase-visual { min-height:350px; }
  .feature-strip, .builder, .admin-grid { grid-template-columns:1fr; }
  .feature-strip { gap:1px; }
  .summary { position:static; }
}

@media (max-width: 620px) {
  .wrap, .narrow { width:min(100% - 28px,1160px); }
  .nav { min-height:60px; }
  .brand-word { font-size:18px; }
  .nav-cta { display:none !important; }
  .hero { padding:58px 0 30px; }
  .hero h1 { font-size:clamp(46px,14vw,66px); }
  .hero-copy { font-size:18px; }
  .hero-actions { flex-direction:column; align-items:stretch; padding-inline:6px; }
  .hero-actions .button { width:100%; }
  .proof { flex-direction:column; gap:8px; }
  .hero-showcase { margin-top:46px; border-radius:30px; }
  .showcase-copy { padding:38px 24px 12px; }
  .showcase-visual { min-height:310px; }
  .mini-wheel { width:230px; }
  .mini-pointer { top:34px; }
  .floating-chip.one { left:8px; bottom:30px; }
  .floating-chip.two { right:7px; top:52px; }
  .feature { min-height:0; padding:28px 25px; }
  .section { padding:66px 0; }
  .section-lead { font-size:18px; }
  .builder-card, .summary, .app-card, .admin-card, .legal-card { border-radius:25px; }
  .form-intro { display:block; }
  .step-counter { margin-top:14px; }
  .templates { grid-template-columns:1fr; }
  .template { min-height:78px; }
  .copyline { flex-direction:column; }
  .copyline .button { width:100%; }
  .participant { align-items:flex-start; }
  .participant .button { flex:0 0 auto; }
  .wheel-stage { margin-top:31px; }
  .wheel-pointer { width:49px; height:66px; top:-23px; }
  .wheel-pointer::before { width:37px; height:54px; }
  .wheel-pointer::after { left:17px; }
  .footer { flex-direction:column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}


/* Participant name rows */
.field-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:10px; }
.field-heading label { margin:0; }
.name-row-counter { flex:0 0 auto; color:var(--muted); font-size:12px; font-weight:600; }
.name-rows { display:grid; gap:9px; }
.name-row { display:grid; grid-template-columns:34px minmax(0,1fr); align-items:center; gap:10px; }
.name-row-number { display:grid; place-items:center; width:34px; height:34px; border-radius:11px; background:rgba(29,29,31,.055); color:var(--muted); font-size:12px; font-weight:700; font-variant-numeric:tabular-nums; }
.name-row-input { width:100%; min-height:48px; border:1px solid var(--line-strong); border-radius:14px; padding:11px 14px; background:rgba(255,255,255,.82); color:var(--ink); outline:none; font:inherit; font-size:15px; transition:border-color .18s ease,box-shadow .18s ease,background .18s ease; }
.name-row-input::placeholder { color:#a6a6aa; }
.name-row-input:focus { border-color:rgba(0,113,227,.65); background:#fff; box-shadow:0 0 0 4px rgba(0,113,227,.10); }
.add-name-rows { width:100%; min-height:50px; margin-top:12px; border:1px dashed rgba(0,113,227,.34); border-radius:15px; display:flex; align-items:center; justify-content:center; gap:8px; background:rgba(0,113,227,.045); color:#006edb; font:inherit; font-size:14px; font-weight:680; cursor:pointer; transition:background .18s ease,border-color .18s ease,transform .18s ease; }
.add-name-rows:hover { background:rgba(0,113,227,.09); border-color:rgba(0,113,227,.54); transform:translateY(-1px); }
.add-name-rows:disabled { color:var(--muted); border-color:var(--line); background:rgba(29,29,31,.035); cursor:default; transform:none; }
.add-name-rows-icon { font-size:20px; line-height:1; font-weight:400; }
@media (min-width:701px) {
  .name-rows { max-height:550px; overflow:auto; padding-right:5px; scrollbar-width:thin; scrollbar-color:rgba(29,29,31,.2) transparent; }
}

/* =========================================================
   Mobile-first refinement v2.1
   Optimized for WhatsApp / in-app browser use
   ========================================================= */
html, body { max-width: 100%; overflow-x: hidden; }
body { padding-bottom: env(safe-area-inset-bottom, 0px); }
input, textarea, select, button { touch-action: manipulation; }
.mobile-sticky-cta { display: none; }

@media (max-width: 700px) {
  :root {
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 28px;
  }

  body::before { opacity: .10; }
  .wrap, .narrow { width: calc(100% - 24px); }

  /* Compact header for in-app browsers */
  .site-header { background: rgba(245,245,247,.88); }
  .nav { min-height: 56px; gap: 10px; }
  .brand { gap: 8px; font-size: 18px; letter-spacing: -.4px; }
  .brand-mark { width: 27px; height: 27px; box-shadow: inset 0 0 0 4px #fff, 0 5px 15px rgba(81,73,255,.18); }
  .brand-mark::after { inset: 8px; }
  .navlinks { gap: 6px; }
  .navlinks a:not(.nav-cta) { display: none; }
  .nav-cta { display: none !important; }
  .lang { min-width: 44px; min-height: 44px; padding: 0; border-radius: 999px; background: rgba(29,29,31,.055); }
  .site-header .status-badge { max-width: 48vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* Creator landing: fast path to the form */
  .hero { padding: 42px 0 20px; }
  .eyebrow { min-height: 29px; padding: 0 11px; font-size: 11px; }
  .hero h1 { margin: 20px auto 16px; font-size: clamp(42px, 12.8vw, 57px); line-height: .98; letter-spacing: -.055em; }
  .hero-copy { max-width: 340px; font-size: 16.5px; line-height: 1.42; }
  .hero-actions { margin-top: 23px; padding-inline: 0; gap: 9px; }
  .hero-actions .button { width: 100%; min-height: 54px; font-size: 16px; }
  .hero-actions .secondary { display: none; }
  .proof { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; }
  .proof-item { min-width: 0; font-size: 11.5px; }
  .proof-item:last-child { grid-column: 1 / -1; justify-self: center; }
  .hero-showcase { display: none; }

  /* Three steps become a swipeable compact strip */
  .feature-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 28px 0 8px;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .feature-strip::-webkit-scrollbar { display: none; }
  .feature {
    flex: 0 0 82%;
    scroll-snap-align: center;
    min-height: 154px;
    padding: 21px;
    border: 1px solid rgba(29,29,31,.08);
    border-radius: 22px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 10px 30px rgba(0,0,0,.055);
  }
  .feature-number { font-size: 11px; }
  .feature h3 { margin: 13px 0 7px; font-size: 21px; }
  .feature p { font-size: 13px; line-height: 1.45; }
  .feature-icon { display: none; }

  /* Free demo */
  .demo-section { width: calc(100% - 24px); margin: 18px auto 4px; }
  .demo-card { display: block; padding: 28px 18px 20px; border-radius: 25px; }
  .demo-copy h2 { margin-top: 15px; font-size: 35px; }
  .demo-copy > p { font-size: 14px; line-height: 1.48; }
  .demo-points { display: grid; gap: 8px; margin-top: 18px; font-size: 12px; }
  .demo-form { margin-top: 23px; padding: 15px; border-radius: 19px; }
  .demo-name-grid { grid-template-columns: 1fr; gap: 0; }
  .demo-field { margin-bottom: 12px; }
  .demo-field .input { min-height: 52px; }
  .demo-button { min-height: 57px; }

  /* Builder */
  .section { padding: 54px 0 82px; }
  .section-head { margin-bottom: 23px; }
  .section-label { font-size: 12px; margin-bottom: 7px; }
  .section h2, .section-title { font-size: 38px; line-height: 1.02; }
  .section-lead { margin-top: 12px; font-size: 16px; line-height: 1.43; }
  .builder { display: flex; flex-direction: column; gap: 14px; }
  .builder-card { order: 1; padding: 22px 16px 18px; border-radius: 25px; }
  .summary { order: 2; position: static; width: 100%; padding: 19px 18px; border-radius: 22px; }
  .summary .status-badge { min-height: 27px; font-size: 11px; }
  .summary .price { display: inline-flex; align-items: baseline; margin: 16px 0 8px; font-size: 43px; }
  .summary-note { margin-bottom: 13px; font-size: 12px; }
  .summary-row { min-height: 42px; font-size: 13px; }
  .price-tiers { margin-top: 14px; padding: 13px; font-size: 11px; }
  .form-intro { display: block; margin-bottom: 22px; }
  .form-intro h3 { font-size: 25px; }
  .form-intro p { font-size: 13px; }
  .step-counter { margin-top: 12px; font-size: 11px; }
  .field { margin-bottom: 20px; }
  .field label { margin-bottom: 8px; font-size: 13px; }
  .field small, .field-help { font-size: 11.5px; }
  .input, .textarea, .select {
    border-radius: 15px;
    padding: 15px;
    font-size: 16px; /* prevents iOS zoom */
  }
  .input { min-height: 54px; }
  .textarea { min-height: 176px; resize: none; line-height: 1.5; }
  .select { min-height: 58px; background-position: calc(100% - 21px) 25px, calc(100% - 16px) 25px; }
  .templates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .template { min-height: 82px; padding: 13px; border-radius: 16px; }
  .template-icon { width: 31px; height: 31px; font-size: 16px; }
  .template-name { margin-top: 9px; font-size: 13px; line-height: 1.18; }
  .button { min-height: 54px; padding-inline: 18px; font-size: 16px; }
  .builder-card > .button.full { min-height: 58px; }

  /* Payment and group selection */
  .app-shell { min-height: calc(100svh - 56px); place-items: start center; padding: 22px 12px calc(30px + env(safe-area-inset-bottom)); }
  .center-card { width: 100%; }
  .app-card { padding: 27px 18px 23px; border-radius: 25px; }
  .app-title { margin: 16px 0 9px; font-size: clamp(32px, 9.5vw, 43px); overflow-wrap: anywhere; }
  .app-copy { margin-bottom: 22px; font-size: 15px; line-height: 1.46; }
  .checkout-price { margin: 23px 0 27px; font-size: 57px; }
  .checkout-price .currency { font-size: 24px; }
  .paypal-redirect-button { min-height: 59px; font-size: 17px; }
  .payment-note { align-items: flex-start; font-size: 11.5px; line-height: 1.4; }
  .identity-panel { margin-top: 22px; }
  .identity-panel .button { min-height: 58px; }
  .micro-note { font-size: 11.5px; }

  /* Draw experience must fit on one phone screen */
  .wheel-page {
    min-height: calc(100svh - 56px);
    display: flex;
    align-items: flex-start;
    padding: 18px 12px calc(24px + env(safe-area-inset-bottom));
  }
  .wheel-card { width: 100%; }
  .wheel-heading { margin: 10px 0 4px; font-size: clamp(29px, 8.4vw, 38px); line-height: 1.04; overflow-wrap: anywhere; }
  .wheel-subtitle { font-size: 12.5px; }
  .wheel-stage {
    width: min(88vw, 46svh, 390px);
    max-width: 100%;
    margin: 28px auto 20px;
  }
  .wheel-rim { padding: 7px; }
  .wheel-pointer { width: 43px; height: 58px; top: -20px; }
  .wheel-pointer::before { left: 6px; width: 31px; height: 47px; }
  .wheel-pointer::after { width: 14px; height: 14px; left: 15px; top: 7px; box-shadow: inset 0 0 0 3px #1d1d1f; }
  .wheel-hub span { font-size: clamp(15px, 4.5vw, 21px); }
  .wheel-status { min-height: 21px; margin-bottom: 11px; font-size: 12.5px; }
  .spin-button { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 12; min-height: 58px; box-shadow: 0 16px 38px rgba(0,0,0,.22); }
  .result-panel { margin-top: 16px; padding: 21px 16px; border-radius: 22px; }
  .result { font-size: clamp(43px, 15vw, 68px); }
  .result-copy { font-size: 13px; }

  /* Admin: every action easy to tap */
  .admin-shell { padding: 21px 0 58px; }
  .admin-grid { display: flex; flex-direction: column; gap: 14px; }
  .admin-card { width: 100%; padding: 22px 16px; border-radius: 24px; }
  .admin-title { margin-top: 14px; font-size: 36px; }
  .admin-meta { margin-bottom: 22px; font-size: 13px; }
  .progress-line { margin-bottom: 22px; }
  .copyline { flex-direction: column; }
  .copyline .button { width: 100%; min-height: 52px; }
  .participants { max-height: none; overflow: visible; }
  .participant { align-items: center; gap: 10px; padding: 13px; }
  .participant > div { min-width: 0; }
  .participant .button { min-width: 116px; min-height: 43px; padding-inline: 12px; }

  /* Legal and footer */
  .legal-shell { padding: 24px 0 60px; }
  .legal-card { padding: 25px 18px; border-radius: 24px; }
  .legal-card h1 { font-size: 39px; margin-bottom: 25px; }
  .legal-card p { font-size: 14px; }
  .footer { padding: 30px 0 calc(100px + env(safe-area-inset-bottom)); }

  /* Home-only bottom CTA. Hidden automatically when form is visible. */
  .mobile-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 60;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    background: rgba(29,29,31,.96);
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    font-size: 16px;
    font-weight: 700;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .mobile-sticky-cta.is-hidden { opacity: 0; transform: translateY(16px); visibility: hidden; pointer-events: none; }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 40px; }
  .templates { grid-template-columns: 1fr; }
  .template { min-height: 70px; }
  .feature { flex-basis: 88%; }
  .wheel-stage { width: min(87vw, 43svh, 340px); }
  .participant { align-items: flex-start; flex-direction: column; }
  .participant .button { width: 100%; }
}

@media (max-height: 700px) and (max-width: 700px) {
  .wheel-page { padding-top: 10px; }
  .wheel-heading { font-size: 28px; }
  .wheel-subtitle { display: none; }
  .wheel-stage { width: min(78vw, 42svh, 330px); margin-top: 23px; margin-bottom: 14px; }
  .wheel-status { margin-bottom: 8px; }
}

/* =========================================================
   Result visibility choices and shared result lists v2.2
   ========================================================= */
.visibility-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.visibility-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  min-height: 116px;
  padding: 17px;
  border: 1px solid rgba(29,29,31,.10);
  border-radius: 19px;
  color: var(--text);
  background: rgba(255,255,255,.82);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.visibility-option:hover { transform: translateY(-1px); border-color: rgba(10,132,255,.32); }
.visibility-option.active {
  border-color: #0a84ff;
  background: linear-gradient(145deg, rgba(10,132,255,.095), rgba(94,92,230,.055));
  box-shadow: 0 0 0 1px rgba(10,132,255,.12), 0 12px 28px rgba(10,132,255,.08);
}
.visibility-check {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: transparent;
  background: rgba(29,29,31,.065);
  font-size: 12px;
  font-weight: 900;
}
.visibility-option.active .visibility-check { color: #fff; background: #0a84ff; }
.visibility-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 13px;
  background: rgba(29,29,31,.055);
  font-size: 19px;
}
.visibility-content { display: flex; flex-direction: column; gap: 6px; padding-right: 20px; }
.visibility-content strong { font-size: 14px; line-height: 1.25; }
.visibility-content small { color: var(--muted); font-size: 11.5px; line-height: 1.42; }

.group-status-panel { margin: 22px 0 2px; }
.visibility-hint {
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 15px;
  color: var(--muted);
  background: rgba(29,29,31,.045);
  font-size: 12px;
  line-height: 1.45;
}
.shared-results, .admin-results { margin-top: 22px; }
.result-list { display: grid; gap: 9px; }
.result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 13px 15px;
  border: 1px solid rgba(29,29,31,.075);
  border-radius: 16px;
  background: rgba(255,255,255,.74);
}
.result-row span, .result-row strong { min-width: 0; overflow-wrap: anywhere; }
.result-row span { color: var(--muted); font-size: 13px; }
.result-row b { color: #0a84ff; font-size: 16px; }
.result-row strong { text-align: right; font-size: 14px; }
.completion-panel {
  margin-top: 23px;
  padding: 23px 18px;
  border-radius: 21px;
  background: linear-gradient(145deg, rgba(48,209,88,.10), rgba(10,132,255,.06));
  text-align: center;
}
.completion-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin: 0 auto 12px;
  border-radius: 999px;
  color: #fff;
  background: #30d158;
  font-weight: 900;
}
.completion-panel strong { display: block; font-size: 18px; }
.completion-panel p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.visibility-admin-card {
  display: flex;
  gap: 13px;
  margin: 0 0 22px;
  padding: 15px;
  border-radius: 18px;
  background: rgba(29,29,31,.045);
}
.visibility-admin-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  font-size: 19px;
}
.visibility-admin-card strong { display: block; margin-top: 1px; font-size: 13px; }
.visibility-admin-card p { margin: 5px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.form-intro.compact { margin: 0 0 13px; }
.result-link { width: 100%; margin-top: 15px; }

@media (max-width: 700px) {
  .visibility-options { grid-template-columns: 1fr; gap: 9px; }
  .visibility-option { min-height: 94px; padding: 15px; border-radius: 17px; }
  .visibility-content strong { font-size: 14px; }
  .visibility-content small { font-size: 11.5px; }
  .group-status-panel { margin-top: 18px; }
  .result-row { min-height: 56px; padding: 12px 13px; gap: 8px; }
  .result-row span, .result-row strong { font-size: 13px; }
  .visibility-admin-card { margin-bottom: 19px; }
}
.checkout-visibility {
  width: fit-content;
  max-width: 100%;
  margin: -13px auto 24px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(29,29,31,.05);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}


/* Saved creator access */
.admin-header-actions { display:flex; align-items:center; gap:10px; }
.my-draws-nav { white-space:nowrap; }
.admin-access-card { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 20px; margin:22px 0 26px; border:1px solid rgba(10,132,255,.2); background:linear-gradient(135deg,rgba(10,132,255,.08),rgba(94,92,230,.055)); border-radius:22px; }
.admin-access-copy { min-width:0; }
.admin-access-copy strong { display:block; font-size:14px; }
.admin-access-copy p { margin:5px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
.admin-access-actions { display:flex; flex:0 0 auto; gap:8px; }
.admin-access-actions .button { min-height:42px; padding:0 14px; font-size:12px; }
.saved-shell { padding:58px 0 90px; max-width:980px; }
.saved-hero { text-align:center; max-width:720px; margin:0 auto 30px; }
.saved-hero h1 { margin:18px 0 12px; font-size:clamp(44px,8vw,76px); line-height:.98; letter-spacing:-.055em; }
.saved-hero p { margin:0 auto; max-width:620px; color:var(--muted); font-size:17px; line-height:1.6; }
.saved-card { padding:clamp(20px,4vw,34px); margin-top:18px; }
.saved-warning { padding:16px 18px; border-radius:18px; background:var(--soft); margin-bottom:18px; }
.saved-warning strong { display:block; font-size:13px; }
.saved-warning p { margin:5px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
.saved-list { display:grid; gap:12px; }
.saved-item { display:flex; justify-content:space-between; align-items:center; gap:22px; padding:20px; border:1px solid var(--line); border-radius:22px; background:#fff; }
.saved-item.is-unavailable { background:var(--soft); }
.saved-item-main { min-width:0; }
.saved-item-state { display:block; color:var(--blue); font-size:11px; font-weight:750; text-transform:uppercase; letter-spacing:.08em; }
.saved-item h2 { margin:6px 0 5px; font-size:22px; letter-spacing:-.03em; overflow-wrap:anywhere; }
.saved-item p { margin:0; color:var(--muted); font-size:12px; }
.saved-item-actions { display:flex; gap:8px; flex:0 0 auto; }
.saved-item-actions .button { min-height:42px; padding:0 14px; font-size:12px; }
.saved-empty { text-align:center; padding:42px 18px; }
.saved-empty-icon { width:56px; height:56px; display:grid; place-items:center; margin:0 auto 15px; border-radius:18px; background:var(--soft); font-size:26px; }
.saved-empty h2 { margin:0 0 8px; font-size:25px; }
.saved-empty p { color:var(--muted); max-width:500px; margin:0 auto 20px; line-height:1.55; }
.import-card { display:grid; gap:16px; }
.import-card h2 { margin:0 0 5px; font-size:24px; }
.import-card p { margin:0; color:var(--muted); }
.compact-button { min-height:40px; padding:0 14px; font-size:12px; }

@media (max-width: 760px) {
  .navlinks a.my-draws-nav { display:inline-flex !important; padding:8px 10px; border:1px solid var(--line); border-radius:999px; font-size:11px; }
  .admin-header-actions .my-draws-nav { display:none; }
  .admin-access-card { align-items:stretch; flex-direction:column; padding:17px; }
  .admin-access-actions { width:100%; display:grid; grid-template-columns:1fr 1fr; }
  .admin-access-actions .button { width:100%; padding:0 8px; }
  .saved-shell { padding:26px 14px 70px; }
  .saved-hero { margin-bottom:18px; }
  .saved-hero h1 { font-size:42px; }
  .saved-hero p { font-size:14px; }
  .saved-card { border-radius:24px; padding:16px; }
  .saved-item { align-items:stretch; flex-direction:column; gap:16px; padding:17px; }
  .saved-item-actions { width:100%; display:grid; grid-template-columns:1fr 1fr; }
  .saved-item-actions .button { width:100%; }
  .saved-item-actions .remove-saved { grid-column:1 / -1; }
  .saved-import-line { display:grid; grid-template-columns:1fr; }
  .saved-import-line .button { width:100%; }
}

/* =========================================================
   Quality pass v2.4: mobile, loading, errors and wheel polish
   ========================================================= */
:root {
  --text: var(--ink);
  --soft: var(--surface-soft);
}

button, a, input, textarea, select { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(0,113,227,.34);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.network-banner {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 200;
  width: min(520px, calc(100% - 24px));
  transform: translateX(-50%);
  padding: 12px 16px;
  border: 1px solid rgba(201,52,47,.16);
  border-radius: 16px;
  color: #8f241f;
  background: rgba(255,243,242,.96);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
  font-size: 13px;
  font-weight: 620;
}

.notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.notice > span { min-width: 0; }
.notice-action {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 0 0 1px currentColor;
  cursor: pointer;
  font-weight: 720;
  font-size: 12px;
}

.button-spinner, .loading-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinLoader .72s linear infinite;
}
.loading-spinner { color: var(--blue); }
@keyframes spinLoader { to { transform: rotate(360deg); } }
.loading-state {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: var(--muted);
  font-size: 13px;
}

.paypal-redirect-button[aria-busy="true"], .button[aria-busy="true"] { cursor: wait; }

/* Wheel gets a more tactile, premium feel. */
.wheel-rotor { transition-duration: var(--spin-duration, 5200ms); }
.wheel-stage::after {
  content: "";
  position: absolute;
  inset: -5%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.54), transparent 62%);
  opacity: .72;
  pointer-events: none;
}
.wheel-sparkles { position: absolute; inset: -4%; z-index: 2; pointer-events: none; }
.wheel-sparkles i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 18px 5px rgba(255,255,255,.68); opacity: .75; }
.wheel-sparkles i:nth-child(1) { left: 7%; top: 22%; }
.wheel-sparkles i:nth-child(2) { right: 4%; top: 41%; width: 5px; height: 5px; }
.wheel-sparkles i:nth-child(3) { left: 19%; bottom: 7%; width: 6px; height: 6px; }
.wheel-sparkles i:nth-child(4) { right: 14%; bottom: 13%; }
.wheel-symbols { position: absolute; inset: 0; pointer-events: none; }
.wheel-symbols span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  margin: -16px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.88);
  font-size: clamp(15px, 3vw, 24px);
  font-weight: 850;
  text-shadow: 0 2px 5px rgba(0,0,0,.22);
}
.wheel-symbols span:nth-child(1) { transform: rotate(0deg) translateY(-39%) translateY(-135px) rotate(0deg); }
.wheel-symbols span:nth-child(2) { transform: rotate(60deg) translateY(-39%) translateY(-135px) rotate(-60deg); }
.wheel-symbols span:nth-child(3) { transform: rotate(120deg) translateY(-39%) translateY(-135px) rotate(-120deg); }
.wheel-symbols span:nth-child(4) { transform: rotate(180deg) translateY(-39%) translateY(-135px) rotate(-180deg); }
.wheel-symbols span:nth-child(5) { transform: rotate(240deg) translateY(-39%) translateY(-135px) rotate(-240deg); }
.wheel-symbols span:nth-child(6) { transform: rotate(300deg) translateY(-39%) translateY(-135px) rotate(-300deg); }
.wheel-stage.is-spinning .wheel-pointer { animation: pointerTick .13s steps(2,end) infinite; transform-origin: 50% 5%; }
.wheel-stage.is-spinning .wheel-glow { animation: wheelGlowPulse .75s ease-in-out infinite alternate; }
.wheel-stage.is-spinning .wheel-sparkles { animation: sparkleOrbit 2.1s linear infinite; }
@keyframes pointerTick {
  0%,100% { transform: translateX(-50%) rotate(-2deg); }
  50% { transform: translateX(-50%) rotate(5deg); }
}
@keyframes wheelGlowPulse { to { opacity: .53; transform: scale(1.04); } }
@keyframes sparkleOrbit { to { transform: rotate(360deg); } }
.result-panel { overflow: hidden; }
.result-panel::before {
  content: "";
  position: absolute;
  inset: -55% 20% auto;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(10,132,255,.22), rgba(191,90,242,.18), rgba(255,55,95,.14));
  filter: blur(38px);
  pointer-events: none;
}
.result-panel { position: relative; }
.result-panel > * { position: relative; }

/* Small-screen safeguards for WhatsApp in-app browsers. */
@media (max-width: 700px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .site-header { top: 0; }
  .nav { padding-top: env(safe-area-inset-top); }
  .notice { align-items: flex-start; flex-direction: column; }
  .notice-action { width: 100%; }
  .wheel-symbols span:nth-child(1) { transform: rotate(0deg) translateY(-102px) rotate(0deg); }
  .wheel-symbols span:nth-child(2) { transform: rotate(60deg) translateY(-102px) rotate(-60deg); }
  .wheel-symbols span:nth-child(3) { transform: rotate(120deg) translateY(-102px) rotate(-120deg); }
  .wheel-symbols span:nth-child(4) { transform: rotate(180deg) translateY(-102px) rotate(-180deg); }
  .wheel-symbols span:nth-child(5) { transform: rotate(240deg) translateY(-102px) rotate(-240deg); }
  .wheel-symbols span:nth-child(6) { transform: rotate(300deg) translateY(-102px) rotate(-300deg); }
  .result-panel { width: 100%; }
  .checkout-visibility { white-space: normal; line-height: 1.35; }
  .saved-item-actions, .admin-access-actions { gap: 10px; }
}

@media (max-width: 360px) {
  .wrap, .narrow { width: min(100% - 20px, 1160px); }
  .brand-mark { width: 28px; height: 28px; }
  .brand { gap: 8px; }
  .brand-word { font-size: 17px; }
  .site-header .status-badge { font-size: 10px; padding-inline: 8px; max-width: 43vw; }
  .hero h1 { font-size: 38px; }
  .builder-card { padding-inline: 13px; }
  .summary { padding-inline: 15px; }
  .templates { grid-template-columns: 1fr; }
  .wheel-stage { width: min(90vw, 42svh, 310px); }
  .wheel-heading { font-size: 27px; }
  .wheel-symbols span:nth-child(1) { transform: rotate(0deg) translateY(-86px) rotate(0deg); }
  .wheel-symbols span:nth-child(2) { transform: rotate(60deg) translateY(-86px) rotate(-60deg); }
  .wheel-symbols span:nth-child(3) { transform: rotate(120deg) translateY(-86px) rotate(-120deg); }
  .wheel-symbols span:nth-child(4) { transform: rotate(180deg) translateY(-86px) rotate(-180deg); }
  .wheel-symbols span:nth-child(5) { transform: rotate(240deg) translateY(-86px) rotate(-240deg); }
  .wheel-symbols span:nth-child(6) { transform: rotate(300deg) translateY(-86px) rotate(-300deg); }
  .admin-access-actions, .saved-item-actions { grid-template-columns: 1fr; }
  .admin-access-actions .button, .saved-item-actions .button, .saved-item-actions .remove-saved { grid-column: auto; }
}

@media (max-height: 620px) and (max-width: 700px) {
  .wheel-page { padding-top: 6px; }
  .wheel-heading { margin-top: 5px; font-size: 25px; }
  .wheel-stage { width: min(72vw, 39svh, 280px); margin: 18px auto 10px; }
  .wheel-status { min-height: 18px; }
  .spin-button { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .mini-wheel { transform: rotate(-9deg); }
}
.not-found-secondary { margin-top: 10px; }

/* V2.6.1: free demo discoverability */
.demo-section { scroll-margin-top: 92px; }
.builder-demo-button { margin-top: 12px; border-color: rgba(0,113,227,.22); background: rgba(0,113,227,.06); color: #0071e3; }
.builder-demo-button:hover { background: rgba(0,113,227,.11); }
.builder-demo-note { display: block; margin-top: 8px; text-align: center; color: var(--muted); line-height: 1.45; }
.builder-demo-button[hidden], .builder-demo-note[hidden] { display: none !important; }
@media (max-width: 720px) { .demo-section { scroll-margin-top: 76px; } .builder-demo-button { min-height: 52px; } }


/* Name rows mobile refinement */
@media (max-width:700px) {
  .field-heading { align-items:flex-end; gap:10px; }
  .name-row-counter { font-size:11px; }
  .name-rows { gap:8px; }
  .name-row { grid-template-columns:30px minmax(0,1fr); gap:8px; }
  .name-row-number { width:30px; height:30px; border-radius:9px; font-size:11px; }
  .name-row-input { min-height:52px; border-radius:14px; padding:13px 14px; font-size:16px; }
  .add-name-rows { min-height:54px; border-radius:15px; font-size:14px; }
}
