:root {
  --bg: #eef3f8;
  --panel: #ffffff;
  --text: #243447;
  --muted: #6f7f90;
  --brand: #3a7bd5;
  --brand-soft: #eef5ff;
  --line: #d8e4f0;
  --cycle-accent: #5f8fdc;
  --ttc-accent: #44b38a;
  --pregnancy-accent: #d39a3c;
  --peri-accent: #c76b8e;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7fbff 0%, var(--bg) 100%);
}

.topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
}

.topbar-brand-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(19, 41, 66, 0.14));
}

.topbar-brand-text {
  color: #ee5b8f;
  font-family: "Apple Chancery", "Snell Roundhand", Zapfino, "Segoe Script", "Brush Script MT", cursive;
  font-size: 29px;
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.topbar-controls {
  margin-left: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.menu-toggle-icon span {
  display: block;
  width: 18px;
  height: 2px;
  background: #2b3a4a;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu {
  margin-top: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  display: none;
  gap: 8px;
  align-items: stretch;
  justify-content: flex-start;
  flex-direction: column;
  min-width: 220px;
  position: absolute;
  top: calc(100% + 8px);
  left: 14px;
  z-index: 20;
  box-shadow: 0 16px 30px rgba(17, 36, 56, 0.14);
}

.menu.is-open {
  display: flex;
}

.menu a {
  color: #2b3a4a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.menu a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.menu a.active,
.menu a[aria-current="page"] {
  background: #dbe9ff;
  color: #18467d;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  color: #2b3a4a;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.01em;
  padding: 10px 12px;
  border-radius: 10px;
  line-height: inherit;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-btn:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-dropdown-btn.active {
  background: #dbe9ff;
  color: #18467d;
}

.nav-dropdown-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentcolor;
  transition: transform 0.2s ease;
}

.nav-dropdown-panel {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-left: 8px;
}

.nav-dropdown-panel.is-open {
  display: flex;
}

@media (min-width: 841px) {
  .topbar {
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    padding: 14px 24px 0;
  }

  .topbar-inner {
    position: relative;
    isolation: isolate;
    margin: 0 auto;
    max-width: 1120px;
    padding: 14px 22px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(214, 226, 240, 0.95);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(245, 250, 255, 0.9));
    box-shadow: 0 18px 42px rgba(19, 41, 66, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(9px) saturate(1.1);
  }

  .topbar-brand {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    gap: 12px;
  }

  .topbar-brand-img {
    width: 50px;
    height: 50px;
  }

  .topbar-brand-text {
    font-size: 33px;
  }

  .topbar-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 46%);
    pointer-events: none;
    z-index: -1;
  }

  .menu-toggle {
    display: none;
  }

  .topbar-controls {
    display: none;
  }

  .menu {
    display: flex;
    position: static;
    min-width: 0;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .menu a {
    font-size: 13px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #1f3550;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    white-space: nowrap;
  }

  .menu a:hover {
    color: #17497d;
    border-color: #d8e7f8;
    background: linear-gradient(180deg, #f9fcff, #edf5ff);
    box-shadow: 0 8px 20px rgba(48, 93, 146, 0.12);
    transform: translateY(-1px);
  }

  .menu a.active,
  .menu a[aria-current="page"] {
    color: #113d6c;
    border-color: #bad4f2;
    background: linear-gradient(180deg, #f3f8ff, #e5f0ff);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  }

  .nav-dropdown-btn {
    font-size: 13px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #1f3550;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    white-space: nowrap;
  }

  .nav-dropdown-btn:hover {
    color: #17497d;
    border-color: #d8e7f8;
    background: linear-gradient(180deg, #f9fcff, #edf5ff);
    box-shadow: 0 8px 20px rgba(48, 93, 146, 0.12);
    transform: translateY(-1px);
  }

  .nav-dropdown-btn.active {
    color: #113d6c;
    border-color: #bad4f2;
    background: linear-gradient(180deg, #f3f8ff, #e5f0ff);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transform: none;
  }

  .nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 8px;
    min-width: 185px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 30px rgba(17, 36, 56, 0.14);
    z-index: 100;
  }

  .nav-dropdown-panel::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
  }

  .nav-dropdown:hover .nav-dropdown-panel,
  .nav-dropdown-panel.is-open {
    display: flex;
  }

  .nav-dropdown:hover .nav-dropdown-caret,
  .nav-dropdown-btn[aria-expanded="true"] .nav-dropdown-caret {
    transform: rotate(180deg);
  }

  .nav-dropdown-panel a {
    border-color: transparent;
  }

  .nav-dropdown-panel a:hover {
    transform: none;
  }
}

main {
  max-width: 760px;
  margin: 56px auto 80px;
  background: var(--panel);
  padding: 60px;
  border-radius: 14px;
  border: 1px solid #e6edf5;
  box-shadow: 0 24px 56px rgba(17, 36, 56, 0.08);
}

.home-page {
  max-width: 1100px;
  margin: 22px auto 80px;
  padding: 20px;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.home-page section {
  margin: 0;
  padding-top: 0;
  border-top: 0;
}

.home-page .hero {
  display: block;
  margin: 0;
  padding: 0;
}

.home-page .value,
.home-page .features,
.home-page .screenshots,
.home-page .steps,
.home-page .trust,
.home-page .cta {
  margin-top: 0;
}

.home-page footer {
  margin-top: 0;
}

.home-page .hero-content {
  position: absolute;
  left: clamp(34px, 5vw, 58px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: min(430px, 46%);
  text-align: left;
}

.home-page .hero h1 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.8px;
  color: #13263a;
  text-shadow: 0 4px 16px rgba(255, 255, 255, 0.7);
  max-width: 11ch;
}

.home-page .tagline {
  margin-top: 14px;
  font-size: clamp(16px, 1.7vw, 21px);
  color: #1e344a;
  text-shadow: 0 3px 12px rgba(255, 255, 255, 0.65);
  max-width: 34ch;
}

.home-page .subtle {
  margin-top: 12px;
  color: #2f475e;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.58);
}

.home-page .hero-visual {
  flex: none;
  display: flex;
  justify-content: center;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.home-page .hero-visual::before {
  content: "";
  position: absolute;
  width: min(930px, 90vw);
  height: min(930px, 90vw);
  background: radial-gradient(circle, #e9d5ff, transparent 68%);
  border-radius: 50%;
}

.home-page .hero-visual img {
  width: 100vw;
  border-radius: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}

.home-page .home11top-section {
  margin: 0;
}

.home-page .home11top-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  gap: clamp(20px, 4vw, 48px);
  padding: 8px clamp(24px, 6vw, 96px) 12px;
  background: linear-gradient(135deg, #fff4e3 0%, #ffe8cc 100%);
  border: 1px solid #f1d3ad;
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.home-page .home11top-copy {
  max-width: 500px;
  text-align: left;
}

.home-page .home11top-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #7a4a25;
  text-shadow: 0 4px 16px rgba(255, 255, 255, 0.7);
  max-width: 11ch;
}

.home-page .home11top-copy p {
  margin: 14px 0 0;
  font-size: clamp(16px, 1.7vw, 21px);
  color: #7a4f2f;
  text-shadow: 0 3px 12px rgba(255, 255, 255, 0.65);
  max-width: 34ch;
}

.home-page .home11top-copy .home11top-subtle {
  margin-top: 12px;
  color: #8f6443;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.58);
  font-size: 17px;
}

.home-page .home11top-visual img {
  width: clamp(180px, 22vw, 300px);
  display: block;
}

.home-page .value {
  border-top: 0;
  padding-top: 0;
}

.home-page .value-visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.home-page .home6-visual {
  overflow: hidden;
}

.home-page .home8-visual {
  align-items: center;
}

.home-page .home33-visual {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #fff8ee 0%, #f8ecdd 100%);
  border-radius: 20px;
  border: 1px solid #ead7c0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.home-page .home33-visual .mission-content {
  position: static;
  transform: none;
  max-width: 360px;
  order: -1;
}

.home-page .value-visual img {
  width: 100vw;
  border-radius: 0;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
  display: block;
}

.home-page .home33-visual img {
  width: clamp(140px, 18vw, 240px);
  border-radius: 0;
  box-shadow: none;
}

.home-page .home6-visual img {
  transform: scale(1.035);
  transform-origin: center;
}

.home-page .value-visual + .value-visual {
  margin-top: 56px;
}

.home-page .value-content {
  position: absolute;
  left: clamp(34px, 5vw, 58px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: min(430px, 46%);
  text-align: left;
}

.home-page .value-content h2 {
  margin: 0;
  color: #13263a;
  text-shadow: 0 4px 16px rgba(255, 255, 255, 0.7);
}

.home-page .value-content p {
  color: #1e344a;
  text-shadow: 0 3px 12px rgba(255, 255, 255, 0.65);
  max-width: 34ch;
}

.home-page .mission-content {
  left: auto;
  right: clamp(34px, 5vw, 58px);
}

.home-page .home11-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  gap: 32px;
  padding: 40px clamp(24px, 6vw, 96px) 64px;
  background: linear-gradient(135deg, #eaf8f3 0%, #dff1ea 100%);
  border-radius: 0;
}

.home-page .home11-copy {
  max-width: 430px;
  text-align: left;
}

.home-page .home11-copy h2 {
  margin: 0 0 12px;
  color: #13263a;
}

.home-page .home11-copy p {
  margin: 0 0 12px;
  color: #1e344a;
  line-height: 1.7;
}

.home-page .home11-copy p:last-child {
  margin-bottom: 0;
}

.home-page .home11-visual img {
  width: clamp(220px, 26vw, 360px);
  display: block;
}

.home-page .feature-content {
  max-width: min(440px, 44%);
}

.home-page .feature-content h2 {
  color: #ab4b67;
  text-shadow: 0 4px 16px rgba(255, 255, 255, 0.82);
}

.home-page .feature-content p {
  color: #7c4d5d;
  text-shadow: 0 3px 12px rgba(255, 255, 255, 0.78);
  max-width: 33ch;
  margin-bottom: 18px;
}

.home-page .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.home-page .feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7a4453;
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.72);
}

.home-page .feature-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  border-radius: 999px;
  position: relative;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 16px rgba(184, 120, 142, 0.18);
}

.home-page .feature-period::before,
.home-page .feature-symptoms::before,
.home-page .feature-ovulation::before,
.home-page .feature-patterns::before,
.home-page .feature-informed::before {
  content: "";
  position: absolute;
}

.home-page .feature-period::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f36d98;
}

.home-page .feature-symptoms::before {
  width: 12px;
  height: 10px;
  background: #ff8b9b;
  border-radius: 10px 10px 10px 0;
  transform: rotate(-45deg);
}

.home-page .feature-ovulation::before {
  width: 12px;
  height: 12px;
  border: 2px solid #49b978;
  border-radius: 50%;
}

.home-page .feature-patterns::before {
  width: 12px;
  height: 2px;
  background: #8b76d9;
  box-shadow: 0 -4px 0 #8b76d9, 0 4px 0 #8b76d9;
}

.home-page .feature-informed::before {
  width: 4px;
  height: 11px;
  background: #3f8fe8;
  border-radius: 999px;
  box-shadow: 0 -8px 0 -1px #3f8fe8;
}

.home-page .privacy-content {
  max-width: min(460px, 44%);
}

.home-page .privacy-content h2 {
  color: #0f5f52;
  text-shadow: 0 3px 14px rgba(255, 255, 255, 0.75);
}

.home-page .privacy-content p {
  color: #29564f;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.72);
  max-width: 35ch;
}

.home-page .home8-content {
  left: auto;
  right: clamp(34px, 5vw, 58px);
  max-width: min(560px, 48%);
  padding: 0;
}

.home-page .home8-content h2 {
  color: #15314a;
  text-shadow: 0 3px 14px rgba(255, 255, 255, 0.68);
}

.home-page .home8-content p {
  color: #28435b;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.64);
  max-width: 44ch;
}

.home-page .section-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #ebeff5;
  box-shadow: 0 16px 42px rgba(23, 40, 60, 0.06);
}

.home-page .section-card.alt {
  background: #faf7ff;
}

.home-page h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.home-page p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
}

.home-page .cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.home-page .card {
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 24px;
  transition: all 0.2s ease;
}

.home-page .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.journey-card {
  border-width: 1px;
  border-style: solid;
}

.journey-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.journey-mark {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  position: relative;
}

.journey-cycle {
  border-color: #d7e6ff;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.journey-cycle .journey-mark {
  border: 2px solid var(--cycle-accent);
  border-radius: 50%;
}

.journey-ttc {
  border-color: #d2f0e7;
  background: linear-gradient(180deg, #f5fffb, #ffffff);
}

.journey-ttc .journey-mark {
  border: 2px solid var(--ttc-accent);
  border-radius: 4px;
  transform: rotate(45deg);
}

.journey-pregnancy {
  border-color: #fde7c8;
  background: linear-gradient(180deg, #fffaf2, #ffffff);
}

.journey-pregnancy .journey-mark {
  border: 2px solid var(--pregnancy-accent);
  border-radius: 50%;
}

.journey-pregnancy .journey-mark::before,
.journey-pregnancy .journey-mark::after {
  content: "";
  position: absolute;
  background: var(--pregnancy-accent);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.journey-pregnancy .journey-mark::before {
  width: 8px;
  height: 2px;
}

.journey-pregnancy .journey-mark::after {
  width: 2px;
  height: 8px;
}

.journey-perimenopause {
  border-color: #f5d2df;
  background: linear-gradient(180deg, #fff7fb, #ffffff);
}

.journey-perimenopause .journey-mark {
  border: 2px solid var(--peri-accent);
  border-radius: 999px;
}

.journey-perimenopause .journey-mark::before,
.journey-perimenopause .journey-mark::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--peri-accent);
}

.journey-perimenopause .journey-mark::before {
  left: 4px;
}

.journey-perimenopause .journey-mark::after {
  right: 4px;
}

.home-page .section-subtitle {
  text-align: center;
}

.phones {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.iphone {
  width: 240px;
  height: 500px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.iphone:hover {
  transform: translateY(-6px);
}

.iphone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 2;
}

.home-page .step {
  border: 1px solid #eee;
  border-radius: 16px;
}

.home-page .cta {
  text-align: center;
  background: linear-gradient(135deg, #efeaff, #f7f5ff);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid #e8defe;
}

.faq-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid #e7ecf4;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px 16px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: #23364f;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: #6a59d7;
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 10px 0 0;
}

.content-page {
  max-width: 1100px;
  margin: 22px auto 80px;
  padding: 20px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.content-page section {
  margin: 70px 0;
}

.content-page .hero {
  margin: 20px 0 0;
  padding: 0;
  max-width: 760px;
}

.content-page .hero h1 {
  font-size: 42px;
  line-height: 1.16;
  letter-spacing: -0.6px;
}

.content-page .tagline {
  margin-top: 16px;
  font-size: 19px;
  color: #1d1d1f;
}

.content-page .section-card {
  background: #ffffff;
  padding: 34px;
  border-radius: 20px;
  border: 1px solid #ebeff5;
  box-shadow: 0 16px 42px rgba(23, 40, 60, 0.06);
}

.content-page h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.content-page p,
.content-page li {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
}

.content-page ul {
  margin: 0;
  display: grid;
  gap: 10px;
}

.toc-card {
  margin-top: 30px;
}

.toc-list {
  margin: 8px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.toc-list a {
  color: #1a4f8f;
  text-decoration: none;
}

.toc-list a:hover {
  text-decoration: underline;
}

.content-page h3 {
  font-size: 22px;
  margin: 20px 0 8px;
  color: #1f3550;
}

.content-page .about-intro-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  margin: 56px calc(50% - 50vw);
  padding: 60px 24px;
  background: #fdf0f3;
  width: 100vw;
}

.about-intro-img-wrap {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
}

.about-intro-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 30px rgba(19, 41, 66, 0.12));
}

.about-intro-text {
  max-width: 640px;
}

.about-intro-text h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  color: #13263a;
  letter-spacing: -0.02em;
}

.about-intro-text p {
  font-size: 17px;
  line-height: 1.75;
  color: #314457;
  margin: 0;
}

.content-page .about-visual-section {
  position: relative;
  width: 100vw;
  margin: 56px calc(50% - 50vw);
  display: flex;
  justify-content: center;
}

.about-visual-img {
  width: 100vw;
  display: block;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}

.about-visual-content {
  position: absolute;
  left: clamp(34px, 5vw, 58px);
  top: 50%;
  transform: translateY(-50%);
  max-width: min(460px, 46%);
  z-index: 2;
}

.about-visual-content h2 {
  margin: 0 0 12px;
  color: #13263a;
  text-shadow: 0 4px 16px rgba(255, 255, 255, 0.7);
}

.about-visual-content p {
  color: #1e344a;
  text-shadow: 0 3px 12px rgba(255, 255, 255, 0.65);
  margin: 0 0 10px;
}

.about-approach-section .about-visual-content {
  left: auto;
  right: clamp(34px, 5vw, 58px);
}

.about-approach-tags {
  position: absolute;
  bottom: clamp(132px, 22%, 192px);
  left: clamp(100px, 12vw, 170px);
  right: auto;
  display: flex;
  flex-direction: row;
  gap: 44px;
  z-index: 2;
}

.about-approach-tags span {
  display: block;
  color: #13263a;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-align: left;
  text-transform: uppercase;
}

.about-team-top {
  position: absolute;
  top: clamp(80px, 20%, 160px);
  left: clamp(34px, 5vw, 58px);
  right: clamp(34px, 5vw, 58px);
  z-index: 2;
  text-align: center;
}

.about-team-top h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  color: #13263a;
  text-shadow: 0 4px 16px rgba(255, 255, 255, 0.7);
}

.about-team-bottom {
  position: absolute;
  bottom: clamp(20px, 5%, 48px);
  left: clamp(34px, 5vw, 58px);
  right: clamp(34px, 5vw, 58px);
  z-index: 2;
  text-align: center;
}

.about-team-bottom p {
  color: #1e344a;
  text-shadow: 0 3px 12px rgba(255, 255, 255, 0.65);
  margin: 0 auto 8px;
  max-width: 64ch;
}

.hero {
  margin-bottom: 40px;
  padding: 4px 0 8px;
}

.subtle {
  font-size: 14px;
  color: #7a8998;
}

h1 {
  font-size: 32px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.tagline {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

h2 {
  margin-top: 40px;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #1c2d3f;
}

section {
  margin-top: 35px;
  scroll-margin-top: 90px;
}

.value,
.steps,
.trust,
.cta,
.screenshots {
  margin-top: 60px;
}

section:not(.hero) {
  border-top: 1px solid #edf2f7;
  padding-top: 22px;
}

.features h2,
.screenshots h2,
.steps h2,
.trust h2,
.cta h2 {
  margin-bottom: 14px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.card {
  background: #ffffff;
  border: 1px solid #e8eef5;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 22px rgba(17, 36, 56, 0.06);
}

.card h3,
.step h3 {
  margin: 0 0 8px;
  color: #213244;
}

.card p,
.step p {
  margin: 0;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e8eef5;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.screenshots {
  text-align: center;
}

.section-subtitle {
  color: #5f6f80;
  margin-bottom: 30px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.screenshots-grid img {
  width: 100%;
  border-radius: 28px;
  border: 6px solid #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.product-page {
  max-width: 1100px;
  margin: 22px auto 80px;
  padding: 20px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.product-page .product {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.product-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 38px;
  align-items: center;
}

.hero-left .lead {
  font-size: 22px;
  line-height: 1.45;
  color: #314457;
  margin-bottom: 16px;
}

.product-page p {
  font-size: 16px;
  line-height: 1.7;
}

.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-right::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(146, 102, 255, 0.22), rgba(146, 102, 255, 0));
  transform: translateY(24px);
}

.phone {
  width: 260px;
  height: 520px;
  border-radius: 34px;
  background: #ffffff;
  padding: 10px;
  border: 1px solid #e7ecf4;
  box-shadow: 0 25px 60px rgba(24, 41, 61, 0.16);
  position: relative;
  z-index: 1;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 760px;
  margin: 46px auto 0;
}

.function-summary {
  margin-top: 42px;
}

.function-summary p {
  margin-top: 8px;
}

.product-feature-card {
  min-height: 210px;
  padding: 24px 20px;
  border-radius: 16px;
  border: 1px solid #e7ecf4;
}

.icon-chip {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #314c73;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(49, 76, 115, 0.12);
  margin-bottom: 10px;
}

.icon-glyph {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
}

.icon-glyph.icon-cycle {
  border: 2px solid currentcolor;
  border-radius: 50%;
}

.icon-glyph.icon-ttc {
  border: 2px solid currentcolor;
  border-radius: 4px;
  transform: rotate(45deg);
}

.icon-glyph.icon-pregnancy {
  border: 2px solid currentcolor;
  border-radius: 50%;
}

.icon-glyph.icon-pregnancy::before,
.icon-glyph.icon-pregnancy::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: currentcolor;
}

.icon-glyph.icon-pregnancy::before {
  width: 8px;
  height: 2px;
}

.icon-glyph.icon-pregnancy::after {
  width: 2px;
  height: 8px;
}

.icon-glyph.icon-perimenopause {
  border: 2px solid currentcolor;
  border-radius: 999px;
}

.icon-glyph.icon-perimenopause::before,
.icon-glyph.icon-perimenopause::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentcolor;
}

.icon-glyph.icon-perimenopause::before {
  left: 3px;
}

.icon-glyph.icon-perimenopause::after {
  right: 3px;
}

.product-feature-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #1f3150;
}

.product-feature-card p {
  margin: 0;
  font-size: 14px;
}

.product-feature-card.function-cycle {
  border-color: #d7e6ff;
  background: linear-gradient(180deg, #eef5ff, #f8fbff);
}

.product-feature-card.function-ttc {
  border-color: #d2f0e7;
  background: linear-gradient(180deg, #ebfbf5, #f8fffc);
}

.product-feature-card.function-pregnancy {
  border-color: #fde7c8;
  background: linear-gradient(180deg, #fff3e3, #fff9f1);
}

.product-feature-card.function-perimenopause {
  border-color: #f5d2df;
  background: linear-gradient(180deg, #fff0f6, #fff8fb);
}

.product-feature-card.function-cycle .icon-chip {
  color: #1d5fbc;
  background: #dcebff;
  border-color: #bfd7ff;
}

.product-feature-card.function-ttc .icon-chip {
  color: #0d6c51;
  background: #d5f3e8;
  border-color: #b8e7d6;
}

.product-feature-card.function-pregnancy .icon-chip {
  color: #9f5f00;
  background: #ffe8c8;
  border-color: #ffd79d;
}

.product-feature-card.function-perimenopause .icon-chip {
  color: #9f2c57;
  background: #ffdce9;
  border-color: #f6bcd0;
}

.function-details {
  margin-top: 34px;
  display: grid;
  gap: 20px;
}

.function-details h2 {
  margin: 0;
}

.function-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: center;
}

.function-detail.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.function-detail.reverse .function-detail-media {
  order: 2;
}

.function-detail.reverse .function-detail-copy {
  order: 1;
}

.function-detail-media img {
  width: 100%;
  max-width: 260px;
  border-radius: 20px;
  border: 1px solid #e6edf5;
  box-shadow: 0 16px 34px rgba(17, 36, 56, 0.12);
  display: block;
  margin: 0 auto;
}

.function-detail-copy h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #213244;
}

.function-detail.function-cycle .function-detail-copy h3 {
  color: #1d5fbc;
}

.function-detail.function-ttc .function-detail-copy h3 {
  color: #0d6c51;
}

.function-detail.function-pregnancy .function-detail-copy h3 {
  color: #9f5f00;
}

.function-detail.function-perimenopause .function-detail-copy h3 {
  color: #9f2c57;
}

.function-detail-copy p {
  margin: 0;
}

.product-visual-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  justify-content: center;
}

.product-page .product-visual-section {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.product-visual-img {
  width: 100vw;
  display: block;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}

.product-visual-content {
  position: absolute;
  left: clamp(34px, 5vw, 58px);
  top: 50%;
  transform: translateY(-50%);
  max-width: min(460px, 46%);
  z-index: 2;
}

.product-visual-content h3 {
  margin: 0 0 12px;
  color: #13263a;
  font-size: clamp(22px, 3vw, 34px);
  text-shadow: 0 4px 16px rgba(255, 255, 255, 0.7);
}

.product-visual-content p {
  color: #1e344a;
  text-shadow: 0 3px 12px rgba(255, 255, 255, 0.65);
  margin: 0 0 10px;
}

.card-usage {
  background: #f2efff;
}

.card-accuracy {
  background: #f0f5ff;
}

.card-medical {
  background: #f6f1ff;
}

.card-privacy {
  background: #eef8f3;
}

p, li {
  color: #3f4f60;
  line-height: 1.6;
}

ul {
  padding-left: 20px;
}

footer {
  margin-top: 50px;
  font-size: 14px;
  color: #6f7f90;
  border-top: 1px solid #edf2f7;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.footer-meta {
  margin: 0;
}

.footer-terms {
  color: #1a4f8f;
  text-decoration: none;
  font-weight: 600;
}

.footer-terms:hover {
  text-decoration: underline;
}

.footer-sep {
  color: #9ab0c8;
  font-size: 20px;
  line-height: 1;
  user-select: none;
  margin: 0 -8px;
}

.footer-locale {
  margin-top: 0;
  order: -1;
}

.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-select {
  appearance: none;
  min-width: 112px;
  padding: 8px 30px 8px 34px;
  border: 1px solid #d8e4f0;
  border-radius: 10px;
  background: #ffffff;
  color: #243447;
  font: inherit;
}

.lang-globe {
  position: absolute;
  left: 12px;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}

a {
  color: var(--brand);
  text-decoration: none;
}

@media (max-width: 840px) {
  footer {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  main {
    margin: 30px 16px 40px;
    padding: 28px;
    border-radius: 12px;
  }

  h1 {
    font-size: 28px;
  }

  .tagline {
    font-size: 17px;
  }

  .menu a {
    font-size: 13px;
  }

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

  .product-page {
    margin: 18px auto 40px;
    padding: 8px;
  }

  .product-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .function-detail,
  .function-detail.reverse {
    grid-template-columns: 1fr;
  }

  .function-detail.reverse .function-detail-media,
  .function-detail.reverse .function-detail-copy {
    order: initial;
  }

  .function-detail-copy h3 {
    font-size: 22px;
  }

  .phone {
    width: 220px;
    height: 440px;
  }

  .home-page {
    margin: 18px auto 40px;
    padding: 8px;
    gap: 48px;
  }

  .home-page .hero {
    gap: 0;
  }

  .home-page .home11top-visual {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 16px 18px;
  }

  .home-page .home11top-copy {
    max-width: none;
  }

  .home-page .home11top-copy h2 {
    font-size: clamp(28px, 7.2vw, 40px);
    max-width: none;
  }

  .home-page .home11top-copy p,
  .home-page .home11top-copy .home11top-subtle {
    font-size: 17px;
    max-width: none;
  }

  .home-page .home11top-visual img {
    width: min(220px, 68vw);
  }

  .home-page .hero-content {
    inset: auto 16px 14px;
    top: auto;
    bottom: 14px;
    transform: none;
    width: auto;
    max-width: none;
  }

  .home-page .hero h1 {
    font-size: clamp(28px, 7.2vw, 40px);
  }

  .home-page .hero-visual img {
    width: 100%;
    border-radius: 0;
  }

  .home-page .value-content {
    inset: auto 16px 14px;
    top: auto;
    bottom: 14px;
    transform: none;
    width: auto;
    max-width: none;
  }

  .home-page .mission-content {
    left: 16px;
    right: 16px;
  }

  .home-page .feature-content {
    max-width: none;
  }

  .home-page .feature-list li {
    font-size: 15px;
  }

  .home-page .privacy-content {
    max-width: none;
  }

  .home-page .home11-visual {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 16px 24px;
  }

  .home-page .home11-visual img {
    width: min(260px, 72vw);
  }

  .home-page .home11-copy {
    max-width: none;
  }

  .home-page .value-visual img {
    width: 100%;
    border-radius: 0;
  }

  .home-page .value-visual + .value-visual {
    margin-top: 48px;
  }

  .home-page .section-card {
    padding: 26px;
  }

  .home-page .cta {
    padding: 34px 24px;
  }

  .content-page {
    margin: 18px auto 40px;
    padding: 8px;
  }

  .content-page section {
    margin: 50px 0;
  }

  .content-page .about-intro-split,
  .content-page .about-visual-section {
    margin: 48px calc(50% - 50vw);
  }

  .content-page .hero h1 {
    font-size: 34px;
  }

  .content-page .tagline {
    font-size: 18px;
  }

  .content-page .section-card {
    padding: 24px;
  }
}
