/* The plain pages of the site (privacy, terms, pricing): the home page's colours and type, without its sky. */
@font-face { font-family: 'Instrument Serif'; src: url(/fonts/instrument-serif-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(/fonts/instrument-serif-latin-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(/fonts/geist-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/fonts/geist-mono-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #07051a;
  --text: #f1edff;
  --dim: #b3abd6;
  --faint: #7f77a6;
  --accent: #b48cff;
  --line: rgba(255, 255, 255, 0.09);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  background: radial-gradient(120% 70% at 50% -10%, #23104c 0%, #0e0828 42%, var(--bg) 72%) fixed var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, var(--accent) 60%, transparent); }
a:hover { text-decoration-color: var(--accent); }
::selection { background: color-mix(in oklab, var(--accent) 45%, transparent); }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 400 26px/1 var(--serif);
  text-decoration: none;
}

.brand img { width: 26px; height: 26px; border-radius: 7px; }

.top nav { display: flex; gap: 18px; font-size: 14px; color: var(--dim); }
.top nav a { text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 24px 72px;
}

h1 {
  margin: 0 0 10px;
  font: 400 clamp(44px, 7vw, 64px)/1.02 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lead { margin: 0 0 8px; font-size: 18px; color: var(--dim); max-width: 34em; text-wrap: pretty; }
.dated { margin: 0 0 40px; font: 13px/1.4 var(--mono); color: var(--faint); }

h2 {
  margin: 44px 0 10px;
  font: 400 30px/1.15 var(--serif);
}

p, li { color: var(--dim); max-width: 38em; text-wrap: pretty; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 20px; }
li { margin-bottom: 6px; }
strong { color: var(--text); font-weight: 600; }

footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 24px 44px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
}

footer a { color: var(--dim); }

/* pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 18px;
}

.plan {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(20, 14, 48, 0.42);
}

.plan h2 { margin: 0; font: 600 16px/1.3 var(--sans); }
.price { margin: 14px 0 4px; font: 400 56px/0.95 var(--serif); color: var(--text); }
.price small { font: 14px/1 var(--sans); color: var(--dim); margin-left: 6px; }
.plan p { margin: 0 0 16px; font-size: 14px; }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.note { font-size: 14px; color: var(--faint); }

@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
}
