:root {
  color-scheme: light;
  --ink: #071431;
  --ink-soft: #39465d;
  --muted: #667188;
  --paper: #f6f9fe;
  --paper-warm: #fbf4ea;
  --surface: #ffffff;
  --surface-soft: #edf4ff;
  --navy: #071431;
  --blue: #317dfa;
  --blue-deep: #153fca;
  --sky: #d8e8ff;
  --gold: #f2a638;
  --coral: #ec705f;
  --mint: #e4f8f1;
  --line: rgb(7 20 49 / 12%);
  --line-strong: rgb(7 20 49 / 20%);
  --shadow: 0 24px 70px rgb(7 20 49 / 15%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fbff 0%, #f2f7ff 38%, #fffaf4 100%),
    var(--paper);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgb(7 20 49 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(7 20 49 / 5%) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 34%), transparent 76%);
}

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

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

button {
  font: inherit;
}

.app-shell {
  overflow: hidden;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 14px 44px;
  background: linear-gradient(180deg, rgb(247 250 255 / 93%), rgb(247 250 255 / 70%), transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 850;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgb(7 20 49 / 16%);
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: rgb(255 255 255 / 76%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgb(7 20 49 / 7%);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--ink-soft);
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 780;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: white;
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  height: 88svh;
  min-height: 650px;
  max-height: 860px;
  padding: 92px 44px 54px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(110deg, rgb(7 20 49 / 98%) 0%, rgb(9 31 78 / 94%) 46%, rgb(49 125 250 / 52%) 100%),
    #071431;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 36%;
  content: "";
  background: linear-gradient(0deg, rgb(216 232 255 / 22%), transparent);
}

.hero-media {
  position: absolute;
  inset: 74px -16px -150px auto;
  z-index: -1;
  width: 58%;
  min-width: 620px;
  max-width: 900px;
  pointer-events: none;
}

.device {
  position: absolute;
  overflow: hidden;
  padding: 10px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 28%), rgb(255 255 255 / 3%)),
    #050814;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 42px;
  box-shadow: 0 36px 100px rgb(0 0 0 / 34%);
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.device.primary {
  right: 210px;
  bottom: 12px;
  width: 280px;
  height: 606px;
  transform: rotate(-7deg);
}

.device.secondary {
  right: 30px;
  bottom: 78px;
  width: 258px;
  height: 558px;
  opacity: .9;
  transform: rotate(6deg);
}

.device.tertiary {
  right: 430px;
  bottom: -66px;
  width: 216px;
  height: 468px;
  opacity: .52;
  transform: rotate(-15deg);
}

.hero-copy {
  width: min(100%, 680px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 880;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--gold), var(--coral), #58d7bf);
}

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

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

h1 {
  margin-bottom: 20px;
  font-size: 6rem;
  line-height: .9;
  font-weight: 920;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.45rem;
  line-height: 1;
  font-weight: 890;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 850;
}

.lead {
  max-width: 600px;
  margin-bottom: 0;
  color: rgb(247 250 255 / 82%);
  font-size: 1.24rem;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  color: var(--ink);
  background: white;
  border: 1px solid rgb(255 255 255 / 62%);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgb(0 0 0 / 18%);
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover,
.button:focus-visible {
  background: #f7fbff;
  box-shadow: 0 22px 52px rgb(0 0 0 / 22%);
  outline: none;
  transform: translateY(-1px);
}

.button.secondary {
  color: white;
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 255 255 / 30%);
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgb(255 255 255 / 17%);
}

.button i,
.meta-chip i,
.screen-tab i,
.footer-link i {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  color: rgb(255 255 255 / 88%);
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 750;
}

section {
  position: relative;
  padding: 90px 44px;
}

.section-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading .eyebrow {
  color: var(--blue-deep);
}

.section-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.workflow {
  padding-top: 44px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 82%), rgb(255 255 255 / 45%)),
    var(--paper);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.workflow-item,
.feature,
.screen-copy,
.data-use-note,
.legal-note {
  background: rgb(255 255 255 / 86%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgb(7 20 49 / 8%);
}

.workflow-item {
  padding: 22px;
}

.tile-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
}

.tile-icon i {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.workflow-item:nth-child(2) .tile-icon {
  background: var(--blue);
}

.workflow-item:nth-child(3) .tile-icon {
  background: #0e9f84;
}

.workflow-item:nth-child(4) .tile-icon {
  background: var(--coral);
}

.workflow-item p,
.feature p,
.screen-copy p,
.legal-note p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  background:
    linear-gradient(180deg, var(--paper-warm), #f8fbff 70%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.screen-copy {
  position: sticky;
  top: 96px;
  padding: 28px;
}

.screen-copy img {
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgb(7 20 49 / 16%);
}

.screen-copy h2 {
  font-size: 2.25rem;
}

.screen-tabs {
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.screen-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.screen-tab:hover,
.screen-tab:focus-visible,
.screen-tab.active {
  color: var(--ink);
  background: var(--surface-soft);
  border-color: var(--line);
  outline: none;
}

.gallery-visual {
  min-width: 0;
}

.screen-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 260px) 158px;
  gap: 20px;
  align-items: center;
  justify-content: center;
  min-height: 590px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 82%), rgb(237 244 255 / 72%)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgb(7 20 49 / 10%);
}

.screen-orbit {
  position: absolute;
  inset: 8% auto auto 12%;
  width: 54%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 42% 36%, rgb(49 125 250 / 22%), transparent 56%),
    radial-gradient(circle at 62% 62%, rgb(242 166 56 / 20%), transparent 54%);
  filter: blur(2px);
  pointer-events: none;
}

