:root {
  color-scheme: dark;
  --bg: #07110f;
  --panel: #0d1a17;
  --panel-strong: #10231f;
  --text: #f4fbf8;
  --muted: #9db4ad;
  --line: rgba(210, 255, 239, 0.14);
  --green: #24d49b;
  --cyan: #68d9ff;
  --coral: #ff765f;
  --amber: #ffbe58;
  --shadow: rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(7, 17, 15, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(36, 212, 155, 0.45);
  border-radius: 8px;
  background: #10241f;
  color: var(--green);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 112px clamp(20px, 5vw, 72px) 80px;
  border-bottom: 1px solid var(--line);
  background: #07110f;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 15, 0.32);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 78px clamp(12px, 4vw, 60px) 54px auto;
  width: min(58vw, 760px);
  pointer-events: none;
}

.phone {
  position: absolute;
  width: min(29vw, 300px);
  min-width: 190px;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px var(--shadow);
}

.phone-main {
  right: 22%;
  top: 0;
  z-index: 3;
}

.phone-back {
  right: 0;
  top: 9%;
  z-index: 1;
  opacity: 0.7;
}

.phone-front {
  right: 45%;
  top: 16%;
  z-index: 2;
  opacity: 0.86;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 690px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 12vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: #d5e8e2;
  font-size: clamp(18px, 2.2vw, 25px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--green);
  color: #06120f;
}

.button.secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.hero-strip {
  position: absolute;
  z-index: 5;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-strip span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  background: rgba(10, 28, 24, 0.88);
  color: #c6d9d4;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

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

h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(34px, 5.3vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature {
  min-height: 260px;
  padding: 28px;
  background: var(--panel);
}

.feature-icon {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
}

.feature p,
.privacy-copy p,
.cta p,
.site-footer p {
  color: var(--muted);
}

.showcase {
  background: #091714;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.screen {
  grid-column: span 2;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.screen.tall {
  grid-row: span 2;
}

.screen img {
  width: 100%;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  background: #030706;
}

.screen figcaption {
  min-height: 64px;
  padding: 14px 16px 16px;
  color: #c7d9d4;
  font-size: 14px;
  font-weight: 650;
}

.privacy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.privacy-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.privacy-list div {
  padding: 24px;
  background: var(--panel-strong);
}

.privacy-list strong,
.privacy-list span {
  display: block;
}

.privacy-list strong {
  margin-bottom: 6px;
  color: var(--amber);
  font-size: 18px;
}

.privacy-list span {
  color: var(--muted);
}

.cta {
  display: grid;
  grid-template-columns: minmax(230px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #edf8f5;
  color: #06120f;
}

.cta .eyebrow {
  color: #087756;
}

.cta p {
  max-width: 620px;
  color: #405550;
  font-size: 18px;
}

.cta img {
  width: min(100%, 340px);
  border-radius: 28px;
  border: 1px solid rgba(6, 18, 15, 0.15);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.22);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  font-size: 14px;
}

.legal-page {
  padding: 118px clamp(20px, 5vw, 72px) 72px;
  background: #07110f;
}

.legal-document {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.legal-document h1 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.16;
}

.legal-meta {
  margin: 0 0 38px;
  color: var(--muted);
}

.legal-document section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  margin-bottom: 14px;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.25;
}

.legal-document h3 {
  margin-top: 18px;
  font-size: 17px;
  color: #dff8ef;
}

.legal-document p,
.legal-document li {
  color: #c1d5cf;
  font-size: 14.5px;
  line-height: 1.78;
}

.legal-document ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.language-switch {
  position: sticky;
  top: 88px;
  z-index: 10;
  display: inline-flex;
  gap: 4px;
  margin: 0 0 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 26, 23, 0.92);
  backdrop-filter: blur(12px);
}

.language-switch button {
  min-width: 88px;
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.language-switch button.active {
  background: var(--green);
  color: #06120f;
}

.policy-lang {
  display: none;
}

.policy-lang.active {
  display: block;
}

@media (max-width: 980px) {
  .hero {
    min-height: 92vh;
    align-items: end;
    padding-top: 100px;
  }

  .hero-media {
    inset: 76px -30px auto auto;
    width: 100%;
    height: 62vh;
    opacity: 0.8;
  }

  .phone {
    width: 230px;
    min-width: 0;
  }

  .phone-main {
    right: 22%;
  }

  .phone-back {
    right: -4%;
  }

  .phone-front {
    right: 52%;
  }

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

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

  .screen {
    grid-column: span 1;
  }

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

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 760px;
    padding: 156px 20px 108px;
  }

  .hero::after {
    background: rgba(7, 17, 15, 0.58);
  }

  .hero-media {
    top: 128px;
    height: 430px;
  }

  .phone {
    width: 178px;
    border-radius: 22px;
  }

  .phone-front {
    right: 55%;
  }

  .phone-main {
    right: 25%;
  }

  .phone-back {
    right: -20px;
  }

  .hero-copy {
    align-self: end;
  }

  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

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

  .feature {
    min-height: auto;
  }

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

  .screen img {
    max-height: 680px;
  }

  .site-footer {
    display: block;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .language-switch {
    top: 112px;
  }
}
