/* Belarus.ca — holding page
   Палітра: васілёк #4F72B8, кужаль (лён) #FAF6EE, графіт #2B2E36, цёмны-сіні #2B3A5C
   Узор: аўтэнтычная чырвона-чорная вышыўка — чырвоны #A3161C, чорны #1B1A18
*/

:root {
  --cornflower: #4F72B8;
  --cornflower-deep: #3D5A96;
  --cream: #FAF6EE;
  --cream-deep: #F1EADA;
  --linen: #F5EFE1;
  --graphite: #2B2E36;
  --navy: #2B3A5C;
  --embroidery: #A3161C;
  --embroidery-deep: #7E1015;
  --embroidery-ink: #1B1A18;
  --line: rgba(43, 58, 92, 0.16);

  --font-body: "Charter", "Georgia Pro", "Iowan Old Style", "Noto Serif", Georgia, "Times New Roman", serif;
  --font-display: "Avenir Next", "Century Gothic", "Nunito Sans", "Segoe UI", "PT Sans", Verdana, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(rgba(250,246,238,0.0), rgba(250,246,238,0.0)),
    repeating-linear-gradient(90deg, rgba(43,58,92,0.018) 0px, rgba(43,58,92,0.018) 1px, transparent 1px, transparent 3px);
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--cornflower-deep);
  text-underline-offset: 3px;
  text-decoration-color: rgba(79, 114, 184, 0.45);
}

a:hover { text-decoration-color: currentColor; }

a:focus-visible,
button:focus-visible {
  outline: 2.5px solid var(--cornflower);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Woven ornament bands (reusable) ---------- */

.band {
  width: 100%;
  height: auto;
  display: block;
}

.band-row {
  overflow: hidden;
  line-height: 0;
}

.band-row img.band {
  width: 104%;
  margin-left: -2%;
}

.band-thin { opacity: 0.9; }

/* ---------- Header ---------- */

.top {
  padding: 22px 0 0;
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.mark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-decoration: none;
}

.mark:hover { text-decoration: none; }

.mark-icon { width: 22px; height: 22px; }

.lang-switch {
  display: flex;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 14px;
}

.lang-switch a {
  padding: 5px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--navy);
}

.lang-switch a[aria-current="page"] {
  background: var(--cornflower);
  color: var(--cream);
}

.lang-switch a:not([aria-current="page"]):hover {
  background: rgba(79, 114, 184, 0.12);
}

/* ---------- Hero ---------- */

.hero {
  padding: 44px 0 0;
  position: relative;
}

.hero-ornament {
  width: 104%;
  margin-left: -2%;
  height: auto;
  margin-bottom: 20px;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--cornflower-deep);
  margin: 0 0 10px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 18px;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 62ch;
  color: var(--graphite);
  margin: 0 0 36px;
}

/* ---------- Intro paragraph ---------- */

.intro {
  padding: 28px 0 8px;
}

.intro p {
  max-width: 66ch;
  font-size: 1.08rem;
}

.symbol-note {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.symbol-icon {
  width: 40px;
  height: 40px;
  margin-top: 2px;
}

.symbol-note p {
  max-width: 62ch;
  font-size: 1.08rem;
  margin: 0;
}

@media (max-width: 560px) {
  .symbol-note {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }
  .symbol-icon { width: 30px; height: 30px; }
}

/* ---------- Manifesto / idea block ---------- */

.manifesto {
  margin-top: 40px;
  padding: 40px 0 8px;
}

.manifesto-head {
  max-width: 68ch;
  margin-bottom: 28px;
}

.manifesto h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--navy);
  margin: 0 0 14px;
}

.manifesto-head p {
  font-size: 1.08rem;
  max-width: 64ch;
  margin: 0 0 14px;
}

.manifesto-head p:last-child { margin-bottom: 0; }

.principle-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 24px;
}

.principle {
  background: var(--cream);
  padding: 22px 22px 24px;
  flex: 1 1 calc(50% - 2px);
  min-width: 240px;
}

.principle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  margin: 0 0 8px;
}

.principle-label svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.principle-label.is-yes svg { color: var(--cornflower-deep); }
.principle-label.is-no svg { color: var(--embroidery); }

.principle p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--graphite);
}

@media (max-width: 620px) {
  .principle { flex: 1 1 100%; }
}

/* ---------- Sections preview ---------- */

.sections {
  padding: 8px 0 8px;
  margin-top: 36px;
}

.sections-head {
  margin: 0 0 10px;
}

.sections h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0 0 8px;
}

.sections-sub {
  margin: 0 0 26px;
  max-width: 60ch;
  font-size: 1.02rem;
  color: var(--graphite);
}

.section-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.section-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.section-list .section-item:last-child {
  border-bottom: 1px solid var(--line);
}

.section-icon {
  width: 26px;
  height: 26px;
  margin-top: 3px;
  color: var(--cornflower);
}

.section-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0 0 6px;
  color: var(--graphite);
}

.section-item p {
  margin: 0;
  max-width: 58ch;
  font-size: 1rem;
  color: var(--graphite);
}

/* ---------- Invite block ---------- */

.invite {
  margin: 44px 0;
  padding: 40px 32px 34px;
  background: var(--cream-deep);
  border-radius: 4px;
  position: relative;
}

.invite-inner { position: relative; }

.invite h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0 0 12px;
}

.invite p {
  margin: 0 0 20px;
  max-width: 60ch;
  font-size: 1.05rem;
}

.invite p:last-of-type { margin-bottom: 24px; }

.mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cornflower);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 3px;
}

.mail-btn:hover { background: var(--cornflower-deep); }

.mail-btn svg { width: 18px; height: 18px; }

.invite-band {
  margin-top: 30px;
}

/* ---------- Footer ---------- */

footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

footer, footer a {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.92rem;
}

footer a { text-decoration-color: rgba(43, 58, 92, 0.35); }

.foot-note { opacity: 0.75; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-ornament {
    animation: rise 0.9s ease-out both;
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 32px 0 0; }
  .invite { padding: 30px 22px; margin: 32px 0; }
  .section-item { grid-template-columns: 30px 1fr; gap: 12px; }
  .section-icon { width: 22px; height: 22px; }
  .manifesto { padding: 32px 0 8px; }
}