.phone-shot {
  position: relative;
  overflow: hidden;
  width: min(100%, 260px);
  padding: 10px;
  background:
    linear-gradient(145deg, #1c2740, #050814 48%, #253553),
    #061021;
  border: 1px solid rgb(255 255 255 / 58%);
  border-radius: 44px;
  box-shadow:
    0 34px 80px rgb(7 20 49 / 24%),
    inset 0 0 0 1px rgb(255 255 255 / 16%);
}

.phone-shot::before {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 25px;
  content: "";
  background: #050814;
  border-radius: 0 0 18px 18px;
  transform: translateX(-50%);
}

.phone-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
  border-radius: 34px;
}

.primary-shot {
  transform: none;
}

.screen-preview-rail {
  position: relative;
  display: grid;
  gap: 12px;
}

.screen-preview {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 9px;
  color: var(--ink-soft);
  background: rgb(255 255 255 / 78%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgb(7 20 49 / 7%);
  cursor: pointer;
  font-weight: 820;
  text-align: left;
}

.screen-preview:hover,
.screen-preview:focus-visible,
.screen-preview.active {
  color: var(--ink);
  background: white;
  border-color: rgb(49 125 250 / 42%);
  outline: none;
}

.screen-preview img {
  width: 44px;
  height: 56px;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgb(7 20 49 / 14%);
}

.screen-preview span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.caption-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.caption {
  padding: 18px;
  background: rgb(255 255 255 / 82%);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.caption strong {
  display: block;
  margin-bottom: 5px;
}

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

.features {
  background: #f8fbff;
}

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

.feature {
  min-height: 228px;
  padding: 24px;
}

.feature strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 1.12rem;
}

.feature .tile-icon {
  margin-bottom: 0;
  background: var(--blue);
}

.feature:nth-child(2) .tile-icon {
  background: var(--gold);
  color: var(--ink);
}

.feature:nth-child(3) .tile-icon {
  background: #0e9f84;
}

.feature:nth-child(4) .tile-icon {
  background: var(--coral);
}

.feature:nth-child(5) .tile-icon {
  background: var(--navy);
}

.feature:nth-child(6) .tile-icon {
  background: #6f63df;
}

.data-use {
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
  border-top: 1px solid var(--line);
}

.data-use-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 44px;
  align-items: center;
}

.data-use-layout .section-heading {
  margin-bottom: 0;
}

.data-use-note {
  padding: 26px;
}

.data-use-note .tile-icon {
  margin-bottom: 18px;
  background: #0e9f84;
}

.data-use-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.data-use-note p {
  margin-bottom: 18px;
  color: var(--muted);
}

.closing {
  padding-bottom: 74px;
  background:
    linear-gradient(115deg, rgb(7 20 49 / 96%), rgb(15 63 157 / 90%)),
    var(--navy);
  color: white;
}

.closing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: center;
}

.closing h2 {
  max-width: 760px;
}

.closing p {
  max-width: 650px;
  color: rgb(255 255 255 / 78%);
  font-size: 1.08rem;
}

.legal-note {
  padding: 26px;
  color: var(--ink);
  background: white;
}

.legal-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 18px;
}

.footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 820;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface-soft);
  outline: none;
}

.site-footer {
  padding: 28px 44px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: .92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 2.85rem;
  }

  .hero-media {
    right: -170px;
    width: 760px;
    min-width: 0;
    opacity: .74;
  }

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

  .gallery-layout,
  .data-use-layout,
  .closing-layout {
    grid-template-columns: 1fr;
  }

  .screen-copy {
    position: static;
  }

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

  .screen-tab {
    justify-content: center;
  }

  .screen-tab span {
    display: none;
  }

  .screen-stage {
    grid-template-columns: minmax(260px, 380px) 132px;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 64px;
    padding: 12px 16px;
  }

  .brand span {
    display: none;
  }

  .nav-links a {
    min-height: 34px;
    padding: 0 9px;
    font-size: .84rem;
  }

  .hero {
    height: 88svh;
    min-height: 640px;
    padding: 84px 18px 32px;
  }

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

  h1 {
    font-size: 3.35rem;
    line-height: .96;
  }

  h2 {
    font-size: 2.15rem;
    line-height: 1.05;
  }

  .lead {
    max-width: 430px;
    font-size: 1.05rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-proof {
    max-width: 360px;
    margin-top: 22px;
  }

  .meta-chip {
    min-height: 34px;
    font-size: .82rem;
  }

  .hero-media {
    right: -210px;
    bottom: -190px;
    width: 620px;
    opacity: .54;
  }

  .device.primary {
    right: 202px;
    width: 210px;
    height: 455px;
  }

  .device.secondary {
    right: 54px;
    width: 192px;
    height: 416px;
  }

  .device.tertiary {
    display: none;
  }

  section {
    padding: 64px 18px;
  }

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

  .gallery-layout {
    gap: 26px;
  }

  .screen-copy {
    padding: 22px;
  }

  .screen-copy h2 {
    font-size: 1.95rem;
  }

  .screen-stage {
    grid-template-columns: minmax(230px, 330px);
    gap: 18px;
    min-height: auto;
    padding: 18px;
  }

  .caption-stack {
    display: none;
  }

  .phone-shot {
    width: min(100%, 330px);
    margin: 0 auto;
  }

  .primary-shot {
    transform: none;
  }

  .screen-preview-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .screen-preview {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 78px;
    padding: 8px 6px;
    font-size: .78rem;
    text-align: center;
  }

  .screen-preview img {
    width: 36px;
    height: 46px;
  }

  .closing {
    padding-bottom: 58px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner span {
    display: block;
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .nav-links a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 610px;
  }

  h1 {
    font-size: 2.8rem;
  }

  .button {
    width: 100%;
  }
}
