/* Marketing layout for intro pages. Legal documents keep legal.css only. */
html.site,
body.site {
  background: var(--mp-canvas);
}
body.site .legal-top,
body.site .legal-foot .foot-inner,
body.site .crumbs,
body.site .pager {
  max-width: 1120px;
}
body.site .legal-foot {
  background: #0d3d5c;
  color: rgba(255, 255, 255, 0.72);
  border-top: 0;
}
body.site .legal-foot .foot-copy { color: rgba(255, 255, 255, 0.62); }
body.site .legal-foot a { color: #fff; }
body.site .foot-links a { color: rgba(255, 255, 255, 0.82); }
body.site .foot-links a:hover { color: #fff; }
body.site .foot-sep { background: rgba(255, 255, 255, 0.24); }

.site-page {
  padding: 0 0 72px;
}
.site .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.site h2 {
  font-size: 26px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  letter-spacing: -0.03em;
}
.site .section {
  padding: 56px 0;
}
.site .section-head {
  max-width: 640px;
  margin-bottom: 28px;
}
.site .section-head p {
  margin: 0;
  color: var(--mp-muted);
}

/* Full-bleed product hero — warm off-white surface (not blue), pairs with the blue bar */
.hero-full {
  background: var(--hero-surface);
  color: var(--mp-ink);
  border-bottom: 1px solid var(--mp-line);
  padding: 48px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 40px;
  align-items: center;
}
.hero-copy .eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--mp-wash);
  border: 1px solid var(--mp-tint);
  color: var(--mp-deep);
}
.hero-copy h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--mp-ink);
  letter-spacing: -0.04em;
}
.hero-copy .tagline {
  font-size: 20px;
  font-weight: 650;
  margin: 0 0 12px;
  color: var(--mp-ink);
}
.hero-copy .slogan {
  font-size: 18px;
  margin: 0 0 18px;
  color: var(--mp-muted);
  max-width: 36em;
}
.hero-copy .lead,
.hero-copy p {
  color: var(--mp-muted);
}
.hero-copy .lead { font-size: 16px; margin: 0 0 10px; color: var(--mp-ink); }
.hero-copy .meta { color: var(--mp-muted); margin: 8px 0 0; }
.hero-full .pills { justify-content: flex-start; margin: 0 0 18px; }
.hero-full .actions { margin: 18px 0 0; }

.phone {
  display: block;
  width: min(264px, 100%);
  margin: 0 auto;
  aspect-ratio: 9 / 18.6;
  border-radius: 36px;
  padding: 9px;
  background: #10171d;
  box-shadow: 0 24px 50px rgba(0, 30, 60, 0.35), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
  text-decoration: none;
  position: relative;
}
.phone img { display: none; }

/* Branded MemoPlayer app screen — pure CSS mock, injected by legal-nav.js */
.phone-screen {
  position: absolute;
  inset: 9px;
  border-radius: 27px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 60% at 50% 0%, #e9f4fc 0%, #f6f9fb 42%, #f6f9fb 100%);
  color: var(--mp-ink);
  font-size: 12px;
  line-height: 1.4;
}
.ps-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px 10px;
  background: linear-gradient(180deg, #1187CF, #0e78b8);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: -0.01em;
}
.ps-bar img {
  display: block !important;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
}
.ps-bar .ps-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.ps-body { flex: 1; padding: 13px 13px 12px; display: flex; flex-direction: column; gap: 9px; }
.ps-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ps-now {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--mp-deep);
  background: #fff;
  border: 1px solid var(--mp-line);
  border-radius: 999px;
  padding: 4px 9px;
}
.ps-now::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1187CF;
  box-shadow: 0 0 0 3px rgba(17, 135, 207, 0.22);
}
.ps-count { font-size: 10px; font-weight: 800; color: var(--mp-muted); font-variant-numeric: tabular-nums; }
.ps-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mp-muted);
}
/* The stack of cards MemoPlayer reads out, one card at a time */
.ps-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ps-c {
  position: relative;
  background: #fff;
  border: 1px solid var(--mp-line);
  border-radius: 11px;
  padding: 9px 11px;
  box-shadow: 0 4px 12px rgba(13, 60, 92, 0.05);
}
.ps-c-w { display: block; font-weight: 800; font-size: 12.5px; color: var(--mp-ink); letter-spacing: -0.01em; }
.ps-c-g { display: block; font-size: 10.5px; color: var(--mp-muted); margin-top: 2px; }
.ps-c-n {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 9px;
  font-weight: 800;
  color: var(--mp-line);
  font-variant-numeric: tabular-nums;
}
.ps-c--dim { opacity: 0.62; }
.ps-c--on {
  border-color: #1187CF;
  box-shadow: 0 0 0 1px #1187CF, 0 10px 22px rgba(17, 135, 207, 0.18);
}
.ps-c--on .ps-c-w { color: var(--mp-deep); }
.ps-c--on .ps-c-g { color: var(--mp-deep); }
.ps-c--on .ps-c-n {
  color: #fff;
  background: #1187CF;
  border-radius: 999px;
  padding: 1px 6px;
  top: 8px;
}
.ps-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 30px;
  margin-top: auto;
}
.ps-wave i {
  flex: 1;
  background: linear-gradient(180deg, #4baee6, #1187CF);
  border-radius: 2px;
  opacity: 0.9;
}
.ps-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 16px;
  background: #fff;
  border-top: 1px solid var(--mp-line);
}
.ps-ctrl .ps-ico {
  font-size: 15px;
  color: var(--mp-muted);
}
.ps-ctrl .ps-go {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1187CF;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(17, 135, 207, 0.4);
}
.ps-ctrl .ps-speed {
  font-size: 11px;
  font-weight: 800;
  color: var(--mp-deep);
  background: var(--mp-wash);
  border-radius: 999px;
  padding: 4px 8px;
}

