:root {
  color-scheme: dark;
  --bg: #02050a;
  --bg-2: #06101a;
  --bg-3: #0b1623;
  --card: rgba(12, 18, 29, 0.76);
  --card-strong: rgba(17, 27, 42, 0.92);
  --card-soft: rgba(156, 221, 255, 0.075);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.11);
  --text: #f5fbff;
  --muted: #a7b8c7;
  --muted-2: #6f8497;
  --line: rgba(161, 225, 255, 0.18);
  --line-strong: rgba(161, 225, 255, 0.34);
  --blue: #9cddff;
  --blue-2: #68caff;
  --blue-3: #2faeff;
  --mint: #80ffd2;
  --green: #8fffbd;
  --yellow: #ffe483;
  --orange: #ffb267;
  --red: #ff7a8a;
  --shadow: rgba(80, 199, 255, 0.26);
  --shadow-strong: rgba(80, 199, 255, 0.42);
  --radius: 30px;
  --radius-lg: 42px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% -8%, rgba(156, 221, 255, 0.20), transparent 26rem),
    radial-gradient(circle at 86% 8%, rgba(128, 255, 210, 0.10), transparent 28rem),
    radial-gradient(circle at 50% 46%, rgba(47, 174, 255, 0.09), transparent 42rem),
    linear-gradient(180deg, #02050a 0%, #07111d 44%, #02050a 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.8) 40%, transparent 88%);
  opacity: .75;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 12rem);
  mix-blend-mode: screen;
  opacity: .38;
}

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

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

::selection {
  background: rgba(156, 221, 255, 0.28);
  color: #fff;
}

.background-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(78px);
  opacity: 0.28;
  z-index: -1;
  animation: floatGlow 9s ease-in-out infinite alternate;
}

.background-glow-one {
  top: 9rem;
  left: -8rem;
  background: var(--blue-2);
}

.background-glow-two {
  bottom: 5rem;
  right: -10rem;
  background: var(--mint);
  animation-delay: -3s;
}

@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(28px, -18px, 0) scale(1.08); }
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(12, 20, 31, 0.86), rgba(4, 9, 15, 0.74));
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 14px;
  z-index: 20;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.045em;
  font-size: 1.16rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 0 26px rgba(156, 221, 255, 0.32), inset 0 0 0 1px rgba(255,255,255,.10);
}

.brand span {
  background: linear-gradient(135deg, #ffffff, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: rgba(156, 221, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(156, 221, 255, 0.13);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(156, 221, 255, 0.08);
  border-radius: 14px;
  padding: 9px;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 99px;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 56px;
  padding: 82px 0 46px;
}

.eyebrow {
  width: fit-content;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  font-size: 0.76rem;
  margin: 0 0 16px;
  padding: 9px 12px;
  border: 1px solid rgba(156, 221, 255, 0.16);
  border-radius: 999px;
  background: rgba(156, 221, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

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

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.91;
  letter-spacing: -0.09em;
  margin-bottom: 24px;
}

.hero h1,
.split-section h2,
.section-heading h2,
.cta h2,
.document-card h1 {
  background: linear-gradient(135deg, #ffffff 5%, #dff5ff 36%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.75;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.app-store-button,
.secondary-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  position: relative;
  overflow: hidden;
}

.app-store-button::before,
.secondary-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.28) 45%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.app-store-button:hover::before,
.secondary-button:hover::before {
  transform: translateX(120%);
}

.app-store-button {
  gap: 12px;
  padding: 11px 23px 11px 16px;
  background: linear-gradient(135deg, #f9fdff 0%, #bdeaff 38%, #73d1ff 100%);
  color: #03101a;
  box-shadow: 0 20px 70px var(--shadow), inset 0 1px 0 rgba(255,255,255,.9);
  font-weight: 900;
}

.app-store-button:hover,
.secondary-button:hover {
  transform: translateY(-3px);
}

.apple-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #02101a;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.app-store-button small,
.app-store-button strong {
  display: block;
  line-height: 1.05;
  position: relative;
}

.app-store-button small {
  font-size: 0.72rem;
  opacity: 0.75;
}

.app-store-button strong {
  font-size: 1.15rem;
}

.secondary-button {
  padding: 0 22px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.secondary-button:hover {
  border-color: var(--line-strong);
  background: rgba(156, 221, 255, 0.09);
}

.hero-visual {
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.phone-card {
  width: min(440px, 100%);
  aspect-ratio: 0.72;
  border: 1px solid rgba(156, 221, 255, 0.22);
  border-radius: 50px;
  background:
    radial-gradient(circle at 50% 0%, rgba(156, 221, 255, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.10), transparent 24%),
    rgba(6, 13, 22, 0.92);
  box-shadow:
    0 55px 140px rgba(0, 0, 0, 0.52),
    0 0 110px rgba(98, 200, 255, 0.20),
    inset 0 1px 0 rgba(255,255,255,.10);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transform: rotateX(4deg) rotateY(-7deg);
}

.phone-card::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 116px;
  height: 30px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  z-index: 3;
}

.phone-card::after {
  content: "Scan • Log • Track";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 24px;
  height: 56px;
  border: 1px solid rgba(156, 221, 255, 0.16);
  border-radius: 22px;
  background: rgba(1, 6, 12, 0.72);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .05em;
  font-size: .75rem;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05);
}

.phone-card img {
  width: 64%;
  margin: 34px auto 24px;
  border-radius: 36px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 76px rgba(156, 221, 255, 0.28);
}

.metric-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(156, 221, 255, 0.16);
  border-radius: 24px;
  background: rgba(3, 9, 15, 0.64);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.metric-row::before {
  content: "Today";
  position: absolute;
  top: -12px;
  left: 18px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #07111d;
  color: var(--mint);
  font-size: .68rem;
  font-weight: 900;
  border: 1px solid rgba(128,255,210,.2);
}

.metric-row strong {
  color: var(--text);
  font-size: 1.46rem;
}

.mini-bars {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  height: 96px;
  padding: 16px;
  border: 1px solid rgba(156, 221, 255, 0.16);
  border-radius: 24px;
  display: flex;
  align-items: end;
  gap: 14px;
  background: rgba(3, 9, 15, 0.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.mini-bars span {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), rgba(156, 221, 255, 0.18));
  box-shadow: 0 0 18px rgba(156,221,255,.20);
}

.mini-bars span:nth-child(2) {
  background: linear-gradient(180deg, var(--green), rgba(143, 255, 189, 0.18));
}

.mini-bars span:nth-child(3) {
  background: linear-gradient(180deg, var(--yellow), rgba(255, 228, 131, 0.18));
}

.mini-bars span:nth-child(4) {
  background: linear-gradient(180deg, #c2abff, rgba(194,171,255,.16));
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 0 82px;
}

.feature-strip article,
.document-card,
.screenshot-card,
.cta,
.split-section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card), rgba(7, 13, 22, 0.72));
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow: 0 26px 86px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,.055);
}

