/* Barlow and Barlow Condensed, served from here (SIL Open Font License), so no visit calls out to Google */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/barlow-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/barlow-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow-condensed-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/barlow-condensed-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* The public pages (home, pricing, terms, privacy). Same colours and type as the app. */
@font-face {
  font-family: 'Decade Black';
  src: url('/fonts/decade-black-italic.woff2') format('woff2');
  font-weight: 900; font-style: italic; font-display: swap;
}
:root {
  --grad-a: #7F43C7;
  --grad-b: #1FBFF4;
  --concrete: color-mix(in srgb, var(--grad-a) 7%, #F7F7F9);
  --surface: #FFFFFF;
  --ink: color-mix(in srgb, var(--grad-a) 14%, #1E1E24);
  --muted: color-mix(in srgb, var(--grad-a) 14%, #64646E);
  --line: color-mix(in srgb, var(--grad-a) 16%, #D5D5DA);
  --tape: var(--grad-a);
  --link: color-mix(in srgb, var(--grad-a) 85%, #000000);
  --focus: color-mix(in srgb, var(--grad-a) 85%, #000000);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --concrete: color-mix(in srgb, var(--grad-a) 12%, #111114);
    --surface: color-mix(in srgb, var(--grad-a) 14%, #1B1B1F);
    --ink: color-mix(in srgb, var(--grad-a) 8%, #EAEAEE);
    --muted: color-mix(in srgb, var(--grad-a) 22%, #A2A2AA);
    --line: color-mix(in srgb, var(--grad-a) 26%, #393940);
    --tape: color-mix(in srgb, var(--grad-a) 82%, #FFFFFF);
    --link: color-mix(in srgb, var(--grad-a) 45%, #FFFFFF);
    --focus: color-mix(in srgb, var(--grad-a) 45%, #FFFFFF);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--concrete); color: var(--ink);
  font: 400 1.0625rem/1.55 'Barlow', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--link); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; line-height: 1.12; margin: 0 0 0.5rem; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: 3rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 0.5rem; top: 0.5rem; background: var(--surface); padding: 0.5rem 0.75rem; z-index: 2; }

.site-head, main, .site-foot { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 0.9rem; padding-bottom: 0.9rem; flex-wrap: wrap; }
.brand img { display: block; height: 3rem; width: auto; }
.site-head nav, .site-foot nav { display: flex; align-items: center; gap: 0.4rem 1.1rem; flex-wrap: wrap; }
.site-head nav a:not(.button), .site-foot nav a { text-decoration: none; font-weight: 500; padding: 0.6rem 0; }
.site-head nav a:not(.button):hover, .site-foot nav a:hover { text-decoration: underline; }

.button {
  display: inline-block; text-decoration: none; font-weight: 600; text-align: center;
  background: linear-gradient(135deg, var(--grad-a), color-mix(in srgb, var(--grad-a) 55%, var(--grad-b)));
  color: #FFFFFF; padding: 0.6rem 1.1rem; border-radius: 0.6rem; border: 2px solid transparent; min-height: 2.75rem;
}
.button:hover { filter: brightness(1.08); }
.button.big { padding: 0.85rem 1.5rem; font-size: 1.1rem; }
.button.quiet { background: transparent; color: var(--link); border-color: var(--line); }

.hero { padding: clamp(2rem, 7vw, 4.5rem) 0 1rem; max-width: 46rem; }
.hero.small { padding-top: 2rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 44rem; }
.cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.5rem 0 0.75rem; }
.note { color: var(--muted); font-size: 0.95rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.grid article, .plan { background: var(--surface); border: 1px solid var(--line); border-radius: 0.9rem; padding: 1.15rem 1.25rem; }
.grid article p { margin: 0; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.plan { display: flex; flex-direction: column; }
.plan h2, .plan h3 { margin-top: 0; font-size: 1.5rem; }
.plan .price { font-size: 1rem; margin-bottom: 0.75rem; }
.plan .price strong { font-size: 1.9rem; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; }
.plan .price span { display: block; color: var(--muted); font-size: 0.95rem; }
.plan ul { margin: 0 0 1rem; padding-left: 1.15rem; color: var(--muted); font-size: 0.98rem; }
.plan li { margin-bottom: 0.25rem; }
.plan .button { margin-top: auto; }

.faq { max-width: 46rem; }
.faq h3 { margin-top: 1.5rem; }
.legal { max-width: 46rem; padding-top: 1.5rem; overflow-wrap: anywhere; }
.legal h2 { margin-top: 2rem; font-size: 1.5rem; }
.legal h3 { margin-top: 1.25rem; }
.legal li { margin-bottom: 0.35rem; }

.site-foot { margin-top: 4rem; padding-top: 1.5rem; padding-bottom: 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.site-foot p { margin: 0.75rem 0 0; }
@media (prefers-reduced-motion: no-preference) { .button { transition: filter 0.15s; } }
