/* RomelaPula marketing — palette from logo (navy Romela, sky-blue Pula, corridor green) */

:root {
  --navy: #1a1a2e;
  --pula-blue: #75AADB;
  --pula-blue-dark: #4a8ec4;
  --corridor-green: #2d6a4f;
  --text: var(--navy);
  --muted: #5c6578;
  --border: #dce8f4;
  --bg: #f4f8fc;
  --surface: #ffffff;
  --accent: var(--pula-blue);
  --heading: var(--navy);
  --radius: 12px;
  --shadow: 0 8px 32px rgb(26 26 46 / 6%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pula-blue-dark); }
a:hover { color: var(--navy); }

/* ─── Site header ─────────────────────────────────────────────────── */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header .brand img {
  height: 2.75rem;
  width: auto;
  display: block;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-header nav a:hover { color: var(--navy); }
.site-header nav a.active { color: var(--pula-blue-dark); font-weight: 600; }

/* ─── Landing hero ────────────────────────────────────────────────── */

.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  text-align: center;
}

.hero-logo {
  width: min(420px, 92vw);
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}

.hero h1 {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--navy);
}

.hero h1 .pula { color: var(--pula-blue); }

.hero .tagline {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--pula-blue);
  color: #fff;
  border-color: var(--pula-blue);
}

.btn-primary:hover {
  background: var(--pula-blue-dark);
  border-color: var(--pula-blue-dark);
  color: #fff;
}

.btn-outline {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--pula-blue);
  color: var(--pula-blue-dark);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}

.feature-card h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--corridor-green);
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ─── Legal / document pages ────────────────────────────────────────── */

.doc-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.doc-main h1 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.75rem;
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.doc-main .meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.doc-main h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.6rem;
  color: var(--corridor-green);
}

.doc-main h3 {
  font-size: 1.02rem;
  margin: 1.25rem 0 0.4rem;
  color: var(--navy);
}

.doc-main p,
.doc-main li { font-size: 0.98rem; }

.doc-main ol.toc { padding-left: 1.25rem; }

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--pula-blue);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 1.25rem 0 1.75rem;
}

.site-footer {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

@media print {
  body { background: #fff; }
  .site-header { border: 0; }
  .note { break-inside: avoid; }
}
