:root {
  color-scheme: dark;
  --bg: #070b14;
  --bg-2: #0c1322;
  --panel: rgba(18, 27, 45, 0.82);
  --panel-strong: #101827;
  --line: rgba(148, 177, 224, 0.18);
  --text: #f6f8ff;
  --muted: #9aa9c4;
  --soft: #c7d3e8;
  --blue: #1688ff;
  --blue-2: #62b6ff;
  --blue-3: #0e4dff;
  --ink: #05070d;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 6.5rem;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 24% 14%, rgba(22, 136, 255, 0.24), transparent 26rem),
    radial-gradient(circle at 82% 0%, rgba(98, 182, 255, 0.14), transparent 24rem),
    linear-gradient(180deg, #080d18 0%, #070b14 42%, #090f1b 100%);
  color: var(--text);
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 0 32px rgba(22, 136, 255, 0.34);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  color: var(--soft);
  font-size: 0.92rem;
}

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

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

.header-cta {
  border: 1px solid rgba(98, 182, 255, 0.36);
  border-radius: 999px;
  padding: 0.62rem 1rem;
  color: white;
  background: rgba(22, 136, 255, 0.14);
  font-weight: 750;
}

.section-shell {
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: auto;
  padding: 3rem 0 3rem;
}

.hero-copy {
  align-self: start;
  padding-top: clamp(1rem, 3vw, 2.5rem);
}

.eyebrow {
  margin: 0 0 0.95rem;
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 1.25rem;
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.12rem;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lede {
  max-width: 42rem;
  color: #d7e2f7;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.35rem;
}

.hero .cta-row {
  width: 100%;
  max-width: none;
  justify-content: center;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  width: min(15rem, 100%);
  transition: transform 160ms ease, filter 160ms ease;
}

.app-store-badge:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.app-store-badge img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  color: #dbe8ff;
  font-weight: 800;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.3rem;
}

.hero-proof span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(560px, 54vw, 690px);
  margin-top: -1.25rem;
  overflow: visible;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 6% 1% 9%;
  border: 1px solid rgba(98, 182, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(130deg, rgba(22, 136, 255, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(12, 19, 34, 0.7);
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(-5deg) rotateX(3deg);
}

.phone {
  position: relative;
  margin: 0;
  border: 8px solid #070a11;
  border-radius: 36px;
  overflow: hidden;
  background: #05070d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(148, 177, 224, 0.22);
}

.phone::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 50%;
  z-index: 1;
  width: 5.4rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #05070d;
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-front {
  z-index: 3;
  width: min(300px, 30vw);
}

.phone-back {
  position: absolute;
  z-index: 2;
  width: min(245px, 24vw);
  opacity: 0.82;
  filter: saturate(0.92) brightness(0.9);
}

.phone-left {
  left: 3%;
  transform: translateY(2rem) rotate(-8deg);
}

.phone-right {
  right: 3%;
  transform: translateY(0.4rem) rotate(7deg);
}

.feature-overview {
  padding: 3.5rem 0 5rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0;
}

.pillars article,
.role-grid article,
.screen-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.pillars article {
  padding: 1.35rem;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1.15rem;
  border-radius: 8px;
  color: white;
  background: rgba(22, 136, 255, 0.22);
  border: 1px solid rgba(98, 182, 255, 0.28);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(22, 136, 255, 0.13), transparent 45%),
    rgba(10, 16, 28, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 5.5rem 0;
}

.section-copy {
  max-width: 42rem;
}

.check-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1.6rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--soft);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px rgba(22, 136, 255, 0.8);
}

.showcase-preview {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
}

.mini-phone {
  width: min(315px, 76vw);
}

.showcase-preview p {
  max-width: 27rem;
  margin: 0;
  text-align: center;
  color: var(--soft);
}

.origin-section {
  padding: 6rem 0 0;
}

.origin-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    linear-gradient(135deg, rgba(22, 136, 255, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(12, 19, 34, 0.68);
}

.origin-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.origin-copy {
  display: grid;
  gap: 1rem;
}

.origin-copy p {
  margin: 0;
  color: var(--soft);
}

.product-section,
.roles,
.final-cta {
  padding: 6rem 0;
}

.section-heading {
  max-width: none;
  margin-bottom: 2rem;
}

.section-heading p {
  max-width: none;
}

.screen-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 285px);
  gap: 1rem;
  padding: 0 0 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 0;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(98, 182, 255, 0.45) rgba(255, 255, 255, 0.06);
}

