:root {
  --bg: #ffffff;
  --surface: #f5f5ff;
  --text: #111827;
  --muted: #4b5563;
  --brand: #4f46e5;
  --brand-ink: #ffffff;
  --brand-hover: #4338ca;
  --border: #e5e7eb;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1020;
    --surface: #181a33;
    --text: #f3f4f6;
    --muted: #b6b9cc;
    --brand: #818cf8;
    --brand-ink: #0f1020;
    --brand-hover: #a5b4fc;
    --border: #2a2d4a;
  }
}

:root[data-theme="dark"] {
  --bg: #0f1020;
  --surface: #181a33;
  --text: #f3f4f6;
  --muted: #b6b9cc;
  --brand: #818cf8;
  --brand-ink: #0f1020;
  --brand-hover: #a5b4fc;
  --border: #2a2d4a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 16px;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand);
}

main {
  flex: 1;
  width: 100%;
  padding: 0 16px;
}

.hero {
  padding: 64px 0 40px;
  text-align: center;
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 1.125rem;
  margin: 0 auto;
  max-width: 40rem;
}

.product, .contact {
  padding: 24px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}

h2 {
  font-size: 1.5rem;
  margin: 0 0 8px;
}

.card p, .contact p {
  color: var(--muted);
  margin: 0 0 20px;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
}

.btn:hover { background: var(--brand-hover); }

.mail {
  color: var(--brand);
  font-weight: 600;
  word-break: break-all;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 14px;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--brand);
  color: var(--brand-ink);
}

.site {
  border-top: 1px solid var(--border);
  padding: 24px 16px;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.site p { margin: 4px 0; }

.site a { color: var(--muted); }

a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
