:root {
  --ink: #17151f;
  --ink-soft: #5e5870;
  --paper: #f6f1e8;
  --paper-2: #fffdf9;
  --brand: #5770e4;
  --brand-2: #7b8fed;
  --brand-deep: #2d3fbf;
  --brand-dark: #071e92;
  --lavender: #e8ebfc;
  --blush: #f4e3ff;
  --line: rgba(23, 21, 31, 0.1);
  --shadow: 0 24px 60px rgba(39, 48, 120, 0.14);
  --radius: 28px;
  --header: 76px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(1200px 620px at 8% -12%, #e4e8ff 0%, transparent 55%),
    radial-gradient(900px 520px at 100% 0%, #f4e3ff 0%, transparent 48%),
    var(--paper);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(87, 112, 228, 0.18);
}

h1,
h2,
.display {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
}

.italic {
  font-style: italic;
  font-weight: 480;
  color: var(--brand-deep);
}

.lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 42ch;
}

.legal-main a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(var(--max), calc(100% - 24px));
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header);
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 30px rgba(23, 21, 31, 0.06);
}

.site-header.is-scrolled {
  background: rgba(255, 253, 249, 0.92);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.12rem;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

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

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(87, 112, 228, 0.08);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(87, 112, 228, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 16px 8px 14px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23, 21, 31, 0.18);
}

.store-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.store-btn small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.72;
  line-height: 1;
}

.store-btn strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.store-btn.light {
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  padding: 48px 0 32px;
}

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

.hero h1 {
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  margin: 16px 0 18px;
}