.screen-card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 1.15rem;
  min-height: 100%;
  padding: 1rem;
  scroll-snap-align: start;
  overflow: hidden;
}

.screen-card .phone {
  width: min(100%, 200px);
  aspect-ratio: 360 / 778;
  justify-self: center;
  border-width: 6px;
  border-radius: 28px;
}

.screen-card .phone::before,
.mini-phone::before {
  height: 1rem;
  width: 4rem;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.role-grid article {
  padding: 1.35rem;
}

.faq-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5rem 0;
  background: rgba(10, 16, 28, 0.5);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.faq-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
}

.final-cta h2 {
  max-width: 12ch;
}

.final-cta p:not(.eyebrow) {
  max-width: 42rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer .brand {
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.legal-page {
  padding: 5rem 0 6rem;
}

.legal-page h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 6rem);
}

.legal-page h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.legal-page h3 {
  margin-top: 1.35rem;
  color: var(--text);
}

.legal-page section,
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-top: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.legal-page ul {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--soft);
}

.legal-page li {
  line-height: 1.55;
}

.legal-page a {
  color: var(--blue-2);
  font-weight: 750;
}

.last-updated {
  color: var(--blue-2);
  font-weight: 800;
}

.support-page {
  max-width: 900px;
}

@media (max-width: 980px) {
  .site-header {
    gap: 0.75rem;
    padding: 0.75rem 0;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .site-nav {
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 13, 24, 0.72);
    font-size: 0.78rem;
  }

  .site-nav a {
    padding: 0.42rem 0.55rem;
    border-radius: 999px;
  }

  .header-cta {
    padding: 0.5rem 0.75rem;
    font-size: 0.86rem;
  }

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

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

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

  h1 {
    max-width: 12ch;
    font-size: clamp(3.8rem, 11vw, 6.2rem);
  }

  .phone-stage {
    min-height: 560px;
    margin-top: 0;
  }

  .phone-front {
    width: min(285px, 44vw);
  }

  .phone-back {
    width: min(225px, 34vw);
  }

  .pillars,
  .role-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    --bs-gutter-x: 2.25rem;
    padding-left: 1.125rem !important;
    padding-right: 1.125rem !important;
  }

  [id] {
    scroll-margin-top: 7.25rem;
  }

  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.65rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .header-cta {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.4rem 0.68rem;
    font-size: 0.8rem;
  }

  .hero {
    padding-top: 2rem;
    padding-bottom: 3.25rem;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.35rem);
    line-height: 0.9;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .phone-stage {
    min-height: 430px;
  }

  .phone-front {
    width: min(235px, 62vw);
  }

  .phone-back {
    width: min(178px, 44vw);
  }

  .phone-left {
    left: 2%;
  }

  .phone-right {
    right: 2%;
  }

  .pillars,
  .role-grid,
  .showcase-preview {
    grid-template-columns: 1fr;
  }

  .pillars {
    padding-bottom: 0;
  }

  .split,
  .origin-section,
  .product-section,
  .roles,
  .faq-section,
  .final-cta {
    padding: 4rem 0;
  }

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

  .mini-phone,
  .screen-card .phone {
    width: min(190px, 68vw);
  }

  .screen-rail {
    grid-auto-columns: minmax(218px, 72vw);
  }

  .site-footer,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}
