:root {
  color-scheme: light dark;
  --background: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --text: #172033;
  --muted: #5d687c;
  --line: rgba(31, 48, 77, 0.13);
  --accent: #345ee8;
  --accent-strong: #2448c5;
  --accent-soft: #e8edff;
  --shadow: 0 24px 60px rgba(48, 67, 112, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% -10%, rgba(93, 127, 255, 0.2), transparent 34rem),
    radial-gradient(circle at 95% 25%, rgba(117, 207, 240, 0.18), transparent 30rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent-strong);
}

.skip-link {
  left: 1rem;
  margin-top: 0;
  position: fixed;
  top: -10rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--background) 82%, transparent);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}

.nav,
.container {
  margin: 0 auto;
  max-width: 1120px;
  padding-left: 24px;
  padding-right: 24px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 750;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, #6684ff, #284fda);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(52, 94, 232, 0.28);
  color: #fff;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.language-switcher {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  padding: 7px 10px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  min-height: 680px;
  padding-bottom: 96px;
  padding-top: 96px;
}

.eyebrow {
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent-strong);
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  padding: 7px 13px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  letter-spacing: -0.055em;
  margin: 24px 0;
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.lead {
  color: var(--muted);
  font-size: 1.22rem;
  max-width: 680px;
}

.button {
  align-items: center;
  background: var(--accent);
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 18px;
  padding: 12px 18px;
  text-decoration: none;
}

.preview-card,
.card,
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.preview-card {
  border-radius: 30px;
  padding: 26px;
  transform: rotate(1.5deg);
}

.preview-window {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.window-bar {
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 7px;
  padding: 14px;
}

.window-bar span {
  background: #ccd3e0;
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.browser-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  padding: 16px 18px;
}

.browser-row:last-child {
  border-bottom: 0;
}

.browser-dot {
  background: linear-gradient(145deg, #6b87ff, #3156d5);
  border-radius: 10px;
  height: 34px;
  width: 34px;
}

.section {
  padding-bottom: 96px;
  padding-top: 96px;
}

.section-heading {
  max-width: 720px;
}

.section-heading p,
.card p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.card {
  border-radius: 22px;
  padding: 26px;
}

.plans {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-highlight {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  margin: 9px 0;
  padding-left: 26px;
  position: relative;
}

.check-list li::before {
  color: var(--accent);
  content: "✓";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.legal-card {
  border-radius: 24px;
  margin-top: 32px;
  padding: clamp(24px, 5vw, 48px);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 36px 0;
}

[data-language] {
  display: none;
}

html[data-active-language="en"] [data-language="en"],
html[data-active-language="de"] [data-language="de"] {
  display: revert;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f1420;
    --surface: rgba(26, 34, 50, 0.84);
    --surface-solid: #171e2d;
    --text: #f1f4fb;
    --muted: #adb8cc;
    --line: rgba(197, 211, 239, 0.14);
    --accent: #6f8cff;
    --accent-strong: #9bb0ff;
    --accent-soft: rgba(84, 115, 232, 0.2);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  }
}

@media (max-width: 800px) {
  .nav-links a {
    display: none;
  }

  .hero {
    gap: 48px;
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .hero > * {
    min-width: 0;
  }

  h1 {
    overflow-wrap: anywhere;
  }

  .preview-card {
    transform: none;
  }

  .grid,
  .plans {
    grid-template-columns: 1fr;
  }

  .section {
    padding-bottom: 72px;
    padding-top: 72px;
  }
}
