/* The app's premium tokens (ADR 0029), for the public pages. */
/* The app's own fonts, served from here: no third party sees visitors. */
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('/fonts/BarlowCondensed-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Figtree'; font-weight: 400; font-display: swap; src: url('/fonts/Figtree-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Figtree'; font-weight: 600; font-display: swap; src: url('/fonts/Figtree-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Figtree'; font-weight: 700; font-display: swap; src: url('/fonts/Figtree-Bold.ttf') format('truetype'); }
:root {
  --you: #315CEB;
  --ink: #10151D;
  --ink-muted: #536176;
  --ground: #F4F6F9;
  --surface: #FFFFFF;
  --border: #DDE3EC;
  --display: 'Barlow Condensed', system-ui, sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
}

a { color: var(--you); text-decoration: none; }
a:hover { text-decoration: underline; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 700 24px/1 var(--display);
  letter-spacing: 0.5px;
}
.brand img { border-radius: 8px; }
.brand:hover { text-decoration: none; }

.bar nav { display: flex; gap: 18px; }
.bar nav a { color: #A9B5C6; font-weight: 600; font-size: 15px; }

main { padding: 32px 16px 48px; }

article {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px clamp(20px, 5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow-wrap: anywhere;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  margin: 1.6em 0 0.5em;
}
h1 { font-size: 40px; margin-top: 0; }
h2 { font-size: 28px; }
h3 { font-size: 21px; }

p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin: 0.25em 0; }
li > ul, li > ol { margin: 0.25em 0; }
strong { font-weight: 700; }

.home h1 {
  font-size: clamp(44px, 9vw, 72px);
  letter-spacing: -0.5px;
}
.home article > p:first-of-type {
  font-size: 20px;
  color: var(--ink-muted);
}

footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 40px;
  color: var(--ink-muted);
  font-size: 14px;
}
footer p { margin: 0 0 6px; }
