/* ==========================================================================
   Feature pages (/medical-records-app, /health-score, /diet-tracker,
   /ai-health-assistant, /period-tracker). Generated by
   scripts/build_feature_pages.py. Loaded after mymd.css.
   ========================================================================== */

.fp-page {
  --fp-accent: var(--purple);
  --fp-accent-dark: var(--purple-dark);
  --fp-pale: var(--purple-pale);
  --fp-border: var(--purple-border);
  --fp-tint: var(--bg-tint);
  --fp-glow: rgba(107, 78, 255, 0.32);
  --fp-wash: radial-gradient(
    125% 115% at 80% 0%,
    #efeaff 0%,
    #e6edfb 55%,
    #dcebfd 100%
  );
  --fp-cta: linear-gradient(
    160deg,
    var(--purple) 0%,
    #5a3fe8 55%,
    var(--purple-dark) 100%
  );
}
.fp-page.fp-theme-luna {
  --fp-accent: var(--luna);
  --fp-accent-dark: #a63d64;
  --fp-pale: var(--luna-pale);
  --fp-border: var(--luna-border);
  --fp-tint: #fff7fa;
  --fp-glow: rgba(196, 81, 122, 0.3);
  --fp-wash: radial-gradient(
    125% 115% at 80% 0%,
    #fde8f0 0%,
    #f6ecfb 55%,
    #ece9ff 100%
  );
  --fp-cta: linear-gradient(160deg, #d0628a 0%, var(--luna) 55%, #a63d64 100%);
}

/* Neutralise the legacy template's global element rules inside the page */
.fp p,
.fp h1,
.fp h2,
.fp h3,
.fp ol,
.fp ul,
.fp figure {
  margin: 0;
  padding: 0;
}

.fp .eyebrow {
  color: var(--fp-accent);
  margin-bottom: 12px;
}
.fp-h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.fp-h2 em,
.fp-title em {
  font-style: italic;
  color: var(--fp-accent);
}
.fp-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.fp-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}
.fp-head-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fp-accent);
  white-space: nowrap;
}
.fp-head-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}
.fp-head-link:hover {
  color: var(--fp-accent-dark);
}
.fp-head-link:hover svg {
  transform: translateX(3px);
}

.fp-section {
  padding: 104px 0;
}
.fp .container {
  max-width: 1180px;
}

/* Buttons: undo the legacy template's uppercase .btn */
.fp .fp-btn {
  font-family: "Inter", sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  padding: 14px 28px;
}
.fp .btn-primary.fp-btn {
  border: 1.5px solid var(--fp-accent);
  background: var(--fp-accent);
  color: var(--white);
}
.fp .btn-primary.fp-btn:hover {
  background: var(--fp-accent-dark);
  border-color: var(--fp-accent-dark);
  box-shadow: 0 10px 30px var(--fp-glow);
}
.fp .btn-outline.fp-btn {
  border: 1.5px solid var(--fp-border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-mid);
}
.fp .btn-outline.fp-btn:hover {
  border-color: var(--fp-accent);
  color: var(--fp-accent);
}

/* Shared icon tile (also used by the nav) picks up the page accent */
.fp .nav-dd-icon {
  width: 40px;
  height: 40px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.fp-hero {
  position: relative;
  overflow: hidden;
  background: var(--fp-wash);
}
.fp .fp-hero {
  padding: calc(var(--nav-height) + 48px) 0 88px;
}
/* Fade the hero wash into the white section below */
.fp-hero-wash {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--white) 100%);
  pointer-events: none;
}
.fp-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.fp-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 13px;
  color: var(--body);
  margin-bottom: 28px;
}
.fp-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fp-crumbs li + li::before {
  content: "/";
  color: var(--body-light);
}
.fp-crumbs a {
  color: var(--body);
  transition: color 0.15s ease;
}
.fp-crumbs a:hover {
  color: var(--fp-accent);
}
.fp-crumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}
.fp .fp-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 6px 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--fp-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.fp-badge .nav-dd-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.fp-badge .nav-dd-icon svg {
  width: 17px;
  height: 17px;
}
.fp-badge-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.fp-plan {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.fp-plan--free {
  background: #e7f6ee;
  color: #1d7a4a;
}
.fp-plan--plus {
  background: var(--ink);
  color: var(--white);
}
.fp .fp-title {
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 22px;
}
.fp .fp-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  max-width: 540px;
  margin-bottom: 32px;
}
.fp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.fp .fp-hero-trial {
  display: flex;
  margin: 0 0 28px;
}
.fp .fp-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
}
.fp-hero-points li,
.fp-benefit-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
}
.fp-hero-points svg,
.fp-benefit-points svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--fp-pale);
  color: var(--fp-accent);
  stroke-width: 2.6;
}
.fp-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fp-hero-glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--fp-glow) 0%, transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.fp-hero-media {
  position: relative;
  width: 100%;
  min-height: 560px;
}
.fp-hero-media .vault-phone-fit {
  transform: scale(0.8);
}

