/* CHTI-TECH palette, as surveyed on chti-tech.eu.
   #57B764 is a fill, not a text colour (2.5:1 on white): text laid on it is
   #1B1319, and the green used as text is the lighter #9AD4A2. */
:root {
  --green: #57B764;
  --green-text: #9AD4A2;
  --on-green: #1B1319;
  --sand: #F0CDA8;
  --dark: #1B1319;
  --surface: #241D22;
  --surface-raised: #2F262B;
  --text: #F6F5F4;
  --text-dim: #A79EA1;
  --radius: 14px;
  --container: 1060px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--dark);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Agdasima", "Inter", sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 0.4em;
}

a { color: var(--green-text); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(27, 19, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface-raised);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-logo { width: 30px; height: 30px; border-radius: 7px; }
.brand-name {
  font-family: "Agdasima", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  border: 1px solid var(--surface-raised);
  background: transparent;
  color: var(--text-dim);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: var(--on-green);
}

/* Hero */
.hero { padding: 72px 0 64px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: 12px;
}
.hero-title { font-size: clamp(2.8rem, 7vw, 4.4rem); margin-bottom: 0.25em; }
.hero-tagline {
  font-size: 1.22rem;
  color: var(--text-dim);
  margin: 0 0 28px;
  max-width: 34em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 0.9rem; color: var(--text-dim); margin-top: 18px; }

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-ghost {
  border: 1px solid var(--surface-raised);
  color: var(--text);
  background: var(--surface);
}

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.app-icon {
  width: 168px;
  height: 168px;
  border-radius: 38px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.size-demo {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--surface-raised);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-variant-numeric: tabular-nums;
}
.size-before { color: var(--text-dim); text-decoration: line-through; }
.size-arrow { color: var(--text-dim); }
.size-after { color: var(--green-text); font-weight: 700; font-size: 1.15rem; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 28px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--surface-raised);
  border-radius: var(--radius);
  padding: 22px;
}
.section-alt .card { background: var(--dark); }
.card h3 { font-size: 1.35rem; color: var(--green-text); }
.card p { margin: 0; color: var(--text-dim); font-size: 0.98rem; }

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: var(--on-green);
  font-family: "Agdasima", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.steps h3 { font-size: 1.3rem; }
.steps p { margin: 0; color: var(--text-dim); font-size: 0.98rem; }

.prose { max-width: 760px; }
.prose p { color: var(--text-dim); }
.prose .meta { font-size: 0.86rem; margin-top: 26px; }
.prose h3 { font-size: 1.4rem; margin-top: 36px; }

.faq { margin: 0; }
.faq dt {
  font-weight: 600;
  color: var(--text);
  margin-top: 18px;
}
.faq dd { margin: 4px 0 0; color: var(--text-dim); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--surface-raised);
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-logo { width: 40px; height: 40px; border-radius: 9px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { text-decoration: none; font-size: 0.94rem; }
.footer-copy { color: var(--text-dim); font-size: 0.86rem; margin: 0; }

@media (max-width: 820px) {
  .hero { padding: 48px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { order: -1; }
  .app-icon { width: 128px; height: 128px; border-radius: 29px; }
  .section { padding: 48px 0; }
}
