/* the demo: a step-by-step flow in Idacious' navy and mint */
.top-actions { display: flex; align-items: center; gap: 16px; }
.who { font-size: 14px; color: var(--muted); }
.demo { padding-bottom: 80px; }
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 8px 0 40px; counter-reset: s; flex-wrap: wrap; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font: 500 14px var(--body); color: var(--muted); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--band); color: var(--navy); font-weight: 700; font-size: 13px; }
.steps li.done::before { content: "✓"; background: var(--mint); }
.steps li.now { border-color: var(--navy); color: var(--navy); font-weight: 700; }
.steps li.now::before { background: var(--navy); color: var(--white); }

.panel-step { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.panel-step[hidden] { display: none; }
.panel-step[data-panel="template"], .panel-step[data-panel="coming"] { grid-template-columns: 1fr; gap: 28px; }
.step-copy h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; font-weight: 800; margin: 18px 0 16px; }
.step-copy .lead { font-size: 19px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 24px 50px -28px rgba(15, 27, 61, 0.25); }
.card h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.card label { display: block; font: 700 14px var(--body); color: var(--navy); margin: 18px 0 8px; }
.muted { color: var(--muted); font-size: 15px; }
.row { display: flex; gap: 10px; }
.row input { flex: 1; min-width: 0; }
.turnstile { margin-top: 14px; min-height: 0; }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
.card .btn-block { margin-top: 22px; }

/* templates */
.template-layout { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.templates { display: grid; gap: 12px; }
.tpl { text-align: left; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; font: inherit; color: var(--text); }
.tpl:hover { border-color: #b7c0d8; }
.tpl[aria-checked="true"] { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.45); }
.tpl .sw { width: 56px; height: 56px; border-radius: 10px; position: relative; overflow: hidden; }
.tpl .sw i { position: absolute; right: -8px; bottom: -8px; width: 32px; height: 32px; border-radius: 50%; }
.tpl b { display: block; color: var(--navy); font-size: 16px; }
.tpl span { font-size: 14px; }
.preview { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.preview-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--band); }
.preview-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c4cbdd; }
.preview-bar em { margin-left: 10px; font: 500 13px var(--body); color: var(--muted); font-style: normal; }
.preview iframe { width: 100%; height: 520px; border: 0; display: block; background: var(--white); }

/* going live */
.progress { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.progress li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 500; }
.progress li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; }
.progress li.now { color: var(--navy); }
.progress li.now::before { border-color: var(--mint); border-top-color: var(--navy); animation: spin 0.9s linear infinite; }
.progress li.done { color: var(--navy); }
.progress li.done::before { background: var(--mint); border-color: var(--mint); box-shadow: inset 0 0 0 5px var(--mint); }
@keyframes spin { to { transform: rotate(360deg); } }
.live-box { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.live-url { display: block; margin: 8px 0 12px; font: 700 18px var(--body); color: var(--navy); word-break: break-all; }

/* what's coming */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { display: flex; flex-direction: column; align-items: flex-start; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; cursor: pointer; font: inherit; color: var(--text); transition: transform 0.15s, box-shadow 0.15s; }
.feature:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -22px rgba(15, 27, 61, 0.4); }
.feature .tag { margin-bottom: 12px; }
.feature h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.feature p { font-size: 15px; }
.feature .more { display: inline-block; margin-top: 12px; font: 700 14px var(--body); color: var(--navy); }
.modal { position: fixed; inset: 0; background: rgba(15, 27, 61, 0.55); display: grid; place-items: center; padding: 16px; z-index: 50; }
.modal[hidden] { display: none; }
.modal-card { position: relative; background: var(--white); border-radius: 20px; padding: 32px 28px 28px; max-width: 620px; width: 100%; max-height: 90vh; overflow: auto; }
.modal-card h2 { font-size: 30px; font-weight: 800; margin: 12px 0 12px; }
.modal-card p { margin-bottom: 12px; }
.modal-card ul { padding-left: 20px; margin: 0 0 12px; }
.modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--muted); }

/* founding member */
.price { display: flex; align-items: baseline; gap: 12px; }
.price b { font: 800 52px var(--head); color: var(--navy); }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--navy); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.trust { margin-top: 22px; padding: 16px; border-radius: 12px; background: var(--bg); font-size: 14px; display: grid; gap: 8px; }
.trust a { color: var(--navy); }

@media (max-width: 960px) {
  .panel-step { grid-template-columns: 1fr; gap: 24px; }
  .template-layout { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .preview iframe { height: 440px; }
}
@media (max-width: 560px) {
  .steps li { font-size: 0; padding: 6px; }
  .steps li::before { font-size: 13px; }
  .steps li.now { font-size: 13px; padding-right: 12px; }
  .row { flex-direction: column; }
  .row input { flex: none; }
  .steps { gap: 6px; margin-bottom: 28px; }
  .steps li { padding: 4px; }
  .features { grid-template-columns: 1fr; }
  .who { display: none; }
}

/* local runs: the sign-in code on screen */
.dev-code { margin-top: 12px; padding: 10px 12px; border: 1.5px dashed #c4cbdd; border-radius: 10px; font-size: 14px; color: var(--muted); }
.dev-code b { color: var(--navy); letter-spacing: 0.12em; font-size: 16px; }

.tpl .thumb { width: 96px; height: 64px; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); background: var(--band); }
.templates { max-height: 640px; overflow: auto; padding: 3px; }
/* the preview at desktop width, scaled to fit */
.preview-frame { position: relative; height: 540px; overflow: hidden; }
.preview-frame iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 900px; transform-origin: 0 0; }
@media (max-width: 960px) { .preview-frame { height: 440px; } }

/* step 6: pay, or go to the dashboard */
.card .to-dash { margin-top: 12px; }
.hint.center { text-align: center; }
#paid-card .btn-block { margin-top: 20px; }

/* (hidden wins over .btn display) */
[hidden] { display: none !important; }

/* step 6: what's in the Launch plan, what paying early gets */
.whats-in { margin-top: 28px; padding: 24px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.whats-in h3 { font-size: 20px; font-weight: 800; margin: 0 0 12px; }
.whats-in h3 + .ticks { margin-top: 0; }
.whats-in .ticks { margin-bottom: 14px; }
.whats-in .ticks li { font-size: 15px; }
.whats-in .hint { margin: 0 0 22px; font-size: 14px; }
