:root {
  --cream: #f7f1e8;
  --sand: #efe5d6;
  --charcoal: #3a4252;
  --muted: #6b7280;
  --periwinkle: #7c89c6;
  --periwinkle-dark: #4a5a99;
  --teal: #5fa8a3;
  --coral: #e58a86;
  --lavender: #c9b8e8;
  --border: #d4c9b8;
  --white: #fffaf2;
  --shadow: 0 24px 80px rgba(58, 66, 82, 0.16);
  --soft-shadow: 0 16px 44px rgba(58, 66, 82, 0.1);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(95, 168, 163, 0.2), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(229, 138, 134, 0.18), transparent 30rem),
    var(--cream);
  color: var(--charcoal);
  font-family: Nunito, Avenir, "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 241, 232, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212, 201, 184, 0.55);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.1rem;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(124, 137, 198, 0.3);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--periwinkle));
  box-shadow: 0 12px 28px rgba(124, 137, 198, 0.3);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--periwinkle-dark);
}

.hero,
.section,
.footer-inner,
.legal-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 58px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--periwinkle-dark);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--teal);
}

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

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 6vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

h1 .accent {
  background: linear-gradient(135deg, var(--teal), var(--periwinkle));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 20px;
}

.store-badge {
  min-width: 176px;
  min-height: 56px;
  padding: 9px 16px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0b0d12;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(58, 66, 82, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(58, 66, 82, 0.24);
}

.store-badge svg {
  flex: 0 0 auto;
}

.store-text {
  display: grid;
  line-height: 1.05;
}

.store-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.store-name {
  font-size: 1.25rem;
  font-weight: 900;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-row li {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.72);
  color: var(--charcoal);
  padding: 8px 13px;
  font-size: 0.9rem;
  font-weight: 800;
}

.phone-stage {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.hero-phone-stage {
  min-height: 470px;
}

.phone-stage::before,
.phone-stage::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.78;
}

.phone-stage::before {
  width: 300px;
  height: 300px;
  background: rgba(95, 168, 163, 0.23);
  right: -60px;
  top: 44px;
}

.phone-stage::after {
  width: 210px;
  height: 210px;
  background: rgba(229, 138, 134, 0.22);
  left: -60px;
  bottom: 64px;
}

.hero-phone-stage::before {
  width: 255px;
  height: 255px;
  right: -42px;
  top: 54px;
}

.hero-phone-stage::after {
  width: 175px;
  height: 175px;
  left: -44px;
  bottom: 76px;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(280px, 82vw);
  padding: 10px;
  border-radius: 44px;
  background: #10131a;
  box-shadow: var(--shadow);
}

.hero-phone-stage .phone-frame {
  width: min(235px, 72vw);
  padding: 8px;
  border-radius: 38px;
}

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

.hero-phone-stage .phone-frame::before {
  top: 15px;
  width: 78px;
  height: 23px;
}

.phone-frame img {
  width: 100%;
  border-radius: 34px;
}

.hero-phone-stage .phone-frame img {
  border-radius: 30px;
}

.floating-card {
  display: none;
}

.floating-card strong {
  display: block;
  margin-bottom: 4px;
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.section {
  padding: 76px 0;
}

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

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
}

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

.feature-card {
  padding: 28px;
  border: 1px solid rgba(212, 201, 184, 0.74);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, 0.68);
  box-shadow: 0 10px 34px rgba(58, 66, 82, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--periwinkle-dark);
  background: rgba(124, 137, 198, 0.1);
  border: 1px solid rgba(124, 137, 198, 0.28);
}

.feature-icon svg {
  width: 25px;
  height: 25px;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  color: #ad6667;
  background: rgba(229, 138, 134, 0.1);
  border-color: rgba(229, 138, 134, 0.3);
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
  color: #3f7f7b;
  background: rgba(95, 168, 163, 0.12);
  border-color: rgba(95, 168, 163, 0.3);
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
  line-height: 1.2;
}

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

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.screenshot-card {
  padding: 18px 18px 22px;
  border: 1px solid rgba(212, 201, 184, 0.74);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.72);
  box-shadow: var(--soft-shadow);
}

.mini-phone {
  position: relative;
  width: min(100%, 246px);
  margin: 0 auto 18px;
  padding: 8px;
  border-radius: 36px;
  background: #10131a;
}

.mini-phone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  width: 74px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050608;
  z-index: 2;
}

.mini-phone img {
  border-radius: 28px;
}

.screenshot-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.screenshot-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
  padding: 48px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(124, 137, 198, 0.14), rgba(95, 168, 163, 0.15));
  border: 1px solid rgba(212, 201, 184, 0.8);
}

.split-section h2 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.split-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.callout-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid rgba(212, 201, 184, 0.7);
  font-weight: 800;
}

.check-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
}

.stacked-phones {
  position: relative;
  min-height: 560px;
}

.stacked-phones .phone-frame {
  position: absolute;
  width: 245px;
}

.stacked-phones .phone-frame:first-child {
  left: 8%;
  top: 0;
  transform: rotate(-4deg);
}

.stacked-phones .phone-frame:last-child {
  right: 4%;
  bottom: 0;
  transform: rotate(5deg);
}

.download-panel {
  text-align: center;
  padding: 64px 28px;
  border-radius: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.22), transparent 18rem),
    linear-gradient(135deg, var(--teal), var(--periwinkle));
  box-shadow: var(--shadow);
}

.download-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.download-panel p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.download-panel .hero-actions {
  justify-content: center;
  margin: 0;
}

.site-footer {
  margin-top: 48px;
  padding: 44px 0;
  border-top: 1px solid rgba(212, 201, 184, 0.8);
  background: rgba(239, 229, 214, 0.45);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-weight: 800;
}

.footer-links a {
  color: var(--charcoal);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--periwinkle-dark);
}

.footer-note {
  max-width: 580px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--charcoal);
  color: #fff;
  box-shadow: 0 12px 28px rgba(58, 66, 82, 0.28);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.legal-hero {
  padding: 72px 0 28px;
  text-align: center;
}

.legal-hero h1 {
  margin-left: auto;
  margin-right: auto;
}

.legal-main {
  max-width: 900px;
  padding: 36px 0 80px;
}

.legal-card {
  padding: clamp(24px, 5vw, 54px);
  border-radius: 34px;
  background: rgba(255, 250, 242, 0.76);
  border: 1px solid rgba(212, 201, 184, 0.78);
  box-shadow: var(--soft-shadow);
}

.legal-card h2 {
  margin-top: 36px;
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

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

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 1.25rem;
}

.legal-card .updated {
  margin-bottom: 28px;
  font-weight: 900;
  color: var(--periwinkle-dark);
}

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

  .hero {
    padding-top: 56px;
  }

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

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

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

  .split-section {
    padding: 34px 22px;
  }

  .stacked-phones {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.88rem;
  }

  .nav-links a:nth-child(2),
  .nav-links a:nth-child(3) {
    display: none;
  }

  .hero {
    padding: 44px 0 48px;
    gap: 36px;
  }

  .hero-phone-stage {
    min-height: 390px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }

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

  .section {
    padding: 56px 0;
  }

  .stacked-phones {
    min-height: 780px;
  }

  .stacked-phones .phone-frame {
    position: relative;
    width: min(270px, 80vw);
    margin: 0 auto;
  }

  .stacked-phones .phone-frame:first-child,
  .stacked-phones .phone-frame:last-child {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }

  .stacked-phones .phone-frame + .phone-frame {
    margin-top: 28px;
  }
}
