:root {
  color-scheme: light dark;
  --page: #0b1220;
  --surface: #111b2c;
  --surface-raised: #182438;
  --text: #f3f1ec;
  --muted: #aab5c4;
  --line: #26354b;
  --line-strong: #3a4c65;
  --accent: #ef5a49;
  --accent-soft: rgba(239, 90, 73, 0.14);
  --accent-contrast: #170604;
  --header: rgba(11, 18, 32, 0.86);
  --home-radius: 28px;
  --home-control-radius: 14px;
  --home-shadow: 0 34px 90px rgba(3, 8, 18, 0.5);
}

.home-page {
  background:
    radial-gradient(circle at 78% 10%, rgba(239, 90, 73, 0.11), transparent 26rem),
    radial-gradient(circle at 12% 52%, rgba(76, 108, 151, 0.12), transparent 32rem),
    var(--page);
}

.home-header {
  min-height: 72px;
  border-color: rgba(255, 255, 255, 0.08);
  background: var(--header);
}

.home-wordmark {
  align-items: center;
  gap: 12px;
}

.home-wordmark > img {
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(3, 8, 18, 0.3);
}

.home-wordmark > span {
  display: grid;
  gap: 1px;
}

.home-wordmark strong {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.2em;
}

.home-wordmark small {
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-header nav {
  gap: clamp(18px, 2.6vw, 36px);
}

.home-header nav a {
  white-space: nowrap;
}

.home-header .header-download {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border: 1px solid var(--accent);
  border-radius: var(--home-control-radius);
  color: var(--text);
  transition: background-color 180ms ease, transform 180ms ease;
}

.home-header .header-download:hover {
  background: var(--accent-soft);
}

.home-header .header-download:active {
  transform: translateY(1px);
}

.home-hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.home-hero-copy {
  position: relative;
  z-index: 3;
  padding: clamp(58px, 7vw, 96px) clamp(28px, 6vw, 104px);
  animation: home-copy-in 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 9.5ch;
  margin: 0;
  font-size: clamp(3.35rem, 6vw, 6.5rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.home-hero-lede {
  max-width: 34rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.28vw, 1.18rem);
  line-height: 1.65;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-link {
  min-width: 174px;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--home-control-radius);
  background: rgba(243, 241, 236, 0.04);
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.store-link span {
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.1;
}

.store-link strong {
  font-size: 1.08rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.store-link-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff8f4;
}

.store-link-primary span {
  color: rgba(255, 248, 244, 0.76);
}

.store-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.store-link-primary:hover {
  background: #d94a3b;
}

.store-link:active {
  transform: translateY(1px) scale(0.99);
}

.home-hero-visual {
  position: relative;
  min-height: min(850px, calc(100dvh - 72px));
  height: 100%;
  isolation: isolate;
  animation: home-visual-in 900ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-hero-visual::before {
  position: absolute;
  z-index: -2;
  inset: 10% 3% 8% 2%;
  content: "";
  border-radius: 48%;
  background:
    radial-gradient(circle at 48% 44%, rgba(239, 90, 73, 0.18), transparent 36%),
    radial-gradient(circle at 62% 60%, rgba(73, 103, 145, 0.28), transparent 46%);
  filter: blur(18px);
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(239, 90, 73, 0.24);
  border-radius: 50%;
}

.orbit-one {
  width: min(46vw, 620px);
  aspect-ratio: 1;
  top: 14%;
  right: 5%;
}

.orbit-two {
  width: min(28vw, 390px);
  aspect-ratio: 1;
  right: 21%;
  bottom: 8%;
  border-color: rgba(139, 159, 187, 0.18);
}

.phone {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 38px;
  background: #08111f;
  box-shadow: var(--home-shadow);
}

.phone img,
.feature-phone img,
.method-phone img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.phone-main {
  width: clamp(280px, 28vw, 390px);
  aspect-ratio: 660 / 1434;
  top: 7%;
  right: 12%;
  transform: rotate(1.6deg);
}

.phone-side {
  width: clamp(210px, 20vw, 285px);
  aspect-ratio: 660 / 1434;
  top: 29%;
  left: 3%;
  transform: rotate(-6deg);
  opacity: 0.78;
}

.floating-icon {
  position: absolute;
  z-index: 4;
  width: clamp(82px, 8vw, 116px);
  height: auto;
  right: 5%;
  bottom: 7%;
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(3, 8, 18, 0.58);
}

.lens-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(28px, 6vw, 104px);
  border-bottom: 1px solid var(--line);
}

.lens-strip span {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.lens-strip span:first-child {
  justify-content: flex-start;
  padding-left: 0;
}

.lens-strip span:last-child {
  justify-content: flex-end;
  padding-right: 0;
  border-right: 0;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(64px, 10vw, 150px);
  align-items: center;
  padding: clamp(88px, 11vw, 160px) clamp(28px, 7vw, 120px);
}

.feature-copy > h2,
.how-copy > h2,
.trust-copy > h2,
.download-section h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  font-weight: 620;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.feature-copy > p,
.trust-copy > p,
.download-section > div:first-child > p:last-child {
  max-width: 40rem;
  margin: 24px 0 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 40px;
  margin-top: 62px;
}

.feature-list article {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.feature-list h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.feature-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-phone,
.method-phone {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 38px;
  background: #08111f;
  box-shadow: var(--home-shadow);
}

.feature-phone {
  width: min(100%, 390px);
  aspect-ratio: 660 / 1434;
  justify-self: center;
  transform: rotate(2deg);
}

.how-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.65fr) minmax(0, 1fr);
  gap: clamp(66px, 11vw, 170px);
  align-items: center;
  padding: clamp(88px, 11vw, 160px) clamp(28px, 7vw, 120px);
  border-block: 1px solid var(--line);
  background: rgba(17, 27, 44, 0.72);
}

.method-phone {
  width: min(100%, 420px);
  aspect-ratio: 660 / 1434;
  justify-self: center;
  transform: rotate(-2deg);
}

.how-copy > h2 {
  max-width: 11ch;
}

.how-copy ol {
  display: grid;
  gap: 28px;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}

.how-copy li {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.how-copy li strong {
  font-size: 1rem;
  font-weight: 680;
}

.how-copy li span {
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-section {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  margin: clamp(74px, 10vw, 140px) auto;
  padding: clamp(48px, 7vw, 86px);
  border: 1px solid var(--line-strong);
  border-radius: var(--home-radius);
  background:
    radial-gradient(circle at 8% 10%, rgba(239, 90, 73, 0.15), transparent 18rem),
    var(--surface-raised);
}

.trust-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-mark img {
  width: min(100%, 164px);
  height: auto;
  border-radius: 36px;
  box-shadow: 0 24px 70px rgba(3, 8, 18, 0.48);
}

.trust-copy > h2 {
  max-width: 11ch;
  font-size: clamp(2.45rem, 4.5vw, 4.8rem);
}

.trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 28px;
}

.trust-links a {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 680;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 52px;
  align-items: end;
  padding: clamp(82px, 10vw, 138px) clamp(28px, 7vw, 120px);
  border-top: 1px solid var(--line);
}

.download-section h2 {
  max-width: 10ch;
}

.download-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.home-disclaimer {
  padding: 0 clamp(28px, 7vw, 120px) 60px;
  color: var(--muted);
  font-size: 0.76rem;
}

.home-page footer {
  border-color: var(--line);
}

.home-page .footer-brand strong {
  color: var(--text);
}

@keyframes home-copy-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-visual-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --page: #f4f6f8;
    --surface: #e9edf2;
    --surface-raised: #ffffff;
    --text: #101a2a;
    --muted: #596779;
    --line: #d5dce5;
    --line-strong: #b7c2cf;
    --accent: #d94a3b;
    --accent-soft: rgba(217, 74, 59, 0.1);
    --accent-contrast: #ffffff;
    --header: rgba(244, 246, 248, 0.88);
    --home-shadow: 0 34px 90px rgba(29, 45, 66, 0.2);
  }

  .home-page {
    background:
      radial-gradient(circle at 78% 10%, rgba(217, 74, 59, 0.09), transparent 26rem),
      radial-gradient(circle at 12% 52%, rgba(76, 108, 151, 0.08), transparent 32rem),
      var(--page);
  }

  .home-header {
    border-color: rgba(16, 26, 42, 0.08);
  }

  .store-link {
    background: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .store-link-primary {
    color: #ffffff;
    background: var(--accent);
  }

  .store-link-primary span {
    color: rgba(255, 255, 255, 0.78);
  }

  .how-section {
    background: rgba(233, 237, 242, 0.72);
  }
}

@media (max-width: 980px) {
  .home-header nav a:nth-child(2),
  .home-header nav a:nth-child(3) {
    display: none;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    padding-bottom: 38px;
  }

  .home-hero h1 {
    max-width: 10ch;
  }

  .home-hero-visual {
    min-height: 720px;
  }

  .phone-main {
    right: 16%;
  }

  .phone-side {
    left: 12%;
  }

  .feature-story,
  .how-section {
    grid-template-columns: 1fr;
  }

  .feature-phone {
    margin-top: 20px;
  }

  .method-phone {
    order: 2;
  }

  .download-section {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

@media (max-width: 680px) {
  .home-header {
    padding: 0 18px;
  }

  .home-wordmark > img {
    width: 36px;
    height: 36px;
  }

  .home-wordmark small,
  .home-header nav a:not(.header-download) {
    display: none;
  }

  .home-header .header-download {
    min-height: 36px;
    padding: 0 14px;
  }

  .home-hero-copy {
    padding: 64px 20px 36px;
  }

  .home-hero h1 {
    max-width: 9.5ch;
    font-size: clamp(3.15rem, 15vw, 5.1rem);
  }

  .home-hero-lede {
    margin-top: 24px;
  }

  .store-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .store-link {
    min-width: 0;
    min-height: 56px;
    padding: 8px 13px;
  }

  .store-link strong {
    font-size: 0.98rem;
  }

  .home-hero-visual {
    min-height: 600px;
  }

  .phone-main {
    width: 280px;
    top: 3%;
    right: 7%;
  }

  .phone-side {
    width: 205px;
    top: 30%;
    left: -4%;
  }

  .floating-icon {
    right: 7%;
    bottom: 8%;
  }

  .orbit-one {
    width: 520px;
    right: -42%;
  }

  .orbit-two {
    width: 300px;
    right: 12%;
  }

  .lens-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }

  .lens-strip span {
    min-height: 76px;
    justify-content: flex-start;
    padding: 15px 12px 15px 0;
    text-align: left;
  }

  .lens-strip span:nth-child(2) {
    justify-content: flex-end;
    padding-right: 0;
    border-right: 0;
    text-align: right;
  }

  .lens-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .lens-strip span:last-child {
    justify-content: flex-end;
    text-align: right;
  }

  .feature-story,
  .how-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .feature-copy > h2,
  .how-copy > h2,
  .trust-copy > h2,
  .download-section h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 44px;
  }

  .feature-phone,
  .method-phone {
    width: min(88vw, 360px);
  }

  .how-copy li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trust-section {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    padding: 44px 28px;
  }

  .trust-mark {
    justify-content: flex-start;
  }

  .trust-mark img {
    width: 112px;
    border-radius: 26px;
  }

  .download-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .download-actions {
    width: 100%;
  }

  .home-disclaimer {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-copy,
  .home-hero-visual {
    animation: none;
  }
}
