/* ProofProfile.it — same fonts and palette as proofprofile.net
   (fonts.css + tailwind-config.js there), written as plain CSS so the
   page ships no JavaScript. */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/geist-400_700-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/geistmono-400_700-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/bricolagegrotesque-400_700-latin.woff2') format('woff2');
}

:root {
  --paper: #fffdf8;
  --n50: #f3efe7;
  --n100: #ebe5da;
  --n200: #d5cec1;
  --n600: #56606c;
  --n700: #3d4652;
  --n800: #17202b;
  --navy: #101c2d;
  --slate: #17263a;
  --accent: #13786f;
  --emerald: #0f5f57;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  --display: 'Bricolage Grotesque', 'Geist', sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--n50);
  color: var(--n800);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ol { margin: 0; }

a { color: inherit; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .wrap { padding: 0 2rem; } }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Masthead: the apex header (white bar, 4rem tall, 2rem mark). */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--n200);
}
.masthead-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 4rem;
}
.mark { height: 2rem; width: auto; }
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.tld { color: var(--accent); }

/* Hero */
.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--n200);
  padding: 3.5rem 0 4rem;
}
@media (min-width: 768px) { .hero { padding: 6rem 0 6.5rem; } }

.pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--n100);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--n700);
}

.hero h1 {
  margin-top: 1.5rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.hero-past {
  display: block;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  color: var(--n600);
  font-weight: 600;
}
.hero-now {
  display: block;
  margin-top: 0.4em;
  font-size: clamp(2.25rem, 1.4rem + 4.4vw, 4.5rem);
  color: var(--navy);
}

.lede {
  margin-top: 2.25rem;
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--n700);
}
.thesis {
  margin-top: 1.5rem;
  max-width: 42rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
}

/* Relationship */
.relation { padding: 3.5rem 0 4rem; }
@media (min-width: 768px) { .relation { padding: 5rem 0; } }

.relation h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--navy);
}

.cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .cards { grid-template-columns: 1fr 1fr; } }

.card {
  padding: 1.75rem;
  border-radius: 0.75rem;
  border: 2px solid var(--navy);
}
.card h3 {
  margin-top: 0.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
}
.card p:last-child { margin-top: 0.75rem; }
.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-net {
  background: var(--navy);
  color: var(--n100);
}
.card-net h3 { color: var(--paper); }
.card-net h3 a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.card-net h3 a:hover { text-decoration-thickness: 2px; }
.card-net a:focus-visible { outline-color: var(--paper); }

.card-it {
  background: var(--paper);
  border-color: var(--accent);
  color: var(--n700);
}
.card-it .kicker { color: var(--accent); }
.card-it h3 { color: var(--navy); }

.determine {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--n200);
  border-radius: 0.75rem;
}
.determine-intro {
  font-weight: 700;
  color: var(--navy);
}
.determine ol {
  margin-top: 1rem;
  padding: 0;
  list-style: none;
  counter-reset: q;
  display: grid;
  gap: 0.75rem;
}
.determine li {
  counter-increment: q;
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: baseline;
  color: var(--n700);
}
.determine li::before {
  content: counter(q, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

/* Distinction: the apex's navy closing band. */
.distinction {
  background: var(--navy);
  color: var(--n100);
  padding: 3.5rem 0 4rem;
}
@media (min-width: 768px) { .distinction { padding: 5rem 0 5.5rem; } }

.distinction-main {
  max-width: 48rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.distinction-not {
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: 0.9375rem;
  color: var(--n200);
}
.distinction-claim {
  margin-top: 0.75rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--paper);
}

/* Footer */
.foot {
  border-top: 1px solid var(--n200);
  padding: 2rem 0;
  font-size: 0.75rem;
  color: var(--n600);
}
.foot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .foot-inner { flex-direction: row; justify-content: space-between; }
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); text-decoration: underline; }