.feature-strip article {
  border-radius: 28px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-strip article::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: .5;
}

.feature-strip article:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 35, 54, 0.82), rgba(7, 13, 22, 0.74));
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: rgba(156, 221, 255, 0.105);
  border: 1px solid rgba(156, 221, 255, 0.13);
  margin-bottom: 18px;
  font-size: 1.35rem;
  box-shadow: 0 12px 35px rgba(80,199,255,.10), inset 0 1px 0 rgba(255,255,255,.06);
}

.feature-strip h2,
.screenshot-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.feature-strip p,
.screenshot-card p,
.section-heading p,
.cta p,
.document-card p,
.document-card li {
  color: var(--muted);
  line-height: 1.72;
}

.split-section {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 54px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 86px;
  position: relative;
  overflow: hidden;
}

.split-section::before,
.cta::before,
.document-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 0%, rgba(156,221,255,.13), transparent 22rem);
  pointer-events: none;
}

.split-section > *,
.cta > *,
.document-card > * {
  position: relative;
}

.split-section h2,
.section-heading h2,
.cta h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list p {
  margin: 0;
  color: var(--text);
  padding: 16px;
  border: 1px solid rgba(156, 221, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.check-list span {
  color: var(--mint);
  font-weight: 900;
  margin-right: 10px;
}

.screenshots {
  padding-bottom: 90px;
}

.section-heading {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 34px;
}

.section-heading .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

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

.screenshot-card {
  min-height: 550px;
  border-radius: 44px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
}

.screenshot-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px 126px;
  border: 1px dashed rgba(156, 221, 255, 0.28);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 12%, rgba(156, 221, 255, 0.15), transparent 9rem),
    linear-gradient(180deg, rgba(156, 221, 255, 0.10), rgba(156, 221, 255, 0.015));
}

.screenshot-card::after {
  content: "App screenshot placeholder";
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100% - 60px);
  padding: 10px 14px;
  border: 1px solid rgba(156, 221, 255, 0.16);
  border-radius: 999px;
  color: var(--muted);
  font-size: .78rem;
  background: rgba(2, 8, 15, 0.72);
}

.screenshot-card span {
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 12px;
}

.cta {
  border-radius: var(--radius-lg);
  padding: clamp(34px, 6vw, 66px);
  text-align: center;
  margin-bottom: 82px;
  position: relative;
  overflow: hidden;
}

.cta .app-store-button {
  margin-top: 14px;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(12, 20, 31, 0.76), rgba(4, 9, 15, 0.70));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover,
.document-card a:hover {
  color: var(--blue);
}

.policy-page,
.support-page {
  padding: 70px 0 82px;
}

.document-card {
  max-width: 930px;
  margin: 0 auto;
  border-radius: 36px;
  padding: clamp(26px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}

.document-card h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  margin-bottom: 14px;
}

.document-card h2 {
  margin-top: 38px;
  font-size: 1.35rem;
  color: var(--text);
}

.document-card ul {
  padding-left: 22px;
}

.document-card li {
  margin: 8px 0;
}

.effective-date {
  color: var(--blue) !important;
}

.contact-box {
  margin: 34px 0;
  padding: 24px;
  border: 1px solid rgba(156, 221, 255, 0.18);
  border-radius: 24px;
  background: rgba(156, 221, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.contact-box a {
  color: var(--blue);
  font-weight: 800;
}

.help-topics ul {
  list-style: none;
  padding: 0;
}

.help-topics li {
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid rgba(156, 221, 255, 0.10);
  position: relative;
}

.help-topics li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-copy {
    text-align: left;
  }

  .phone-card {
    transform: none;
  }

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

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

  .screenshot-card {
    min-height: 420px;
  }

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

@media (max-width: 720px) {
  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    border-radius: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    text-align: center;
  }

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

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .hero {
    gap: 38px;
    padding-bottom: 34px;
  }

  .phone-card {
    border-radius: 38px;
    padding: 22px;
  }

  .phone-card::after {
    left: 22px;
    right: 22px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    padding-bottom: 64px;
  }

  .document-card {
    border-radius: 28px;
  }
}
