:root {
  color-scheme: light dark;

  --blue: #1e50e0;
  --blue-hover: #1843c2;
  --ink: #141a29;
  --text: #2a3142;
  --muted: #5b6377;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --line: #e2e5ee;
  --on-blue: #ffffff;
  --header-bg: rgb(246 247 251 / 0.72);
  --shadow: 0 1px 2px rgb(20 26 41 / 0.06), 0 8px 24px rgb(20 26 41 / 0.06);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --page: 1080px;
  --prose: 68ch;
  --gutter: clamp(16px, 4vw, 32px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #4b78ff;
    --blue-hover: #6a8fff;
    --ink: #f3f5fa;
    --text: #d5d9e3;
    --muted: #9aa2b4;
    --bg: #0e1119;
    --surface: #171b26;
    --line: #262c3a;
    --header-bg: rgb(14 17 25 / 0.72);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-hover);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 0.4em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  margin: 2em 0 0.6em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.6em 0 0.4em;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

ul,
ol {
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.35em;
}

kbd {
  font: 0.85em/1 var(--font);
  padding: 0.2em 0.45em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 8px 14px;
  background: var(--surface);
  border-radius: 8px;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.logo {
  display: block;
  flex-shrink: 0;
}

.logo img {
  height: 26px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a:not(.button) {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
}

.site-nav a:not(.button):hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.site-nav .button {
  margin-left: 8px;
}

@media (max-width: 560px) {
  .site-header .container {
    gap: 12px;
  }

  .logo img {
    height: 22px;
  }

  .site-nav .nav-optional {
    display: none;
  }
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blue);
  color: var(--on-blue);
  font: 600 1rem/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.button:hover {
  background: var(--blue-hover);
  color: var(--on-blue);
}

.button-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink);
}

.button-small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.94rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fineprint {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Page sections */

.page-head {
  padding-block: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 40px);
}

.lead {
  max-width: 40ch;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
}

.section {
  padding-block: clamp(40px, 6vw, 72px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section > .container > h2:first-child {
  margin-top: 0;
}

/* Prose (legal and help pages) */

.prose > * {
  max-width: var(--prose);
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.prose .updated {
  color: var(--muted);
  margin-bottom: 2em;
}

.prose h2 {
  scroll-margin-top: 88px;
}

.summary {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.summary ul {
  margin: 0;
}

.toc {
  margin: 0 0 2.5em;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toc li + li {
  margin-top: 0;
}

.toc a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
}

.toc a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.shortcuts {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1em;
}

.shortcuts th,
.shortcuts td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.shortcuts th {
  font-weight: 400;
  width: 9em;
}

/* Hero */

.hero {
  padding-block: clamp(48px, 9vw, 112px) clamp(40px, 6vw, 72px);
  text-align: center;
}

.hero-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 28px;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

.hero .lead {
  margin-inline: auto;
  margin-bottom: 1.6em;
}

.hero .actions {
  justify-content: center;
}

.hero .fineprint {
  margin-top: 16px;
}

.media-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  margin-top: clamp(40px, 6vw, 64px);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.94rem;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card h3 {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Price */

.price-box {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

@media (min-width: 760px) {
  .price-box {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
  }
}

.price {
  margin: 0 0 4px;
  color: var(--ink);
  font: 700 clamp(3rem, 7vw, 4rem)/1 var(--font-display);
  letter-spacing: -0.03em;
}

.price-box ul {
  margin: 0;
}

.price-box .actions {
  margin-top: 24px;
}

.faq h3 {
  margin-top: 1.4em;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 32px 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
}

.more-link {
  margin-top: 24px;
}

.price-note {
  margin: 16px 0 0;
}

.summary h2 {
  margin: 0 0 0.5em;
  font-size: 1.2rem;
}

.page-head .actions {
  margin-top: 8px;
}

.page-head + .section {
  padding-top: 0;
}
