*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #f7f9fc;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-text-muted: #5c6b7f;
  --color-accent: #2d6a9f;
  --color-accent-soft: #e8f1f8;
  --color-badge: #0f766e;
  --color-badge-bg: #ccfbf1;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(26, 35, 50, 0.06), 0 8px 24px rgba(26, 35, 50, 0.04);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100dvh;
  line-height: 1.6;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Header */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  padding: 0.2rem;
  background: var(--color-surface);
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.lang-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.lang-btn:hover {
  color: var(--color-text);
}

.lang-btn.is-active {
  color: var(--color-accent);
  background: var(--color-accent-soft);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-accent);
}

.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-badge);
  background: var(--color-badge-bg);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* Hero */

.hero {
  margin-bottom: 3.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 38ch;
}

/* Features */

.features {
  display: grid;
  gap: 1rem;
  margin-bottom: auto;
}

.feature {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 35, 50, 0.05);
}

.feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-accent);
  margin-bottom: 0.875rem;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Footer */

.footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(26, 35, 50, 0.08);
  text-align: center;
}

.status {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.copyright {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  opacity: 0.7;
}

@media (max-width: 480px) {
  .header {
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (min-width: 600px) {
  .page {
    padding: 3.5rem 2rem 4rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1.25rem;
    align-items: start;
  }

  .feature-icon {
    grid-row: 1 / -1;
    margin-bottom: 0;
    margin-top: 0.125rem;
  }

  .feature h2 {
    align-self: end;
  }
}
