:root {
  color-scheme: light;
  --bg: #fffafa;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-soft: #f5f3f6;
  --surface-strong: #ece9ee;
  --text: #111114;
  --muted: #67636d;
  --subtle: #918c96;
  --line: rgba(17, 17, 20, 0.1);
  --brand: #ef1d3d;
  --brand-dark: #b50b70;
  --brand-soft: #ffe5ea;
  --brand-softer: #fff1f4;
  --success: #20b96a;
  --shadow-sm: 0 12px 36px rgba(40, 18, 31, 0.08);
  --shadow-md: 0 28px 80px rgba(40, 18, 31, 0.14);
  --shadow-phone: 0 40px 110px rgba(27, 10, 20, 0.24);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-xl: 52px;
  --container: 1180px;
  --header-h: 78px;
  --gradient: linear-gradient(135deg, #f01d63 0%, #ef1d3d 46%, #aa0b71 100%);
  --gradient-soft: linear-gradient(135deg, rgba(239, 29, 61, 0.13), rgba(181, 11, 112, 0.08));
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070708;
  --surface: rgba(28, 28, 31, 0.88);
  --surface-solid: #1c1c1f;
  --surface-soft: #202023;
  --surface-strong: #2d2d31;
  --text: #f8f7f8;
  --muted: #aaa5af;
  --subtle: #7f7a85;
  --line: rgba(255, 255, 255, 0.11);
  --brand-soft: #42151f;
  --brand-softer: #1f1014;
  --shadow-sm: 0 14px 40px rgba(0, 0, 0, 0.26);
  --shadow-md: 0 30px 90px rgba(0, 0, 0, 0.42);
  --shadow-phone: 0 40px 110px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 3%, rgba(239, 29, 61, 0.075), transparent 30rem),
    radial-gradient(circle at 88% 10%, rgba(181, 11, 112, 0.07), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(239, 29, 61, 0.22);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transition: transform 0.2s ease;
}

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

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

.narrow {
  width: min(calc(100% - 40px), 800px);
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section.compact {
  padding: 76px 0;
}

.section.alt {
  position: relative;
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.section-gradient {
  background:
    radial-gradient(circle at 85% 20%, rgba(239, 29, 61, 0.14), transparent 24rem),
    radial-gradient(circle at 15% 80%, rgba(181, 11, 112, 0.1), transparent 30rem),
    var(--surface-soft);
  border-block: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(239, 29, 61, 0.12);
  content: "";
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3.15rem, 7.7vw, 6.8rem);
  max-width: 940px;
}

h2 {
  font-size: clamp(2.5rem, 5.4vw, 5rem);
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.13;
}

h4 {
  font-size: 1.15rem;
  line-height: 1.25;
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.13rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.section-heading {
  display: grid;
  gap: 22px;
  max-width: 880px;
  margin-bottom: 56px;
}

.section-heading.center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.gradient-text {
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(20, 8, 13, 0.05);
}

.header-inner {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.22rem;
  font-weight: 820;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  background: var(--surface-solid);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.theme-icon-sun,
html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-icon-sun {
  display: block;
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 12px 28px rgba(239, 29, 61, 0.23);
}

.btn-primary:hover {
  box-shadow: 0 17px 36px rgba(239, 29, 61, 0.3);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-solid);
}

.btn-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.92rem;
}

.btn svg {
  width: 19px;
  height: 19px;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: 840px;
  padding: 98px 0 70px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -28rem;
  right: -22rem;
  width: 61rem;
  height: 61rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 29, 61, 0.17), rgba(181, 11, 112, 0.04) 48%, transparent 69%);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(410px, 0.94fr);
  align-items: center;
  gap: 42px;
}

.hero-copy {
  display: grid;
  gap: 28px;
  padding: 16px 0 70px;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(3.7rem, 6vw, 5.6rem);
}

.hero-copy .lead {
  max-width: 690px;
}

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

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 2px;
}

.note-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 670;
}

.note-chip svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.hero-visual {
  position: relative;
  height: 670px;
}

.hero-orb {
  position: absolute;
  top: 8%;
  right: -6%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(0);
  opacity: 0.92;
}

