:root {
  --ink: #0e1a2b;
  --ink-2: #4a5568;
  --bg: #fff5ea;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --accent: #e85d24;
  --accent-hover: #d14f1a;
  --step: #1a7a6d;
  --max: 980px;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-header, main, footer {
  width: min(var(--max), 90vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.brand-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.tagline {
  font-size: 0.85rem;
  color: var(--ink-2);
  font-weight: 500;
}

/* Buttons */
.cta, .ghost {
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  transition: background 0.15s, transform 0.15s;
}

.cta {
  padding: 0.7rem 1.4rem;
  background: var(--accent);
  color: #fff;
}
.cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.cta-small { padding: 0.5rem 1rem; font-size: 0.85rem; }
.cta-disabled { background: #999; cursor: not-allowed; opacity: 0.7; }
.cta-disabled:hover { background: #999; transform: none; }

.ghost {
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--ink);
  background: var(--card);
}
.ghost:hover { border-color: rgba(0, 0, 0, 0.25); }

/* Hero */
.hero {
  text-align: center;
  padding: 5rem 0 3.5rem;
  max-width: 720px;
  margin: 0 auto;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lead {
  margin-top: 1.2rem;
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

/* Features */
.features { padding: 0 0 3.5rem; }

.features .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.features article {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feat-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.feat-body { padding: 1rem 1.25rem 1.25rem; }
.features h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.3rem; }
.features p { color: var(--ink-2); font-size: 0.85rem; line-height: 1.5; }

/* Showcase */
.showcase { padding: 1rem 0 3rem; }

.shots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shots figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  min-width: 190px;
}

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

/* How it works */
.how {
  padding: 2rem 0 3rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.how h2 { margin-bottom: 1.2rem; }

.how ol {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  text-align: left;
}

.how li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--ink-2);
}

.how li span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--step);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Languages */
.languages {
  padding: 1rem 0 2.5rem;
  text-align: center;
}

.languages h2 { margin-bottom: 0.8rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.chips span {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.more-langs { margin-top: 0.7rem; font-size: 0.88rem; color: var(--ink-2); }

/* Final CTA */
.final-cta {
  margin: 0 auto 2.5rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}
.final-cta h2 { margin-bottom: 0.4rem; }
.final-cta p { color: var(--ink-2); margin-bottom: 1.5rem; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-2);
}
footer a { color: var(--ink-2); }
footer a:hover { color: var(--ink); }

@media (max-width: 768px) {
  .features .grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(5, 220px); }
  .hero { padding: 3rem 0 2.5rem; }
}

@media (max-width: 480px) {
  .features .grid { grid-template-columns: 1fr; }
}
