:root {
  color-scheme: light;
  --bg: #f4f8ff;
  --bg-strong: #08111f;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-accent: linear-gradient(135deg, rgba(12, 66, 136, 0.94), rgba(77, 171, 247, 0.92));
  --surface-mint: linear-gradient(135deg, rgba(232, 248, 243, 0.96), rgba(213, 240, 255, 0.92));
  --border: rgba(18, 39, 74, 0.12);
  --border-strong: rgba(18, 39, 74, 0.22);
  --text: #102038;
  --text-soft: #53627c;
  --text-muted: #6d7b93;
  --brand: #1c73d3;
  --brand-strong: #0d3b82;
  --accent: #62c3ff;
  --mint: #57d4b5;
  --amber: #f7b85c;
  --shadow-lg: 0 28px 60px rgba(8, 17, 31, 0.14);
  --shadow-md: 0 18px 38px rgba(12, 30, 61, 0.12);
  --shadow-sm: 0 12px 24px rgba(12, 30, 61, 0.08);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(98, 195, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 80% 8%, rgba(87, 212, 181, 0.18), transparent 24rem),
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 46%, #f7fbff 100%);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(10, 25, 52, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 25, 52, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 82%);
  pointer-events: none;
}

.page-chrome {
  position: fixed;
  inset: 1rem;
  z-index: -1;
  border: 1px solid rgba(12, 30, 61, 0.06);
  border-radius: 36px;
  pointer-events: none;
}

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

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

p,
ul {
  margin-top: 0;
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0.9rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px);
  box-shadow: 0 12px 36px rgba(8, 17, 31, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(10, 27, 52, 0.18);
}

.brand span {
  display: grid;
  gap: 0.08rem;
}

.brand strong,
.site-nav a,
.button,
.feature-kicker,
.workflow-step span,
.visual-label,
.eyebrow {
  letter-spacing: -0.02em;
}

.brand strong,
.site-nav a,
h1,
h2,
h3,
.button {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
}

.brand small {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.nav-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, #111827, #08111f);
  box-shadow: 0 14px 24px rgba(8, 17, 31, 0.2);
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-download-link:hover,
.nav-download-link:focus-visible {
  transform: translateY(-1px);
  color: #ffffff !important;
}

.app-store-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0;
  border-radius: 0.9rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-store-badge img {
  display: block;
  width: 180px;
  height: auto;
}

.app-store-badge:hover,
.app-store-badge:focus-visible {
  transform: translateY(-1px);
}

.site-nav a:not(.nav-download-link):not(.app-store-badge):hover,
.site-nav a:not(.nav-download-link):not(.app-store-badge):focus-visible {
  color: var(--brand-strong);
}

.section {
  padding: 3.2rem 0;
}

.section-tight {
  padding-top: 1rem;
  padding-bottom: 2.2rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 2.6rem;
  align-items: center;
  padding-top: 4.25rem;
}

.hero-copy,
.hero-visual,
.feature-card,
.workflow-step,
.screen-card,
.privacy-callout,
.trust-strip,
.legal-summary,
.policy-section {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.hero-copy {
  position: relative;
  padding: 2.2rem;
  border-radius: var(--radius-xl);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(28, 115, 211, 0.11), transparent 52%),
    linear-gradient(145deg, rgba(87, 212, 181, 0.1), transparent 80%);
  pointer-events: none;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--brand-strong);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  font-size: 1.28rem;
}

.lead,
.section-heading p,
.privacy-callout p,
.feature-card p,
.workflow-step p,
.screen-card figcaption span,
.site-footer p,
.policy-section p,
.policy-list,
.trust-strip span,
.visual-card strong {
  color: var(--text-soft);
}

.lead {
  max-width: 41rem;
  margin: 1.2rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.88rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0d4ea0, #2f8cf2 70%, #6dc8ff);
  box-shadow: 0 18px 32px rgba(24, 105, 196, 0.24);
}

.button-secondary {
  color: var(--brand-strong);
  border-color: rgba(13, 59, 130, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(13, 59, 130, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 46rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
}

.hero-visual::before {
  top: -2rem;
  right: -1rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(98, 195, 255, 0.24), transparent 65%);
}

.hero-visual::after {
  bottom: 2rem;
  left: 0;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(87, 212, 181, 0.22), transparent 70%);
}

.visual-card {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 2;
  max-width: 19rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 1.35rem;
  background: rgba(8, 17, 31, 0.86);
  box-shadow: var(--shadow-md);
}

