/* ==========================================================================
   Brand marks
   ========================================================================== */
.logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-brand-primary);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-plus {
    font-size: 1.1rem;
    vertical-align: super;
    margin-left: 2px;
    color: var(--color-brand-secondary);
}

.header-pill {
    background: #FFFFFF;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(233, 107, 136, 0.1);
    color: var(--color-brand-primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s var(--transition-smooth), box-shadow 0.25s var(--transition-smooth), background 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary {
    background: var(--color-brand-primary);
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(233, 107, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(233, 107, 136, 0.4);
}

.btn-secondary {
    background: #FDEDEE;
    color: var(--color-brand-primary);
}

.btn-secondary:hover {
    background: #FCDCDD;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--color-brand-primary);
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

:where(a, button, input, [tabindex]):focus-visible {
    outline: 3px solid var(--color-brand-primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-tagline {
    color: var(--color-brand-primary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: block;
}

.hero-title {
    font-size: 3.75rem;
    color: var(--color-text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-privacy-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.hero-visual-wrapper {
    position: relative;
}

.glow-bg {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.38;
    z-index: 0;
    pointer-events: none;
}

.pink-glow   { background: var(--color-brand-secondary); top: 6%;  left: 4%; }
.orange-glow { background: var(--color-accent-orange);   bottom: 6%; right: 4%; }

/* ==========================================================================
   Section headers
   ========================================================================== */
.section-center-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.section-tagline {
    color: var(--color-brand-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin: 14px 0;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   The chain — sequence, not feature grid
   ========================================================================== */
.chain {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chain-text {
    max-width: 420px;
}

.chain-text h3 {
    font-size: 1.9rem;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
}

.chain-text p {
    color: var(--color-text-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

/* ==========================================================================
   Restraint — what she will not do
   ========================================================================== */
.restraint-inner {
    max-width: 720px;
    text-align: center;
}

.restraint-inner h2 {
    font-size: 2.4rem;
    margin: 16px 0 44px 0;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Closing — the loop back
   ========================================================================== */
.closing-copy {
    max-width: 520px;
}

.closing-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-brand-secondary);
    margin-bottom: 18px;
}

.closing-title {
    font-size: 2.4rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.closing-body p {
    color: var(--color-text-muted);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* ==========================================================================
   Early access
   ========================================================================== */
.early-access-card {
    background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-brand-secondary) 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-floating);
    color: #FFFFFF;
    padding: 56px;
    text-align: center;
    max-width: 760px;
}

.ea-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
}

.ea-intro h2 {
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.ea-intro p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 520px;
    margin: 0 auto;
}

.ea-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    justify-content: center;
    margin: 32px auto 0 auto;
    max-width: 540px;
    flex-wrap: wrap;
}

.ea-field {
    flex: 1 1 260px;
    text-align: left;
}

.ea-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}

.ea-field input {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    padding: 14px 20px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ea-field input::placeholder {
    color: #B8A7A9;
}

.ea-field input:focus {
    border-color: #FFFFFF;
    background: #FFFFFF;
}

.ea-field input[aria-invalid="true"] {
    border-color: #7A2338;
}

.ea-submit {
    flex: 0 0 auto;
    justify-content: center;
    background: #FFFFFF;
    color: var(--color-brand-primary);
    box-shadow: 0 10px 24px rgba(45, 35, 37, 0.14);
}

.ea-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(45, 35, 37, 0.18);
}

.ea-note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 20px auto 0 auto;
    max-width: 480px;
}

.ea-status {
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 1.4em;
    color: #FFFFFF;
}

.early-access-card :where(a, button, input):focus-visible {
    outline-color: #FFFFFF;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.footer-logo {
    font-size: 1.25rem;
}

.footer-parent {
    margin-top: 6px;
    font-size: 0.85rem;
}

.footer-parent a {
    color: var(--color-brand-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-disclaimer {
    font-size: 0.8rem;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal-left, .reveal-right, .reveal-item {
    opacity: 0;
    transition: transform 1.2s var(--transition-smooth), opacity 1.2s var(--transition-smooth);
}

.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-item  { transform: translateY(30px); }

.reveal-active {
    opacity: 1 !important;
    transform: translate(0) !important;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-left, .reveal-right, .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Narrow screens
   ========================================================================== */
@media (max-width: 968px) {
    }

@media (max-width: 768px) {
    .hero-title { font-size: 2.9rem; }
    .section-title { font-size: 2rem; }
    .chain-text h3 { font-size: 1.6rem; }
    .restraint-inner h2 { font-size: 1.9rem; }
    .closing-title { font-size: 1.9rem; }
        .early-access-card { padding: 36px 24px; }
    .ea-intro h2 { font-size: 1.6rem; }

    .ea-form {
        flex-direction: column;
        align-items: stretch;
    }

    /* flex-basis resolves against height once the row becomes a column. */
    .ea-field { flex: 0 0 auto; }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.4rem; }
    }

/* ==========================================================================
   Trust notes — the short, factual half of "why you can trust it"
   ========================================================================== */
.trust-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 700px;
    margin: 48px auto 0;
    padding-top: 36px;
    border-top: 1px solid var(--color-border);
    text-align: left;
}

.trust-notes p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.trust-notes strong {
    display: block;
    color: var(--color-text-dark);
    font-weight: 600;
    margin-bottom: 4px;
}

/* The foundation is named here, inside the closing argument — never as a
   section of its own. It is a reason, not a product. */
.foundation-line {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.foundation-line strong {
    color: var(--color-text-dark);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.foundation-line a {
    color: var(--color-brand-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .trust-notes {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
}

/* ==========================================================================
   Screen-reader-only content
   ========================================================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Hero rotator
   --------------------------------------------------------------------------
   The animated line is decorative — assistive technology reads the full list
   in .visually-hidden instead, so nobody has to wait through a carousel to
   learn what the product does. main.js reads its lines from that same list,
   so there is one source of truth in the markup.
   ========================================================================== */
.rotator {
    margin-bottom: 36px;
    max-width: 520px;
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--color-text-muted);
    /* Reserve the tallest state so a longer line never nudges the button
       down mid-read. Three lines: the lead, plus two of wrapped capability. */
    min-height: calc(3 * 1.55em);
}

.rotator-lead {
    color: var(--color-text-dark);
    font-weight: 600;
}

.rotator-track {
    display: inline;
}

.rotator-line {
    display: inline-block;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.45s var(--transition-smooth), transform 0.45s var(--transition-smooth);
    color: var(--color-brand-primary);
    font-weight: 600;
}

.rotator-line.is-active {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .rotator-line {
        transition: none;
    }
}

/* ==========================================================================
   What Lunelle is — one paragraph, given room to be read
   ========================================================================== */
.definition-inner {
    max-width: 780px;
    text-align: center;
    margin: 0 auto;
}

.definition-text {
    margin-top: 18px;
    font-size: 1.3rem;
    line-height: 1.65;
    color: var(--color-text-dark);
    text-wrap: pretty;
}

/* ==========================================================================
   Capability lists
   ========================================================================== */
.does-list,
.wont-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.does-list li,
.wont-list li {
    position: relative;
    padding: 0 0 16px 30px;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.does-list li::before,
.wont-list li::before {
    position: absolute;
    left: 0;
    top: 0.34em;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
}

.does-list li::before {
    content: "✓";
    background: #E9F6EF;
    color: #2F7A57;
}

.wont-list li::before {
    content: "–";
    background: #F4EFF0;
    color: #8A7A7E;
}

/* ==========================================================================
   Trust — two columns, so the boundary reads as a considered position
   rather than a list of things the product cannot manage.
   ========================================================================== */
.restraint-lead {
    color: var(--color-text-muted);
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 48px auto;
}

.restraint-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    text-align: left;
}

.restraint-col h3 {
    font-size: 1.05rem;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
}

@media (max-width: 768px) {
    .rotator { font-size: 1.05rem; }
    .definition-text { font-size: 1.08rem; }

    .restraint-columns {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}
