/* Kivlo — standalone HTML/CSS/JS replica. Light theme only. */
:root {
  --background: hsl(0 0% 97%);
  --foreground: hsl(0 0% 5%);
  --card: hsl(0 0% 100%);
  --primary: #d72421;
  --primary-foreground: hsl(0 0% 100%);
  --primary-soft: hsl(211 31% 45% / 0.05);
  --primary-border: hsl(211 31% 45% / 0.2);
  --primary-tint: hsl(211 31% 45% / 0.1);
  --secondary: hsl(0 0% 92%);
  --muted-foreground: hsl(0 0% 40%);
  --border: hsl(0 0% 86%);
  --radius: 0.5rem;
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Phudu, Inter, sans-serif; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0rem; }
.container.narrow { max-width: 64rem; }
.container.prose { max-width: 48rem; }
.container.tight { max-width: 56rem; }
.flex-1 { flex: 1; }
.muted { color: var(--muted-foreground); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; border: none; cursor: pointer;
  background: linear-gradient(45deg, #d72421, #b01e65); color: var(--primary-foreground);
  font-family: inherit; font-weight: 500; font-size: .875rem;
  height: 2.25rem; padding: 0 .75rem; border-radius: calc(var(--radius) - 2px);
  text-decoration: none; transition: opacity .15s ease;
}
.btn:hover { opacity: .9; }
.btn-lg { height: 2.75rem; font-size: 1rem; padding: 0 3rem; border-radius: var(--radius); }

/* Header */
.site-header { background: var(--background); border-bottom: 1px solid var(--border); padding: 1.25rem 1.5rem; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: Phudu, Inter, sans-serif; font-size: 1.5rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .025em; text-decoration: none;
}
.nav-desktop { display: none; align-items: center; gap: 1.5rem; }
.nav-link { font-size: .875rem; color: hsl(0 0% 5% / .8); text-decoration: none; }
.nav-link:hover { color: var(--foreground); }
.nav-mobile-actions { display: flex; align-items: center; gap: .75rem; }
.hamburger {
  background: none; border: none; padding: .5rem; margin-right: -.5rem;
  color: var(--foreground); cursor: pointer; line-height: 0;
}
.nav-mobile {
  display: none; flex-direction: column; align-items: flex-start; gap: 1rem;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px);
  background: transparent; padding: .375rem .625rem;
  font-family: inherit; font-size: .875rem; font-weight: 500;
  color: hsl(0 0% 5% / .8); transition: color .15s, border-color .15s;
}
.lang-toggle:hover { color: var(--foreground); border-color: var(--primary); }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-mobile-actions { display: none; }
  .nav-mobile { display: none !important; }
}

/* Hero */
.hero { padding: 5rem 1.5rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 { font-size: 2.25rem; font-weight: 700; text-transform: uppercase; line-height: 1.15; margin-bottom: 1.5rem; }
.hero-lead { font-size: 1.125rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.hero-sub { color: var(--muted-foreground); margin-bottom: 2rem; }
.stat-card {
      border-radius: 1rem;
    padding: 0rem;
    text-align: center;

}
.stat-number { font-size: 2.25rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 3rem; }
}

/* Features */
.features { background: var(--secondary); padding: 4rem 1.5rem; }
.feature-list { display: flex; flex-direction: column; gap: 1.5rem; }
.feature {
  background: var(--background); border-radius: .75rem; padding: 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem; transition: box-shadow .2s ease;
}
.feature:hover { box-shadow: 0 10px 15px -3px hsl(0 0% 0% / .1), 0 4px 6px -4px hsl(0 0% 0% / .1); }
.feature-icon {
  width: 3.5rem; height: 3.5rem; flex-shrink: 0; border-radius: var(--radius);
  background: var(--primary-tint); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.feature h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: .25rem; }
.feature p { font-size: .875rem; color: var(--muted-foreground); }

/* Steps */
.steps { padding: 4rem 1.5rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: .75rem; }
.steps-sub { color: var(--muted-foreground); margin-bottom: 2.5rem; }
.steps-grid { display: grid; gap: 1.5rem; }
.step {
  background: var(--primary-soft); border-left: 4px solid var(--primary);
  border-radius: .75rem; padding: 1.5rem;
}
.step-number { font-size: 1.875rem; font-weight: 700; color: var(--primary); margin-bottom: .75rem; }
.step h3 { font-size: 1.125rem; font-weight: 600; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

/* Contacts */
.contacts { padding: 4rem 1.5rem; text-align: center; }
.contacts h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-pill {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--secondary); padding: 1rem 1.5rem; border-radius: var(--radius);
}
.contact-pill svg { color: var(--primary); }
.contact-pill a { font-weight: 500; text-decoration: none; }
.contact-pill a:hover { color: var(--primary); }

/* Footer */
.site-footer { background: var(--secondary); padding: 2rem 1.5rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-inner a { font-size: .875rem; color: hsl(0 0% 5% / .8); text-decoration: underline; text-underline-offset: 4px; }
.footer-inner a:hover { color: var(--primary); }
@media (min-width: 640px) { .footer-inner { flex-direction: row; justify-content: center; gap: 2rem; } }

/* About */
.about { padding: 5rem 1.5rem; }
.about h1 { font-size: 2.25rem; font-weight: 700; text-transform: uppercase; line-height: 1.15; margin-bottom: 1.5rem; }
.about-lead { font-size: 1.125rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.about-body { color: var(--muted-foreground); margin-bottom: 3rem; }
.operator-grid { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
.operator-card { background: var(--secondary); border-radius: .75rem; padding: 1.5rem; }
.operator-card h2 { font-size: 1.125rem; font-weight: 600; margin-bottom: .5rem; font-family: Inter, sans-serif; }
.operator-card p { font-size: .875rem; color: var(--muted-foreground); }
.note-card {
  background: var(--primary-soft); border: 2px solid var(--primary-border);
  border-radius: 1rem; padding: 1.5rem; margin-bottom: 3rem;
}
.note-card p { font-size: .875rem; color: var(--muted-foreground); }
.about h2.questions { font-size: 1.5rem; font-weight: 700; margin-bottom: .75rem; }
.about-questions { color: var(--muted-foreground); }
.about-questions a { color: var(--primary); text-decoration: none; }
.about-questions a:hover { text-decoration: underline; }
@media (min-width: 640px) { .operator-grid { grid-template-columns: 1fr 1fr; } .about h1 { font-size: 3rem; } }

/* Legal pages */
.legal { padding: 4rem 1.5rem; }
.back-link {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem;
  color: var(--muted-foreground); text-decoration: none; margin-bottom: 2rem;
}
.back-link:hover { color: var(--primary); }
.legal h1 { font-size: 1.875rem; font-weight: 700; text-transform: uppercase; margin-bottom: .75rem; }
.legal-updated { font-size: .875rem; color: var(--muted-foreground); margin-bottom: 2.5rem; }
.legal-body { color: var(--muted-foreground); line-height: 1.625; display: flex; flex-direction: column; gap: 2rem; }
.legal-body h2 { font-family: Inter, sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--foreground); margin-bottom: .75rem; }
.legal-body ul { list-style: disc; padding-left: 1.5rem; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.legal-body ul.spaced { margin-top: .75rem; }
@media (min-width: 768px) { .legal h1 { font-size: 2.25rem; } }

/* 404 */
.notfound { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 1.5rem; text-align: center; }
.notfound h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.notfound .title { font-size: 1.25rem; margin-bottom: .5rem; }
.notfound .body { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.notfound a { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
