/* DOMOVINA.ai apex landing — shared brand pattern. Vidi reference_domovina_brand_pattern. */

:root {
  --navy: #002F6C;
  --navy-hover: #001D4A;
  --red: #FF0000;
  --muted: #5A6570;
  --border: #E1E5EA;
  --surface: #F5F7F9;
  --bg: #FFFFFF;
  --success: #2E8540;
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--navy); }
body { min-height: 100vh; display: flex; flex-direction: column; line-height: 1.55; }

.tricolor { display: flex; height: 6px; }
.tricolor span { flex: 1; }
.tricolor .red { background: var(--red); }
.tricolor .white { background: var(--bg); }
.tricolor .navy { background: var(--navy); }

header {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem;
  max-width: 64rem; margin: 0 auto; width: 100%;
}
.brand { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.brand .word {
  font-weight: 800; font-size: 1.2rem; letter-spacing: .04em; color: var(--navy);
  white-space: nowrap;
}
.brand .word .accent { color: var(--red); }
.brand a { text-decoration: none; display: flex; align-items: center; gap: .65rem; color: inherit; }

nav.docnav { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
nav.docnav a {
  color: var(--muted); text-decoration: none; font-weight: 600;
  font-size: .95rem; padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
nav.docnav a:hover { color: var(--red); }

main { flex: 1; padding: 2.5rem 1.25rem 3rem; max-width: 48rem; margin: 0 auto; width: 100%; }

.hero { margin-bottom: 1.75rem; }
h1 { font-size: 1.85rem; line-height: 1.2; margin: 0 0 .5rem; font-weight: 800; }
.lede { color: var(--muted); margin: 0 0 1rem; font-size: 1.05rem; }

.status {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #E0F1E5; color: var(--success);
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600;
}
.status::before {
  content: ""; width: .55rem; height: .55rem; border-radius: 50%;
  background: var(--success);
}

section { margin-bottom: 2rem; }
h2 {
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
  margin: 0 0 .85rem;
}

p { margin: 0 0 .85rem; color: var(--navy); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
a:hover { color: var(--red); }

a.cta {
  display: inline-block;
  background: var(--navy); color: #FFFFFF;
  padding: .65rem 1.1rem; border-radius: .5rem;
  text-decoration: none; font-weight: 600;
  font-size: .98rem;
}
a.cta:hover { background: var(--navy-hover); color: #FFFFFF; }

code {
  background: var(--surface); border: 1px solid var(--border);
  padding: .1rem .4rem; border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .9em; color: var(--navy);
  font-weight: 500;
}
a code { color: inherit; }

footer {
  padding: 1.25rem; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .85rem; text-align: center;
}
footer a { color: var(--navy); font-weight: 600; text-decoration: none; }
footer a:hover { text-decoration: underline; color: var(--red); }

@media (max-width: 640px) {
  header { padding: .8rem 1rem; gap: .85rem; flex-wrap: wrap; }
  .brand .word { font-size: 1.05rem; }
  nav.docnav { gap: 1rem; font-size: .9rem; }
  main { padding: 1.5rem 1rem 2rem; }
  h1 { font-size: 1.5rem; }
  .lede { font-size: .95rem; }
}
