/* ===== Cyria landing — design tokens ===== */
:root {
  --cream: #faf5f2;
  --cream-deep: #f4ece8;
  --ink: #33222b;
  --ink-soft: #6f5c64;
  --crimson: #c2436b;
  --crimson-deep: #a83254;
  --crimson-tint: #f7e3ea;
  --lavender: #7c4dcf;
  --lavender-tint: #ece3fa;
  --card: #ffffff;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 18px 50px rgba(90, 34, 54, 0.12);
  --shadow-soft: 0 8px 30px rgba(90, 34, 54, 0.08);
  --font-display: "Nunito", "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", "Nunito", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: min(1140px, 92vw); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; }

h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 0.9rem;
}
.eyebrow.light { color: #ffd7e3; }

.section-head { max-width: 640px; margin: 0 auto 3.2rem; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); margin-top: 0.9rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(194, 67, 107, 0.08);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 1.45rem; letter-spacing: -0.02em; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft);
  font-weight: 600; font-size: 0.95rem;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--crimson); }
.site-nav .nav-cta {
  background: var(--crimson); color: #fff;
  padding: 0.6rem 1.25rem; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(194, 67, 107, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.site-nav .nav-cta:hover { background: var(--crimson-deep); color: #fff; transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 7rem);
  background:
    radial-gradient(720px 460px at 88% 8%, rgba(236, 227, 250, 0.9), transparent 60%),
    radial-gradient(640px 480px at -10% 90%, rgba(247, 227, 234, 0.9), transparent 60%),
    var(--cream);
  overflow: hidden;
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.hero-copy h1 { font-size: clamp(2.6rem, 5.4vw, 4rem); font-weight: 900; }
.hero-copy h1 em { font-style: normal; color: var(--crimson); }

.lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 30rem; margin: 1.3rem 0 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.store-btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--ink); color: #fff;
  padding: 0.7rem 1.3rem; border-radius: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.store-btn svg { width: 26px; height: 26px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn small { font-size: 0.68rem; opacity: 0.75; letter-spacing: 0.04em; }
.store-btn strong { font-size: 1.02rem; font-family: var(--font-display); }
.store-btn:hover { transform: translateY(-2px); background: #4a323e; box-shadow: var(--shadow-soft); }

.hero-points { list-style: none; margin-top: 2rem; display: grid; gap: 0.55rem; }
.hero-points li { color: var(--ink-soft); font-weight: 600; padding-left: 1.7rem; position: relative; }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--crimson); font-weight: 800;
}

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 9 / 18.6;
  background: #fff;
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(51, 34, 43, 0.05);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px; background: #fff;
  border-radius: 0 0 18px 18px; z-index: 2;
}
.phone-screen {
  height: 100%; background: var(--cream);
  border-radius: 32px; overflow: hidden;
  padding: 2.2rem 1.1rem 1.1rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.phone-date { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 0.6rem; font-weight: 600; }

.ring-wrap { position: relative; width: 82%; max-width: 250px; }
.cycle-ring { width: 100%; display: block; }
.arc { fill: none; }
.arc-period { filter: drop-shadow(0 3px 8px rgba(194, 67, 107, 0.4)); }

.ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  pointer-events: none;
}
.ring-label { font-size: 0.8rem; color: var(--ink-soft); }
.ring-day { font-family: var(--font-display); font-size: 3rem; font-weight: 900; color: var(--crimson); line-height: 1.05; }
.ring-next { font-weight: 800; font-size: 0.9rem; margin-top: 0.2rem; }
.ring-next strong { color: var(--crimson); }
.ring-expected { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.15rem; }

.phone-legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.8rem;
  margin-top: auto; padding-top: 0.8rem;
  font-size: 0.68rem; color: var(--ink-soft); font-weight: 600;
}
.phone-legend span { display: inline-flex; align-items: center; gap: 0.3rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-period { background: var(--crimson); }
.dot-predicted { background: repeating-linear-gradient(45deg, #efb9cb 0 3px, #f9e9ef 3px 6px); border-radius: 3px; }
.dot-ovulation { background: var(--lavender); }
.dot-fertile { background: #e4d5fa; }

.phone-status {
  width: 100%; margin-top: 0.7rem;
  background: var(--crimson-tint); color: var(--crimson-deep);
  border-radius: 12px; padding: 0.55rem 0.4rem;
  font-size: 0.72rem; font-weight: 700;
}
.phone-cta {
  width: 100%; margin-top: 0.6rem;
  background: var(--crimson); color: #fff;
  border-radius: 999px; padding: 0.8rem 0;
  font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em;
  box-shadow: 0 8px 18px rgba(194, 67, 107, 0.35);
}

.float-chip {
  position: absolute;
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 0.6rem 0.95rem;
  font-size: 0.78rem; font-weight: 700; color: var(--ink-soft);
  display: flex; align-items: center; gap: 0.45rem;
  animation: float 5s ease-in-out infinite;
}
.chip-num { font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; color: var(--crimson); }
.chip-a { top: 12%; left: -4%; }
.chip-b { bottom: 22%; right: -6%; animation-delay: 1.2s; }
.chip-c { bottom: -3%; left: 6%; animation-delay: 2.1s; }
.chip-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--lavender); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Features ===== */
.features { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(194, 67, 107, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.feature-icon {
  width: 54px; height: 54px; border-radius: 18px;
  display: grid; place-items: center;
  color: var(--crimson);
  background: var(--crimson-tint);
  margin-bottom: 1.2rem;
}
.feature-icon svg { width: 28px; height: 28px; }
.icon-lav { color: var(--lavender); background: var(--lavender-tint); }

.feature-card h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 0.5rem; }
.feature-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Screens ===== */
.screens { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); }

.screen-strip {
  display: flex; gap: 1.2rem;
  overflow-x: auto;
  padding: 0.5rem max(calc((100vw - 1140px) / 2), 4vw) 2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--crimson) transparent;
}
.screen-strip::-webkit-scrollbar { height: 8px; }
.screen-strip::-webkit-scrollbar-thumb { background: var(--crimson-tint); border-radius: 8px; }
.screen-strip::-webkit-scrollbar-track { background: transparent; }

.shot {
  flex: 0 0 auto;
  width: min(280px, 66vw);
  scroll-snap-align: center;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 10px 10px 0;
  border: 1px solid rgba(194, 67, 107, 0.06);
}
.shot img {
  border-radius: 18px;
  max-height: 480px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
.shot figcaption {
  text-align: center;
  font-weight: 700; font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 0.8rem 0 1rem;
}

/* ===== Tips band ===== */
.tips-band {
  background: linear-gradient(135deg, var(--crimson) 0%, #a83254 100%);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-radius: clamp(28px, 6vw, 56px);
  margin: 0 max(12px, 2vw);
}

.tips-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tips-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.tips-copy p { opacity: 0.92; margin-top: 1rem; max-width: 26rem; }

.text-link { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, 0.5); padding-bottom: 2px; display: inline-block; margin-top: 1.6rem; transition: border-color 0.2s ease; }
.text-link:hover { border-color: #fff; }

.tips-cards { display: grid; gap: 0.9rem; }
.tip-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  backdrop-filter: blur(6px);
}
.tip-ic {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: grid; place-items: center;
  font-size: 1.2rem; color: #ffd7e3;
}
.tip-card h4 { font-size: 0.98rem; font-weight: 800; line-height: 1.35; }
.tip-card p { font-size: 0.86rem; opacity: 0.85; margin-top: 0.25rem; }

/* ===== Privacy ===== */
.privacy { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.privacy-card {
  background: var(--card);
  border: 1px solid rgba(194, 67, 107, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.8rem;
  box-shadow: var(--shadow-soft);
}
.privacy-card h3 { font-size: 1.08rem; font-weight: 800; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.55rem; }
.check {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--crimson-tint); color: var(--crimson);
  display: inline-grid; place-items: center;
  font-size: 0.85rem; font-weight: 900; flex: 0 0 auto;
}
.privacy-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Download ===== */
.download { padding: 0 0 clamp(4rem, 9vw, 7rem); }

.download-card {
  text-align: center;
  background: linear-gradient(160deg, #3d2833 0%, var(--ink) 100%);
  color: #fff;
  border-radius: clamp(28px, 6vw, 48px);
  padding: clamp(2.8rem, 7vw, 4.5rem) 1.5rem;
  box-shadow: var(--shadow);
}
.download-mark { width: 56px; height: 56px; margin-bottom: 1.2rem; }
.download-card p { opacity: 0.85; margin-top: 0.7rem; }

.notify-form {
  display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center;
  margin-top: 1.8rem;
  position: relative;
}
.notify-form input {
  flex: 1 1 260px; max-width: 360px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  color: #fff; font-family: inherit; font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.notify-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.notify-form input:focus { border-color: #ffd7e3; background: rgba(255, 255, 255, 0.14); }
.notify-form button {
  background: var(--crimson); color: #fff;
  border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 1.7rem; border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.notify-form button:hover { background: #d65a80; transform: translateY(-1px); }
.form-note { width: 100%; font-size: 0.85rem; min-height: 1.3em; margin-top: 0.4rem; color: #ffd7e3; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid rgba(194, 67, 107, 0.08); padding: 2.5rem 0; background: var(--cream-deep); }

.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 1.6rem; align-items: start; }
.footer-brand { font-size: 1.1rem; }
.footer-tag { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.5rem; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--crimson); }

.footer-legal { text-align: right; color: var(--ink-soft); font-size: 0.82rem; }
.footer-legal p + p { margin-top: 0.3rem; opacity: 0.8; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .phone { width: min(300px, 70vw); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { justify-content: center; }
  .footer-legal { text-align: center; }
}

@media (max-width: 640px) {
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem 6vw 1.4rem; gap: 0.4rem;
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: 0.25s ease;
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 0.7rem 0.2rem; }
  .site-nav .nav-cta { text-align: center; margin-top: 0.4rem; }
  .nav-toggle { display: block; }

  .feature-grid { grid-template-columns: 1fr; }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
}
