:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #f6f6f5;
  --muted-fg: #5c5c58;
  --border: #e6e6e3;
  --card: #ffffff;
  --accent: #047857;
  --accent-soft: #e8f6ef;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px rgb(0 0 0 / 0.06);
  --radius: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --fg: #f5f5f4;
    --muted: #141414;
    --muted-fg: #a3a3a0;
    --border: #262626;
    --card: #111111;
    --accent: #34d399;
    --accent-soft: rgb(52 211 153 / 0.12);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.4);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.55 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 720px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, opacity .15s;
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { opacity: .88; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--fg); }
.btn-outline:hover { border-color: var(--fg); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted-fg); font-size: 15px; }
.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero { padding-block: 72px 112px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 750; }
.lead { margin-top: 20px; font-size: 18px; color: var(--muted-fg); max-width: 34em; }
.hero-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; max-width: 480px; }
.hero-form input { flex: 1 1 220px; }
.hero-form .form-msg { flex-basis: 100%; }
.founding-note { margin-top: 16px; font-size: 14px; color: var(--muted-fg); }
.founding-note .dot { display: inline-block; margin-right: 8px; vertical-align: 1px; }
.founding-note strong { color: var(--fg); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px var(--accent-soft); }

input, select, textarea {
  font: inherit; font-size: 15px; color: var(--fg);
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px; min-height: 44px; width: 100%;
}
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { resize: vertical; }