.fp .fp-tagline {
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  margin: -12px 0 30px;
}
.fp-tagline em {
  font-style: italic;
  color: var(--fp-accent);
}

/* --------------------------------------------------------------------------
   The problem (optional)
   -------------------------------------------------------------------------- */
.fp .fp-problem {
  padding-bottom: 0;
}
.fp-problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px 64px;
  align-items: center;
}
.fp-problem-cards {
  display: grid;
  gap: 16px;
}
.fp-problem-card {
  position: relative;
  padding: 26px 28px 26px 84px;
  border-radius: var(--radius-lg);
  background: var(--fp-tint);
  border: 1px solid var(--fp-border);
}
.fp-problem-num {
  position: absolute;
  left: 26px;
  top: 24px;
  font-family: "DM Serif Display", serif;
  font-size: 30px;
  font-style: italic;
  line-height: 1;
  color: var(--fp-accent);
  opacity: 0.55;
}
.fp .fp-problem-title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.fp .fp-problem-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}
.fp .fp-problem-close {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink-mid);
  text-align: left;
}
.fp-problem-close svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--fp-accent);
}

/* --------------------------------------------------------------------------
   Record a workout (optional)
   -------------------------------------------------------------------------- */
.fp-record {
  background: var(--fp-tint);
}
.fp .fp-record {
  padding-top: 24px;
}
.fp .fp-head-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  margin-top: 14px;
}
.fp-record-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.fp-record-card {
  padding: 26px 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--fp-border);
  box-shadow: var(--shadow-sm);
}
.fp-record-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.fp-record-icon,
.fp-assist-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fp-pale);
  color: var(--fp-accent);
}
.fp-record-icon svg,
.fp-assist-icon svg {
  width: 22px;
  height: 22px;
}
.fp .fp-record-name {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}
.fp .fp-record-note {
  font-size: 13.5px;
  color: var(--body);
}
.fp .fp-record-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fp-record-chips li {
  padding: 7px 13px;
  border-radius: 100px;
  background: var(--fp-tint);
  border: 1px solid var(--fp-border);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-mid);
}
.fp-assists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.fp-assist {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--fp-border);
}
.fp .fp-assist p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
}
.fp-assist strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Who it's for (optional)
   -------------------------------------------------------------------------- */
.fp-audience {
  background: var(--fp-tint);
}
.fp .fp-audience {
  padding-top: 24px;
}
.fp-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.fp-audience-card {
  padding: 30px 30px 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--fp-border);
  box-shadow: var(--shadow-sm);
}
.fp-audience-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--fp-pale);
  color: var(--fp-accent);
  margin-bottom: 18px;
}
.fp-audience-check svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}
.fp .fp-audience-title {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.fp .fp-audience-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}

/* --------------------------------------------------------------------------
   Ask myMD live chat demo (hero). Animated by homepage.js; without JS or
   with reduced motion the first conversation shows in full.
   -------------------------------------------------------------------------- */