.phone-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  background: rgba(16, 23, 29, 0.86);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.phone-play::before { content: "\25B6  "; font-size: 10px; }
.phone:hover .phone-play,
.phone:focus-visible .phone-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media (hover: none) {
  .phone-play {
    opacity: 1;
    top: auto;
    bottom: 12px;
    transform: translateX(-50%);
    font-size: 11px;
    padding: 6px 12px;
  }
}

.stats-band {
  background: var(--mp-bg);
  border-bottom: 1px solid var(--mp-line);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 16px;
  padding: 22px 24px;
  text-align: center;
}
.stats-row strong {
  display: block;
  font-size: 16px;
  color: var(--mp-deep);
}
.stats-row span {
  font-size: 13px;
  color: var(--mp-muted);
}

.page-hero {
  background: var(--hero-surface);
  color: var(--mp-ink);
  border-bottom: 1px solid var(--mp-line);
  padding: 36px 0 40px;
}
.page-hero h1 {
  font-size: clamp(24px, 3.4vw, 36px);
  color: var(--mp-ink);
  margin: 0 0 10px;
}
.page-hero .lead,
.page-hero p { color: var(--mp-muted); }
.page-hero a { color: var(--mp); }
.page-hero .meta { color: var(--mp-muted); }
.page-hero .lang-links { margin: 0 0 18px; color: var(--mp-muted); }
.page-hero .lang-links a { color: var(--mp); }
.page-hero .lang-links a[aria-current="page"] { color: var(--mp-ink); }
.page-hero .actions { margin: 16px 0 0; }

.site .lang-links {
  margin: 0 0 8px;
}
.site .notice {
  margin: 28px 0 0;
  font-size: 14px;
  color: var(--mp-muted);
  background: var(--mp-bg);
  border: 1px solid var(--mp-line);
  border-radius: 12px;
  padding: 14px 16px;
}

.feat-grid,
.use-grid,
.step-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(3, 1fr); }
}
.feat-card,
.use-card,
.step-card,
.link-card {
  background: var(--mp-bg);
  border: 1px solid var(--mp-line);
  border-radius: 16px;
  padding: 22px 20px 20px;
  display: block;
  color: inherit;
  text-decoration: none;
}
a.feat-card:hover,
a.link-card:hover,
a.use-card:hover {
  border-color: var(--mp);
  box-shadow: 0 10px 24px rgba(17, 135, 207, 0.1);
  color: inherit;
}
.feat-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mp-wash);
  color: var(--mp-deep);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}
.feat-card h3,
.use-card h3,
.step-card h3,
.link-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--mp-ink);
}
.feat-card p,
.use-card p,
.step-card p,
.link-card p {
  margin: 0;
  color: var(--mp-muted);
  font-size: 14px;
}

.video-panel {
  background: var(--mp-bg);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--mp-line);
}
.video-panel .meta { margin-bottom: 10px; }
.site .video-wrap { margin: 0; }
.site .video-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .site .video-grid { grid-template-columns: repeat(3, 1fr); }
}
.site .video-grid section {
  background: var(--mp-bg);
  border: 1px solid var(--mp-line);
  border-radius: 16px;
  padding: 16px;
}
.site .video-grid h2 {
  font-size: 16px;
  margin: 0 0 8px;
}

.cta-band {
  background: var(--mp-bar);
  color: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.9); }
.cta-band a { color: #fff; }
.cta-band .actions { margin: 0; }
/* Buttons inside the blue CTA band — override the default blue-on-blue */
.cta-band .btn { border-radius: 999px; }
.cta-band .btn.primary {
  background: #fff;
  color: var(--mp-deep);
  border-color: #fff;
}
.cta-band .btn.primary:hover { background: rgba(255, 255, 255, 0.9); color: var(--mp-deep); }
.cta-band .btn.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.cta-band .btn.ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

.site .faq {
  background: var(--mp-bg);
  border: 1px solid var(--mp-line);
  border-radius: 16px;
  padding: 4px 22px;
}
.site .faq > div:last-child { border-bottom: 0; }

.club-card {
  margin-top: 20px;
}

body.site .crumbs {
  padding-top: 18px;
  padding-bottom: 0;
}
body.site .pager a {
  border-radius: 14px;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-full .pills,
  .hero-full .actions { justify-content: center; }
  .hero-copy .slogan { margin-left: auto; margin-right: auto; }
  .phone { width: 236px; }
  .stats-row { grid-template-columns: 1fr; padding: 16px 24px; }
  .cta-band { text-align: center; justify-content: center; }
  .cta-band .actions { justify-content: center; }
}
@media (prefers-color-scheme: dark) {
  body.site .legal-foot { background: #152028; }
}
@media print {
  .hero-full, .page-hero { background: none; color: #000; }
  .hero-copy h1, .page-hero h1, .hero-copy .tagline { color: #000; }
  .phone { display: none; }
}
