:root {
  color-scheme: light dark;
  --background: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #eef4ff;
  --surface-warm: #fff8e8;
  --text: #172033;
  --muted: #526071;
  --soft: #6b7788;
  --link: #2463eb;
  --brand: #2f7cf6;
  --green: #22c768;
  --amber: #f4b73f;
  --outline: #d8e0ea;
  --shadow: 0 24px 60px rgba(23, 32, 51, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #12151b;
    --surface: #1c222c;
    --surface-strong: #16243a;
    --surface-warm: #2b2518;
    --text: #eef2f7;
    --muted: #b4c0cf;
    --soft: #95a2b2;
    --link: #8fb4ff;
    --brand: #6aa2ff;
    --green: #3dda7b;
    --amber: #f2c35c;
    --outline: #344052;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

main {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 8px;
}

.home-page {
  width: min(1180px, calc(100% - 32px));
  padding: 0;
  background: transparent;
  border: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.9rem);
  max-width: 10ch;
}

h2 {
  margin: 0;
  font-size: 1.25rem;
}

h3 {
  margin-bottom: 0.35rem;
}

p,
li {
  color: var(--muted);
}

a {
  color: var(--link);
}

.site-nav,
nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}

.site-nav {
  justify-content: space-between;
  padding: 4px 0;
}

.brand-link {
  color: var(--text);
  text-decoration: none;
}

.brand-wordmark {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.brand-wordmark span {
  color: var(--green);
}

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

.nav-links a,
nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.hero,
.intro-grid,
.screen-tour,
.privacy-strip,
.social-strip,
.support-links {
  margin-top: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 30px;
  align-items: center;
  min-height: 680px;
  padding: 42px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: grid;
  gap: 22px;
  align-content: center;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lede {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.16rem;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.button.secondary {
  color: var(--text);
  background: var(--surface);
}

.trust-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list li {
  padding: 7px 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 750;
  background: var(--surface-strong);
  border: 1px solid var(--outline);
  border-radius: 8px;
}

.hero-media {
  position: relative;
  min-height: 610px;
}

.phone-shot {
  position: absolute;
  width: min(58%, 340px);
  height: auto;
  margin: 0;
  object-fit: cover;
  border: 1px solid var(--outline);
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.phone-shot-main {
  right: 18%;
  top: 4%;
  z-index: 2;
}

.phone-shot-side {
  right: 0;
  top: 17%;
  opacity: 0.9;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.info-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 8px;
}

.info-card p {
  margin-bottom: 0;
}

.screen-tour,
.privacy-strip,
.social-strip,
.support-links a {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 8px;
}

.screen-tour {
  padding: 30px;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.section-heading h2,
.privacy-strip h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.section-heading p {
  margin: 0;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

figure {
  margin: 0;
}

img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--outline);
  border-radius: 18px;
}

.screen-grid img {
  width: 100%;
  border-radius: 22px;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.privacy-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  background: var(--surface-warm);
}

.privacy-strip p {
  margin: 0;
}

.support-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.support-links a {
  display: grid;
  gap: 6px;
  padding: 20px;
  color: var(--text);
  text-decoration: none;
}

.support-links span {
  color: var(--muted);
}

.social-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.social-strip h2 {
  max-width: 18ch;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  background: var(--surface-strong);
  border: 1px solid var(--outline);
  border-radius: 8px;
}

.footer-social a {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.88rem;
}

footer {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--outline);
  color: var(--muted);
  font-size: 0.92rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-media {
    min-height: 520px;
  }

  .phone-shot {
    width: min(54%, 290px);
  }

  .phone-shot-main {
    left: 6%;
    right: auto;
  }

  .phone-shot-side {
    right: 6%;
  }

  .intro-grid,
  .screen-grid,
  .privacy-strip,
  .social-strip,
  .support-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  main,
  .home-page {
    width: min(100% - 20px, 1180px);
    margin: 18px auto;
  }

  main {
    padding: 20px;
  }

  .home-page {
    padding: 0;
  }

  .site-nav {
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a,
  nav a {
    padding-left: 0;
  }

  .hero {
    padding: 22px;
  }

  h1 {
    font-size: 3rem;
    max-width: 11ch;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-media {
    min-height: 430px;
  }

  .phone-shot {
    width: min(62%, 250px);
    border-radius: 20px;
  }

  .phone-shot-main {
    left: 0;
  }

  .phone-shot-side {
    right: 0;
    top: 20%;
  }

  .screen-tour,
  .privacy-strip,
  .info-card,
  .support-links a {
    padding: 18px;
  }
}
