:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --ink: #17372c;
  --muted: #7b8276;
  --green: #557453;
  --accent: #dceaa1;
  --line: rgba(23, 55, 44, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
}

main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: none;
}

.brand img {
  display: block;
  border-radius: 10px;
}


.hero {
  min-height: 64vh;
  display: grid;
  align-content: center;
  max-width: 850px;
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.intro {
  max-width: 680px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  line-height: 1.55;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 650;
}

.status-dot {
  width: 10px;
  height: 10px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(220, 234, 161, 0.28);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles article {
  min-height: 230px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.principles article:last-child {
  border-right: 0;
}

.principles article > span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
}

h2 {
  margin: 36px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.principles p,
footer {
  color: var(--muted);
  line-height: 1.6;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px 54px;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .hero {
    min-height: 58vh;
    padding-block: 64px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles article:last-child {
    border-bottom: 0;
  }

  footer {
    flex-direction: column;
  }
}

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

/* Legal and support pages share the existing Cue typography and palette. */
a { color: var(--ink); text-underline-offset: 0.2em; }
a:hover { color: var(--green); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.legal { max-width: 760px; padding-block: 64px; margin-inline: auto; }
.legal h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); line-height: 1.05; }
.legal h2 { margin-top: 36px; line-height: 1.2; }
.legal p { font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
footer a { display: inline-block; padding-block: 10px; }
