/* Shared stylesheet for the static SEO landing pages (/mk/*, /sr/*).
   Matches the brand palette and typography of the main InviteClick app. */
:root {
  --ivory: #faf7f2;
  --cream: #f3eae0;
  --gold: #c69a6b;
  --gold-ink: #8c6440;
  --blush: #ead6d0;
  --navy: #17232f;
  --navy-soft: #2a3a4a;
  --white: #ffffff;
  --text: var(--navy);
  --text-muted: #5a6570;
  --line: rgba(23, 35, 47, 0.1);
  --line-gold: rgba(198, 154, 107, 0.35);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-md: 0 18px 40px -22px rgba(23, 35, 47, 0.28);
  --gutter: clamp(16px, 5vw, 48px);
  --content-w: 1080px;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; color: var(--navy); margin: 0 0 0.5em; text-wrap: balance; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-ink); }

.wrap { max-width: var(--content-w); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.lp-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.lp-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.lp-logo img { width: 132px; height: auto; }
.lp-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lp-nav a { font-size: 0.85rem; font-weight: 500; color: var(--navy); text-decoration: none; }
.lp-nav a:hover { color: var(--gold-ink); }
.lp-lang { display: flex; gap: 2px; border: 1px solid var(--line-gold); border-radius: 999px; padding: 2px; }
.lp-lang a, .lp-lang span {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 4px 12px; border-radius: 999px; text-decoration: none; color: var(--navy);
}
.lp-lang .active { background: var(--navy); color: var(--ivory); }

/* Hero */
.lp-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(36px, 6vw, 72px); text-align: center; }
.lp-hero .eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 14px;
}
.lp-hero .lead { max-width: 720px; margin: 0 auto 1.6em; color: var(--text-muted); font-size: 1.06rem; }
.breadcrumbs { font-size: 0.8rem; color: var(--text-muted); padding: 14px 0 0; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-ink); }

/* Buttons */
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  background: var(--navy); color: var(--ivory); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; transition: background 0.2s ease;
}
.btn:hover { background: var(--navy-soft); }
.btn-ghost {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  border: 1px solid var(--line-gold); color: var(--navy); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; background: transparent;
}
.btn-ghost:hover { border-color: var(--gold-ink); color: var(--gold-ink); }

/* Sections */
section { padding: clamp(36px, 6vw, 72px) 0; }
section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 700px; color: var(--text-muted); margin-bottom: 2em; }

/* Feature grid */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
section.alt .card { background: var(--ivory); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }
.card .mark { color: var(--gold); font-size: 1.3rem; margin-bottom: 10px; }

/* Example gallery */
.examples { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.example { text-decoration: none; color: var(--navy); }
.example img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); aspect-ratio: 4/4.2; object-fit: cover; object-position: top;
}
.example figcaption { font-size: 0.88rem; font-weight: 500; margin-top: 10px; }
.example .cat { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }

/* Steps */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 24px; border: 1px solid var(--line-gold); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold);
  display: block; margin-bottom: 8px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line); padding: 4px 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 1rem; padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-ink); font-size: 1.2rem; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-muted); padding-bottom: 16px; margin: 0; }

/* Cross links */
.linklist { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0; margin: 0; list-style: none; }
.linklist a {
  display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--navy); font-weight: 500; font-size: 0.95rem; text-decoration: none;
}
.linklist a:hover { border-color: var(--gold); }
.linklist a span { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 400; margin-top: 4px; }

/* CTA band */
.cta-band { background: var(--navy); color: var(--ivory); text-align: center; }
.cta-band h2 { color: var(--ivory); }
.cta-band p { color: rgba(250, 247, 242, 0.75); max-width: 640px; margin: 0 auto 1.6em; }
.cta-band .btn { background: var(--gold); color: var(--navy); }
.cta-band .btn:hover { background: var(--cream); }

/* Footer */
.lp-footer { padding: 40px 0 32px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--text-muted); }
.lp-footer .cols { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; margin-bottom: 20px; }
.lp-footer a { color: var(--navy); text-decoration: none; }
.lp-footer a:hover { color: var(--gold-ink); }
.lp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-footer .ft-title { font-weight: 600; color: var(--navy); margin-bottom: 10px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Blog / article */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { color: var(--text); padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.article-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2em; }
.bloglist { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.bloglist .card a { text-decoration: none; }
.bloglist .card h3 a { color: var(--navy); }
.bloglist .card .more { font-size: 0.85rem; font-weight: 600; color: var(--gold-ink); }

@media (max-width: 640px) {
  .lp-nav { display: none; }
  .lp-header .wrap { min-height: 58px; }
}
