/* ==========================================================================
   Period Tracker & Ovulation landing page  Â·  soft pink + lavender theme
   Matches the app's own look (pink-to-white gradients, lavender buttons,
   mint fertile days, Poppins type).
   Mobile-first. Everything is scoped under .pt / .pt-* so it will not clash
   with your website's own CSS. Breakpoints: 640px (large phone), 900px
   (tablet landscape / laptop), 1100px (desktop).

   Quick re-colouring: change the --pt-* tokens right below.
   ========================================================================== */

/* ---- tokens -------------------------------------------------------------- */
.pt {
  --pt-bg: #FFFFFF;
  --pt-ink: #2A1B3D;
  --pt-muted: #5E4F70;
  --pt-dim: #6F6082;
  --pt-purple: #7B4DD1;
  --pt-purple-500: #8B57DD;
  --pt-purple-700: #5E34B1;
  --pt-lilac: #C9A0F7;
  --pt-lilac-100: #F3EAFF;
  --pt-lilac-50: #FAF6FF;
  --pt-pink: #F58CC4;
  --pt-pink-100: #FFE3F1;
  --pt-pink-50: #FFF4FA;
  --pt-mint: #5FC4AE;
  --pt-mint-100: #E1F6F1;
  --pt-salmon: #F7A1B2;
  --pt-salmon-100: #FFE0E6;
  --pt-line: #EBDDF5;
  --pt-grad: linear-gradient(135deg, #8B57DD, #6F40C4);
  --pt-grad-text: linear-gradient(90deg, #7B4DD1, #D0529F);
  --pt-shadow: 0 1px 2px rgba(42, 27, 61, 0.04), 0 14px 34px rgba(110, 60, 170, 0.10);
  --pt-radius-lg: 28px;
  --pt-radius-md: 22px;
  --pt-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --pt-scroll-offset: 96px; /* raise this if your site has a sticky header */

  position: relative;
  display: block;
  background: var(--pt-bg);
  color: var(--pt-ink);
  font-family: var(--pt-font);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* only used by the standalone index.html */
.pt-body { margin: 0; background: #FFFFFF; }

.pt *, .pt *::before, .pt *::after { box-sizing: border-box; }
.pt :where(img) { display: block; max-width: 100%; height: auto; }
.pt :where(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; }
.pt :where(ul, ol) { list-style: none; }
.pt :where(a) { color: var(--pt-purple); }
.pt button { font: inherit; }

.pt :focus-visible {
  outline: 3px solid var(--pt-purple-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- layout helpers ------------------------------------------------------ */
.pt-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  position: relative;
}
.pt-container--narrow { max-width: 860px; }

.pt-section {
  position: relative;
  padding-block: clamp(56px, 9vw, 112px);
  scroll-margin-top: var(--pt-scroll-offset);
}
.pt-section--soft {
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF6FF 45%, #FFF7FB 100%);
  border-block: 1px solid #F2E7FA;
}

.pt-section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.pt-section__head--center { margin-inline: auto; text-align: center; }

/* ---- typography ---------------------------------------------------------- */
.pt-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--pt-lilac-100);
  border: 1px solid #E3D0FA;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pt-purple-700);
}
.pt-h1, .pt-h2, .pt-h3 {
  font-family: var(--pt-font);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--pt-ink);
}
.pt-h1 {
  font-size: clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.pt-h2 {
  font-size: clamp(1.875rem, 1.1rem + 3vw, 3rem);
  line-height: 1.14;
}
.pt-h3 {
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.pt-h3--lg { font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.125rem); font-weight: 700; }
.pt-lead {
  margin-top: 24px;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--pt-muted);
}
.pt-sub {
  margin-top: 16px;
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  color: var(--pt-muted);
}
.pt-section__head--center .pt-sub { margin-inline: auto; }
.pt-grad {
  background: var(--pt-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- icons --------------------------------------------------------------- */
.pt-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- buttons / links ----------------------------------------------------- */
.pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pt-btn--primary {
  background: var(--pt-grad);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(123, 77, 209, 0.34);
}
.pt-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(123, 77, 209, 0.44); color: #FFFFFF; }
.pt-btn--primary:active { transform: translateY(0); }
.pt-btn--light {
  background: #FFFFFF;
  color: var(--pt-purple-700);
  box-shadow: 0 10px 26px rgba(30, 10, 70, 0.28);
}
.pt-btn--light:hover { transform: translateY(-2px); color: var(--pt-purple-700); box-shadow: 0 14px 34px rgba(30, 10, 70, 0.36); }
.pt-btn .pt-icon { stroke-width: 2.2; }

/* ---- official store badges ---------------------------------------------- */
.pt-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pt-stores--center { justify-content: center; }
.pt-store { display: inline-block; line-height: 0; border-radius: 10px; transition: transform 0.2s ease, filter 0.2s ease; }
.pt-store img { display: block; width: auto; height: 52px; }
.pt-store:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 18px rgba(30, 10, 70, 0.3)); }
.pt-store:focus-visible { outline: 3px solid var(--pt-purple); outline-offset: 3px; }

.pt-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--pt-ink);
  text-decoration: underline;
  text-decoration-color: var(--pt-pink);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.pt-link:hover { color: var(--pt-purple); }

/* ---- blobs --------------------------------------------------------------- */
.pt-blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.pt-blob--pink {
  width: min(720px, 120vw); aspect-ratio: 1;
  left: -22%; top: -30%;
  background: radial-gradient(closest-side, rgba(245, 140, 196, 0.34), rgba(245, 140, 196, 0));
}
.pt-blob--lilac {
  width: min(760px, 130vw); aspect-ratio: 1;
  right: -24%; top: 4%;
  background: radial-gradient(closest-side, rgba(201, 160, 247, 0.5), rgba(201, 160, 247, 0));
}
.pt-blob--cta-a {
  width: 520px; aspect-ratio: 1; left: -140px; top: -200px;
  background: radial-gradient(closest-side, rgba(245, 140, 196, 0.45), rgba(245, 140, 196, 0));
}
.pt-blob--cta-b {
  width: 560px; aspect-ratio: 1; right: -160px; bottom: -240px;
  background: radial-gradient(closest-side, rgba(201, 160, 247, 0.5), rgba(201, 160, 247, 0));
}


/* ---- hero ---------------------------------------------------------------- */
.pt-hero {
  overflow: hidden;
  padding-block: clamp(40px, 7vw, 96px);
  background: linear-gradient(180deg, #F9D3E8 0%, #FDE6F2 42%, #FFFFFF 100%);
}
.pt-hero__grid {
  display: grid;
  gap: clamp(40px, 7vw, 64px);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
.pt-hero__copy { position: relative; z-index: 1; }

.pt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px 18px 6px 6px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #F0D2E6;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pt-purple-700);
}
.pt-eyebrow__icon { width: 32px; height: 32px; border-radius: 50px; }

.pt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 36px;
}

.pt-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pt-chips li {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #F0D2E6;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pt-muted);
}

.pt-hero__visual { position: relative; z-index: 1; }
.pt-stack {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 480 / 640;
  margin-inline: auto;
}
.pt-shot { display: block; width: min(100%, var(--pt-w, 270px)); height: auto; filter: drop-shadow(0 22px 34px rgba(110, 60, 170, 0.26)); }
.pt-shot--front { position: absolute; left: 0; top: 0; width: 54%; z-index: 2; }
.pt-shot--back {
  position: absolute; right: 0; top: 10%; width: 52%;
  z-index: 1;
  transform: rotate(6deg);
  transform-origin: bottom center;
  animation: pt-float 7s ease-in-out infinite;
}
@keyframes pt-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}


