@font-face{font-family:Inter;src:url('/fonts/inter-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('/fonts/inter-700.ttf') format('truetype');font-weight:700;font-display:swap}

/* Light and calm, matching the app: Inter and the app's blue. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #f7f8fa;
  --border: #e4e5ea;
  --ink: #18181b;
  --ink-muted: #6b6f7d;
  --brand: #3574f0;
  --brand-strong: #2a62d4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p, h1, h2 { margin: 0; }
img, video { max-width: 100%; }
::selection { color: #fff; background: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; border-radius: 6px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

/* App bar */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #0000000f; background: #ffffffd9; backdrop-filter: saturate(180%) blur(20px); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1120px; height: 60px; margin: auto; padding: 0 24px; font-size: 14px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 700; font-size: 16px; }
.wordmark img { display: block; width: 32px; height: 32px; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; color: var(--ink-muted); }
.site-header nav a:hover { color: var(--ink); }
.nav-download { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; }
.nav-download:hover { background: #3f3f46; }

.page-shell { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px 96px; }

.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-shell { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 48px; max-width: 1120px; margin: auto; padding: 48px 24px 72px; }
.footer-copyright { color: var(--ink-muted); font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-links h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0; }
.footer-links a { display: block; width: fit-content; margin-top: 10px; color: var(--ink-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.footer-links a:hover { color: var(--ink); }
.creator-link { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px 6px 6px; border: 1px solid var(--border); border-radius: 999px; background: var(--paper); box-shadow: 0 4px 16px #18181b1a; font-size: 13px; font-weight: 700; white-space: nowrap; }
.creator-link:hover { background: var(--surface); }
.creator-link img { display: block; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

.legal-page { max-width: 720px; margin: 72px auto 0; }
.legal-page h1 { margin: 0 0 12px; font-size: 42px; line-height: 1.15; }
.legal-page .legal-date { color: var(--ink-muted); font-size: 14px; }
.legal-page section { margin-top: 36px; }
.legal-page h2 { font-size: 22px; }
.legal-page p, .legal-page ul { margin: 12px 0 0; }
.legal-page li + li { margin-top: 8px; }
.legal-page a { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 2px; }
.refund-page { max-width: 640px; }
.refund-page > p { margin-top: 16px; }
.refund-form { display: grid; gap: 12px; margin-top: 28px; }
.refund-form label { font-weight: 700; }
.refund-form input[type=email] { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; }
.refund-form .button { justify-self: start; }

/* Hero: centred message with the app as the star underneath. */
.hero { padding: 88px 0 0; text-align: center; animation: rise .5s ease-out; }
h1 { max-width: 880px; margin: 0 auto; font-size: 64px; line-height: 1.05; font-weight: 700; letter-spacing: -.035em; }
.hero-copy { max-width: 620px; margin: 24px auto 0; color: var(--ink-muted); font-size: 20px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s; }
.button:active { transform: scale(.98); }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px #3574f040; }
.button-primary:hover { background: var(--brand-strong); }
.button-secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--border); }
.button-secondary:hover { background: #eef0f4; }
.button-primary { gap: 8px; }
.download-icon { width: 18px; height: 18px; }
.platforms { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; color: var(--ink-muted); font-size: 14px; }
.platform-logos { display: inline-flex; gap: 8px; }
.platform-logos svg { width: 15px; height: 15px; }
.hero-shot { position: relative; margin: 64px auto 0; max-width: 1080px; }
.hero-shot::before { content: ''; position: absolute; inset: 12% 8% -4%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, #3574f01f, transparent); filter: blur(40px); }
.hero-shot img { display: block; width: 100%; height: auto; }

/* Download page */
.download-hero { padding-bottom: 32px; }
.version-pill { display: inline-block; margin-bottom: 20px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--ink-muted); font-size: 14px; }
.all-downloads { max-width: 760px; margin: 72px auto 0; padding-top: 72px; border-top: 1px solid var(--border); }
h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.02em; }
.section-copy { margin-top: 8px; color: var(--ink-muted); }
.download-card { margin-top: 24px; padding: 8px 24px; border: 1px solid var(--border); border-radius: 16px; }
.download-card h3 { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 18px; }
.download-card .platform-logo { display: inline-flex; width: 18px; height: 18px; }
.download-card .platform-logo svg { width: 100%; height: 100%; }
.download-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; color: var(--ink-muted); }
.download-links { display: flex; gap: 8px; }
.chip-button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.chip-button:hover { background: var(--surface); }
.chip-button .download-icon { width: 14px; height: 14px; }

/* Pricing */
.pricing-page { padding-top: 80px; }
.pricing-intro { text-align: center; }
.pricing-intro h1 { font-size: 48px; line-height: 1.12; }
.pricing-intro > p:last-child { margin-top: 16px; color: var(--ink-muted); font-size: 18px; }
.pricing-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; width: fit-content; max-width: 100%; margin: 48px auto 0; padding: 10px 18px; border: 1px solid #9a3412; border-radius: 999px; background: #c2410c; color: #fff; font-size: 14px; font-weight: 700; text-align: center; }
.pricing-promo-highlight { display: inline-flex; align-items: center; gap: 8px; animation: promo-fade 1.3s ease-in-out infinite alternate; }
.pricing-promo-icon { display: block; flex: none; width: 18px; height: 18px; }
.pricing-promo + .pricing-card { margin-top: 16px; }
.pricing-card { max-width: 480px; margin: 48px auto 0; padding: 40px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: 0 16px 48px #18181b1a; }
.pricing-card-name { font-size: 18px; font-weight: 700; text-align: center; }
.pricing-amount { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 12px; margin-top: 20px; }
.pricing-old-price { color: var(--ink-muted); font-size: 18px; }
.pricing-amount strong { font-size: 52px; line-height: 1.1; letter-spacing: -.04em; }
.pricing-amount span { color: var(--ink-muted); font-size: 14px; white-space: nowrap; }
.pricing-benefits { display: grid; gap: 12px; margin: 28px 0 0; padding: 24px 0; border-block: 1px solid var(--border); list-style: none; }
.pricing-benefits li { display: flex; gap: 12px; }
.pricing-benefits li::before { content: '✓'; color: var(--brand); font-weight: 700; }
.pricing-status { margin-top: 24px; }
.purchase-form { margin-top: 24px; }
.purchase-form .button { width: 100%; }
.pricing-payment { margin-top: 16px; color: var(--ink-muted); font-size: 13px; text-align: center; }
.pricing-refund { max-width: 480px; margin: 24px auto 0; text-align: center; }
.pricing-recovery { margin-top: 24px; color: var(--ink-muted); text-align: center; }
.pricing-recovery a { color: var(--brand); font-weight: 700; }
.pricing-questions { max-width: 680px; margin: 88px auto 0; }
.pricing-questions h2 { margin-bottom: 12px; text-align: center; }
.pricing-question { padding: 24px 0; border-bottom: 1px solid var(--border); }
.pricing-question h3 { margin: 0; font-size: 18px; }
.pricing-question p { margin-top: 8px; color: var(--ink-muted); }

/* Purchase confirmation */
.purchase-success { display: flex; flex-direction: column; justify-content: center; min-height: clamp(560px, calc(100dvh - 360px), 760px); max-width: 640px; margin: 0 auto; padding: 80px 0; text-align: center; }
.success-mark { width: 88px; height: 88px; margin: 0 auto 28px; }
.success-check { position: relative; z-index: 1; display: block; width: 88px; height: 88px; filter: drop-shadow(0 8px 16px #16a34a26); animation: success-pop .5s cubic-bezier(.2, 1.5, .5, 1) both; }
.purchase-success h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; }
.purchase-success > p { margin-top: 20px; color: var(--ink-muted); font-size: 18px; }
.purchase-next { margin-top: 72px; }
.purchase-next h2 { font-size: 24px; }
.purchase-next ol { display: inline-block; margin: 20px auto 0; padding-left: 24px; text-align: left; }
.purchase-next li + li { margin-top: 6px; }
.purchase-next .actions { margin-top: 32px; }

/* Shared by pricing and message pages. */
.panel { border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.section-panel { margin-top: 48px; padding: 48px; }
.message-panel { min-height: 360px; }
.message-panel h1 { margin: 12px 0 0; font-size: 44px; }
.message-panel .hero-copy { margin: 16px 0 0; }
.message-panel .actions { justify-content: flex-start; }
.message-panel ul, .message-panel p { margin-top: 16px; }
.message-panel a:not(.button) { color: var(--brand); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes success-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
@keyframes promo-fade { from { opacity: .3; } to { opacity: 1; } }
@media (max-width: 767px) {
  .footer-shell { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .legal-page { margin-top: 56px; }
  .legal-page h1 { font-size: 34px; }
  .site-header nav { display: none; }
  .hero { padding-top: 56px; }
  h1 { font-size: 40px; }
  .hero-copy { font-size: 18px; }
  .hero-shot { margin-top: 40px; }
  .pricing-page { padding-top: 56px; }
  .pricing-intro h1 { font-size: 36px; }
  .pricing-intro > p:last-child { font-size: 16px; }
  .pricing-card { padding: 28px; }
  .pricing-questions { margin-top: 64px; }
  .section-panel { padding: 28px; }
  .message-panel h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
