:root {
  color-scheme: light dark;
  --background: #ffffff;
  --surface: #f5f6fb;
  --surface-strong: #eceef7;
  --text: #141829;
  --muted: #535b70;
  --border: #dfe2ec;
  --link: #4a3ad1;
  --button: #5646dc;
  --button-text: #ffffff;
  --premium: #7a5200;
  --premium-background: #fdf1cf;
  --shadow: 0 1px 2px rgba(20, 24, 41, 0.06), 0 8px 24px rgba(20, 24, 41, 0.06);
  --navy: #0b1020;
  --on-navy: #ffffff;
  --on-navy-muted: #b9c1d3;
  --on-navy-border: rgba(255, 255, 255, 0.14);
  --on-navy-link: #b9b0fb;
  --ribbon: linear-gradient(90deg, #3fe8fa, #6c5ce7 45%, #c04dff 70%, #ff5c8a);
  --width: 1080px;
  --prose: 46rem;
  --gutter: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #0b1020;
    --surface: #121a2d;
    --surface-strong: #192235;
    --text: #eef0f6;
    --muted: #a7b0c2;
    --border: #263049;
    --link: #b0a6fa;
    --button: #6c5ce7;
    --premium: #f5c451;
    --premium-background: #2e2610;
    --shadow: none;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; overflow-wrap: anywhere; }
ul { margin: 0 0 1em; padding-left: 1.25rem; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--width); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--background); color: var(--link); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--background); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--text); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.04em; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); }
.site-nav ul { display: flex; flex-wrap: nowrap; list-style: none; margin: 0 -8px; padding: 0; }
.site-nav .secondary { display: none; }
.site-nav a { display: block; padding: 10px 8px; white-space: nowrap; color: var(--muted); font-size: 0.94rem; font-weight: 500; text-decoration: none; border-radius: 8px; }
.site-nav a:hover { color: var(--text); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 650; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(108, 92, 231, 0.42), transparent 70%), radial-gradient(45% 60% at 100% 90%, rgba(255, 92, 138, 0.2), transparent 70%), radial-gradient(40% 60% at 55% 0%, rgba(63, 232, 250, 0.16), transparent 70%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ribbon); }
.hero .wrap { position: relative; display: grid; gap: 24px; align-items: center; padding-top: 40px; padding-bottom: 48px; }
.eyebrow { margin: 0 0 14px; color: var(--on-navy-muted); font-size: 0.82rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.1rem, 7vw, 3.5rem); line-height: 1.08; letter-spacing: -0.025em; max-width: 14em; }
.hero .lead { margin: 18px 0 0; max-width: 34em; color: var(--on-navy-muted); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.button { display: inline-block; padding: 13px 22px; border-radius: 12px; background: var(--button); color: var(--button-text); font-weight: 650; text-decoration: none; }
.button:hover { text-decoration: underline; }
.hero :focus-visible { outline-color: #ffffff; }
.status { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--on-navy-muted); font-size: 0.8rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3fe8fa; }
.hero .text-link { color: var(--on-navy-link); font-weight: 600; padding: 10px 0; }
.hero-art { justify-self: start; }
.hero-art img { width: 88px; height: 88px; border-radius: 20px; border: 1px solid var(--on-navy-border); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(108, 92, 231, 0.35); }

/* Sections of the landing page */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section.tinted { background: var(--surface); }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.6rem, 4.5vw, 2.1rem); letter-spacing: -0.02em; }
.section-head p { margin: 10px 0 0; color: var(--muted); font-size: 1.05rem; }
.notice { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid var(--border); border-left: 4px solid var(--button); border-radius: 12px; background: var(--surface); }
.notice h2 { font-size: 1.05rem; }
.notice p { margin: 0; color: var(--muted); }
.notice-band { padding: 28px 0 0; }
.grid { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.card { padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--background); box-shadow: var(--shadow); }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card .icon { width: 40px; height: 40px; margin-bottom: 16px; padding: 9px; border-radius: 11px; background: var(--surface-strong); color: var(--link); }
.tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--premium-background); color: var(--premium); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 0.15em; white-space: nowrap; }
.points { display: grid; gap: 14px 28px; list-style: none; margin: 0; padding: 0; }
.points li { padding-left: 16px; border-left: 3px solid var(--button); }
.points strong { display: block; }
.points span { color: var(--muted); font-size: 0.98rem; }
.note { margin: 24px 0 0; color: var(--muted); font-size: 0.95rem; max-width: var(--prose); }
.notes { margin: 20px 0 0; padding-left: 1.25rem; color: var(--muted); font-size: 0.95rem; max-width: var(--prose); }

