/* Talk Immersion — placeholder site styles. Nunito is self-hosted: the site makes no third-party requests. */

@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  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;
}

/* Stock neutral grays only, so the placeholder reveals nothing of the brand palette. */
:root {
  --paper: #ffffff;
  --paper-raised: #f5f5f5;
  --ink: #111827;
  --muted: #4b5563;
  --rule: #e5e7eb;
  --accent: #111827;
  --accent-ink: #ffffff;
  --accent-soft: #e5e7eb;

  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --measure: 68ch;
  --page: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111827;
    --paper-raised: #1f2937;
    --ink: #f5f5f5;
    --muted: #9ca3af;
    --rule: #374151;
    --accent: #f5f5f5;
    --accent-ink: #111827;
    --accent-soft: #374151;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: var(--gutter);
  top: 0.75rem;
  background: var(--paper-raised);
  padding: 0.5rem 0.75rem;
  z-index: 10;
}

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  flex-wrap: wrap;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.site-nav ul {
  display: flex;
  gap: clamp(0.9rem, 3vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--ink);
}

/* Hero */

.hero {
  padding: clamp(3.5rem, 10vw, 7.5rem) 0 clamp(3rem, 8vw, 6rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 16ch;
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 40rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
}

/* Sections */

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  border-top: 1px solid var(--rule);
}

.section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.section-head p {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.principle {
  border-top: 2px solid var(--accent);
  padding-top: 1.25rem;
}

.principle .num {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.principle h3,
.card h3 {
  margin: 0 0 0.6rem;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.25;
}

.principle p,
.card p {
  margin: 0;
  color: var(--muted);
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Pull quote */

.quote {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.quote blockquote {
  max-width: 34ch;
  margin: 0 auto;
  font-weight: 700;
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Contact */

.contact {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  align-items: center;
}

.contact p {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

.button {
  display: inline-block;
  justify-self: start;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  filter: brightness(1.15);
}

/* Prose pages (policies) */

.prose {
  max-width: var(--measure);
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem);
}

.prose h1 {
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: clamp(2.1rem, 5.5vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.prose .updated {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose h2 {
  margin: 2.5rem 0 0.75rem;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.25;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--ink);
}

/* Social links: a row of their own above the copyright line. The negative margin lines the first
   icon up with the text below while keeping each tap target 2.25rem square. */

.site-footer .social {
  flex-basis: 100%;
}

.site-footer .social ul {
  gap: 0.25rem;
  margin-left: -0.5rem;
}

.site-footer .social a {
  display: block;
  padding: 0.5rem;
  border-radius: 999px;
}

.site-footer .social svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}
