:root {
  --bg: #f4f5f6;
  --surface: #ffffff;
  --text: #1a1d21;
  --muted: #5c6570;
  --line: #e2e5e9;
  --accent: #3d5a73;
  --accent-hover: #2f4759;
  --accent-soft: #eef2f6;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.site-header .inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

.brand span { color: var(--muted); font-weight: 400; }

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--accent); }

.lang-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
}

.lang-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.lang-nav a:hover { color: var(--accent); }

.lang-nav a.is-active {
  color: var(--text);
  font-weight: 600;
  background: var(--accent-soft);
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero .lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 38em;
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.badge-beta {
  color: #7a4f01;
  background: #fff3cd;
  border: 1px solid #f0d78c;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.disclaimer {
  background: #fffbf0;
  border: 1px solid #e8d48b;
  border-left: 4px solid #c9a227;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: #4a4030;
}

.disclaimer h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: #5c4a12;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0 0 1rem;
  color: var(--muted);
  flex-grow: 1;
  font-size: 0.98rem;
}

.card .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.btn-secondary {
  background: var(--surface);
  color: var(--accent) !important;
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.features li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--muted);
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--surface);
}

.site-footer a { margin: 0 0.5rem; }

.nav a.is-active {
  color: var(--text);
  font-weight: 600;
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.steps li {
  margin-bottom: 0.65rem;
}

@media (max-width: 600px) {
  .hero { padding: 1.75rem 1.25rem; }
  .btn-row { flex-direction: column; }
  .btn { width: 100%; }
}
