/* Public website styles. Brand colours come from brand.css. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #141b2e; background: #fff; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--brand); }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); text-align: center; }
h3 { font-size: 18px; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sub { text-align: center; color: #5d6781; margin: 12px auto 36px; max-width: 620px; }
.fine { font-size: 13px; color: #7a849c; margin-top: 14px; }

.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; color: #fff; text-decoration: none; }
.logo .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 16px; }
.logo .io { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border-radius: 9px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; }
.btn.big { padding: 13px 22px; font-size: 17px; }
.btn.solid { background: var(--accent); color: #23130a; }
.btn.solid:hover { filter: brightness(1.06); }
.btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.btn.outline { color: var(--brand); border-color: var(--brand); }
.btn.outline:hover { background: var(--brand); color: #fff; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.top { background: var(--ink); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.top nav { display: flex; gap: 26px; }
.top nav a { color: #c9d2ee; text-decoration: none; font-size: 15px; }
.top nav a:hover { color: #fff; }

.hero { background: var(--ink); color: #fff; padding: 64px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: 19px; color: #c9d2ee; margin: 18px 0 26px; max-width: 540px; }
.hero .fine { color: #96a2c6; }

.mock { background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); overflow: hidden; color: #141b2e; font-size: 14px; }
.mock-head { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #e1e6f0; }
.mock-head span { width: 10px; height: 10px; border-radius: 50%; background: #d7dcea; }
.mock-head b { margin-left: 8px; font-size: 13px; color: #5d6781; }
.mock-body { background: #efeae2; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.m { max-width: 82%; padding: 8px 11px; border-radius: 10px; background: #fff; align-self: flex-start; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); line-height: 1.4; }
.m.out { align-self: flex-end; background: #d9f5e3; }
.m.note { align-self: center; background: #fff7d6; font-size: 12.5px; }
.m small { display: block; text-align: right; font-size: 11px; color: #5d6781; margin-top: 2px; }

.strip { background: #f4f6fb; border-bottom: 1px solid #e1e6f0; }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.strip b { display: block; font-size: 16px; }
.strip span { color: #5d6781; font-size: 14.5px; }

.sec { padding: 76px 0; }
.sec.alt { background: #f4f6fb; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards article { border: 1px solid #e1e6f0; border-radius: 14px; padding: 22px; background: #fff; }
.cards h3 { margin-bottom: 8px; }
.cards p, .steps p { color: #5d6781; font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps h3 { margin-bottom: 6px; }

.toggle { display: flex; width: max-content; margin: -12px auto 28px; background: #eef1f8; border-radius: 10px; padding: 4px; }
.toggle[hidden] { display: none; }
.toggle button { font: inherit; border: 0; background: none; padding: 7px 16px; border-radius: 8px; cursor: pointer; color: #5d6781; font-weight: 600; }
.toggle button.on { background: #fff; color: #141b2e; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.toggle em { font-style: normal; color: var(--brand); font-size: 13px; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; border: 1px solid #e1e6f0; border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; background: #fff; }
.plan.pop { border: 2px solid var(--brand); box-shadow: 0 14px 40px rgba(47, 91, 234, .16); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.plan .blurb { color: #5d6781; font-size: 14.5px; margin: 6px 0 16px; min-height: 46px; }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 15px; font-weight: 500; color: #5d6781; letter-spacing: 0; }
.plan .bill { color: #7a849c; font-size: 13px; margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.plan li { padding: 5px 0 5px 24px; position: relative; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

details { background: #fff; border: 1px solid #e1e6f0; border-radius: 12px; padding: 0 18px; margin-top: 10px; }
details:first-of-type { margin-top: 32px; }
summary { cursor: pointer; font-weight: 600; padding: 15px 0; list-style-position: outside; }
details p { color: #5d6781; padding-bottom: 16px; }

.final { background: var(--brand); color: #fff; padding: 68px 0; }
.final h2 { color: #fff; }
.final p { margin: 12px 0 24px; color: #dfe6ff; }
footer { background: var(--ink); color: #96a2c6; padding: 36px 0 28px; font-size: 14.5px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot p { margin-top: 8px; }
.links { display: flex; gap: 22px; flex-wrap: wrap; }
.links a { color: #c9d2ee; text-decoration: none; }
.links a:hover { color: #fff; }
footer .fine { color: #6f7ba0; margin-top: 22px; }

.legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal h2 { text-align: left; font-size: 20px; margin: 30px 0 8px; }
.legal p, .legal li { color: #3c4560; margin-bottom: 10px; }
.legal .draft { background: #fff4dc; border-radius: 10px; padding: 12px 14px; color: #5c3b00; margin: 16px 0; }

@media (max-width: 900px) {
  .hero-grid, .cards, .steps, .plans, .strip-grid { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .hero { padding: 40px 0 56px; }
  .sec { padding: 52px 0; }
  .plan .blurb { min-height: 0; }
}
@media (max-width: 480px) { .top .btn.ghost { display: none; } }