/* Free and Premium table */
.plans { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: 16px; background: var(--background); box-shadow: var(--shadow); overflow: hidden; font-size: 0.9rem; }
.plans caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.plans th, .plans td { padding: 13px 8px; border-top: 1px solid var(--border); text-align: left; vertical-align: top; overflow-wrap: break-word; hyphens: none; }
.plans thead th { border-top: 0; background: var(--surface-strong); font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; }
.plans th:first-child, .plans td:first-child { padding-left: 14px; }
.plans th:last-child, .plans td:last-child { padding-right: 12px; }
.plans tbody th { font-weight: 600; }
.plans tbody th small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.86rem; font-weight: 400; }
.plans td { color: var(--muted); }
.plans td.yes { color: var(--text); font-weight: 600; }
.plans .premium-column { background: color-mix(in srgb, var(--button) 9%, transparent); }
.plans thead .premium-column { color: var(--link); }

/* Long-form pages */
.page-head { background: var(--surface); border-bottom: 1px solid var(--border); }
.page-head .wrap { padding-top: 40px; padding-bottom: 32px; }
.page-head h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); letter-spacing: -0.02em; max-width: 22em; }
.page-head .lead { margin: 12px 0 0; max-width: var(--prose); color: var(--muted); font-size: 1.08rem; }
.languages ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 0; padding: 0; }
.languages a { display: block; padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--background); color: var(--text); font-size: 0.94rem; font-weight: 600; text-decoration: none; }
.languages a:hover { text-decoration: underline; }
.languages a[aria-current] { border-color: var(--button); background: var(--button); color: var(--button-text); }
.prose { max-width: calc(var(--prose) + 2 * var(--gutter)); margin: 0 auto; padding: 36px var(--gutter) 64px; }
.wide .prose { margin-left: 0; padding-left: 0; padding-right: 0; }
.prose h2 { font-size: 1.3rem; margin: 2.2em 0 0.5em; }
.prose > h2:first-child { margin-top: 0; }
.prose h2[id] { scroll-margin-top: 16px; }
.prose h3 { font-size: 1.06rem; margin: 1.7em 0 0.35em; }
.prose li { margin-bottom: 0.4em; }
.contents { margin: 0 0 8px; padding: 18px 22px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 0.96rem; }
.contents ol { margin: 0; padding-left: 1.6rem; }
.contents li { margin: 0; }
.contents a { display: inline-block; padding: 5px 0; }
.center .button { margin-top: 12px; }
.updated { color: var(--muted); font-size: 0.92rem; }
.center { text-align: center; padding: 72px var(--gutter) 96px; }
.center h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); margin-bottom: 12px; }
.center p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { padding-top: 32px; padding-bottom: 40px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 4px; list-style: none; margin: 0 -10px 16px; padding: 0; }
.site-footer li a { display: block; padding: 10px; color: var(--text); font-weight: 500; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer p { margin: 0 0 8px; max-width: var(--prose); }
.site-footer .small { font-size: 0.84rem; }

/* The narrowest phones: keep the brand and the links on one row. */
@media (max-width: 359px) {
  .site-header .wrap { gap: 0 8px; }
  .brand { gap: 8px; padding: 6px 0; letter-spacing: 0.02em; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  .site-nav ul { margin: 0 -6px; }
  .site-nav a { padding: 11px 6px; font-size: 0.86rem; }
}
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .site-header .wrap { gap: 0 24px; }
  .site-nav ul { margin: 0 -10px; gap: 0 4px; }
  .site-nav .secondary { display: block; }
  .site-nav a { padding: 10px; }
  .hero .wrap { gap: 32px; padding-top: 56px; padding-bottom: 60px; }
  .hero-art img { width: 132px; height: 132px; border-radius: 30px; }
  .contents ol { columns: 2; column-gap: 40px; }
  .contents li { break-inside: avoid; }
  .grid.two { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: repeat(2, 1fr); }
  .plans { font-size: 0.96rem; }
  .plans th, .plans td { padding: 16px 20px; }
  .plans th:first-child, .plans td:first-child { padding-left: 24px; }
  .plans tbody th { width: 44%; }
  .plans td { width: 28%; }
  .plans thead th { font-size: 0.8rem; letter-spacing: 0.08em; }
  .section { padding: 72px 0; }
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; padding-top: 88px; padding-bottom: 92px; }
  .hero-art { justify-self: end; order: 2; }
  .hero-art img { width: 240px; height: 240px; border-radius: 54px; }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .points { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media print {
  :root { --on-navy: var(--text); --on-navy-muted: var(--muted); --on-navy-link: var(--link); --on-navy-border: var(--border); --shadow: none; }
  .site-header, .site-footer ul, .languages, .contents, .skip { display: none; }
  .hero { background: none; color: inherit; }
  .hero::before, .hero::after { display: none; }
  .hero-art img { box-shadow: none; }
  .button { background: none; color: inherit; padding: 0; }
  .page-head { background: none; border: 0; }
  main > article + article { break-before: page; }
  h2, h3 { break-after: avoid; }
  .card, .notice, .plans tr { break-inside: avoid; }
}
