/* Uniune marketing site — reuses the app's "Atmospheric Dawn" design system
   (mirrors src/uniune/interface/web/static/index.html). No trackers, no analytics. */
:root {
  --bg: #EAE7E2;       /* system background — warm taupe      */
  --surface: #F5F1EA;  /* interactive surface — soft bone     */
  --text: #475E67;     /* typography / accent — blue-charcoal */
  --sun: #EAA221;      /* sun vector — gold accent            */
  --moon: #B2CCEE;     /* moon vector — cornflower            */
  --grey: #9FAC9D;     /* star vector — neutral               */
  --display: "Liberation Serif", serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --calm: 600ms;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: -apple-system, system-ui, sans-serif; line-height: 1.7;
  display: flex; flex-direction: column; align-items: center;
  padding: 2rem 1rem 3rem; -webkit-font-smoothing: antialiased;
}

/* ---------- Brand lockup (from the app) ---------- */
.brand {
  display: inline-flex; flex-direction: column; align-items: stretch;
  width: max-content; max-width: 92vw; gap: 0.18em;
  font-size: clamp(2.75rem, 11vw, 5rem);
}
.brand h1 {
  font-family: var(--display); font-weight: 400; letter-spacing: 0.04em;
  font-size: 1em; line-height: 1; margin: 0; color: var(--text);
  text-align: center; white-space: nowrap;
}
.centers { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.ico {
  width: 0.62em; height: 0.62em; flex: none; display: block; fill: none;
  stroke: currentColor; stroke-width: 1.6; stroke-linecap: round;
  stroke-linejoin: round; color: var(--text);
}
.ico.is-accent { color: var(--sun); }
.centers-rule {
  width: 100%; height: 1px; opacity: 0.6; margin-top: 0.08em;
  background: linear-gradient(90deg, transparent, var(--grey) 12%, var(--grey) 88%, transparent);
}
.brand.brand-sm { font-size: clamp(1.6rem, 6vw, 2rem); }

/* ---------- Nav ---------- */
nav {
  width: 100%; max-width: 720px; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap;
}
nav a.wordmark { font-family: var(--display); font-size: 1.4rem; letter-spacing: 0.04em;
  color: var(--text); text-decoration: none; }
nav .links { display: flex; gap: 1.25rem; }
nav .links a { color: var(--text); text-decoration: none; opacity: 0.7; font-size: 0.9rem;
  transition: opacity var(--calm) var(--ease); }
nav .links a:hover, nav .links a[aria-current="page"] { opacity: 1; }

/* ---------- Layout ---------- */
.hero { text-align: center; margin: 1.5rem 0 2.75rem; display: flex;
  flex-direction: column; align-items: center; }
.tagline { opacity: 0.7; font-size: 1rem; margin-top: 1.25rem; letter-spacing: 0.02em; }
main { width: 100%; max-width: 720px; }
.card {
  background: var(--surface); border-radius: 16px; padding: 2rem 2.25rem;
  box-shadow: 0 6px 24px rgba(71,94,103,0.08); margin-bottom: 1.5rem;
}
.card h2 { font-family: var(--display); font-weight: 400; font-size: 1.5rem;
  margin: 0 0 0.75rem; letter-spacing: 0.02em; }
.card h3 { font-size: 1rem; margin: 1.5rem 0 0.4rem; }
.card p { margin: 0 0 1rem; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.card li { margin: 0.3rem 0; }
a.inline { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.pill { display: inline-block; background: var(--moon); color: var(--text);
  border-radius: 999px; padding: 0.55rem 1.3rem; text-decoration: none; font-size: 0.95rem;
  transition: filter var(--calm) var(--ease); }
.pill:hover { filter: brightness(1.03); }
.muted { opacity: 0.65; font-size: 0.85rem; }
.draft-note { border-left: 3px solid var(--sun); padding: 0.5rem 0 0.5rem 1rem;
  margin: 0 0 1.25rem; font-size: 0.85rem; opacity: 0.8; }

footer { width: 100%; max-width: 720px; margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(71,94,103,0.12); display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 0.75rem; font-size: 0.82rem; opacity: 0.7; }
footer .links a { color: var(--text); text-decoration: none; margin-left: 1rem; }
footer .links a:hover { text-decoration: underline; }

/* ---------- Language switcher (flags) ---------- */
nav .right { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.langswitch { display: flex; gap: 0.3rem; }
.langswitch button {
  border: none; background: transparent; cursor: pointer; font-size: 0.82rem;
  color: var(--text); opacity: 0.5; padding: 0.3rem 0.55rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.35rem; line-height: 1;
  transition: opacity var(--calm) var(--ease), background var(--calm) var(--ease);
}
.langswitch button:hover { opacity: 0.85; }
.langswitch button[aria-pressed="true"] { opacity: 1; background: var(--surface); }
.langswitch .flag { font-size: 1.05rem; line-height: 1; }

