/* Quietcove landing site — Ocean Calm palette (docs/design/quietcove-mockup.jsx; the
   app/src/theme/ tokens are placeholder stubs, the mock-up is the visual reference).
   Every text colour here clears 4.5:1 on its surface; verified values:
     tx  #E8ECF0 — 14.9:1 on bg, 12.8:1 on surf
     tx2 #9FB0BA —  7.9:1 on bg,  6.8:1 on surf
     pri #4FB0C0 —  7.0:1 on bg,  6.0:1 on surf
     acc #E8A84C —  8.6:1 on bg,  7.3:1 on surf
   (tx3 #73838D fails 4.5:1 on surf — do not use it for text.)
   No animation anywhere: reduced-motion safe by construction. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/fonts/fraunces-latin-var.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/lexend-latin-var.woff2") format("woff2");
  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;
}

:root {
  --bg: #0c1a21;
  --surf: #152833;
  --line: rgba(232, 236, 240, 0.08);
  --line2: rgba(232, 236, 240, 0.14);
  --tx: #e8ecf0;
  --tx2: #9fb0ba;
  --pri: #4fb0c0;
  --acc: #e8a84c;
  --g1: rgba(26, 107, 122, 0.22);
  --g2: rgba(42, 63, 107, 0.17);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 36rem at 15% -8%, var(--g1), transparent 65%),
    radial-gradient(50rem 32rem at 90% 8%, var(--g2), transparent 60%);
  background-repeat: no-repeat;
  color: var(--tx);
  font-family: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-weight: 350;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header.site {
  padding: 2.25rem 0 0;
}

.wordmark {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-weight: 450;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--tx);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.wordmark svg {
  display: block;
}

main {
  flex: 1;
  padding: 4.5rem 0 5rem;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 1.25rem;
}

h1 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-weight: 340;
  font-size: clamp(2.1rem, 5.5vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--tx);
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.lede {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--tx2);
  max-width: 34rem;
}
.lede strong {
  color: var(--tx);
  font-weight: 450;
}

.cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3.5rem 0 0;
}
@media (max-width: 40rem) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.cards li {
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.3rem 1.5rem;
}
.cards h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-weight: 420;
  font-size: 1.1rem;
  color: var(--tx);
  margin-bottom: 0.55rem;
}
.cards p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--tx2);
}

.contact {
  margin-top: 3.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
  color: var(--tx2);
}

article.prose {
  max-width: 36rem;
}
article.prose p {
  margin-bottom: 1.15rem;
  color: var(--tx2);
}
article.prose p:first-of-type {
  color: var(--tx);
}

a {
  color: var(--pri);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-color: currentColor;
}
a:focus-visible {
  outline: 2px solid var(--pri);
  outline-offset: 3px;
  border-radius: 3px;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.4rem;
  font-size: 0.875rem;
  color: var(--tx2);
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* No animation is used anywhere on this site; this collapses any that sneaks in later. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