.hero-orb::after {
  position: absolute;
  inset: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: inherit;
  content: "";
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 270px;
  border: 8px solid color-mix(in srgb, var(--text) 87%, transparent);
  border-radius: 49px;
  background: #000;
  box-shadow: var(--shadow-phone);
  transform-origin: 50% 80%;
}

.phone img {
  width: 100%;
  height: auto;
}

.phone-main {
  z-index: 3;
  top: 4px;
  right: 90px;
  width: 300px;
  transform: rotate(1.5deg);
}

.phone-left {
  z-index: 2;
  top: 130px;
  left: -18px;
  width: 240px;
  transform: rotate(-8deg);
}

.phone-right {
  z-index: 1;
  top: 165px;
  right: -92px;
  width: 225px;
  transform: rotate(10deg);
}

.floating-label {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  color: #171317;
  font-size: 0.88rem;
  font-weight: 750;
  backdrop-filter: blur(14px);
}

.floating-label svg {
  width: 18px;
  color: var(--brand);
}

.floating-label.one {
  top: 73px;
  left: 26px;
}

.floating-label.two {
  right: 0;
  bottom: 72px;
}

.logo-cloud {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 20px 0 0;
  color: var(--subtle);
  font-size: 0.86rem;
  font-weight: 720;
  letter-spacing: 0.03em;
  text-align: center;
}

.logo-cloud .divider {
  width: 1px;
  height: 24px;
  background: var(--line);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.stat {
  display: grid;
  gap: 7px;
  padding: 29px 30px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

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

.step-card,
.feature-card,
.value-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.step-card {
  display: grid;
  min-height: 300px;
  align-content: start;
  gap: 19px;
  padding: 32px;
}

.step-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 850;
}

.step-card p,
.feature-card p,
.value-card p {
  color: var(--muted);
}

.step-card::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--gradient-soft);
  content: "";
}

.swipe-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  margin-top: 84px;
}

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

.phone-stage::before {
  position: absolute;
  width: min(90%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.14;
  content: "";
}

.phone-static {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: min(76%, 350px);
  border: 8px solid color-mix(in srgb, var(--text) 88%, transparent);
  border-radius: 52px;
  background: #000;
  box-shadow: var(--shadow-phone);
}

.phone-static img {
  width: 100%;
}

.phone-static.tilt-left {
  transform: rotate(-4deg);
}

.phone-static.tilt-right {
  transform: rotate(4deg);
}

.copy-stack {
  display: grid;
  gap: 26px;
}

.check-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--muted);
}

.check-list .check {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
}

.check-list .check svg {
  width: 15px;
  height: 15px;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.screen-collage {
  position: relative;
  min-height: 760px;
}

.screen-card {
  position: absolute;
  overflow: hidden;
  width: 260px;
  border: 7px solid color-mix(in srgb, var(--text) 88%, transparent);
  border-radius: 45px;
  background: #000;
  box-shadow: var(--shadow-phone);
}

.screen-card img {
  width: 100%;
}

.screen-card:nth-child(1) {
  z-index: 4;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
}

.screen-card:nth-child(2) {
  z-index: 2;
  top: 120px;
  left: 0;
  width: 225px;
  transform: rotate(-8deg);
}

.screen-card:nth-child(3) {
  z-index: 3;
  top: 150px;
  right: 0;
  width: 230px;
  transform: rotate(8deg);
}

.screen-card:nth-child(4) {
  z-index: 1;
  right: 26%;
  bottom: 0;
  width: 210px;
  transform: rotate(3deg);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
}

.tag.active {
  border-color: transparent;
  background: var(--brand);
  color: white;
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 82px;
}

.feature-split.reverse .feature-visual {
  order: 2;
}

.feature-split.reverse .copy-stack {
  order: 1;
}

.feature-visual {
  position: relative;
  display: grid;
  min-height: 690px;
  place-items: center;
}

.feature-visual::before {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  background: var(--gradient-soft);
  content: "";
  transform: rotate(-4deg);
}

.dual-phone {
  position: relative;
  width: 100%;
  min-height: 690px;
}

.dual-phone .phone-static {
  position: absolute;
  width: 310px;
}

.dual-phone .phone-static:first-child {
  z-index: 2;
  top: 20px;
  left: 9%;
  transform: rotate(-5deg);
}

.dual-phone .phone-static:last-child {
  z-index: 1;
  right: 6%;
  bottom: 0;
  transform: rotate(6deg);
}

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

.feature-card,
.value-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 30px;
}