.hero .lede {
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-art {
  position: relative;
  min-height: 640px;
}

.app-phone {
  width: 292px;
  background: #11131a;
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 28px 60px rgba(23, 21, 31, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.app-screen {
  height: 600px;
  background: #f0f2f5;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #2f2f2f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
}

.app-status {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px 4px;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.app-header strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.3px;
}

.app-header small {
  display: block;
  color: #666;
  font-size: 12px;
  text-transform: capitalize;
}

.app-iconbtn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f2f5;
  display: grid;
  place-items: center;
  color: #5770e4;
  font-size: 14px;
}

.app-scroll {
  flex: 1;
  overflow: hidden;
  padding: 10px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  border: 2px solid #d2d9fd;
}

.av-lg { width: 48px; height: 48px; font-size: 15px; border-width: 3px; }
.av-xl { width: 72px; height: 72px; font-size: 22px; border-width: 4px; border-color: #fff; box-shadow: 0 0 0 3px #d2d9fd; }
.av-a { background: #5770e4; }
.av-b { background: #7b8fed; }
.av-c { background: #4d63c9; }
.av-d { background: #071e92; }

.feed-card, .pcard, .medcard {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(87, 112, 228, 0.05);
}

.feed-top, .prow, .medcard {
  display: flex;
  gap: 10px;
  align-items: center;
}

.feed-top b, .prow b, .medcard b { display: block; font-size: 14px; }
.feed-top p, .prow em, .medcard small, .medcard em {
  margin: 2px 0 0;
  color: #666;
  font-size: 11px;
  font-style: normal;
}

.prow em { font-style: italic; }
.feed-top em { color: #5770e4; font-style: normal; font-weight: 700; }

.tag { font-weight: 700; }
.tag-ok { color: #00a32b; }
.tag-vit { color: #e74c6f; }
.tag-note { color: #5770e4; }
.tag-task { color: #00a32b; }

.med-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
}

.tick, .box.on {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #00a32b;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}

.chip-ok {
  display: inline-block;
  margin-top: 10px;
  background: #e7f8ea;
  color: #157a32;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
}

.vchips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.vchips span {
  background: #e8ebfc;
  color: #2d3fbf;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
}

.note { margin: 10px 0 0; line-height: 1.45; font-size: 13px; }

.app-composer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 10px 8px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  color: #999;
  font-size: 12px;
}

.send {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #5770e4;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.app-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid #ebebeb;
  padding: 6px 0 10px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.app-tabs span {
  display: grid;
  justify-items: center;
  gap: 2px;
}
.app-tabs span::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
.app-tabs span:nth-child(1) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 3 11h2v9h6v-6h2v6h6v-9h2z'/%3E%3C/svg%3E"); }
.app-tabs span:nth-child(2) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm6-1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM4 19c.4-2.6 2.5-4 5-4s4.6 1.4 5 4H4zm8.2 0c-.2-1.5-1.1-2.8-2.4-3.5 1.2-.3 2.5-.5 3.7-.5 2.8 0 4.9 1.3 5.5 4h-6.8z'/%3E%3C/svg%3E"); }
.app-tabs span:nth-child(3) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h10a2 2 0 0 1 2 2v16l-7-3-7 3V5a2 2 0 0 1 2-2zm2 5v2h6V8H9z'/%3E%3C/svg%3E"); }
.app-tabs span:nth-child(4) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 8a4 4 0 1 0 .01 8.01A4 4 0 0 0 12 8zm8.4 3-1.7-.3a6.7 6.7 0 0 0-.6-1.4l1-1.4-1.4-1.4-1.4 1a6.7 6.7 0 0 0-1.4-.6L14.6 4h-2.2l-.3 1.7a6.7 6.7 0 0 0-1.4.6l-1.4-1-1.4 1.4 1 1.4c-.3.4-.5.9-.6 1.4L4.6 11v2.2l1.7.3c.1.5.3 1 .6 1.4l-1 1.4 1.4 1.4 1.4-1c.4.3.9.5 1.4.6l.3 1.7h2.2l.3-1.7c.5-.1 1-.3 1.4-.6l1.4 1 1.4-1.4-1-1.4c.3-.4.5-.9.6-1.4l1.7-.3V11z'/%3E%3C/svg%3E"); }
.app-iconbtn { font-size: 0; }
.app-iconbtn::before {
  content: "";
  width: 16px;
  height: 16px;
  background: #5770e4;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 8a4 4 0 1 0 .01 8.01A4 4 0 0 0 12 8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 8a4 4 0 1 0 .01 8.01A4 4 0 0 0 12 8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.achips { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0 8px; }
.a {
  color: #fff;
  border-radius: 14px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 700;
}
.a1 { background: #5770e4; }
.a2 { background: #ff9500; }
.a3 { background: #7b8fed; }
.a4 { background: #00a32b; }
.a5 { background: #b612f6; }

.chev {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8ebfc;
  color: #5770e4;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.chev.down { align-self: center; }

.slot { margin-top: 8px; padding-top: 8px; border-top: 1px solid #f0f0f0; }
.tlabel { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #666; margin-bottom: 6px; }
.tlabel i { width: 8px; height: 8px; border-radius: 50%; background: #5770e4; }
.erow { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; background: #f8f9ff; margin-bottom: 6px; }
.erow.done { background: #f3fbf4; }
.erow b { font-size: 13px; }
.erow small { display: block; color: #888; font-size: 11px; }
.medicon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e8ebfc;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.medicon.task { background: #e7f8ea; }
.box {
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.filter-banner {
  margin: 8px 10px 0;
  background: #d2d9fd;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.filter-banner b { color: #5770e4; }

.profile { text-align: center; padding: 8px 0 4px; display: grid; justify-items: center; gap: 6px; }
.profile b { font-size: 18px; }
.rel {
  background: #e8ebfc;
  color: #5770e4;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}
.segments {
  display: flex;
  gap: 4px;
  background: #fff;
  border-radius: 14px;
  padding: 4px;
}
.segments span {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #666;
  padding: 7px 0;
  border-radius: 10px;
}
.segments .on { background: #5770e4; color: #fff; }
.medthumb {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef1ff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.medthumb.warn { background: #fff4d6; }
.medcard em { color: #5770e4; font-weight: 700; }
.medcard em.prn { color: #8a5a00; }
.medcard div { display: grid; gap: 1px; }
.profile-head { background: #f0f2f5; box-shadow: none; }
.back { font-size: 28px; line-height: 1; }

.phone-stage {
  position: relative;
  z-index: 1;
  height: 640px;
}
.phone-stage .back {
  position: absolute;
  left: 0;
  top: 28px;
  transform: rotate(-6deg);
  opacity: 0.96;
}
.phone-stage .front {
  position: absolute;
  right: 0;
  top: 0;
  transform: rotate(4deg);
}
.solo-phone { display: flex; justify-content: center; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  z-index: 0;
}

.blob-a {
  width: 340px;
  height: 340px;
  background: #d9defc;
  top: 10%;
  right: 8%;
}

.blob-b {
  width: 260px;
  height: 260px;
  background: #f1d0fe;
  bottom: 8%;
  left: 6%;
}

.phones {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  margin-inline: auto;
  filter: drop-shadow(0 30px 50px rgba(39, 48, 120, 0.22));
}

.float-card {
  display: none;
}

.float-card b {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.float-1 {
  top: 42px;
  left: -8px;
}

.float-2 {
  right: -6px;
  bottom: 84px;
}

.dot {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--lavender);
  color: var(--brand-deep);
  flex-shrink: 0;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  margin: 20px 0 10px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}

.marquee-track span::before {
  content: "✦";
  color: var(--brand);
  margin-right: 28px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.tile {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(23, 21, 31, 0.04);
}

.tile h3 {
  margin: 10px 0 8px;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.tile p {
  margin: 0;
  color: var(--ink-soft);
}

.tile-wide {
  grid-column: span 7;
}

.tile-narrow {
  grid-column: span 5;
}

.tile-mid {
  grid-column: span 4;
}

.tile-dark {
  background: linear-gradient(160deg, #1c2148, #071e92 70%);
  color: #fff;
  border-color: transparent;
}

.tile-dark p,
.tile-dark h3 {
  color: #fff;
}

.tile-dark p {
  opacity: 0.82;
}

.icon-pill {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--lavender);
  color: var(--brand-deep);
}

.tile-dark .icon-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mock {
  margin-top: 20px;
  border-radius: 22px;
  background: #f3f5ff;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.mock-row,
.feed-row,
.vital-grid div {
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 650;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5770e4, #b612f6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.pill {
  margin-left: auto;
  font-size: 0.72rem;
  background: #e8f8ea;
  color: #157a32;
  padding: 4px 8px;
  border-radius: 999px;
}

.pill.warn {
  background: #fff4d6;
  color: #8a5a00;
}

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

.feature-split.reverse {
  direction: rtl;
}

.feature-split.reverse > * {
  direction: ltr;
}

.feature-copy h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.3rem);
  margin: 12px 0 16px;
}

.checklist {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
}

.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E") center / 12px no-repeat;
  flex-shrink: 0;
}

.device {
  background: #11131c;
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.device-screen {
  background: #f8f9ff;
  border-radius: 30px;
  min-height: 430px;
  overflow: hidden;
}

.device-bar {
  padding: 16px 16px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
}

.device-list {
  padding: 0 12px 16px;
  display: grid;
  gap: 8px;
}

.person {
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 6px 16px rgba(87, 112, 228, 0.08);
}

.person strong {
  display: block;
}

.person small {
  color: var(--ink-soft);
}

.actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
}

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

.step {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  min-height: 240px;
}

.step-num {
  font-family: var(--display);
  font-size: 3rem;
  color: var(--brand);
  line-height: 1;
}

.step h3 {
  margin: 18px 0 8px;
  font-size: 1.2rem;
}

.step p {
  color: var(--ink-soft);
  margin: 0;
}

.audience {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.audience-copy {
  background: linear-gradient(180deg, #2c3eb8, #071e92);
  color: #fff;
  border-radius: 36px;
  padding: 36px;
}

.audience-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 12px 0 14px;
}

.audience-copy p {
  opacity: 0.86;
}

.audience-cards {
  display: grid;
  gap: 14px;
}

.audience-card {
  background: var(--paper-2);
  border-radius: 24px;
  padding: 22px;
  border: 1px solid var(--line);
}

.audience-card h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
}

.audience-card p {
  margin: 0;
  color: var(--ink-soft);
}

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

.trust article {
  background: rgba(255, 253, 249, 0.7);
  border: 1px dashed rgba(87, 112, 228, 0.28);
  border-radius: 22px;
  padding: 20px;
}

.trust h3 {
  margin: 8px 0;
  font-size: 1.05rem;
}

.trust p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.faq-item {
  background: var(--paper-2);
  border-radius: 20px;
  border: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 750;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--ink-soft);
}

.cta-band {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #5770e4, #071e92 70%);
  color: #fff;
  border-radius: 40px;
  padding: clamp(32px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin: 0 0 12px;
}

.cta-band p {
  opacity: 0.88;
  max-width: 46ch;
}

.site-footer {
  margin-top: 20px;
  padding: 48px 0 28px;
  background: #14131b;
  color: #eceaf3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.site-footer p,
.site-footer a {
  color: #c5c1d1;
}

.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
}

.site-footer li + li {
  margin-top: 8px;
}

.northlo {
  width: 170px;
  margin-top: 18px;
  opacity: 0.92;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #9c98ab;
  font-size: 0.88rem;
}

.legal-main {
  width: min(820px, calc(100% - 40px));
  margin: 40px auto 80px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(24px, 4vw, 48px);
}

.legal-main h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 8px;
}

.legal-main h2 {
  font-family: var(--font);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 32px 0 10px;
}

.legal-main p,
.legal-main li {
  color: #3b3750;
  line-height: 1.7;
}

.legal-main ul,
.legal-main ol {
  padding-left: 1.2rem;
  list-style: disc;
  display: grid;
  gap: 8px;
}

.legal-main ol {
  list-style: decimal;
}

.callout {
  border: 2px solid var(--brand);
  background: #f3f5ff;
  border-radius: 18px;
  padding: 18px 20px;
  margin: 18px 0;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}

.error-page h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--brand);
}

.reveal {
  opacity: 1;
}


@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .feature-split,
  .feature-split.reverse,
  .audience,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero-art,
  .phone-stage {
    min-height: 0;
    height: auto;
  }

  .phone-stage .back { display: none; }
  .phone-stage .front { position: relative; right: auto; top: auto; transform: none; margin-inline: auto; }

  .tile-wide,
  .tile-narrow,
  .tile-mid {
    grid-column: span 12;
  }

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

  .nav,
  .header-cta .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--paper-2);
    border-radius: 24px;
    padding: 12px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .site-header {
    width: min(var(--max), calc(100% - 16px));
    border-radius: 24px;
  }

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

  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track {
    animation: none;
  }
}
