:root {
  color-scheme: dark;
  --bg: #111318;
  --panel: #181b22;
  --panel-strong: #20242d;
  --line: #303744;
  --text: #f4f6fb;
  --muted: #a7b0bf;
  --accent: #2bd4a7;
  --accent-strong: #15b98f;
  --warm: #ffca6a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 24, 0.92);
  padding: 0 28px;
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.site-nav,
.eyebrow,
.download-note,
.site-footer {
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--text);
}

.language-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 4px;
}

.language-switcher button {
  min-width: 34px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.language-switcher button:hover,
.language-switcher button.active {
  background: var(--accent);
  color: #07110e;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 70px min(7vw, 96px) 48px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-text {
  max-width: 640px;
  color: #d7dde8;
  font-size: 20px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  padding: 0 20px;
}

.primary-action {
  background: var(--accent);
  color: #07110e;
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.download-note {
  margin-top: 12px;
  font-size: 13px;
}

.phone-preview {
  width: min(100%, 370px);
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #151821;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  padding: 18px;
}

.phone-bar {
  width: 76px;
  height: 5px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #3c4452;
}

.preview-room {
  margin-bottom: 18px;
  color: var(--warm);
  font-weight: 800;
}

.preview-message {
  width: fit-content;
  max-width: 86%;
  margin-bottom: 12px;
  border-radius: 8px;
  line-height: 1.55;
  padding: 10px 12px;
}

.preview-message.theirs {
  background: #252a34;
}

.preview-message.mine {
  margin-left: auto;
  background: #29513f;
}

.preview-composer {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 12px;
}

.section {
  padding: 76px min(7vw, 96px);
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.feature-card p,
.scene-list,
.brand-section p {
  color: #d5dbe6;
  line-height: 1.75;
}

.brand-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 36px;
  align-items: center;
}

.large-logo {
  width: 180px;
  height: 180px;
  border-radius: 34px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #151821;
}

.scene-list {
  margin: 0;
  padding-left: 20px;
  font-size: 18px;
}

.scene-list li + li {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px min(7vw, 96px);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 16px;
  }

  .site-nav {
    gap: 12px;
  }

  .language-switcher {
    order: 3;
    width: 100%;
    justify-content: flex-end;
  }

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

  .hero {
    gap: 36px;
    min-height: auto;
    padding: 48px 16px;
  }

  .phone-preview {
    margin: 0;
  }

  .section {
    padding: 56px 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .brand-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    padding: 22px 16px;
  }
}
