:root {
  color-scheme: dark;
  --bg: #07110e;
  --bg-soft: #0b1714;
  --panel: rgba(16, 34, 28, 0.72);
  --panel-strong: rgba(20, 37, 31, 0.92);
  --line: rgba(153, 246, 215, 0.15);
  --line-strong: rgba(153, 246, 215, 0.26);
  --text: #f3fff9;
  --muted: #a6c7bc;
  --muted-2: #6f9186;
  --accent: #2bd4a7;
  --accent-strong: #12b886;
  --accent-soft: rgba(43, 212, 167, 0.14);
  --shadow: rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --max: 1180px;
  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:
    radial-gradient(circle at 80% 8%, rgba(43, 212, 167, 0.16), transparent 28rem),
    radial-gradient(circle at 12% 4%, rgba(153, 246, 215, 0.09), transparent 22rem),
    linear-gradient(180deg, #07110e 0%, #081310 54%, #060d0b 100%);
  color: var(--text);
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 4px;
  opacity: 0.24;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 76px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 14, 0.82);
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 12px 28px rgba(43, 212, 167, 0.18);
}

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

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.site-nav a {
  transition: color 160ms ease;
}

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

.language-switcher {
  justify-self: end;
  display: flex;
  gap: 4px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 34, 28, 0.72);
  padding: 4px;
}

.language-switcher button {
  min-width: 36px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

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

.hero,
.section,
.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.76fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(56px, 8vw, 98px) 0 clamp(54px, 8vw, 88px);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 18px;
  border: 1px solid rgba(153, 246, 215, 0.18);
  border-radius: 999px;
  background: rgba(43, 212, 167, 0.1);
  color: #99f6d7;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 880;
  letter-spacing: 0;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.72;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.hero-proof span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 34, 28, 0.54);
  color: var(--muted);
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 800;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  padding: 0 20px;
}

.primary-action {
  background: var(--accent);
  color: #07110e;
  box-shadow: 0 18px 34px rgba(43, 212, 167, 0.2);
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: rgba(16, 34, 28, 0.7);
  color: var(--text);
}

.download-note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 13px;
}

.hero-device {
  position: relative;
  display: grid;
  justify-items: center;
}

.device-glow {
  position: absolute;
  inset: 10% 0 0;
  border-radius: 999px;
  background: rgba(43, 212, 167, 0.18);
  filter: blur(54px);
}

.phone-preview {
  position: relative;
  width: min(100%, 382px);
  min-height: 690px;
  border: 1px solid rgba(153, 246, 215, 0.18);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 0%, rgba(43, 212, 167, 0.13), transparent 18rem),
    #0b1714;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.42);
  padding: 16px 18px 20px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 2px 6px 12px;
  color: rgba(243, 255, 249, 0.86);
  font-size: 12px;
  font-weight: 850;
}

.phone-bar {
  width: 86px;
  height: 25px;
  margin: -31px auto 26px;
  border-radius: 999px;
  background: #07110e;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.preview-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
}

.preview-room {
  color: var(--text);
  font-size: 24px;
  font-weight: 950;
}

.preview-count {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--accent);
  color: #07110e;
  font-weight: 950;
}

.preview-timeline {
  display: grid;
  gap: 13px;
  min-height: 438px;
  align-content: end;
}

.preview-message {
  width: fit-content;
  max-width: 86%;
  border: 1px solid rgba(153, 246, 215, 0.08);
  border-radius: 18px;
  line-height: 1.55;
  padding: 12px 14px;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.preview-message.theirs {
  background: rgba(20, 37, 31, 0.96);
  color: var(--text);
}

.preview-message.mine {
  margin-left: auto;
  background: #165f4a;
  color: #f3fff9;
}

.preview-composer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 50px;
  margin-top: 24px;
  border: 1px solid rgba(153, 246, 215, 0.14);
  border-radius: 18px;
  background: rgba(7, 17, 14, 0.72);
  color: var(--muted);
  padding: 0 14px;
  font-size: 14px;
}

.preview-composer b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--accent);
  color: #07110e;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

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

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

.feature-card {
  min-height: 244px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 34, 28, 0.86), rgba(11, 23, 20, 0.76));
  padding: 24px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border-radius: 14px;
  background: rgba(43, 212, 167, 0.12);
  color: #99f6d7;
  font-size: 12px;
  font-weight: 950;
}

.feature-card p,
.scene-list,
.brand-section p {
  color: var(--muted);
  line-height: 1.75;
}

.brand-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(28px, 8vw, 90px);
  align-items: center;
}

.brand-mark-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 18%, rgba(43, 212, 167, 0.18), transparent 12rem),
    rgba(16, 34, 28, 0.62);
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.large-logo {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin: 0 auto;
  border-radius: 38px;
}

.brand-token-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.brand-token-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 70px);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(11, 23, 20, 0.74);
  padding: clamp(28px, 5vw, 54px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.scene-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 17px;
}

.scene-list li {
  border-bottom: 1px solid rgba(153, 246, 215, 0.1);
  padding-bottom: 14px;
}

.download-section {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.download-panel {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  padding: 24px 0;
  font-size: 14px;
}

.install-header {
  grid-template-columns: 1fr auto;
}

.install-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(32px, 7vw, 84px);
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.install-copy {
  max-width: 700px;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.install-button {
  min-width: 190px;
}

.install-panel {
  display: grid;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(43, 212, 167, 0.16), transparent 14rem),
    rgba(16, 34, 28, 0.76);
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.install-logo {
  width: 94px;
  height: 94px;
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(43, 212, 167, 0.18);
}

.install-panel strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    row-gap: 12px;
    min-height: auto;
    padding: 14px 24px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-switcher {
    grid-column: 2;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 60px;
  }

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

  .hero-device {
    justify-items: start;
  }

  .phone-preview {
    width: min(100%, 430px);
    min-height: 640px;
  }

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

  .feature-card {
    min-height: auto;
  }

  .feature-icon {
    margin-bottom: 24px;
  }

  .brand-section,
  .split,
  .download-section,
  .install-page {
    grid-template-columns: 1fr;
    display: grid;
  }

  .download-panel {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .site-footer,
  .install-page {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    gap: 18px;
    font-size: 13px;
  }

  .language-switcher button {
    min-width: 32px;
  }

  .hero {
    gap: 38px;
    padding: 44px 0 52px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions,
  .download-panel,
  .install-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .phone-preview {
    min-height: 560px;
    border-radius: 34px;
    padding: 14px;
  }

  .phone-bar {
    width: 78px;
    height: 23px;
  }

  .preview-room {
    font-size: 21px;
  }

  .preview-timeline {
    min-height: 330px;
  }

  .preview-message {
    max-width: 92%;
    font-size: 13px;
  }

  .feature-card,
  .brand-mark-card,
  .split {
    border-radius: 20px;
  }

  .split {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}
