/* Shared navigation and the parent/Thriller pages. Bedtime keeps its original styles. */
.site-nav { position: relative; z-index: 50; background: #faf9fc; border-bottom: 1px solid #dfdbe5; color: #34303d; font-family: 'Quicksand', sans-serif; }
.site-nav-inner { width: min(1200px, calc(100% - 48px)); margin: auto; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; text-decoration: none; color: inherit; }
.site-brand img { border-radius: 12px; }
.site-nav-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-nav-links a { color: inherit; text-decoration: none; font-size: 14px; padding: 10px 0; }
.site-nav-links a:hover, .site-nav-links a[aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.site-nav-links a[aria-current] { font-weight: 700; }
.site-download { padding: 10px 20px; border-radius: 30px; background: #B9A8E5; color: #2a2a2a; font-weight: 600; }
.site-nav a:focus-visible, .brand-page a:focus-visible, .brand-page button:focus-visible { outline: 3px solid #8972bd; outline-offset: 5px; }
.bedtime-page #download { scroll-margin-top: 24px; }
.brand-page { margin: 0; font-family: 'Quicksand', sans-serif; background: #faf9fc; color: #292630; line-height: 1.65; }
.brand-page *, .brand-page *::before, .brand-page *::after { box-sizing: border-box; }
.brand-page h1, .brand-page h2, .brand-page h3, .brand-page p { margin: 0; }
.brand-page h1, .brand-page h2, .brand-page h3 { line-height: 1.15; }
.brand-page button { font: inherit; }
.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.brand-hero { padding: 88px 0 70px; text-align: center; }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.brand-hero h1 { font-size: clamp(48px, 7vw, 88px); letter-spacing: -.055em; margin: 18px 0 24px; }
.intro { font-size: clamp(18px, 2vw, 21px); color: #65606e; max-width: 580px; }
.brand-hero .intro { margin: auto; }
.section-heading { margin-bottom: 32px; }
.section-heading h2, .download-panel h2 { font-size: clamp(25px, 3vw, 36px); letter-spacing: -.03em; }
.section-heading p { margin-top: 12px; color: #65606e; }
.section-heading .eyebrow { margin: 0 0 14px; }
.product-grid, .plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card { border-radius: 28px; padding: 40px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #e0d9ec; }
.bedtime-card { background: linear-gradient(145deg, #f0eaff, #fff1eb); }
.product-icon { border-radius: 22px; margin-bottom: 28px; }
.product-card h3 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.04em; margin: 14px 0 20px; }
.product-card > p:not(.eyebrow) { font-size: 18px; margin-bottom: 32px; max-width: 370px; }
.brand-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 22px; border-radius: 30px; font-weight: 700; text-decoration: none; line-height: 1.5; }
.product-card .brand-cta { margin-top: auto; }
.bedtime-cta { background: #725698; color: white; }
.thriller-cta { background: #c32e3e; color: white; }
.brand-cta:hover { filter: brightness(1.1); }
.thriller-card { color: #f5f2f3; background: radial-gradient(ellipse at top right, #442027, #202024 65%); border-color: #4b3036; }
.thriller-card > p, .thriller-card .product-marker { color: #d2c5c9; }
.product-marker { min-height: 88px; margin-bottom: 28px; display: flex; align-items: center; gap: 16px; font-size: 13px; }
.age-badge { display: inline-block; border: 1px solid #bd626d; color: #f6b5bd; padding: 8px 12px; border-radius: 10px; font-weight: 700; }
.brand-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 80px; padding: 32px 0; border-top: 1px solid #dfdbe5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; }
.footer-links a, .footer-links button { color: inherit; text-decoration: none; }
.footer-links button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.footer-links a:hover, .footer-links button:hover { text-decoration: underline; }
.brand-footer > p { font-size: 12px; }
.thriller-page { background: #121215; color: #f5f2f3; }
.thriller-hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 56px; padding: 88px 0; }
.thriller-hero h1 { font-size: clamp(40px, 5.5vw, 66px); letter-spacing: -.05em; margin: 20px 0 26px; }
.thriller-hero h1 span { color: #f17986; }
.thriller-page .intro, .thriller-page .section-heading p, .dark-panel p, .steps p { color: #c1b8c0; }
.thriller-hero .audience { margin: 24px 0; display: flex; align-items: center; gap: 14px; font-size: 14px; }
.thriller-page .thriller-screenshot-panel { min-width: 0; display: flex; justify-content: center; }
.thriller-page .thriller-phone-frame { width: min(288px, 100%); padding: 10px; border: 1px solid #474149; border-radius: 39px; background: #17171a; box-shadow: 0 20px 45px rgba(0, 0, 0, .35); }
.thriller-page .thriller-app-screenshot { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 30px; }
.brand-section { padding: 40px 0; scroll-margin-top: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dark-panel { background: #202024; border: 1px solid #383139; border-radius: 22px; padding: 30px; }
.dark-panel h3, .steps h3 { font-size: 21px; margin-bottom: 16px; }
.steps { padding: 0; list-style: none; }
.steps li { padding: 24px 0; border-top: 1px solid #4a353c; }
.step-number { display: block; color: #f17986; font-size: 32px; margin-bottom: 24px; }
.seeker-plan { border-color: #b64756; }
.dark-panel .plan-limit { font-size: 24px; color: #fff; margin-bottom: 12px; }
.dark-panel h3.eyebrow { font-size: 13px; }
.download-panel { margin-top: 40px; padding: 48px 24px; text-align: center; background: #201b20; border-radius: 24px; }
.download-panel h2 { margin: 16px 0; }
.store-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px; }
.store-placeholder { background: #2a262d; border: 1px solid #67545e; border-radius: 14px; color: #d5cbd1; padding: 12px 28px; min-width: 180px; cursor: not-allowed; font-weight: 700; }
.store-placeholder span { display: block; font-size: 12px; font-weight: 400; }
.thriller-page .brand-footer { border-color: #383139; color: #c1b8c0; }
@media (max-width: 760px) {
    .site-nav-inner { width: calc(100% - 32px); flex-wrap: wrap; gap: 8px 16px; padding: 12px 0; }
    .site-nav-links { order: 3; width: 100%; justify-content: space-between; gap: 8px; }
    .site-nav-links a { font-size: 13px; }
    .shell { width: calc(100% - 32px); }
    .brand-hero { padding: 56px 0 48px; }
    .product-grid, .feature-grid, .plan-grid, .thriller-hero { grid-template-columns: 1fr; }
    .product-card { padding: 28px; }
    .thriller-hero { padding: 48px 0 24px; gap: 32px; }
    .thriller-page .thriller-screenshot-panel { justify-content: center; }
    .brand-section { padding: 28px 0; }
    .brand-footer { margin-top: 48px; }
}

/* Parent homepage only: a quiet, logo-led product selector. */
.selector-page { background: #F4F2F3; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.selector-page .selector-main { width: min(820px, calc(100% - 48px)); margin: auto; padding: 72px 0 64px; }
.selector-page .selector-heading { text-align: center; margin-bottom: 64px; }
.selector-page .selector-heading h1 { font-size: clamp(44px, 6vw, 64px); letter-spacing: -.045em; font-weight: 600; }
.selector-page .selector-heading p { margin-top: 14px; font-size: 18px; color: #6a656e; }
.selector-page .selector-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.selector-page .selector-choice { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 12px; color: inherit; text-align: center; text-decoration: none; border-radius: 16px; }
.selector-page .selector-logo { display: block; width: 224px; max-width: 100%; aspect-ratio: 1; }
.selector-page .selector-logo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 24%; }
.selector-page .selector-logo-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border: 1px dashed #bdb7bf; border-radius: 24%; color: #77717a; font-size: 14px; line-height: 1.8; }
.selector-page .selector-label { font-size: 21px; font-weight: 600; text-underline-offset: 7px; }
.selector-page .selector-choice:hover .selector-label { text-decoration: underline; }
.selector-page .selector-footer { padding: 24px; text-align: center; color: #77717a; }
.selector-page .selector-footer .footer-links { justify-content: center; gap: 12px 28px; }
.selector-page .selector-footer p { margin-top: 16px; font-size: 12px; }
@media (max-width: 600px) {
    .selector-page .selector-main { padding: 48px 0; }
    .selector-page .selector-heading { margin-bottom: 40px; }
    .selector-page .selector-choices { grid-template-columns: 1fr; gap: 36px; }
    .selector-page .selector-logo { width: 176px; }
    .selector-page .selector-choice { gap: 20px; }
    .selector-page .selector-label { font-size: 20px; }
}

/* Match the official Thriller icon's tighter canvas to the Bedtime icon's visual size. */
.selector-page .selector-logo .selector-thriller-logo { transform: scale(.975); }
.thriller-page .thriller-hero-logo { display: block; width: 88px; height: 88px; object-fit: contain; border-radius: 22px; margin-bottom: 24px; }

/* Bedtime uses the shared product-page structure with its own light palette. */
.bedtime-page { background: linear-gradient(180deg, #f6f4ff, #eae4ff); color: #2a2a2a; }
.bedtime-hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 56px; padding: 88px 0; }
.bedtime-hero-logo { display: block; width: 88px; height: 88px; border-radius: 22px; margin-bottom: 24px; }
.bedtime-hero h1 { font-size: clamp(40px, 5.5vw, 66px); letter-spacing: -.05em; margin: 20px 0 26px; font-weight: 700; }
.bedtime-hero h1 span { color: #a891d8; }
.bedtime-page .intro { color: #5f5a69; }
.bedtime-store-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.bedtime-store-buttons a, .bedtime-store-buttons img { display: block; }
.bedtime-store-buttons img { height: 48px; max-width: 100%; width: auto; }
.bedtime-phone-panel { min-width: 0; display: flex; justify-content: center; }
.bedtime-page .section-heading .eyebrow { color: #725698; }
.bedtime-page .section-heading h2 { font-weight: 700; }
.bedtime-panel { background: #fffdfef0; border: 1px solid #ddd3f0; border-radius: 22px; padding: 30px; }
.bedtime-panel h3, .bedtime-steps h3 { font-size: 21px; font-weight: 700; margin-bottom: 16px; }
.bedtime-panel p, .bedtime-steps p { color: #5f5a69; }
.bedtime-steps { padding: 0; list-style: none; }
.bedtime-steps li { padding: 24px 0; border-top: 1px solid #cbbde6; }
.bedtime-step-number { display: block; color: #8f73c3; font-size: 32px; margin-bottom: 24px; }
.bedtime-plan h3.eyebrow { font-size: 13px; }
.bedtime-plan .plan-limit { font-size: 24px; color: #2a2a2a; margin-bottom: 12px; }
.bedtime-weaver-plan { border-color: #a891d8; }
.bedtime-download { background: #e5def9; border: 1px solid #d4c8ef; }
.bedtime-download .store-buttons { justify-content: center; }
.bedtime-footer { border-color: #d4c8ef; color: #5f5a69; }
.bedtime-footer .site-brand { color: #a891d8; }
@media (max-width: 760px) {
    .bedtime-hero { grid-template-columns: 1fr; padding: 48px 0 24px; gap: 32px; }
    .bedtime-phone-panel { justify-content: center; }
}

/* Neutral legal pages shared by both LunaRae products. */
.legal-page { background: #f5f4f6; color: #292630; }
.legal-page .site-nav { background: #fbfafc; }
.legal-main { width: min(900px, calc(100% - 48px)); margin-inline: auto; padding: 72px 0 24px; }
.legal-header { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid #dcd9e0; }
.legal-header .eyebrow { color: #65606e; margin-bottom: 14px; }
.legal-header h1 { font-size: clamp(38px, 6vw, 60px); letter-spacing: -.045em; }
.legal-header > p:last-child { max-width: 720px; font-size: 18px; color: #5e5963; }
.legal-updated { margin: 16px 0 24px !important; color: #716b76; font-size: 14px; }
.legal-document { padding: 8px 0 48px; }
.legal-document section { padding: 28px 0; border-bottom: 1px solid #dfdce3; }
.legal-document section:first-child { padding-top: 0; }
.legal-document h2 { margin-bottom: 16px; font-size: clamp(24px, 3vw, 30px); letter-spacing: -.025em; }
.legal-document h3 { margin: 24px 0 10px; font-size: 19px; }
.legal-document p, .legal-document li { color: #514c56; }
.legal-document p + p { margin-top: 14px; }
.legal-document ul { margin: 14px 0 0; padding-left: 24px; }
.legal-document li + li { margin-top: 8px; }
.legal-document a, .legal-header a { color: #51416f; text-underline-offset: 4px; }
.legal-document code { padding: 2px 5px; border-radius: 5px; background: #e9e6ec; font: .9em ui-monospace, monospace; }
.legal-footer { width: min(1200px, calc(100% - 48px)); color: #625c67; }
.legal-footer .site-brand { color: #34303d; }
.legal-footer .footer-links a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 760px) {
    .legal-main, .legal-footer { width: calc(100% - 32px); }
    .legal-main { padding-top: 48px; }
    .legal-header { padding-bottom: 24px; }
    .legal-header > p:last-child { font-size: 16px; }
    .legal-document section { padding: 24px 0; }
}
