:root {
  --color-ink: #101828;
  --color-muted: #667085;
  --color-soft: #f7f9ff;
  --color-line: rgba(103, 117, 153, 0.16);
  --color-blue: #1677ff;
  --color-blue-deep: #0b63e5;
  --color-purple: #8b5cf6;
  --color-purple-soft: #ede9fe;
  --color-white: #ffffff;
  --shadow-soft: 0 24px 70px rgba(31, 56, 118, 0.14);
  --shadow-card: 0 18px 50px rgba(23, 45, 93, 0.1);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--color-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 8%, rgba(105, 161, 255, 0.34), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(174, 124, 255, 0.28), transparent 36rem),
    linear-gradient(180deg, #fbfdff 0%, #f4f7ff 45%, #ffffff 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(22, 119, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 800px;
  text-align: center;
}

.section {
  position: relative;
  padding: 108px 0;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--color-white);
  background: var(--color-ink);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 200ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(251, 253, 255, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(24px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-icon,
.app-badge img {
  display: grid;
  width: 44px;
  height: 44px;
  overflow: hidden;
  place-items: center;
  background: linear-gradient(145deg, #1677ff, #8b5cf6);
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.28);
}

.brand-icon img,
.app-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  color: rgba(16, 24, 40, 0.76);
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-blue-deep);
  background: rgba(22, 119, 255, 0.08);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-line);
  border-radius: 999px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-ink);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 76px);
  padding-top: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  margin-bottom: 28px;
  color: rgba(16, 24, 40, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(47, 65, 106, 0.1);
  backdrop-filter: blur(18px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-blue-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 8vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.tagline {
  max-width: 660px;
  margin-bottom: 18px;
  color: #31405f;
  font-size: clamp(1.28rem, 2.6vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.hero-description,
.section-heading p,
.problem p,
.companion-card p,
.premium-copy p,
.cta-card p,
.site-footer p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.hero-description {
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 22px 12px 18px;
  color: var(--color-white);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
  background: #070b16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(7, 11, 22, 0.24);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.app-store-button small {
  display: block;
  margin-bottom: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.74;
}

.app-store-button:hover,
.app-store-button:focus-visible {
  box-shadow: 0 24px 48px rgba(7, 11, 22, 0.28);
  transform: translateY(-3px);
}

.apple-mark svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.text-link {
  color: var(--color-blue-deep);
  font-weight: 900;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

.hero-proof span {
  padding: 8px 12px;
  color: rgba(16, 24, 40, 0.7);
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
}

.hero-visual {
  min-height: 650px;
}

.phone-stack {
  position: relative;
  height: 650px;
  isolation: isolate;
}

.phone {
  position: absolute;
  width: min(320px, 62vw);
  padding: 12px;
  background: linear-gradient(145deg, #111827, #2b3347);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 48px;
  box-shadow: 0 38px 90px rgba(28, 43, 91, 0.28);
}

.phone::before {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 2;
  width: 96px;
  height: 28px;
  content: "";
  background: #080b12;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-front {
  right: 8%;
  bottom: 0;
  z-index: 2;
  animation: floatPhone 7s ease-in-out infinite;
}

.phone-back {
  top: 24px;
  left: 4%;
  z-index: 1;
  opacity: 0.86;
  transform: rotate(-8deg) scale(0.88);
  animation: floatPhoneAlt 8s ease-in-out infinite;
}

.phone-frame {
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent),
    linear-gradient(160deg, #f8fbff, #eaf0ff);
  border-radius: 38px;
}

.phone-frame img,
.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.7;
}

.hero-glow-one {
  top: 90px;
  right: 12%;
  background: rgba(22, 119, 255, 0.18);
}

.hero-glow-two {
  right: -120px;
  bottom: 12%;
  background: rgba(139, 92, 246, 0.18);
}

.problem {
  padding-top: 52px;
}

.problem .narrow {
  padding: clamp(32px, 6vw, 64px);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

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

.feature-card,
.premium-panel,
.screenshot-card,
.companion-card,
.cta-card {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
}

.feature-card {
  min-height: 248px;
  padding: 26px;
  border-radius: var(--radius-lg);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.feature-card:hover {
  border-color: rgba(22, 119, 255, 0.22);
  box-shadow: 0 24px 60px rgba(22, 61, 140, 0.14);
  transform: translateY(-6px);
}

.feature-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.feature-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--color-blue-deep);
  font-size: 0.82rem;
  font-weight: 900;
  background: linear-gradient(145deg, rgba(22, 119, 255, 0.12), rgba(139, 92, 246, 0.14));
  border-radius: 16px;
}

.companion-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  padding: clamp(36px, 7vw, 74px);
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.companion-card > * {
  position: relative;
  z-index: 1;
}

.companion-card::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  z-index: 0;
  width: 360px;
  height: 360px;
  content: "";
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 68%);
}

.premium-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 44px;
  align-items: center;
}

.premium-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.premium-list li {
  position: relative;
  padding-left: 34px;
  color: #35445f;
  font-weight: 700;
}

.premium-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--color-white);
  font-size: 0.75rem;
  content: "✓";
  background: linear-gradient(145deg, var(--color-blue), var(--color-purple));
  border-radius: 999px;
}

