/* Geebop website. Tokens and rules come from the Geebop brand kit v2.0 (Paper Studio).
   Light theme only, because the kit defines no other. Fonts are self-hosted: no request
   leaves this site. Terracotta is decorative only, never behind text. */

@font-face {font-family:"Outfit";src:url("/assets/fonts/Outfit-SemiBold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;}
@font-face {font-family:"Nunito Sans";src:url("/assets/fonts/NunitoSans-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face {font-family:"Nunito Sans";src:url("/assets/fonts/NunitoSans-SemiBold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;}
@font-face {font-family:"Nunito Sans";src:url("/assets/fonts/NunitoSans-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;}

:root {
  color-scheme: light;
  --ivory: #F7F3E8;
  --ink: #24374A;
  --terracotta: #C8785B;
  --ochre: #D8AE55;
  --mist: #B9CED1;
  --oat: #DED4BF;
  --white: #FFFFFF;
  --heading: "Outfit", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --radius-card: 6px;
  --radius-control: 12px;
  --measure: 42rem;
  --wide: 60rem;
  --gutter: 16px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

main { flex: 1; width: 100%; }

h1, h2, h3 { font-family: var(--heading); font-weight: 600; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 6vw, 2.75rem); }
h2 { font-size: 1.5rem; margin-top: 48px; margin-bottom: 12px; }
h3 { font-size: 1.1875rem; margin-top: 28px; margin-bottom: 4px; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 1.25rem; }
li { margin-bottom: 8px; }
strong { font-weight: 700; }

a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 2;
  padding: 12px 16px; background: var(--ink); color: var(--ivory);
  border-radius: var(--radius-control); font-weight: 600;
}
.skip:focus { top: 12px; }

/* The patchwork strip: the kit's supporting colors, as a row of paper scraps. */
.patches { display: flex; height: 10px; margin: 0; }
.patches span { flex: 1; }
.patches span:nth-child(4n+1) { background: var(--terracotta); }
.patches span:nth-child(4n+2) { background: var(--ochre); }
.patches span:nth-child(4n+3) { background: var(--mist); }
.patches span:nth-child(4n+4) { background: var(--oat); }

.site-header, .site-footer__inner, .page, .home-hero, .home-doors {
  width: 100%;
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 12px;
}
/* The kit's minimum wordmark width on the web is 240 px. */
.site-header__logo { display: block; flex: none; line-height: 0; }
.site-header__logo img { display: block; width: 240px; height: auto; }

.site-nav { display: flex; gap: 4px; margin-inline: -12px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-weight: 600; text-decoration: none; border-radius: var(--radius-control);
}
.site-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* Home */
.home-hero { padding-block: 48px; }
.home-hero h1 { font-size: clamp(2.25rem, 7.5vw, 3.75rem); line-height: 1.12; max-width: 14em; }
.home-hero__lede { font-size: 1.25rem; max-width: 34em; margin: 20px 0 0; }
.home-hero__status { font-weight: 600; margin: 24px 0 0; }

/* The promise band: Ivory on Ink, with each "No" on a sheet of the kit's light papers. */
.the-way { background: var(--ink); color: var(--ivory); }
.the-way__inner {
  width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter));
  margin-inline: auto; padding: 48px var(--gutter) 56px;
}
.the-way h2 { font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.15; margin: 0; text-wrap: balance; }
.the-way__simple { display: block; color: var(--ochre); font-size: 1.5em; line-height: 1.1; margin-top: 8px; text-align: right; }
.the-way__lede { font-size: 1.25rem; max-width: 34em; margin: 12px 0 32px; }

.the-no {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px;
}
.the-no li {
  margin: 0; padding: 16px; border-radius: var(--radius-card); color: var(--ink);
  font-family: var(--heading); font-weight: 600; font-size: 1.25rem; line-height: 1.2;
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.the-no__no { display: block; font-size: clamp(2.5rem, 6vw, 3.25rem); line-height: 1.1; }
.the-no li:nth-child(4n+1) { background: var(--ivory); }
.the-no li:nth-child(4n+2) { background: var(--mist); }
.the-no li:nth-child(4n+3) { background: var(--oat); }
.the-no li:nth-child(4n+4) { background: var(--ochre); }

@media (max-width: 40rem) {
  .the-no { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.home-doors { padding-block: 40px 64px; }
.home-doors h2 { margin-top: 0; }
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 16px; }
.door {
  display: block; padding: 20px; background: var(--white); text-decoration: none;
  border: 2px solid var(--ink); border-radius: var(--radius-card);
}
.door strong { display: block; font-family: var(--heading); font-weight: 600; font-size: 1.25rem; margin-bottom: 4px; }
.door span { display: block; }
.door:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Reading pages */
.page { max-width: calc(var(--measure) + 2 * var(--gutter)); padding-block: 32px 72px; }
.page__updated { margin: 8px 0 24px; }

.short-version {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-card);
  padding: 20px; margin: 24px 0 8px;
}
.short-version h2 { margin: 0 0 8px; font-size: 1.25rem; }
.short-version ul { margin-bottom: 0; }
.short-version li:last-child { margin-bottom: 0; }

.contents { margin: 24px 0 0; }
.contents h2 { font-size: 1.0625rem; font-family: var(--body); font-weight: 700; margin: 0 0 8px; }
.contents ol { margin: 0; padding-left: 1.5rem; }
.contents li { margin-bottom: 4px; }

.table-scroll { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; background: var(--white); }
th, td { text-align: left; vertical-align: top; padding: 12px; border: 2px solid var(--ink); }
th { font-weight: 700; background: var(--oat); }

@media (max-width: 34rem) {
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.stack tr { border: 2px solid var(--ink); }
  table.stack tr + tr { border-top: 0; }
  table.stack td { border: 0; padding: 8px 12px; }
  table.stack td:first-child { font-weight: 700; padding-top: 12px; }
  table.stack td:last-child { padding-bottom: 12px; }
}

.contact-card {
  background: var(--mist); border-radius: var(--radius-card); padding: 20px; margin: 24px 0 8px;
}
.contact-card h2 { margin: 0 0 8px; font-size: 1.25rem; }
.contact-card p:last-child { margin-bottom: 0; }

.site-footer { background: var(--ink); color: var(--ivory); }
.site-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-block: 16px;
}
.site-footer p { margin: 0; }
.site-footer a {
  color: var(--ivory); display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 8px;
}
.site-footer nav { display: flex; flex-wrap: wrap; margin-inline: -8px; }
.site-footer :focus-visible { outline-color: var(--ivory); }

@media print {
  .site-nav, .site-footer nav, .patches, .skip { display: none; }
  .site-footer { background: none; color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
