:root {
  color-scheme: light dark;
  --background: #f4f3ef;
  --surface: #ffffff;
  --text: #211f26;
  --secondary: #6b6772;
  --weak: #726d7c;
  --border: #eae8e1;
  --action: #574a8c;
  --action-soft: #e6e2f2;
  --on-action: #ffffff;
  --shadow: 0 24px 70px rgba(33, 31, 38, 0.09);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #17161b;
    --surface: #211f26;
    --text: #f1eff4;
    --secondary: #b6b1be;
    --weak: #908b99;
    --border: #322f3a;
    --action: #b9afd9;
    --action-soft: #332e47;
    --on-action: #211f26;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  }
}

* { box-sizing: border-box; }

html { background: var(--background); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: 20px;
  font-family: "Hanken Grotesk", ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 8%, color-mix(in srgb, var(--action-soft) 82%, transparent) 0, transparent 34rem),
    var(--background);
  color: var(--text);
}

.shell {
  width: min(100%, 660px);
  min-height: calc(100svh - 40px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  display: block;
}

.brand-name { font-size: 1.05rem; }

.language-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
}

.language-switch button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--secondary);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: var(--action-soft);
  color: var(--action);
}

main {
  flex: 1;
  display: grid;
  align-content: center;
  padding: 20px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--action);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.6rem, 10vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.057em;
}

.lead {
  max-width: 540px;
  margin: 24px 0 34px;
  color: var(--secondary);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  line-height: 1.55;
}

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

.card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.card p {
  margin: 0;
  color: var(--secondary);
  line-height: 1.55;
}

.primary-link {
  width: 100%;
  min-height: 52px;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--action);
  color: var(--on-action);
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.primary-link[hidden] { display: none; }

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.feature-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.feature-list li:last-child { padding-bottom: 0; }

.feature-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--action-soft);
  color: var(--action);
  font-size: 12px;
  font-weight: 800;
}

.feature-list h2 { margin-bottom: 4px; }

.availability {
  margin-top: 22px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

footer {
  padding: 24px 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  color: var(--weak);
  font-size: 0.86rem;
  line-height: 1.5;
}

.support-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--action);
  font-weight: 700;
  text-decoration: none;
}

.support-link:hover { text-decoration: underline; }

button:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--action) 45%, transparent);
  outline-offset: 3px;
}

@media (max-width: 420px) {
  body { padding: 16px; }
  .shell { min-height: calc(100svh - 32px); }
  .site-header { padding-bottom: 16px; }
  main { padding-bottom: 32px; }
  .card { padding: 20px; border-radius: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  main { animation: arrive 420ms ease-out both; }

  @keyframes arrive {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