.fp-hero-media--demo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.ask-demo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fp-shot-phone.ask-demo-phone {
  width: 300px;
  aspect-ratio: 9 / 19.5;
  transform: none;
}
.ask-screen {
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f5f5fe 0%, #fbfbff 100%);
  font-family: "Inter", sans-serif;
  color: #1d1b33;
}
.ask-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px 8px;
  color: #4d5170;
}
.ask-top svg {
  width: 19px;
  height: 19px;
}
.ask-top-right {
  display: flex;
  gap: 14px;
}
.ask-thread {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.ask-convo {
  position: absolute;
  inset: 6px 16px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ask-convo.is-active {
  opacity: 1;
}
.ask-q {
  align-self: flex-end;
  max-width: 82%;
  margin: 4px 0 14px;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.ask-bubble {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #4a5cf2 0%, #8a3fe8 100%);
  color: #fff;
  font-size: 13.5px;
  line-height: 1.45;
}
.ask-file {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -2px -4px 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11.5px;
  font-weight: 500;
}
.ask-file svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}
.ask-typing {
  display: none;
  gap: 4px;
  padding: 4px 0 10px;
}
.ask-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b9b3f3;
  animation: askDot 1s infinite ease-in-out;
}
.ask-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.ask-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
.ask-convo.is-typing .ask-typing {
  display: flex;
}
.fp .ask-block {
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 1.55;
  color: #1d1b33;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.fp .ask-h {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
}
.fp .ask-a ul {
  padding-left: 16px;
}
.fp .ask-a ul li {
  list-style: disc;
  margin-bottom: 3px;
}
.ask-a b {
  font-weight: 700;
}
/* Hidden states only apply once JS takes over */
.ask-demo.is-animated .ask-q:not(.is-shown),
.ask-demo.is-animated .ask-block:not(.is-shown) {
  opacity: 0;
  transform: translateY(6px);
}
.ask-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px;
  padding: 6px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(26, 16, 53, 0.08);
}
.ask-plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef0fe;
  color: var(--purple);
  font-size: 18px;
  line-height: 1;
}
.ask-field {
  flex: 1;
  min-width: 0;
  display: block;
  font-size: 13px;
  line-height: 1.4;
}
.ask-ph {
  color: #9a9cb3;
}
.ask-input.has-text .ask-ph {
  display: none;
}
.ask-caret {
  display: none;
  flex-shrink: 0;
  width: 1.5px;
  height: 14px;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--purple);
  animation: askCaret 1s steps(1) infinite;
}
.ask-input.is-typing .ask-caret {
  display: inline-block;
}
@keyframes askCaret {
  50% {
    opacity: 0;
  }
}
.ask-send {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #a99ff8 0%, #c3a6f6 100%);
  color: #fff;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.ask-send svg {
  width: 14px;
  height: 14px;
}
.ask-input.is-ready .ask-send {
  background: linear-gradient(135deg, #4a5cf2 0%, #8a3fe8 100%);
  transform: scale(1.12);
}
.fp .ask-note {
  margin: 8px 0 14px;
  text-align: center;
  font-size: 9.5px;
  color: #6b6e86;
}
.ask-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.ask-chip {
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--fp-border);
  background: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.ask-chip:hover {
  border-color: var(--fp-accent);
  color: var(--fp-accent);
}
.ask-chip.is-active {
  background: var(--fp-accent);
  border-color: var(--fp-accent);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.fp .fp-steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: none;
}
.fp-step {
  position: relative;
  padding: 32px 28px 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--fp-border);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.fp-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.fp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--fp-pale);
  color: var(--fp-accent);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 22px;
}
.fp .fp-step-title {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.fp .fp-step-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}

/* --------------------------------------------------------------------------
   Benefits (alternating rows)
   -------------------------------------------------------------------------- */
