/* Homepage sections. Shared tokens, header and footer: styles.css. */
section { padding: 72px 0; }
.band { background: var(--band); }
h2 { font-size: clamp(28px, 4.5vw, 40px); margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 4px 10px; border-radius: 999px; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero-icon { display: block; width: 96px; height: 96px; border-radius: 22px; margin-bottom: 20px; box-shadow: 0 12px 28px -8px rgba(15, 23, 42, .45); }
.hero h1 { font-size: clamp(34px, 6vw, 56px); margin: 14px 0 16px; }
.hero .note { font-size: 14px; color: var(--muted); margin-top: 10px; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr 1fr; } }

/* Phone frame around screenshots */
.phone {
  justify-self: center; width: 100%; max-width: 300px; border-radius: 46px; border: 10px solid #1c1c1e; overflow: hidden;
  background: #1c1c1e; box-shadow: 0 30px 60px -20px rgba(30, 27, 75, .35), 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone img { display: block; width: 100%; height: auto; }

/* Steps */
.steps { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.step .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.step h3 { font-size: 20px; margin: 14px 0 6px; }
.step p { margin: 0; color: var(--muted); }

/* Feature rows: text beside a phone, alternating sides */
.feature .wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) {
  .feature .wrap { grid-template-columns: 1fr 1fr; }
  .feature.flip .text { order: 2; }
}
.feature ul { list-style: none; padding: 0; margin: 20px 0 0; }
.feature li { position: relative; padding-left: 30px; margin: 10px 0; }
.feature li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.plus-tag { font-size: 12px; font-weight: 700; color: var(--accent); border: 1px solid currentColor; border-radius: 6px; padding: 0 5px; margin-left: 4px; vertical-align: 2px; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Comparison */
.table-scroll { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: 16px; }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare th[scope="row"] { text-align: left; font-weight: 500; position: sticky; left: 0; background: var(--bg); }
.compare thead th { font-weight: 700; background: var(--card); }
.compare thead th:first-child { background: var(--card); position: sticky; left: 0; }
.compare .us { color: var(--accent); }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: var(--muted); }
.compare .partial { color: var(--muted); font-size: 14px; }
.caption { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Pricing */
.plans { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; max-width: 820px; } }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.plan.plus { border: 2px solid var(--accent); }
.plan h3 { margin: 0; font-size: 22px; }
.plan .price { font-size: 30px; font-weight: 700; margin: 10px 0 2px; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan .trial { color: var(--accent); font-weight: 600; margin: 0; }
.plan ul { padding-left: 20px; margin: 16px 0 0; }
.plan .foot { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Waitlist form */
.waitlist { margin-top: 24px; max-width: 480px; }
.center .waitlist { margin-left: auto; margin-right: auto; }
.waitlist form { display: flex; gap: 8px; flex-wrap: wrap; }
.waitlist input[type="email"] {
  flex: 1 1 220px; min-width: 0; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--fg);
}
.waitlist input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.waitlist .btn { flex: 0 0 auto; }
@media (max-width: 480px) { .waitlist .btn { flex: 1 1 100%; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist .msg { min-height: 1.5em; margin: 10px 0 0; font-size: 15px; }
.waitlist .msg.ok { color: var(--ok); }
.waitlist .msg.err { color: var(--err); }

/* Launch switch: <html data-launched> swaps the forms for the App Store badge. */
.store-badge img { width: 160px; height: auto; }
html[data-launched] .waitlist form { display: none; }
html:not([data-launched]) .store-badge { display: none; }
