/* Zavatra Kely — candidature. Same tokens as the main site: near-black ground,
   off-white text, Inter. One family, no script, no motion. */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

/* Metric-matched fallback so the swap to Inter does not shift the layout. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

:root {
  --ink: #0B0B0D;
  --paper: #F5F5F4;
  --text: #D6D6DA;
  --faint: #7C7C83;
  --hairline: #34343A;
  --pad: clamp(1.25rem, 5vw, 3rem);
  color-scheme: dark;
}

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

html { background: var(--ink); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, "Inter Fallback", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Header: the logo, centred, linking to the main site. No navigation. */
.top {
  display: flex;
  justify-content: center;
  padding: 1.75rem var(--pad) 0;
}
.logo { display: inline-block; line-height: 0; }
.logo img { display: block; height: 28px; width: auto; }

/* One reading column. */
.page {
  width: min(100% - 2 * var(--pad), 42rem);
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(4rem, 9vw, 7rem);
}

section + section { margin-top: clamp(2.5rem, 6vw, 3.75rem); }

/* Title with a hairline running out to the right edge, as on zavatrakely.com. */
.title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 0 1.25rem;
  color: var(--paper);
  font-size: clamp(1.25rem, 0.9rem + 1.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.title::after {
  content: "";
  flex: 1 1 2rem;
  height: 1px;
  background: var(--hairline);
}

p { margin: 0; }

strong { font-weight: 600; color: var(--paper); }

ol {
  margin: 0;
  padding-left: 1.5rem;
}
li { padding-left: 0.5rem; }
li + li { margin-top: 1rem; }
li::marker { color: var(--faint); }

.outro { margin-top: 2.25rem; }

a {
  color: var(--paper);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--faint);
  transition: text-decoration-color 0.2s ease;
  overflow-wrap: anywhere;
}
a:hover { text-decoration-color: var(--paper); }
a:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
  border-radius: 2px;
}
.logo:focus-visible { border-radius: 2px; }