.visual-label {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.visual-card strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.phone-stack {
  position: absolute;
  inset: 0;
}

.phone-frame {
  position: absolute;
  overflow: hidden;
  aspect-ratio: 23 / 50;
  border: 10px solid #0b1525;
  border-radius: 2.4rem;
  box-shadow: var(--shadow-lg);
  background: #0b1525;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-frame-primary {
  right: 1.8rem;
  bottom: 1.8rem;
  width: min(21rem, 48%);
  transform: rotate(3deg);
}

.phone-frame-secondary {
  left: 2rem;
  bottom: 6.5rem;
  width: min(18rem, 42%);
  transform: rotate(-7deg);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
}

.trust-strip strong,
.privacy-points strong,
.screen-card figcaption strong,
.policy-section h2 {
  display: block;
  margin-bottom: 0.35rem;
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.section-heading p {
  max-width: 42rem;
  margin-bottom: 0;
}

.feature-grid,
.workflow-grid,
.screen-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-card {
  padding: 1.55rem;
  border-radius: var(--radius-lg);
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(13, 59, 130, 0.08);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.workflow-shell {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.97), rgba(12, 31, 59, 0.95));
  box-shadow: var(--shadow-lg);
}

.workflow-shell .section-heading .eyebrow,
.workflow-shell h2,
.workflow-shell p,
.workflow-step h3,
.workflow-step p,
.workflow-step span {
  color: rgba(255, 255, 255, 0.95);
}

.workflow-shell .section-heading p,
.workflow-step p {
  color: rgba(228, 236, 248, 0.72);
}

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

.workflow-step {
  min-height: 100%;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.workflow-step span {
  display: inline-flex;
  margin-bottom: 0.9rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.screen-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.35rem;
}

.screen-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 249, 255, 0.92));
}

.screen-card:last-child {
  grid-column: 1 / -1;
  width: min(100%, 34rem);
  margin-inline: auto;
}

.screen-visual {
  display: grid;
  place-items: center;
  padding: 1.2rem 1rem 0;
  background:
    radial-gradient(circle at top, rgba(98, 195, 255, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(240, 248, 255, 0.94), rgba(255, 255, 255, 0.75));
}

.screen-card img {
  width: 100%;
  height: auto;
  border: 8px solid #0b1525;
  border-bottom: 0;
  border-radius: 2rem 2rem 0 0;
  box-shadow: 0 18px 34px rgba(12, 30, 61, 0.18);
}

.screen-card figcaption {
  padding: 1.15rem 1.2rem 1.3rem;
}

.privacy-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) auto;
  gap: 1.3rem;
  align-items: center;
  padding: 1.7rem;
  border-radius: var(--radius-xl);
}

.privacy-points {
  display: grid;
  gap: 0.95rem;
}

.privacy-points div {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(13, 59, 130, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.1rem 2rem;
  align-items: end;
  margin-top: 1rem;
  padding: 1.9rem 0 2.8rem;
  border-top: 1px solid rgba(18, 39, 74, 0.08);
}

.footer-brand {
  display: grid;
  gap: 0.18rem;
}

.footer-brand p {
  margin-bottom: 0;
  max-width: 34rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}

.footer-links a,
.footer-meta {
  color: var(--text-muted);
}

.footer-meta {
  margin: 0.12rem 0 0;
  font-size: 0.92rem;
}

.legal-main {
  display: grid;
  gap: 1rem;
  padding-bottom: 2rem;
}

.legal-hero {
  padding-top: 4rem;
}

.legal-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--surface-mint);
}

.legal-summary strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--brand-strong);
}

.legal-summary span {
  color: var(--text-soft);
}

.policy-section {
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
}

.policy-section a {
  color: var(--brand-strong);
}

.policy-list {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 620ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .privacy-callout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 38rem;
  }

  .trust-strip,
  .feature-grid,
  .workflow-grid,
  .screen-grid,
  .legal-summary {
    grid-template-columns: 1fr 1fr;
  }

  .phone-frame-primary {
    width: min(20rem, 48%);
  }

  .phone-frame-secondary {
    width: min(16.5rem, 40%);
  }

  .site-footer {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .page-chrome {
    inset: 0.5rem;
    border-radius: 24px;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    border-radius: 26px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .nav-download-link {
    margin-top: 0.15rem;
  }

  .section {
    padding: 2rem 0;
  }

  .hero {
    gap: 1.3rem;
    padding-top: 2rem;
  }

  .hero-copy,
  .hero-visual,
  .workflow-shell,
  .privacy-callout,
  .policy-section {
    padding: 1.25rem;
  }

  .h1,
  h1 {
    max-width: 100%;
  }

  .trust-strip,
  .feature-grid,
  .workflow-grid,
  .screen-grid,
  .legal-summary {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 1rem;
  }

  .phone-stack {
    position: relative;
    inset: auto;
    display: grid;
    justify-items: center;
  }

  .phone-frame {
    position: relative;
    transform: none;
    border-width: 9px;
    border-radius: 2.15rem;
  }

  .phone-frame-primary {
    right: auto;
    bottom: auto;
    width: min(21rem, 86vw);
  }

  .phone-frame-secondary {
    display: none;
  }

  .visual-card {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    max-width: none;
    margin-bottom: 1rem;
  }

  .screen-card {
    grid-template-columns: minmax(8.5rem, 9.5rem) minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    min-width: 0;
  }

  .screen-visual {
    padding: 0.9rem 0.45rem 0.9rem 0.9rem;
    align-self: stretch;
  }

  .screen-card img {
    width: 100%;
    border: 0;
    border-radius: 1.3rem;
    height: auto;
    box-shadow: 0 14px 28px rgba(12, 30, 61, 0.16);
  }

  .screen-card figcaption {
    padding: 1rem 1rem 1rem 0.25rem;
  }
}

@media (max-width: 480px) {
  .screen-card {
    grid-template-columns: minmax(7.75rem, 8.5rem) minmax(0, 1fr);
  }

  .screen-card:last-child {
    grid-column: auto;
    width: auto;
    margin-inline: 0;
  }

  .screen-card img {
    height: auto;
  }

  .screen-card figcaption {
    padding-right: 0.9rem;
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .button {
    transition: none;
  }
}