.icon-tile {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 17px;
  background: var(--brand-soft);
  color: var(--brand);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

.privacy-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 82px;
}

.privacy-points {
  display: grid;
  gap: 14px;
}

.privacy-point {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.privacy-point svg {
  width: 25px;
  color: var(--brand);
}

.privacy-point strong {
  display: block;
  line-height: 1.28;
}

.privacy-point span {
  color: var(--muted);
  font-size: 0.9rem;
}

.mode-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(90deg, #f6f4f7 0 50%, #0b0b0c 50% 100%);
  box-shadow: var(--shadow-md);
}

.mode-side {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.mode-side .phone-static {
  width: 300px;
  border-color: #161618;
}

.mode-label {
  position: absolute;
  top: 25px;
  left: 30px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  color: #111;
  font-size: 0.84rem;
  font-weight: 780;
  backdrop-filter: blur(12px);
}

.mode-side.dark .mode-label {
  background: rgba(31,31,34,0.82);
  color: white;
}

.disclosure-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(239, 29, 61, 0.2);
  border-radius: var(--radius-md);
  background: var(--brand-softer);
}

.disclosure-box .icon-tile {
  margin-top: 2px;
}

.disclosure-box p {
  color: var(--muted);
}

.partner-banner {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: var(--radius-xl);
  background: #111113;
  color: white;
  box-shadow: var(--shadow-md);
}

.partner-banner::after {
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(2px);
  opacity: 0.72;
  content: "";
}

.partner-banner-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 42px;
}

.partner-banner .eyebrow {
  color: #ff7f94;
}

.partner-banner .eyebrow::before {
  background: #ff7f94;
}

.partner-banner p {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255,255,255,0.73);
  font-size: 1.12rem;
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: linear-gradient(var(--text),var(--text)) center/12px 2px no-repeat,
              linear-gradient(var(--text),var(--text)) center/2px 12px no-repeat;
  content: "";
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--muted);
}

.cta-section {
  padding: 105px 0;
}

.cta-card {
  display: grid;
  justify-items: center;
  gap: 25px;
  padding: 80px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 115%, rgba(239, 29, 61, 0.19), transparent 45%),
    var(--surface);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.cta-card p {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.14rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.site-footer {
  padding: 66px 0 34px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-soft) 72%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.65fr);
  gap: 40px;
}

.footer-brand {
  display: grid;
  gap: 16px;
  max-width: 380px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.93rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column strong {
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.footer-column a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.78rem;
}

.footer-bottom p {
  max-width: 800px;
}

/* Partners page */
.page-hero {
  position: relative;
  overflow: clip;
  padding: 105px 0 90px;
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -250px;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,29,61,0.19), transparent 68%);
  content: "";
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}

.page-hero-copy {
  display: grid;
  gap: 28px;
}

.page-hero h1 {
  font-size: clamp(3.2rem, 5.4vw, 5rem);
}

.partner-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fact-card {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.fact-card small {
  color: var(--subtle);
  font-size: 0.74rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact-card strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

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

.partner-hero-visual .phone-static {
  position: absolute;
  width: 315px;
}

.partner-hero-visual .phone-static:first-child {
  z-index: 2;
  top: 0;
  left: 4%;
  transform: rotate(-5deg);
}

.partner-hero-visual .phone-static:last-child {
  z-index: 1;
  top: 48px;
  right: 0;
  width: 280px;
  transform: rotate(7deg);
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
  gap: 10px;
}

.flow-step {
  position: relative;
  display: grid;
  min-height: 168px;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  text-align: center;
}

.flow-step:not(:last-child)::after {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: -17px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-solid);
  color: var(--brand);
  content: "→";
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 22px;
}

.flow-step .icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.flow-step strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

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

.placement-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.placement-image {
  overflow: hidden;
  max-height: 410px;
  background: var(--surface-strong);
}

.placement-image img {
  width: 100%;
  transition: transform 0.4s ease;
}

.placement-card:hover .placement-image img {
  transform: scale(1.025);
}

.placement-copy {
  display: grid;
  gap: 9px;
  padding: 22px;
}

.placement-copy p {
  color: var(--muted);
  font-size: 0.91rem;
}

.integration-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 72px;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 17px;
  padding-bottom: 27px;
}

