:root {
  --paper: #f5f5f7;
  --surface: #ffffff;
  --surface-alt: #fbfbfd;
  --ink: #1d1d1f;
  --ink-2: #50545c;
  --ink-3: #7b8088;
  --rule: #dedee5;
  --me: #0163db;
  --me-text: #0152b8;
  --partner: #ff0084;
  --partner-text: #d40071;
  --completion: #ffbd00;
  --completion-text: #8c6500;
  --dark: #19191d;
  --radius: 14px;
  --radius-small: 10px;
  --shadow-soft: 0 20px 70px rgba(29, 29, 31, 0.12);
  --shadow-phone: 0 28px 80px rgba(29, 29, 31, 0.22);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img,
video {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-shell {
  overflow: clip;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 222, 229, 0.72);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

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

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

.button,
.nav-links a.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.button:hover,
.nav-links a.button:hover {
  background: #09090b;
  color: var(--surface);
  transform: translateY(-1px);
}

.button:active {
  transform: scale(0.98);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--rule);
}

.button.secondary:hover {
  background: var(--surface-alt);
}

.hero {
  background: var(--paper);
  min-height: calc(100svh - 66px);
  padding: 72px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 58px;
  align-items: start;
}

.hero-copy {
  padding-top: 18px;
}

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

.hero h1,
.section-title,
.legal-hero h1 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 690px;
  font-size: 86px;
  font-weight: 850;
}

.hero-copy > p:not(.eyebrow):not(.download-note) {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: 22px;
  line-height: 1.36;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.download-note {
  max-width: 460px;
  margin: 12px 0 0;
  color: var(--ink-3);
  font-size: 14px;
}

.hero-media {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.hero-phone {
  width: clamp(240px, 32vw, 360px);
  border-radius: 38px;
  padding: 9px;
  background: #050505;
  box-shadow: var(--shadow-phone);
}

.hero-phone video,
.video-shell video {
  width: 100%;
  border-radius: 30px;
  background: #f1f1f4;
}

.assignment-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 40px rgba(29, 29, 31, 0.1);
}

.assignment-strip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 750;
}

.token {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--me);
}

.token.partner {
  background: var(--partner);
}

.token.both {
  background: var(--completion);
}

.section {
  padding: 96px 0;
}

.how-it-works,
.quiet-section,
.trust-band {
  background: var(--surface);
}

.work-grid,
.video-grid,
.trust-grid,
.widget-grid,
.cta-inner,
.section-header {
  display: grid;
  gap: 64px;
}

.work-grid {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  align-items: center;
}

.screen-stack {
  position: relative;
  min-height: 610px;
}

.screen {
  width: 272px;
  border-radius: 30px;
  box-shadow: var(--shadow-phone);
}

.screen-main {
  position: absolute;
  top: 0;
  left: 20px;
}

.screen-float {
  position: absolute;
  right: 8px;
  bottom: 0;
  width: 218px;
  box-shadow: 0 20px 60px rgba(29, 29, 31, 0.16);
}

.section-header {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.68fr);
  align-items: end;
  margin-bottom: 48px;
}

.section-header.compact {
  margin-bottom: 38px;
}

.section-title {
  font-size: 62px;
  font-weight: 850;
}

.section-copy {
  margin: 0;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.48;
}

.steps {
  max-width: 680px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}

.step:first-of-type {
  margin-top: 26px;
}

.step span,
.widget-points span {
  color: #c7c7cf;
  font-size: 34px;
  font-weight: 850;
  line-height: 1;
}

.step h3,
.feature-list h3,
.widget-points h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.step p,
.feature-list p,
.widget-points p,
.trust-card p {
  margin: 7px 0 0;
  color: var(--ink-2);
  font-size: 16px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}

.feature-list article {
  padding: 28px 28px 30px 0;
  border-bottom: 1px solid var(--rule);
}

.feature-list article:nth-child(3n + 2),
.feature-list article:nth-child(3n + 3) {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}

.video-section {
  background: var(--paper);
}

.video-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  align-items: center;
}

.video-shell {
  width: clamp(220px, 28vw, 320px);
  justify-self: center;
  border-radius: 36px;
  padding: 9px;
  background: #050505;
  box-shadow: var(--shadow-phone);
}

.widget-grid {
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  align-items: center;
}

