:root {
  --bg: #050507;
  --surface: #111116;
  --surface-2: #17171f;
  --text: #f7f5fb;
  --muted: #aaa5b2;
  --purple: #a548db;
  --purple-light: #c777f0;
  --blue: #5468ff;
  --max: 1180px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 7, .54);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.site-header.scrolled { background: rgba(5, 5, 7, .7); }

.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 20px; font-weight: 750; letter-spacing: -.03em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--purple);
  color: var(--text);
  font-weight: 800;
}
.nav-links .nav-cta:hover { color: var(--text); }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 55px;
  background: rgba(255,255,255,.07);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.button.primary { background: var(--purple); }
.button svg { width: 21px; height: 21px; fill: currentColor; }
.button small { color: rgba(255,255,255,.7); font-size: 10px; line-height: 1; text-transform: uppercase; letter-spacing: .08em; }
.button span { display: grid; gap: 2px; text-align: left; font-size: 15px; line-height: 1.05; }
.button.disabled { cursor: default; }

.hero { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: 72px; padding: 72px 0 96px; overflow: hidden; }
.hero h1 { max-width: 760px; margin: 22px 0; font-family: var(--font-display); font-size: clamp(46px, 5.9vw, 78px); font-weight: 750; line-height: 1.02; letter-spacing: 0; }
.purple-text { color: var(--purple); }
.hero-heading-link {
  text-decoration-line: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .12em;
}
.hero-heading-link:hover { color: var(--purple-light); }
.hero-copy > p { max-width: 620px; margin: 0 0 32px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; letter-spacing: -.01em; }
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.micro { margin-top: 19px; color: #77727f; font-size: 13px; }

.hero-art { position: relative; min-height: 640px; display: grid; place-items: center; }
.phone { position: absolute; width: 286px; overflow: hidden; border-radius: 48px; background: #000; box-shadow: 0 38px 90px rgba(0,0,0,.75); }
.phone img { width: 100%; }
.phone.one { z-index: 2; transform: translate(-74px, 10px) rotate(-6deg); }
.phone.two { z-index: 1; transform: translate(120px, 54px) rotate(7deg); opacity: .72; }

.trust { background: rgba(255,255,255,.018); }
.trust-row { min-height: 118px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.trust-item { padding: 24px 42px; }
.trust-item:first-child { padding-left: 0; }
.trust-item strong { display: block; margin-bottom: 7px; font-size: 17px; }
.trust-item span { color: var(--muted); font-size: 14px; }

.section { padding: 140px 0; }
.section-heading { max-width: 720px; margin-bottom: 64px; }
.section-heading h2 { margin: 13px 0 18px; font-family: var(--font-display); font-size: clamp(42px, 6vw, 70px); font-weight: 740; line-height: 1.03; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 19px; line-height: 1.6; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 260px; padding: 30px; border-radius: 24px; background: rgba(255,255,255,.045); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 48px; border-radius: 14px; background: rgba(165,72,219,.12); color: var(--purple-light); }
.feature-icon svg { width: 24px; height: 24px; fill: currentColor; }
.feature-card h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.screens-section { overflow: hidden; }
.screens { display: flex; gap: 24px; overflow-x: auto; padding: 12px max(20px, calc((100vw - var(--max)) / 2)) 34px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.screen-card { flex: 0 0 min(330px, 75vw); scroll-snap-align: center; overflow: hidden; border-radius: 34px; background: #08080b; }
.screen-card img { width: 100%; }

.intelligent-notes {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(430px, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}

.section-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--purple-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.notes-copy h2 {
  max-width: 650px;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.8vw, 68px);
  font-weight: 740;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.notes-copy p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.notes-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.notes-points span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(199, 119, 240, .24);
  border-radius: 999px;
  background: rgba(165, 72, 219, .1);
  color: #ecd8f8;
  font-size: 13px;
  font-weight: 750;
}

.notes-gallery {
  min-height: 640px;
  position: relative;
}

.note-shot {
  position: absolute;
  width: min(295px, 44vw);
  margin: 0;
  overflow: hidden;
  border-radius: 38px;
  background: #08080b;
  box-shadow: 0 30px 80px rgba(0,0,0,.65);
}

.note-shot img { width: 100%; }

.note-shot-main {
  z-index: 2;
  left: 0;
  top: 0;
  transform: rotate(-4deg);
}

.note-shot-secondary {
  right: 0;
  bottom: 0;
  opacity: .92;
  transform: rotate(5deg);
}

.privacy-block { position: relative; overflow: hidden; padding: 70px; border-radius: 34px; background: rgba(165,72,219,.09); }
.privacy-block h2 { position: relative; z-index: 1; max-width: 700px; margin: 16px 0; font-family: var(--font-display); font-size: clamp(42px, 6vw, 72px); font-weight: 740; line-height: 1.03; letter-spacing: -.035em; }
.privacy-block p { position: relative; z-index: 1; max-width: 640px; color: #c2bdc8; font-size: 18px; line-height: 1.65; }
.privacy-block .button { position: relative; z-index: 1; margin-top: 15px; }

.credits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding: 0 0 42px;
}

.credits h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.credits p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.credits-list {
  max-width: 760px;
}

.cta { padding: 120px 20px; text-align: center; }
.cta-logo { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 26px; }
.cta h2 { max-width: 800px; margin: 0 auto 18px; font-family: var(--font-display); font-size: clamp(44px, 7vw, 78px); font-weight: 740; line-height: 1.03; letter-spacing: -.038em; }
.cta p { margin: 0 auto 30px; color: var(--muted); font-size: 19px; }

.site-footer { overflow: hidden; padding: 44px 0 52px; }
.site-footer.has-wordmark { padding-bottom: 0; }
.footer-row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a, .copyright { color: #85808b; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-wordmark {
  margin: 22px auto -28px;
  color: rgba(165, 72, 219, .16);
  font-family: var(--font-display);
  font-size: clamp(104px, 24vw, 330px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: 0;
  text-align: left;
  user-select: none;
  pointer-events: none;
  width: min(calc(100% - 40px), var(--max));
}

.footer-wordmark span {
  display: inline-block;
  transform: translateY(34px);
  opacity: .45;
}

.footer-wordmark.is-visible span {
  animation: footer-letter-bounce .82s cubic-bezier(.2, .8, .25, 1.2) both;
}

.footer-wordmark.is-visible span:nth-child(2) { animation-delay: .08s; }
.footer-wordmark.is-visible span:nth-child(3) { animation-delay: .16s; }
.footer-wordmark.is-visible span:nth-child(4) { animation-delay: .24s; }
.footer-wordmark.is-visible span:nth-child(5) { animation-delay: .32s; }

@keyframes footer-letter-bounce {
  0% {
    transform: translateY(34px);
    opacity: .45;
  }
  48% {
    transform: translateY(-16px);
    opacity: 1;
  }
  68% {
    transform: translateY(7px);
  }
  84% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.legal-page { min-height: 100vh; }
.legal-hero { padding: 110px 0 24px; text-align: center; }
.legal-hero h1 { margin: 0 0 15px; font-family: var(--font-display); font-size: clamp(46px, 7vw, 76px); font-weight: 740; letter-spacing: -.038em; }
.legal-hero p { margin: 0; color: var(--muted); font-size: 16px; }
.legal-content { width: min(calc(100% - 40px), 780px); margin: 0 auto; padding: 72px 0 120px; color: #c3bec9; font-size: 16px; line-height: 1.75; }
.legal-content h2 { margin: 48px 0 10px; color: var(--text); font-size: 25px; letter-spacing: -.03em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content a { color: var(--purple-light); }
.legal-content ul { padding-left: 22px; }
.legal-note { padding: 0; background: transparent; }
.support-card { padding: 28px; margin: 28px 0; border-radius: 20px; background: var(--surface); }

.research-list {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
  padding: 54px 0 120px;
}

.research-quote {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
}

.research-quote blockquote {
  margin: 34px 0 0;
  padding: 30px;
  border-radius: 24px;
  background: rgba(165,72,219,.08);
}

.research-quote p {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.25;
}

.research-quote cite {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.research-card {
  display: block;
  padding: 30px;
  border-radius: 24px;
  background: rgba(255,255,255,.045);
  text-decoration: none;
  transition: background .2s ease;
}

.research-card:hover {
  background: rgba(165,72,219,.075);
}

.post-meta {
  display: block;
  margin-bottom: 14px;
  color: var(--purple-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.research-card h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
}

.research-card p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.research-post {
  width: min(calc(100% - 40px), 780px);
  margin: 0 auto;
  padding: 58px 0 120px;
  color: #c3bec9;
  font-size: 18px;
  line-height: 1.78;
}

.research-post p {
  margin: 0 0 24px;
}

.research-post ul {
  margin: 0 0 30px;
  padding-left: 22px;
}

.research-post li {
  margin: 8px 0;
}

.research-post a {
  color: var(--purple-light);
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--purple-light);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 64px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-art { min-height: 630px; }
  .features { grid-template-columns: 1fr; }
  .feature-card { min-height: 210px; }
  .feature-icon { margin-bottom: 34px; }
  .intelligent-notes { grid-template-columns: 1fr; }
  .notes-gallery { min-height: 610px; max-width: 580px; width: 100%; margin-inline: auto; }
  .note-shot { width: min(290px, 52vw); }
  .trust-row { grid-template-columns: 1fr; padding: 10px 0; }
  .trust-item, .trust-item:first-child { padding: 20px 0; }
  .privacy-block { padding: 48px 34px; }
  .credits { gap: 16px; padding-bottom: 26px; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav { height: 66px; gap: 12px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 13px; }
  .nav-links a:not(.nav-research):not(.nav-cta) { display: none; }
  .nav-links .nav-cta { min-height: 36px; padding: 0 14px; }
  .hero { min-height: auto; padding: 66px 0 54px; }
  .hero h1 { margin: 18px 0; font-size: clamp(38px, 13vw, 58px); }
  .hero-copy > p { font-size: 17px; }
  .actions { justify-content: center; }
  .hero-art { min-height: 490px; margin-top: 18px; }
  .phone { width: 218px; border-radius: 36px; }
  .phone.one { transform: translate(-48px, 0) rotate(-5deg); }
  .phone.two { transform: translate(83px, 40px) rotate(7deg); }
  .section { padding: 92px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading p { font-size: 17px; }
  .screen-card { flex-basis: 78vw; border-radius: 26px; }
  .notes-copy p { font-size: 17px; }
  .notes-gallery { min-height: 510px; }
  .note-shot { width: min(230px, 58vw); border-radius: 30px; }
  .note-shot-main { left: 0; }
  .note-shot-secondary { right: 0; }
  .privacy-block { padding: 38px 25px; border-radius: 25px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-links { gap: 16px 22px; }
  .footer-wordmark { width: min(calc(100% - 28px), var(--max)); margin-top: 32px; margin-bottom: -8px; font-size: clamp(86px, 28vw, 150px); }
  .legal-hero { padding: 76px 0 42px; }
  .legal-content { padding-top: 50px; }
  .research-quote { width: min(calc(100% - 28px), 860px); }
  .research-quote blockquote { padding: 24px; border-radius: 20px; }
  .research-quote p { font-size: 23px; }
  .research-list { width: min(calc(100% - 28px), 860px); padding-top: 36px; }
  .research-card { padding: 24px; border-radius: 20px; }
  .research-card h2 { font-size: 30px; }
  .research-post { width: min(calc(100% - 28px), 780px); padding-top: 42px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .footer-wordmark span { transform: none; opacity: 1; }
  .footer-wordmark.is-visible span { animation: none; }
}