.premium-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.premium-metric {
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.11), rgba(139, 92, 246, 0.12)),
    rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
}

.premium-metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--color-blue-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.premium-metric strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.screenshot-card {
  padding: 12px;
  margin: 0;
  border-radius: 34px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.screenshot-card:nth-child(even) {
  margin-top: 44px;
}

.screenshot-card:hover {
  box-shadow: 0 28px 70px rgba(31, 56, 118, 0.16);
  transform: translateY(-6px);
}

.screenshot-card img {
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(160deg, #f8fbff, #e9efff);
  border-radius: 26px;
}

.screenshot-card figcaption {
  padding: 16px 8px 6px;
  color: #344056;
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.02em;
}

.cta-card {
  display: grid;
  justify-items: center;
  max-width: 980px;
  padding: clamp(42px, 8vw, 86px);
  text-align: center;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 0%, rgba(22, 119, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.18), transparent 28rem),
    rgba(255, 255, 255, 0.7);
}

.cta-card p {
  max-width: 690px;
  margin-bottom: 28px;
}

.legal-hero {
  padding: 96px 0 44px;
}

.legal-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.legal-updated {
  display: inline-flex;
  padding: 8px 14px;
  margin-bottom: 0;
  color: var(--color-blue-deep);
  font-size: 0.9rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
}

.legal-content {
  padding-top: 44px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 0.82fr);
  gap: 28px;
  align-items: start;
}

.legal-summary,
.legal-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
}

.legal-summary {
  position: sticky;
  top: 112px;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.legal-summary h2,
.legal-card h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.legal-summary ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.legal-summary li {
  position: relative;
  padding-left: 26px;
  color: var(--color-muted);
  font-weight: 700;
}

.legal-summary li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: linear-gradient(145deg, var(--color-blue), var(--color-purple));
  border-radius: 999px;
}

.legal-card {
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-xl);
}

.legal-card h2 {
  margin-top: 38px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin-bottom: 0;
  color: #4d5c73;
}

.legal-card a,
.legal-summary a {
  color: var(--color-blue-deep);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid rgba(103, 117, 153, 0.12);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-links a {
  padding: 10px 12px;
  color: var(--color-muted);
  font-weight: 800;
  border-radius: 999px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-blue-deep);
  background: rgba(22, 119, 255, 0.08);
}

.copyright {
  padding-top: 26px;
}

.copyright p,
.site-footer p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes floatPhone {
  0%,
  100% {
    transform: translateY(0) rotate(4deg);
  }
  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}

@keyframes floatPhoneAlt {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg) scale(0.88);
  }
  50% {
    transform: translateY(14px) rotate(-6deg) scale(0.88);
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .premium-grid,
  .legal-layout,
  .companion-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-stack {
    height: 560px;
    max-width: 650px;
    margin-inline: auto;
  }

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

  .legal-summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .site-header {
    padding: 10px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: grid;
    padding: 12px;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translateY(-8px);
    backdrop-filter: blur(20px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone-stack {
    height: 520px;
  }

  .phone {
    width: min(285px, 68vw);
  }

  .phone-front {
    right: 2%;
  }

  .phone-back {
    left: 0;
  }

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

  .legal-hero {
    padding-top: 70px;
  }

  .screenshot-card:nth-child(even) {
    margin-top: 0;
  }

  .footer-grid {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.9rem, 17vw, 4.4rem);
  }

  .app-badge {
    align-items: flex-start;
    border-radius: 22px;
  }

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

  .app-store-button {
    justify-content: center;
  }

  .text-link {
    width: 100%;
    text-align: center;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    min-height: 440px;
  }

  .phone-stack {
    height: 440px;
  }

  .phone {
    border-radius: 38px;
  }

  .phone-frame {
    border-radius: 29px;
  }

  .phone::before {
    top: 20px;
    width: 76px;
    height: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
