/* Innercove public site. Brand rules: docs/design/BRAND_RULES.md (Quiet Cove kit v1.2).
   Chalk canvas, lagoon ink and actions, sage and sand as surfaces, Outfit only. */
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --chalk: #F4F2EB;
  --lagoon: #294E53;
  --lagoon-soft: #4F7176;
  --sage: #A4B6AC;
  --sage-surface: #C4CEC5;
  --sand: #D8C8B7;
  --porcelain: #FBFAF6;
  --line: rgba(41, 78, 83, 0.14);
  --radius: 22px;
  --measure: 40rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--lagoon);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
}
a { color: var(--lagoon); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: #1E3A3E; }
h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 2.2em; }
h3 { font-size: 1.15rem; margin-top: 1.6em; }
p, li { max-width: var(--measure); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }
small, .small { font-size: 0.9rem; color: var(--lagoon-soft); }
strong { font-weight: 600; }

.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }

header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0;
}
header.site .logo img { height: 34px; width: auto; display: block; }
header.site nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
header.site nav a { text-decoration: none; font-weight: 500; }
header.site nav a.lang { padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 400; }

.hero { padding: 3rem 0 2rem; }
.hero .mark { width: 96px; height: 96px; margin-bottom: 1.5rem; }
.hero h1 { max-width: 20ch; }
.hero .motto { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 500; margin: 0 0 1rem; }
.hero .lead { font-size: 1.15rem; max-width: 36rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 600; color: var(--lagoon-soft); margin-bottom: 0.6rem; }

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 2rem 0; }
.card {
  background: var(--porcelain); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: 0 1px 0 rgba(41, 78, 83, 0.06), 0 12px 28px -18px rgba(41, 78, 83, 0.35);
}
.card h3 { margin-top: 0; }
.card.sand { background: var(--sand); }
.card.sage { background: var(--sage-surface); }

.notice { background: var(--sand); border-radius: 16px; padding: 1rem 1.25rem; margin: 1.5rem 0; max-width: var(--measure); }
.button {
  display: inline-block; background: var(--lagoon); color: var(--chalk); text-decoration: none;
  padding: 0.8rem 1.4rem; border-radius: 16px; font-weight: 600;
}
.button.secondary { background: transparent; color: var(--lagoon); border: 1px solid var(--lagoon); }

article.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
article.legal .meta { color: var(--lagoon-soft); margin-bottom: 2rem; }
table { border-collapse: collapse; width: 100%; max-width: var(--measure); margin: 1rem 0 1.5rem; font-size: 0.98rem; }
th, td { text-align: left; vertical-align: top; padding: 0.55rem 0.6rem 0.55rem 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }

footer.site {
  margin-top: 4rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
footer.site nav a { text-decoration: none; }
footer.site .made { color: var(--lagoon-soft); font-size: 0.9rem; }

@media (max-width: 40rem) {
  header.site { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 2rem; }
}
