/* UI Brand Component Identity System */
.logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-brand-primary);
    display: flex;
    align-items: center;
}

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

/* Custom Component Header Pill Display */
.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);
}

/* Button UI Definitions */
.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;
    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;
}

/* Structural Layout Feature Header */
.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;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 480px;
}

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

/* Application Interface Core Frame Representation Engine */
.hero-visual-wrapper {
    position: relative;
    height: 640px;
}

.phone-mockup {
    background: var(--color-bg-card);
    width: 290px;
    height: 580px;
    border-radius: 40px;
    box-shadow: var(--shadow-floating);
    border: 12px solid #FFFFFF;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Background Glow Blurs */
.glow-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
}
.pink-glow { background: var(--color-brand-secondary); top: 10%; left: 10%; }
.orange-glow { background: var(--color-accent-orange); bottom: 10%; right: 10%; }

/* Trust Ribbon Components */
.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon-box {
    font-size: 1.5rem;
}

.trust-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-item p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Feature Grid Structural Modules Elements */
.section-center-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 2.5rem;
    margin: 12px 0;
}

.section-subtitle {
    color: var(--color-text-muted);
}

/* Mid Section Brand Expertise Deck Block Layout styles */
.unique-card-container {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 60px;
    border: 1px solid var(--color-border);
}

.expertise-grid-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.expertise-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.expertise-lead-text {
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.mother-illustration-placeholder {
    position: relative;
    width: 100%;
    height: 320px;
    background: #FFF5F3;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Interactive Breakout overrides for mid screens profiles */
@media (max-width: 968px) {
    .expertise-grid-inner {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    .unique-card-container {
        padding: 32px;
    }
}

/* Premium Keyframe Micro-Animation Configurations */
@keyframes float {
    0% { transform: translate(-50%, -48%); }
    50% { transform: translate(-50%, -52%); }
    100% { transform: translate(-50%, -48%); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Native Scroll Reveal Base Styles */
.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;
}

/* Main phone offset adjustment framework hook override to secure coordinate alignment inside transition */
.main-phone.reveal-active {
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
    animation: float 6s ease-in-out infinite;
    animation-delay: 1.2s;
}
/* ==========================================================================
   Accessibility — skip link
   ========================================================================== */
.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);
}

/* Anchors carrying .btn / .logo must not inherit link decoration */
a.btn,
a.logo {
    text-decoration: none;
}

/* Stroke SVGs replace decorative emoji (Brand Voice §6) */
.trust-icon-box {
    color: var(--color-brand-primary);
    line-height: 1;
}

/* ==========================================================================
   Early access
   ========================================================================== */
.early-access-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 56px;
    text-align: center;
    max-width: 760px;
}

.ea-intro h2 {
    font-size: 2rem;
    margin: 12px 0 16px 0;
}

.ea-intro p {
    color: var(--color-text-muted);
    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: var(--color-text-muted);
    margin-bottom: 6px;
}

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

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

.ea-field input:focus {
    border-color: var(--color-brand-primary);
}

.ea-field input[aria-invalid="true"] {
    border-color: var(--color-accent-pink);
}

.ea-submit {
    flex: 0 0 auto;
    justify-content: center;
}

.ea-note {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

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

.ea-status.is-error {
    color: var(--color-accent-pink);
}

.ea-status.is-success {
    color: #2F7A57;
}

/* ==========================================================================
   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;
}

@media (max-width: 768px) {
    .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 —
       without this the field claims 260px of empty vertical space. */
    .ea-field {
        flex: 0 0 auto;
    }

    .ea-submit {
        justify-content: center;
    }

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

/* ==========================================================================
   Icon system — stroke SVGs inherit the tint of the tile they sit in
   ========================================================================== */
.icon {
    display: block;
    flex: 0 0 auto;
}

/* ==========================================================================
   Proof list — the editorial "where the answers come from" block.
   Deliberately not another icon row; the page already has two.
   ========================================================================== */
.proof-list {
    list-style: none;
    margin: 36px 0 0 0;
    padding: 0;
    display: grid;
    gap: 26px;
}

.proof-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    align-items: start;
}

.proof-num {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-brand-secondary);
    line-height: 1.1;
    padding-top: 2px;
    font-variant-numeric: tabular-nums;
}

.proof-list strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.proof-list div {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.expertise-content .section-tagline {
    display: block;
    margin-bottom: 14px;
}

.expertise-content h2 {
    font-size: 2.1rem;
    line-height: 1.15;
}

@media (max-width: 620px) {
    .proof-list li {
        grid-template-columns: 34px 1fr;
        gap: 12px;
    }

    .expertise-content h2 {
        font-size: 1.7rem;
    }
}

/* ==========================================================================
   Real product screenshots
   ========================================================================== */

/* Hero: the screenshot fills the phone frame edge to edge. */
.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Showcase: three screens, generous, uncropped. */
.showcase-item {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.showcase-frame {
    width: 100%;
    max-width: 300px;
    border-radius: 28px;
    border: 8px solid #FFFFFF;
    box-shadow: var(--shadow-floating);
    overflow: hidden;
    background: var(--color-bg-card);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}

.showcase-item:hover .showcase-frame {
    transform: translateY(-8px);
}

.showcase-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-item figcaption {
    margin-top: 28px;
    max-width: 320px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.showcase-item figcaption strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 6px;
}

/* ==========================================================================
   Early access — now the single, quiet close of the page
   ========================================================================== */
.early-access-card {
    background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-brand-secondary) 100%);
    border: none;
    color: #FFFFFF;
    box-shadow: var(--shadow-floating);
}

.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;
}

.early-access-card h2 {
    color: #FFFFFF;
}

.ea-intro p {
    color: rgba(255, 255, 255, 0.92);
}

.early-access-card .ea-field label {
    color: rgba(255, 255, 255, 0.85);
}

.early-access-card .ea-field input {
    background: rgba(255, 255, 255, 0.96);
    border-color: transparent;
    color: var(--color-text-dark);
}

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

.early-access-card .ea-submit {
    background: #FFFFFF;
    color: var(--color-brand-primary);
    box-shadow: 0 10px 24px rgba(45, 35, 37, 0.14);
}

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

.early-access-card .ea-note {
    color: rgba(255, 255, 255, 0.88);
}

.early-access-card .ea-status.is-error,
.early-access-card .ea-status.is-success {
    color: #FFFFFF;
}

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

/* ==========================================================================
   Closing section — a beat of quiet before the invitation.
   Deliberately spare: no card, no border, no icon. Just the page and the words.
   ========================================================================== */
.closing-inner {
    max-width: 640px;
    text-align: center;
}

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

.closing-title {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 32px;
}

.closing-lead {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.75rem;
    line-height: 1.4;
    color: var(--color-brand-primary);
    max-width: 34ch;
    margin: 0 auto 46px auto;
    text-wrap: balance;
}

.closing-body {
    max-width: 56ch;
    margin: 0 auto;
    text-align: left;
}

.closing-inner p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 22px;
    text-wrap: pretty;
}

.closing-inner p strong {
    color: var(--color-text-dark);
    font-weight: 600;
}

.closing-attribution {
    max-width: 52ch;
    margin: 44px auto 0 auto;
    padding-top: 34px;
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-style: italic;
}

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

@media (max-width: 620px) {
    .closing-title {
        font-size: 1.7rem;
    }

    .closing-lead {
        font-size: 1.35rem;
        max-width: none;
    }
}