.form-msg { font-size: 14px; min-height: 0; }
.form-msg.ok { color: var(--accent); font-weight: 600; }
.form-msg.err { color: #dc2626; }

/* Hero visual */
.hero-visual { position: relative; }
.window { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--muted); }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.window-body { padding: 18px 18px 64px; }
.list-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.list-title { font-weight: 700; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--muted); border: 1px solid var(--border); color: var(--muted-fg); }
.pill { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--border); }
.table-scroll { overflow-x: auto; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mini-table th { text-align: left; font-weight: 500; color: var(--muted-fg); font-size: 12px; padding: 8px 6px; border-bottom: 1px solid var(--border); }
.mini-table td { padding: 10px 6px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.mini-table tr:last-child td { border-bottom: 0; }
.mini-table small { display: block; color: var(--muted-fg); font-size: 12px; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.strong { font-weight: 650; }
.m { color: var(--accent); font-weight: 600; }

.float-card {
  position: absolute; right: -18px; bottom: -72px; width: 230px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 16px; font-size: 14px;
}
.float-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.float-name { font-weight: 650; margin: 2px 0 8px; }
.float-row { display: flex; justify-content: space-between; gap: 8px; }
.float-sub { color: var(--muted-fg); font-size: 12px; margin-top: 2px; }

/* Sections */
.section { padding-block: 88px; }
.section-muted { background: var(--muted); border-block: 1px solid var(--border); }
.section-title { font-size: clamp(28px, 3.4vw, 38px); font-weight: 720; text-align: center; max-width: 22em; margin: 0 auto; }
.section-sub { text-align: center; color: var(--muted-fg); margin-top: 12px; font-size: 17px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3, .feature h3 { font-size: 18px; margin-bottom: 8px; }
.card p, .feature p { color: var(--muted-fg); }
.card-icon { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 16px; }

.steps { list-style: none; padding: 0; margin: 48px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { display: flex; gap: 16px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted-fg); }
.step-n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

.features .feature { padding: 4px 4px 4px 18px; border-left: 2px solid var(--accent); }

/* Pricing */
.billing-toggle { display: flex; width: fit-content; margin: 28px auto 0; padding: 4px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
.billing-toggle button { font: inherit; font-size: 14px; font-weight: 600; border: 0; background: none; color: var(--muted-fg); padding: 8px 16px; border-radius: 7px; cursor: pointer; }
.billing-toggle button.active { background: var(--fg); color: var(--bg); }
.save { font-size: 12px; font-weight: 600; color: var(--accent); margin-left: 4px; }
.billing-toggle button.active .save { color: inherit; opacity: .8; }

.founding-banner { max-width: 720px; margin: 24px auto 0; text-align: center; font-size: 15px; padding: 12px 16px; border-radius: 10px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; }
.plan-featured { border: 2px solid var(--fg); box-shadow: var(--shadow); }
.badge { position: absolute; top: -12px; left: 22px; background: var(--fg); color: var(--bg); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan-desc { color: var(--muted-fg); font-size: 14px; margin-top: 6px; min-height: 2.9em; }
.price { margin: 18px 0 20px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; }
.amt { font-size: 40px; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.amt-text { font-size: 30px; }
.per { color: var(--muted-fg); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; font-size: 15px; flex: 1; align-content: start; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.fine { text-align: center; color: var(--muted-fg); font-size: 13px; margin-top: 20px; }

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
details:first-of-type { margin-top: 36px; border-top: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted-fg); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted-fg); margin-top: 10px; }

/* Waitlist */
.waitlist-form { margin-top: 36px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.req { color: var(--accent); }
.opt { color: var(--muted-fg); font-weight: 400; }
.waitlist-form .fine { margin-top: 0; }
.waitlist-form .form-msg { text-align: center; }
.section-cta { background: var(--muted); border-top: 1px solid var(--border); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding-block: 28px; color: var(--muted-fg); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1000px) {
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 860px) {
  .hero { padding-block: 48px 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .float-card { right: 8px; }
  .section { padding-block: 64px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .plans { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .waitlist-form { padding: 20px; }
  .float-card { position: static; width: auto; margin: 12px 0 0; }
  .window-body { padding-bottom: 8px; }
  .hero { padding-block: 40px 56px; }
  .plan-desc { min-height: 0; }
}

/* Preview */
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.tabs button { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted-fg); background: transparent; border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.tabs button:hover { color: var(--fg); border-color: var(--fg); }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.shot-caption { text-align: center; color: var(--muted-fg); margin: 18px auto 0; max-width: 40em; min-height: 3.1em; }
.shot-frame { display: block; width: 100%; margin-top: 20px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--muted); box-shadow: var(--shadow); cursor: zoom-in; }
.shot-frame img, .lightbox img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.lightbox { width: min(96vw, 1600px); max-width: none; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.lightbox::backdrop { background: rgb(0 0 0 / 0.7); }
.lightbox-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--fg); font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 600px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
  .tabs button { flex: none; }
  .shot-frame { cursor: default; }
}

/* Phone frame next to the desktop screenshot */
.shot-stage { position: relative; margin-top: 20px; padding: 0 150px 48px 0; }
.shot-stage .shot-frame { margin-top: 0; }
.phone {
  --screen: #ffffff; --ink: #0a0a0a;
  position: absolute; right: 0; bottom: 0; width: 250px; margin: 0;
  padding: 9px; border-radius: 44px; background: #111; box-shadow: 0 0 0 1px #2a2a2a, 0 24px 60px rgb(0 0 0 / 0.28);
}
.phone-status {
  /* Like an iPhone: time and icons each centred in the space either side of the camera pill. */
  display: grid; grid-template-columns: 1fr 34% 1fr; align-items: center; height: 38px;
  background: var(--screen); color: var(--ink); border-radius: 36px 36px 0 0;
  font: 600 13px/1 ui-sans-serif, -apple-system, sans-serif; transition: background .2s;
}
.phone-time { justify-self: center; letter-spacing: -0.01em; }
.phone-island { height: 22px; border-radius: 999px; background: #000; }
.phone-icons { justify-self: center; display: flex; gap: 4px; align-items: center; }
.phone-icons svg { fill: currentColor; }
.phone picture, .phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; background: var(--screen); }
/* A dialog dims the whole screen in the app, so the status bar dims with it. */
.phone[data-dimmed] { --screen: #808080; }
.phone picture { border-radius: 0 0 36px 36px; overflow: hidden; }
.phone-home { position: absolute; bottom: 16px; left: 50%; width: 92px; height: 4px; margin-left: -46px; border-radius: 99px; background: var(--ink); opacity: .85; }
@media (prefers-color-scheme: dark) {
  .phone { --screen: #0a0a0a; --ink: #f5f5f4; box-shadow: 0 0 0 1px #333, 0 24px 60px rgb(0 0 0 / 0.6); }
  .phone[data-dimmed] { --screen: #050505; }
}
@media (max-width: 860px) {
  .shot-stage { padding: 0; display: flex; justify-content: center; }
  .shot-stage .shot-frame { display: none; }
  .phone { position: relative; width: min(300px, 82vw); }
}

/* Switching / import */
.migrate { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding: 44px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.migrate h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 720; }
.migrate-copy > p:not(.eyebrow) { color: var(--muted-fg); margin-top: 14px; font-size: 17px; }
.migrate-copy .eyebrow { margin-bottom: 10px; }
.migrate .migrate-offer { display: flex; gap: 10px; align-items: baseline; font-size: 15px; margin-top: 20px; }
.migrate-offer strong { color: var(--fg); }
.migrate-offer .dot { transform: translateY(-2px); }
.migrate-lists { display: grid; gap: 28px; }
.migrate-lists h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-fg); margin-bottom: 12px; }
.migrate-lists ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.migrate-lists li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.migrate-lists svg { flex: none; color: var(--accent); }
@media (max-width: 860px) {
  .migrate { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
}

/* Made in Canada */
.made-in { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 5px 12px 5px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); margin-bottom: 18px; }
.leaf { flex: none; }
.footer-made { display: inline-flex; align-items: center; gap: 7px; }

/* Turnstile (bot check): invisible unless Cloudflare needs the visitor to click */
.cf-turnstile { flex-basis: 100%; }
.cf-turnstile:empty { display: none; }

/* Privacy and other text pages */
.nav-cta { margin-left: auto; }
.legal { padding-block: 56px 88px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 750; margin-top: 4px; }
.legal-updated { color: var(--muted-fg); font-size: 14px; margin-top: 10px; }
.legal-lead { font-size: 18px; margin-top: 24px; padding: 16px 20px; border-radius: 10px; background: var(--muted); border: 1px solid var(--border); }
.legal h2 { font-size: 20px; margin-top: 40px; }
.legal p, .legal li { color: var(--muted-fg); }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal strong { color: var(--fg); font-weight: 600; }
.legal a, .footer a, .fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.legal code { font-size: 14px; background: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 0 4px; }