.fp-benefits {
  background: linear-gradient(180deg, var(--white) 0%, var(--fp-tint) 100%);
}
.fp .fp-benefits {
  padding-top: 24px;
}
.fp-benefit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.fp-benefit + .fp-benefit {
  margin-top: 96px;
}
.fp-benefit:nth-child(odd) .fp-benefit-copy {
  order: 2;
}
.fp-benefit-num {
  display: block;
  font-family: "DM Serif Display", serif;
  font-size: 18px;
  font-style: italic;
  color: var(--fp-accent);
  margin-bottom: 12px;
}
.fp .fp-benefit-title {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.fp .fp-benefit-text {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 24px;
  max-width: 480px;
}
.fp .fp-benefit-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fp-benefit-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  border-radius: 32px;
  background: var(--fp-wash);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
/* The frame takes the screenshot's own shape, so nothing is cropped. */
.fp-shot-phone {
  position: relative;
  width: 252px;
  border-radius: 42px;
  padding: 9px;
  background: var(--ink);
  box-shadow:
    0 30px 70px rgba(26, 16, 64, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}
.fp-benefit:nth-child(odd) .fp-shot-phone {
  transform: rotate(2deg);
}
.fp-benefit:hover .fp-shot-phone {
  transform: rotate(0deg) translateY(-6px);
}
.fp-shot-screen {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: var(--white);
}
.fp-shot-slide {
  display: flex;
  flex-direction: column;
}
.fp-shot-slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* Status bar added to screenshots captured without one */
.fp-statusbar {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 2px 20px 0 24px;
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111;
}
.fp-statusbar-island {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 62px;
  height: 18px;
  margin-left: -31px;
  border-radius: 12px;
  background: #0b0b10;
}
.fp-statusbar-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.fp-statusbar-icons svg {
  display: block;
  height: 10px;
  width: auto;
}
/* Auto-rotating screenshots (driven by homepage.js) */
.fp-shot {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* First slide sets the height; the others stack on top of it */
.fp-rotator .fp-rot-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.fp-rotator .fp-rot-slide:first-child {
  position: relative;
}
.fp-rotator .fp-rot-slide img {
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: top;
}
.fp-rotator .fp-rot-slide.is-active {
  opacity: 1;
}
.fp-rot-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 26px;
}
.fp-rot-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 100px;
  background: var(--fp-border);
  transition:
    width 0.3s ease,
    background 0.3s ease;
}
.fp-rot-dot:hover {
  background: var(--fp-accent);
}
.fp-rot-dot.is-active {
  width: 24px;
  background: var(--fp-accent);
}
.fp-shot-placeholder {
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(180deg, var(--white) 0%, var(--fp-tint) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}
.fp-shot-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fp-pale);
  color: var(--fp-accent);
  margin-bottom: 6px;
}
.fp-shot-icon svg {
  width: 28px;
  height: 28px;
}
.fp-shot-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fp-accent);
}
.fp-shot-hint {
  font-size: 13px;
  color: var(--body);
  line-height: 1.4;
}
.fp-shot-skel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 22px;
}
.fp-shot-skel i {
  display: block;
  height: 38px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--fp-border);
}
.fp-shot-skel i:nth-child(2) {
  width: 82%;
}
.fp-shot-skel i:nth-child(3) {
  width: 64%;
}

/* --------------------------------------------------------------------------
   Plan band
   -------------------------------------------------------------------------- */
.fp-plan-band {
  background: var(--fp-tint);
}
.fp .fp-plan-band {
  padding: 0 0 104px;
}
.fp-plan-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--fp-border);
  box-shadow: var(--shadow-sm);
}
.fp-plan-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fp-pale);
  color: var(--fp-accent);
}
.fp-plan-card-icon svg {
  width: 22px;
  height: 22px;
}
.fp .fp-plan-card-text {
  flex: 1;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
}
.fp-plan-card-text strong {
  color: var(--ink);
  font-weight: 600;
}
.fp-plan-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--fp-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--fp-accent);
  white-space: nowrap;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}
.fp-plan-card-link svg {
  width: 16px;
  height: 16px;
}
.fp-plan-card-link:hover {
  border-color: var(--fp-accent);
  background: var(--fp-pale);
  color: var(--fp-accent);
}

/* --------------------------------------------------------------------------
   FAQ (reuses .faq-item from mymd.css)
   -------------------------------------------------------------------------- */
.fp-faq-inner {
  max-width: 820px;
}
.fp .fp-faq-list {
  padding: 0;
}
.fp .faq-a p {
  margin: 0;
}
.fp .faq-a a {
  color: var(--fp-accent);
}

/* --------------------------------------------------------------------------
   You may like
   -------------------------------------------------------------------------- */