.widget-grid > img {
  width: min(100%, 330px);
  justify-self: center;
  border-radius: 30px;
  box-shadow: var(--shadow-phone);
}

.widget-points {
  display: grid;
  gap: 0;
}

.widget-points article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}

.widget-points p {
  grid-column: 2;
}

.screen-gallery {
  background: var(--paper);
  overflow: hidden;
}

.asset-rail {
  display: flex;
  gap: 18px;
  padding: 6px max(24px, calc((100vw - 1120px) / 2)) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.asset-rail::-webkit-scrollbar {
  display: none;
}

.asset-panel {
  flex: 0 0 242px;
  margin: 0;
  scroll-snap-align: center;
}

.asset-panel img {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 18px 54px rgba(29, 29, 31, 0.14);
}

.trust-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 1fr);
}

.trust-card {
  padding: 30px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.trust-list,
.legal-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 15px 0;
  color: var(--ink-2);
  border-top: 1px solid var(--rule);
  font-size: 16px;
}

.trust-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.trust-list strong {
  color: var(--ink);
}

.trust-card p {
  margin-top: 18px;
}

.cta,
.footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--dark);
}

.cta-inner {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.cta h2 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: 66px;
  line-height: 1;
  letter-spacing: 0;
}

.cta p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.cta .button {
  background: #ffffff;
  color: var(--ink);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .brand {
  color: #ffffff;
}

.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.footer-made {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-align: center;
}

.footer a {
  text-decoration: none;
}

.legal-hero {
  padding: 96px 0 44px;
  background: var(--surface);
}

.legal-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 19px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 64px;
  align-items: start;
  padding: 52px 0 110px;
}

.legal-nav {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 8px;
}

.legal-nav a {
  padding: 10px 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.legal-card {
  padding: 46px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-card h2,
.faq-section h2 {
  margin: 42px 0 12px;
  font-size: 24px;
  letter-spacing: 0;
}

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

.legal-card p,
.legal-card li,
.faq-answer {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.66;
}

.legal-card li {
  position: relative;
  padding: 8px 0 8px 24px;
}

.legal-card li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--me);
}

.legal-card strong {
  color: var(--ink);
}

.callout {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--me);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: var(--surface-alt);
}

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

.faq-section {
  margin-bottom: 48px;
}

.faq-item {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 58px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
}

.category-nav {
  position: sticky;
  top: 66px;
  z-index: 10;
  padding: 12px 0;
  background: rgba(245, 245, 247, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}

.category-nav .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav .container::-webkit-scrollbar {
  display: none;
}

.category-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

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

@media (max-width: 960px) {
  .hero-grid,
  .work-grid,
  .video-grid,
  .trust-grid,
  .widget-grid,
  .cta-inner,
  .section-header,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    max-width: 700px;
    font-size: 64px;
  }

  .hero-media {
    justify-items: start;
  }

  .screen-stack {
    min-height: 560px;
    max-width: 510px;
  }

  .video-shell {
    justify-self: start;
  }

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

  .feature-list article:nth-child(n) {
    padding-left: 0;
    border-left: 0;
  }

  .feature-list article:nth-child(2n) {
    padding-left: 24px;
    border-left: 1px solid var(--rule);
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .topbar-inner {
    min-height: 60px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .button,
  .nav-links a.button {
    min-height: 44px;
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    padding: 42px 0 54px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-copy > p:not(.eyebrow):not(.download-note) {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
  }

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

  .hero-phone {
    width: min(74vw, 310px);
  }

  .assignment-strip {
    max-width: 100%;
    overflow-x: auto;
  }

  .section {
    padding: 72px 0;
  }

  .section-title,
  .cta h2,
  .legal-hero h1 {
    font-size: 40px;
  }

  .section-header {
    gap: 22px;
  }

  .screen-stack {
    min-height: 460px;
  }

  .screen {
    width: 220px;
  }

  .screen-main {
    left: 0;
  }

  .screen-float {
    width: 174px;
  }

  .step,
  .widget-points article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .widget-points p {
    grid-column: auto;
  }

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

  .feature-list article:nth-child(n) {
    padding: 22px 0;
    border-left: 0;
  }

  .widget-grid > img {
    width: min(78vw, 300px);
  }

  .asset-panel {
    flex-basis: 210px;
  }

  .trust-card,
  .legal-card {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
  }
}
