:root {
  color-scheme: light;
  --ink: #282829;
  --muted: #565557;
  --line: #d9d4df;
  --page: #f4f2f7;
  --surface: #ffffff;
  --primary: #5500d3;
  --primary-dark: #310078;
  --accent: #982cd2;
  --green: #0f6b3f;
  --green-soft: #dff2e6;
  --sand: #f5e8c8;
  --gold: #f3c344;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(49, 0, 120, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(244, 242, 247, 0.9);
  border-bottom: 1px solid rgba(217, 212, 223, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: 96px;
  color: var(--primary-dark);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: auto;
  height: 42px;
}

.brand span {
  max-width: 86px;
  font-size: 0.82rem;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a,
.site-footer a,
.text-link {
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--primary);
}

.section,
.section-band {
  padding: clamp(64px, 10vw, 116px) clamp(20px, 5vw, 72px);
}

.section-band {
  background:
    radial-gradient(circle at 82% 18%, rgba(243, 195, 68, 0.2), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f4f2f7 48%, #e9dff8 100%);
}

.section-band.light {
  background:
    linear-gradient(90deg, rgba(223, 242, 230, 0.86), rgba(255, 255, 255, 0.92)),
    linear-gradient(135deg, #f8f7f4, #f4f2f7);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  min-height: calc(100vh - 77px);
  padding-top: clamp(38px, 6vw, 72px);
  padding-bottom: clamp(48px, 7vw, 84px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-size: clamp(3.6rem, 11vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 1.3rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.16rem, 2vw, 1.45rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 14px 28px rgba(85, 0, 211, 0.24);
}

.button.secondary {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.72);
}

.phone-stage {
  display: grid;
  place-items: center;
  min-height: min(650px, calc(100vh - 150px));
}

.app-screen {
  position: relative;
  width: min(100%, 292px);
  aspect-ratio: 1206 / 2622;
  margin: 0;
  overflow: hidden;
  background: #f4f2f7;
  border: 9px solid #1c1425;
  border-radius: 46px;
  box-shadow: var(--shadow);
}

.app-screen::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 36px;
}

.app-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.primary-screen img {
  transform: translateY(-1%);
}

.primary-screen {
  transform: rotate(1.5deg);
}

.secondary-screen {
  width: min(100%, 284px);
}

.section-heading {
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 222px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(40, 40, 41, 0.06);
}

.feature-card p,
.split-section p,
.policy p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

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

.stat-list div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 107, 63, 0.16);
  border-radius: var(--radius);
}

.stat-list strong,
.stat-list span {
  display: block;
}

.stat-list strong {
  color: var(--primary-dark);
  font-size: 1.12rem;
}

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

.product-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.6fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  background: #ffffff;
}

.flow-copy p {
  max-width: 640px;
  color: var(--muted);
}

.privacy-section {
  display: grid;
  grid-template-columns: 116px minmax(0, 760px);
  gap: 28px;
  align-items: center;
  background: #ffffff;
}

.app-mark img {
  width: 116px;
  height: 116px;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(49, 0, 120, 0.18);
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer span {
  margin-right: auto;
}

.policy-page {
  padding: clamp(48px, 9vw, 100px) clamp(20px, 5vw, 72px);
}

.policy {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.policy h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.policy h2 {
  margin-top: 36px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

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

  .hero {
    min-height: auto;
  }

  .phone-stage {
    min-height: auto;
  }

  .primary-screen {
    transform: none;
  }

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

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

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

  .site-footer span {
    margin-right: 0;
  }
}