.timeline-marker {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 850;
}

.timeline-item:not(:last-child) .timeline-marker::after {
  position: absolute;
  top: 48px;
  bottom: -24px;
  left: 50%;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-copy {
  display: grid;
  gap: 7px;
  padding-top: 4px;
}

.timeline-copy p {
  color: var(--muted);
}

.publisher-card {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.publisher-card-header {
  padding: 28px;
  background: var(--gradient);
  color: white;
}

.publisher-card-header p {
  margin-top: 8px;
  color: rgba(255,255,255,0.78);
}

.publisher-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 15px;
  padding: 18px 25px;
  border-bottom: 1px solid var(--line);
}

.publisher-row:last-of-type {
  border-bottom: 0;
}

.publisher-row dt {
  color: var(--subtle);
  font-size: 0.84rem;
  font-weight: 720;
}

.publisher-row dd {
  margin: 0;
  font-size: 0.91rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.publisher-actions {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-top: 1px solid var(--line);
}

/* Legal and contact */
.document-hero {
  padding: 90px 0 45px;
}

.document-hero h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.document-meta {
  margin-top: 20px;
  color: var(--muted);
}

.prose {
  padding: 35px 0 100px;
}

.prose article {
  display: grid;
  gap: 34px;
}

.prose section {
  display: grid;
  gap: 15px;
}

.prose h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.prose h3 {
  margin-top: 8px;
  font-size: 1.15rem;
}

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

.prose ul,
.prose ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 1.3rem;
}

.prose a {
  color: var(--brand);
}

.legal-callout {
  padding: 22px;
  border-left: 4px solid var(--brand);
  border-radius: 0 18px 18px 0;
  background: var(--brand-softer);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 60px;
}

.contact-cards {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.contact-card .icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-card a {
  font-weight: 740;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 17px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.87rem;
  font-weight: 720;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  background: var(--surface-solid);
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input,
.field select {
  height: 52px;
  padding: 0 15px;
}

.field textarea {
  min-height: 160px;
  padding: 14px 15px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(239, 29, 61, 0.11);
}

.form-note {
  color: var(--subtle);
  font-size: 0.78rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(.22,.8,.2,1);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 17px;
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-copy h1 {
    max-width: 920px;
  }

  .hero-visual {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .onboarding-grid,
  .feature-split,
  .privacy-panel,
  .integration-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .feature-split.reverse .feature-visual,
  .feature-split.reverse .copy-stack {
    order: initial;
  }

  .screen-collage {
    width: min(100%, 650px);
    margin-inline: auto;
  }

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

  .flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-step:nth-child(3)::after {
    display: none;
  }

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

  .partner-hero-visual {
    width: min(100%, 690px);
    margin-inline: auto;
  }

  .publisher-card {
    position: static;
  }
}

@media (max-width: 840px) {
  :root {
    --header-h: 70px;
  }

  .section {
    padding: 82px 0;
  }

  .main-nav {
    gap: 10px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .nav-links {
    position: fixed;
    z-index: 90;
    inset: var(--header-h) 0 auto;
    display: grid;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    border-bottom: 1px solid transparent;
    background: color-mix(in srgb, var(--bg) 95%, transparent);
    opacity: 0;
    backdrop-filter: blur(20px);
    transition: max-height 0.28s ease, opacity 0.2s ease, border-color 0.2s ease;
  }

  .nav-links.is-open {
    max-height: 420px;
    border-color: var(--line);
    opacity: 1;
  }

  .nav-links a {
    padding: 17px 24px;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-size: 1rem;
  }

  .header-cta {
    display: none;
  }

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

  .swipe-showcase {
    gap: 20px;
  }

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

  .partner-banner {
    padding: 46px 32px;
  }

  .partner-banner-content {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .mode-showcase {
    min-height: 610px;
  }

  .mode-side .phone-static {
    width: 245px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 660px) {
  body {
    font-size: 16px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

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

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.25rem);
  }

  h2 {
    font-size: clamp(2.3rem, 11vw, 3.7rem);
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-copy {
    gap: 22px;
  }

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

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

  .hero-visual {
    height: 535px;
    margin-top: 18px;
  }

  .hero-orb {
    top: 9%;
    right: -20%;
    width: 390px;
    height: 390px;
  }

  .phone-main {
    top: 0;
    right: 13%;
    width: 235px;
  }

  .phone-left {
    top: 112px;
    left: -38px;
    width: 183px;
  }

  .phone-right {
    top: 132px;
    right: -54px;
    width: 175px;
  }

  .floating-label.one {
    top: 22px;
    left: 0;
  }

  .floating-label.two {
    right: 0;
    bottom: 18px;
  }

  .logo-cloud {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .logo-cloud .divider {
    display: none;
  }

  .stats-strip {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .stat,
  .stat:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .step-card {
    min-height: 0;
  }

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

  .phone-static {
    width: min(82%, 320px);
  }

  .onboarding-grid {
    gap: 30px;
  }

  .screen-collage {
    min-height: 580px;
  }

  .screen-card {
    width: 205px;
  }

  .screen-card:nth-child(2),
  .screen-card:nth-child(3) {
    width: 175px;
  }

  .screen-card:nth-child(4) {
    width: 165px;
  }

  .feature-visual,
  .dual-phone {
    min-height: 580px;
  }

  .dual-phone .phone-static {
    width: 235px;
  }

  .dual-phone .phone-static:first-child {
    left: 0;
  }

  .dual-phone .phone-static:last-child {
    right: 0;
  }

  .card-grid,
  .placement-grid {
    grid-template-columns: 1fr;
  }

  .mode-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
    background: none;
  }

  .mode-side {
    min-height: 570px;
  }

  .mode-side:first-child {
    background: #f5f3f6;
  }

  .mode-side.dark {
    background: #0b0b0c;
  }

  .mode-side .phone-static {
    width: 260px;
  }

  .partner-banner {
    padding: 38px 24px;
    border-radius: 32px;
  }

  .cta-card {
    padding: 58px 22px;
    border-radius: 34px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
  }

  .page-hero {
    padding: 70px 0 55px;
  }

  .partner-facts {
    grid-template-columns: 1fr;
  }

  .partner-hero-visual {
    min-height: 570px;
  }

  .partner-hero-visual .phone-static:first-child {
    width: 245px;
    left: 0;
  }

  .partner-hero-visual .phone-static:last-child {
    width: 220px;
  }

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

  .flow-step:nth-child(2)::after,
  .flow-step:nth-child(4)::after {
    display: none;
  }

  .flow-step:nth-child(3)::after {
    display: block;
  }

  .publisher-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .brand span {
    display: none;
  }

  .header-inner {
    gap: 8px;
  }

  .hero-visual {
    height: 490px;
  }

  .phone-main {
    right: 10%;
    width: 215px;
  }

  .phone-left {
    width: 160px;
  }

  .phone-right {
    width: 150px;
  }

  .floating-label {
    padding: 9px 12px;
    font-size: 0.76rem;
  }

  .screen-collage {
    min-height: 520px;
  }

  .screen-card {
    width: 185px;
  }

  .screen-card:nth-child(2),
  .screen-card:nth-child(3) {
    width: 150px;
  }

  .screen-card:nth-child(4) {
    width: 140px;
  }

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

  .flow-step::after {
    display: none !important;
  }

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

/* ========================================================================== 
   Screenshot layout stability fixes
   Keeps every app capture at its original 720 × 1565 proportion and prevents
   visual compositions from escaping into adjacent sections.
   ========================================================================== */

.hero,
.page-hero,
.section,
.section-gradient,
.section.alt {
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

.hero-grid > *,
.page-hero-grid > *,
.onboarding-grid > *,
.feature-split > *,
.privacy-panel > * {
  min-width: 0;
}

.hero-visual,
.phone-stage,
.screen-collage,
.feature-visual,
.dual-phone,
.partner-hero-visual,
.mode-showcase,
.mode-side {
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

.phone,
.phone-static,
.screen-card {
  flex: 0 0 auto;
  max-width: 100%;
}

.phone img,
.phone-static img,
.screen-card img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 720 / 1565;
  object-fit: contain;
  object-position: center;
}

/* Hero: keep the three screens inside one defined stage. */
.hero-visual {
  height: 700px;
  min-height: 700px;
}

.hero-orb {
  top: 50%;
  right: 50%;
  width: min(92%, 500px);
  height: auto;
  aspect-ratio: 1;
  transform: translate(50%, -50%);
}

.phone-main {
  top: 18px;
  right: auto;
  left: 50%;
  width: 282px;
  transform: translateX(-50%) rotate(0.5deg);
}

.phone-left {
  top: 150px;
  left: 0;
  width: 178px;
  transform: rotate(-4deg);
}

.phone-right {
  top: 150px;
  right: 0;
  width: 178px;
  transform: rotate(4deg);
}

/* General single-phone stages. */
.phone-stage,
.feature-visual {
  min-height: 650px;
}

.phone-stage .phone-static,
.feature-visual > .phone-static {
  width: min(72%, 282px);
}

/* Onboarding: a restrained three-screen composition that never crosses its section. */
.screen-collage {
  min-height: 650px;
}

.screen-card {
  border-width: 6px;
}

.screen-card:nth-child(1) {
  top: 20px;
  left: 50%;
  width: 238px;
  transform: translateX(-50%) rotate(0);
}

.screen-card:nth-child(2) {
  top: 164px;
  left: 0;
  width: 164px;
  transform: rotate(-3deg);
}

.screen-card:nth-child(3) {
  top: 164px;
  right: 0;
  width: 164px;
  transform: rotate(3deg);
}

.screen-card:nth-child(4) {
  display: none;
}

/* Saved/reviewed products: side-by-side instead of stacked absolute screens. */
.dual-phone {
  display: flex;
  min-height: 610px;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.dual-phone .phone-static,
.dual-phone .phone-static:first-child,
.dual-phone .phone-static:last-child {
  position: relative;
  inset: auto;
  width: min(calc(50% - 9px), 242px);
  transform: none;
}

/* Light/dark comparison. */
.mode-showcase {
  min-height: 640px;
}

.mode-side .phone-static {
  width: min(72%, 264px);
}

/* Advertiser page hero. */
.partner-hero-visual {
  display: flex;
  min-height: 610px;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.partner-hero-visual .phone-static,
.partner-hero-visual .phone-static:first-child,
.partner-hero-visual .phone-static:last-child {
  position: relative;
  inset: auto;
  width: min(calc(50% - 9px), 246px);
  transform: none;
}

@media (max-width: 1080px) {
  .hero-visual {
    width: min(100%, 680px);
  }

  .phone-left {
    left: 8%;
  }

  .phone-right {
    right: 8%;
  }

  .screen-collage {
    width: min(100%, 610px);
  }
}

@media (max-width: 660px) {
  .hero-visual {
    height: 560px;
    min-height: 560px;
  }

  .hero-orb {
    width: min(105%, 410px);
  }

  .phone-main {
    top: 10px;
    width: min(72vw, 246px);
  }

  .phone-left,
  .phone-right {
    display: none;
  }

  .floating-label.one {
    top: 48px;
    left: 0;
  }

  .floating-label.two {
    right: 0;
    bottom: 34px;
  }

  .phone-stage,
  .feature-visual {
    min-height: 590px;
  }

  .phone-stage .phone-static,
  .feature-visual > .phone-static {
    width: min(76vw, 270px);
  }

  .screen-collage {
    min-height: 570px;
  }

  .screen-card:nth-child(1) {
    width: min(66vw, 224px);
  }

  .screen-card:nth-child(2) {
    top: 148px;
    left: -12px;
    width: min(42vw, 145px);
  }

  .screen-card:nth-child(3) {
    top: 148px;
    right: -12px;
    width: min(42vw, 145px);
  }

  .dual-phone {
    min-height: 590px;
  }

  .dual-phone .phone-static,
  .dual-phone .phone-static:first-child {
    width: min(76vw, 270px);
  }

  .dual-phone .phone-static:last-child {
    display: none;
  }

  .mode-showcase {
    min-height: 0;
  }

  .mode-side {
    min-height: 590px;
  }

  .mode-side .phone-static {
    width: min(76vw, 270px);
  }

  .partner-hero-visual {
    min-height: 590px;
  }

  .partner-hero-visual .phone-static,
  .partner-hero-visual .phone-static:first-child {
    width: min(76vw, 270px);
  }

  .partner-hero-visual .phone-static:last-child {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    height: 530px;
    min-height: 530px;
  }

  .screen-collage {
    min-height: 535px;
  }

  .screen-card:nth-child(2),
  .screen-card:nth-child(3) {
    width: 132px;
  }
}