/* ---- pillars ------------------------------------------------------------- */
.pt-pillars { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.pt-pillar {
  padding: clamp(24px, 3vw, 36px);
  background: #FFFFFF;
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius-lg);
  box-shadow: var(--pt-shadow);
  text-align: center;
  color: var(--pt-muted);
}
.pt-pillar__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 20px;
  border-radius: 50%;
}
.pt-pillar__icon .pt-icon { width: 28px; height: 28px; }
.pt-pillar__icon--pink { background: var(--pt-pink-100); color: #C23C8E; }
.pt-pillar__icon--lilac { background: var(--pt-lilac-100); color: var(--pt-purple); }
.pt-pillar__icon--mint { background: var(--pt-mint-100); color: #2C8C79; }
.pt-pillar .pt-h3 { font-size: 1.5rem; }

/* ---- feature cards ------------------------------------------------------- */
.pt-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.pt-card {
  padding: clamp(24px, 3vw, 34px);
  background: #FFFFFF;
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius-lg);
  box-shadow: var(--pt-shadow);
  color: var(--pt-muted);
  font-size: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 87, 221, 0.45);
  box-shadow: 0 18px 40px rgba(110, 60, 170, 0.16);
}
.pt-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 22px;
  border-radius: 16px;
}
.pt-card__icon--pink { background: var(--pt-pink-100); color: #C23C8E; }
.pt-card__icon--lilac { background: var(--pt-lilac-100); color: var(--pt-purple); }
.pt-card__icon--mint { background: var(--pt-mint-100); color: #2C8C79; }
.pt-card__icon--salmon { background: var(--pt-salmon-100); color: #C2475F; }

/* ---- screens showcase ---------------------------------------------------- */
.pt-tabs { display: none; }
.pt-js .pt-tabs {
  display: flex;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto clamp(28px, 5vw, 48px);
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid var(--pt-line);
  border-radius: 999px;
  box-shadow: var(--pt-shadow);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pt-js .pt-tabs::-webkit-scrollbar { display: none; }
.pt-tab {
  flex: none;
  min-height: 44px;
  padding: 0 20px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--pt-dim);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.pt-tab:hover { color: var(--pt-purple); }
.pt-tab.is-active { background: var(--pt-purple); color: #FFFFFF; }

.pt-panel {
  display: grid;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
.pt-panel + .pt-panel { margin-top: clamp(48px, 8vw, 96px); }
.pt-js .pt-panel { margin-top: 0; }
.pt-js .pt-panel:not(.is-active) { display: none; }
.pt-js .pt-panel.is-active { animation: pt-fade 0.45s ease both; }
@keyframes pt-fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.pt-stage {
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 52px) 16px;
  background:
    radial-gradient(closest-side at 22% 18%, rgba(245, 140, 196, 0.36), rgba(245, 140, 196, 0)),
    radial-gradient(closest-side at 80% 88%, rgba(201, 160, 247, 0.5), rgba(201, 160, 247, 0)),
    #FFF4FA;
  border: 1px solid #F3DDEE;
  border-radius: var(--pt-radius-lg);
}

.pt-panel__copy p { color: var(--pt-muted); font-size: 1.0625rem; max-width: 34rem; }
.pt-checks { display: grid; gap: 12px; margin-top: 24px; }
.pt-checks li {
  position: relative;
  padding-left: 36px;
  color: var(--pt-ink);
  font-weight: 500;
}
.pt-checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pt-purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.pt-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pt-legend li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  background: #FFFFFF;
  border: 1px solid var(--pt-line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pt-ink);
}
.pt-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.pt-dot--period { background: #F58CC4; }
.pt-dot--ovulation { background: #F7A1B2; }
.pt-dot--fertile { background: #7FD3C0; }

/* quick-log illustration */
.pt-quick { width: min(100%, 380px); }
.pt-quick__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--pt-purple-700);
}
.pt-quick__fab {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--pt-lilac);
  color: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(139, 87, 221, 0.35);
}
.pt-quick__fab .pt-icon { stroke-width: 2.6; }
.pt-quick__list { display: grid; gap: 10px; }
.pt-quick__list li {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 18px 10px 10px;
  background: #FFFFFF;
  border: 1px solid var(--pt-line);
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(110, 60, 170, 0.08);
}
.pt-quick__list img { width: 56px; height: 56px; flex: none; }
.pt-quick__list strong { display: block; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.pt-quick__list small { display: block; font-size: 0.875rem; color: var(--pt-dim); line-height: 1.4; }

/* ---- daily log section --------------------------------------------------- */
.pt-log { display: grid; gap: 28px; justify-items: center; }
.pt-log__plus { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; color: var(--pt-purple-700); }
.pt-log__grid { display: grid; gap: 14px; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pt-log__item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 24px 14px 22px;
  background: linear-gradient(180deg, #FFF4FA, #FFFFFF);
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius-lg);
  box-shadow: 0 8px 20px rgba(110, 60, 170, 0.08);
  text-align: center;
}
.pt-log__item img { width: 76px; height: 76px; margin-bottom: 8px; filter: drop-shadow(0 8px 14px rgba(110, 60, 170, 0.22)); }
.pt-log__item strong { font-size: 1.0625rem; font-weight: 600; }
.pt-log__item span { font-size: 0.875rem; color: var(--pt-dim); line-height: 1.4; }
.pt-log__item:last-child { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .pt-log__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
  .pt-log__item:last-child { grid-column: auto; }
}

/* ---- steps --------------------------------------------------------------- */
.pt-steps { display: grid; gap: 16px; counter-reset: pt-step; grid-template-columns: minmax(0, 1fr); }
.pt-step {
  counter-increment: pt-step;
  padding: clamp(24px, 3vw, 34px);
  background: #FFFFFF;
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius-md);
  box-shadow: var(--pt-shadow);
  color: var(--pt-muted);
}
.pt-step::before {
  content: counter(pt-step);
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.1;
  background: var(--pt-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- privacy ------------------------------------------------------------- */
.pt-facts { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.pt-fact {
  padding: clamp(24px, 3vw, 34px);
  background: var(--pt-lilac-50);
  border: 1px solid #EADCF9;
  border-radius: var(--pt-radius-lg);
  color: var(--pt-muted);
}
.pt-fact__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 20px;
  background: #FFFFFF;
  border: 1px solid #EADCF9;
  border-radius: 16px;
  color: var(--pt-purple);
}
.pt-privacy-note {
  max-width: 44rem;
  margin: 32px auto 0;
  text-align: center;
  font-size: 1rem;
  color: var(--pt-muted);
}

/* ---- FAQ ----------------------------------------------------------------- */
.pt-faq { display: grid; gap: 12px; }
.pt-faq__item {
  background: #FFFFFF;
  border: 1px solid var(--pt-line);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(42, 27, 61, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pt-faq__item[open] { border-color: rgba(139, 87, 221, 0.5); box-shadow: var(--pt-shadow); }
.pt-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--pt-ink);
  cursor: pointer;
  list-style: none;
}
.pt-faq__item summary::-webkit-details-marker { display: none; }
.pt-faq__item summary::after {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  background: var(--pt-purple);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%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' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s ease;
}
.pt-faq__item[open] summary::after { transform: rotate(45deg); }
.pt-faq__item p { padding: 0 24px 22px; color: var(--pt-muted); font-size: 1rem; }

.pt-notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--pt-pink-50);
  border: 1px solid #F6D7EA;
  border-radius: 20px;
  color: var(--pt-muted);
  font-size: 0.9375rem;
}
.pt-notice strong { color: var(--pt-ink); }
.pt-notice__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  background: #FFFFFF;
  border-radius: 12px;
  color: #C23C8E;
}

/* ---- final CTA ----------------------------------------------------------- */
.pt-cta { padding-top: clamp(24px, 4vw, 48px); }
.pt-cta__card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 48px);
    background: linear-gradient(135deg, #FDE6F2 0%, #f8f8f8 55%, #FFF4FA 100%);
    border: 1px solid #F0D2E6;
    border-radius: clamp(28px, 4vw, 40px);
    text-align: center;
    color: var(--pt-ink);
    box-shadow: 0 24px 60px rgba(139, 87, 221, 0.16);
}
.pt-cta__card > * { position: relative; z-index: 1; }
.pt-cta__card > .pt-blob { position: absolute; z-index: 0; }
.pt-cta__icon { width: 80px; height: 80px; border-radius: 22px; margin-bottom: 24px; box-shadow: 0 10px 30px rgba(139, 87, 221, 0.28); }
.pt-cta__card .pt-h2 { max-width: 16em; color: var(--pt-ink); }
.pt-cta__card .pt-sub { max-width: 32rem; margin-bottom: 36px; color: var(--pt-muted); }
.pt-cta__card .pt-store img { height: 56px; }

/* ---- scroll reveal (only when JS is on) ---------------------------------- */
.pt-js .pt [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.pt-js .pt [data-reveal].is-visible { opacity: 1; transform: none; }
.pt-js .pt [data-reveal-delay="1"] { transition-delay: 0.08s; }
.pt-js .pt [data-reveal-delay="2"] { transition-delay: 0.16s; }

/* ---- breakpoints --------------------------------------------------------- */
@media (min-width: 640px) {
  .pt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .pt-tab { padding: 0 24px; font-size: 1rem; }
}

@media (min-width: 760px) {
  .pt-pillars, .pt-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

@media (min-width: 900px) {
  .pt-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .pt-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .pt-stage { min-height: 560px; }
}

@media (min-width: 1100px) {
  .pt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* very small phones */
@media (max-width: 380px) {
  .pt-eyebrow { font-size: 0.8125rem; }
  .pt-btn { padding: 0 22px; font-size: 1.0625rem; }
  .pt-faq__item summary { padding-inline: 18px; font-size: 1rem; }
  .pt-faq__item p { padding-inline: 18px; }
  .pt-notice { padding: 18px; }
}

/* ---- accessibility ------------------------------------------------------- */
/*
  Windows "Animation effects" off reports prefers-reduced-motion and would kill
  hero float + theme-stack motion. Keep decorative marketing animations (same
  approach as site FABs). Scroll-reveal still shows content immediately.
*/
@media (prefers-reduced-motion: reduce) {
  .pt-js .pt [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media print {
  .pt-blob, .pt-tabs { display: none !important; }
  .pt-js .pt-panel:not(.is-active) { display: grid; }
}


/* ==========================================================================
   UPDATE Â· phone frames, tinted cards, themes stack
   ========================================================================== */

/* ---- phone mockup ---------------------------------------------------------
   Every app screen is a PNG with the phone mockup already built in (transparent
   outside the phone), so no CSS border is needed. Only a soft shadow is added. */
.pt-shot { background: none; border: 0; border-radius: 0; box-shadow: none; }

/* quick-log card in the "Daily log" tab: same mockup, drawn over live HTML */
.pt-quick {
  position: relative;
  width: min(100%, 310px);
  aspect-ratio: 792 / 1563;
  padding: 15% 10.5% 9%;
  display: flex; flex-direction: column; justify-content: center;
  filter: drop-shadow(0 22px 34px rgba(110, 60, 170, 0.26));
}
.pt-quick::before {            /* the phone screen background */
  content: ""; position: absolute; z-index: 0;
  left: 5.5%; top: 2.2%; width: 89%; height: 95.6%;
  background: linear-gradient(180deg, #FFE9F4 0%, #FFFFFF 55%, #F6ECFF 100%);
}
.pt-quick::after {             /* the phone frame, transparent screen */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: url("/images/products/ichums-period-tracker/phone-frame.png") center / 100% 100% no-repeat;
}
.pt-quick > * { position: relative; z-index: 1; }
.pt-quick__head { margin-bottom: 12px; font-size: 0.9375rem; }
.pt-quick__fab { width: 40px; height: 40px; border-radius: 14px; }
.pt-quick__list { gap: 8px; }
.pt-quick__list li { gap: 12px; padding: 7px 12px 7px 7px; border-radius: 18px; }
.pt-quick__list img { width: 44px; height: 44px; }
.pt-quick__list strong { font-size: 0.9375rem; }
.pt-quick__list small { font-size: 0.75rem; line-height: 1.3; }

/* ---- tinted cards (same soft look as the daily log cards) ---------------- */
.pt-pillar, .pt-card { background: linear-gradient(180deg, #FFF4FA, #FFFFFF); box-shadow: 0 8px 20px rgba(110, 60, 170, 0.08); }
.pt-pillar:nth-child(2), .pt-card:nth-child(2n+2) { background: linear-gradient(180deg, #F6EEFF, #FFFFFF); }
.pt-pillar:nth-child(3), .pt-card:nth-child(3n) { background: linear-gradient(180deg, #E9F8F3, #FFFFFF); }
.pt-card:nth-child(4) { background: linear-gradient(180deg, #FFEDF0, #FFFFFF); }
.pt-card:nth-child(5) { background: linear-gradient(180deg, #F6EEFF, #FFFFFF); }
.pt-card:nth-child(6) { background: linear-gradient(180deg, #FFF4FA, #FFFFFF); }
.pt-pillar__icon, .pt-card__icon { background-color: #FFFFFF; box-shadow: 0 6px 14px rgba(110, 60, 170, 0.12); }
.pt-card:hover { box-shadow: 0 18px 40px rgba(110, 60, 170, 0.16); }

/* ---- themes: three screens, left / middle / right ------------------------ */
.pt-themes { position: relative; width: min(100%, 440px); aspect-ratio: 1 / 1.16; margin: 0 auto; }
.pt-themes .pt-theme__img {
  position: absolute;
  width: 54%; height: auto;
  --enter: translateY(70px) scale(0.9);
  transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.1), opacity 0.7s ease;
}
.pt-themes .pt-theme__img:nth-child(1) { left: 0;   top: 9%; z-index: 1; --rest: rotate(-7deg) scale(0.9); --enter: translateX(-90px) rotate(-18deg) scale(0.85); transform-origin: bottom center; }
.pt-themes .pt-theme__img:nth-child(2) { left: 23%; top: 0;  z-index: 3; --rest: none; --enter: translateY(90px) scale(0.9); }
.pt-themes .pt-theme__img:nth-child(3) { right: 0;  top: 9%; z-index: 2; --rest: rotate(7deg) scale(0.9); --enter: translateX(90px) rotate(18deg) scale(0.85); transform-origin: bottom center; }
.pt-themes .pt-theme__img { transform: var(--rest); }
/* before an image "arrives" it waits off to the side */
.pt-js .pt-themes .pt-theme__img:not(.is-in) { opacity: 0; transform: var(--enter); }
.pt-js .pt-themes.is-resetting .pt-theme__img { transition: opacity 0.5s ease; opacity: 0; }

.pt-theme-list { display: grid; gap: 10px; margin-top: 24px; }
.pt-theme-list li {
  display: flex; flex-direction: column;
  padding: 12px 18px;
  background: #FFFFFF;
  border: 1px solid var(--pt-line);
  border-radius: 18px;
  color: var(--pt-dim);
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.pt-theme-list strong { font-weight: 600; font-size: 1rem; color: var(--pt-ink); }
.pt-theme-list li.is-current {
  background: linear-gradient(180deg, #FFF4FA, #F6EEFF);
  border-color: rgba(139, 87, 221, 0.5);
  transform: translateX(6px);
}
/* Theme stack keeps landing animation even when OS reports reduced-motion. */
