@font-face { font-family: "Anton"; src: url("/fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --blue: #002af4;
  --yellow: #f6dd03;
  --cream: #feffd6;
  --ink: #000000;
  --white: #ffffff;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; background: var(--blue); }

body {
  color: var(--ink);
  font: 400 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

a { color: inherit; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Floating pill nav, like almostfriday.com */
.nav { display: flex; justify-content: center; padding: 20px 16px 0; }

.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.wordmark {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  padding: 8px 14px 8px 16px;
  white-space: nowrap;
}

.nav-link {
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  padding: 11px 16px;
  border-radius: 999px;
}

.nav-link:hover { background: rgba(255, 255, 255, 0.18); }
.nav-link[aria-current="page"],
.nav-link[aria-current="page"]:hover { background: var(--yellow); color: var(--ink); }

/* Blue hero with the glowing condensed headline */
.hero { color: var(--white); text-align: center; padding: 64px 20px 80px; }

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(60px, 13vw, 176px);
  line-height: 0.9;
  letter-spacing: 0.005em;
  margin: 0;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
}

.hero .lede {
  max-width: 34ch;
  margin: 28px auto 0;
  font-size: 21px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.hero .effective { margin: 22px 0 0; font-weight: 700; color: rgba(255, 255, 255, 0.85); }

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
}

.chips li {
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  padding: 12px 20px 11px;
  border-radius: 14px;
}

/* Cream sheet that holds the reading content */
.sheet { background: var(--cream); border-radius: 36px 36px 0 0; padding: 64px 20px 88px; }

.prose { max-width: 66ch; margin: 0 auto; }

.prose h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 36px;
  line-height: 1.05;
  color: var(--blue);
  margin: 52px 0 12px;
}

.prose h2:first-child { margin-top: 0; }

.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 1.25em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--blue); }

.prose a {
  color: var(--blue);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.callout {
  margin-top: 48px;
  padding: 22px 24px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--white);
}

.callout p:last-child { margin-bottom: 0; }

/* Connect page */
.code {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  word-break: break-all;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 16px 0;
}

.btn {
  display: inline-block;
  font: 900 16px/1 var(--body);
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  border: 0;
  border-radius: 999px;
  padding: 15px 26px;
  cursor: pointer;
}

.btn:hover { filter: brightness(0.94); }

.copied { margin-left: 12px; font-weight: 700; }


/* Footer */
.footer { color: var(--white); padding: 44px 20px 52px; }

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px 48px;
}

.footer .footer-mark { font-family: var(--display); font-size: 30px; line-height: 1; text-transform: uppercase; margin: 0 0 8px; }
.footer p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; font-size: 16px; }
.footer-links a { text-decoration-thickness: 2px; text-underline-offset: 3px; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .wordmark { font-size: 18px; padding: 8px 8px 8px 12px; }
  .nav-link { font-size: 13px; padding: 10px 12px; }
  .hero { padding: 48px 16px 64px; }
  .hero .lede { font-size: 19px; }
  .chips li { font-size: 22px; }
  .sheet { border-radius: 26px 26px 0 0; padding: 44px 16px 64px; }
  .prose h2 { font-size: 30px; margin-top: 40px; }
}