.fp-related {
  background: var(--fp-tint);
}
.fp .fp-related .fp-head {
  margin-bottom: 36px;
}
.fp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.fp-related-grid .blog-list-card {
  background: var(--white);
}
.fp .fp-related-grid .blog-list-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.fp .fp-related-grid .blog-list-excerpt {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Explore other features
   -------------------------------------------------------------------------- */
.fp-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.fp-explore-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 22px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--purple-border);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.fp-explore-card:hover {
  transform: translateY(-4px);
  border-color: rgba(107, 78, 255, 0.35);
  box-shadow: var(--shadow-lg);
}
.fp-explore-card .nav-dd-icon {
  margin-bottom: 12px;
}
.fp-explore-card:hover .nav-dd-icon {
  background: var(--purple);
  color: var(--white);
}
.fp-explore-card:hover .nav-dd-icon--luna {
  background: var(--luna);
}
.fp-explore-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.fp-explore-desc {
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--body);
  margin-bottom: 14px;
}
.fp-explore-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
}
.fp-explore-more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.18s ease;
}
.fp-explore-card:hover .fp-explore-more svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Download CTA
   -------------------------------------------------------------------------- */
.fp .fp-cta {
  padding: 0 0 104px;
}
.fp-cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px 64px;
  border-radius: 36px;
  background: var(--fp-cta);
  color: var(--white);
  box-shadow: 0 30px 80px var(--fp-glow);
}
.fp-cta-wash {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 62%
  );
  pointer-events: none;
}
.fp-cta-copy {
  position: relative;
}
.fp .fp-cta-title {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
  max-width: 560px;
}
.fp .fp-cta-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
}
.fp-cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.fp-cta-badges img {
  height: 50px;
  width: auto;
  border-radius: 10px;
  transition: transform 0.18s ease;
}
.fp-cta-badges a:hover img {
  transform: translateY(-2px);
}
.fp-cta-qr {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.fp-cta-qr img {
  width: 132px;
  height: 132px;
  border-radius: 12px;
  background: var(--white);
  padding: 6px;
}
.fp-cta-qr span {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .fp-section {
    padding: 80px 0;
  }
  .fp .fp-hero {
    padding: calc(var(--nav-height) + 32px) 0 56px;
  }
  .fp-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .fp-hero-media {
    min-height: 460px;
  }
  .fp-hero-media .vault-phone-fit {
    transform: scale(0.64);
  }
  .fp-problem-grid {
    grid-template-columns: 1fr;
  }
  .fp .fp-problem-close {
    justify-content: flex-start;
  }
  .fp-audience-grid {
    grid-template-columns: 1fr;
  }
  .fp-record-grid,
  .fp-assists {
    grid-template-columns: 1fr;
  }
  .fp .fp-steps-list {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .fp-benefit {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fp-benefit:nth-child(odd) .fp-benefit-copy {
    order: 0;
  }
  .fp-benefit + .fp-benefit {
    margin-top: 72px;
  }
  .fp-related-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fp-explore-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fp-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 32px;
  }
  .fp-cta-qr {
    display: none;
  }
}
@media (max-width: 600px) {
  .fp .container {
    padding: 0 20px;
  }
  .fp-section {
    padding: 64px 0;
  }
  .fp .fp-plan-band,
  .fp .fp-cta {
    padding-bottom: 64px;
  }
  .fp-head {
    margin-bottom: 36px;
  }
  .fp-head--row {
    flex-direction: column;
    align-items: flex-start;
  }
  .fp .fp-lead {
    font-size: 16.5px;
  }
  .fp-hero-actions .fp-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .fp-hero-media {
    min-height: 380px;
  }
  .fp-hero-media .vault-phone-fit {
    transform: scale(0.54);
  }
  .fp-shot-phone.ask-demo-phone {
    width: 270px;
  }
  .fp-benefit-visual {
    padding: 36px 16px;
  }
  .fp-shot-phone {
    width: 220px;
  }
  .fp-problem-card {
    padding: 22px 20px 22px 64px;
  }
  .fp-problem-num {
    left: 20px;
    top: 22px;
    font-size: 26px;
  }
  .fp .fp-tagline {
    font-size: 20px;
  }
  .fp-plan-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .fp-related-grid,
  .fp-explore-grid {
    grid-template-columns: 1fr;
  }
  .fp-cta-card {
    padding: 36px 24px;
    border-radius: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fp-rotator .fp-rot-slide,
  .fp-step,
  .fp-shot-phone,
  .fp-explore-card {
    transition: none;
  }
  .fp-benefit:hover .fp-shot-phone {
    transform: none;
  }
}
