:root {
    --dark: #1E1E18;
    --surface-dark: #2A2A24;
    --text-on-dark: #F5F5E9;
    --muted: #A8A89E;
    --border-dark: #3A3A33;
    --primary: #E96050;
    --header-accent-light: #C94A3C;
    --header-accent-dark: #F28A7E;
    --gold: #E8A548;
    --tag-terracotta: #D9724F;
    --tag-ochre: #E0A458;
    --tag-sage: #8CAD82;
    --tag-teal: #5FA8A3;
    --accent-gradient: linear-gradient(100deg, var(--gold) 0%, var(--primary) 55%, var(--header-accent-light) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body {
    background: var(--dark);
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- CAROUSEL ---------- */
.showcase-carousel {
    position: relative;
    height: 150vh;
    background: var(--dark);
}

.showcase-carousel>.features-heading {
    position: absolute;
    z-index: 3;
    top: clamp(2rem, 5vw, 4.5rem);
    left: 0;
    width: 100%;
    padding: 0 7vw;
    color: var(--text-on-dark);
    pointer-events: none;
}

.carousel-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.carousel-captions {
    position: absolute;
    z-index: 2;
    left: clamp(2rem, 9vw, 10rem);
    width: min(34vw, 29rem);
    display: grid;
    gap: .35rem;
}

.carousel-caption-link {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    margin: 0;
    color: var(--muted);
    text-align: left;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.carousel-caption-link:hover,
.carousel-caption-link:focus-visible {
    color: var(--text-on-dark);
    outline: none;
}

.carousel-caption-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.carousel-caption-link.active {
    color: var(--text-on-dark);
    border-color: color-mix(in srgb, var(--caption-accent, var(--primary)) 55%, transparent);
    background: color-mix(in srgb, var(--caption-accent, var(--primary)) 16%, transparent);
    transform: translateX(.35rem);
}

.carousel-caption-link.active i {
    color: var(--caption-accent, var(--primary));
    transform: scale(1.15);
}

.carousel-captions .carousel-caption-link:nth-child(1) {
    --caption-accent: var(--tag-terracotta);
}

.carousel-captions .carousel-caption-link:nth-child(2) {
    --caption-accent: var(--tag-ochre);
}

.carousel-captions .carousel-caption-link:nth-child(3) {
    --caption-accent: var(--tag-sage);
}

.carousel-captions .carousel-caption-link:nth-child(4) {
    --caption-accent: var(--tag-teal);
}

.carousel-captions .carousel-caption-link:nth-child(5) {
    --caption-accent: var(--gold);
}

.showcase-carousel .carousel,
.showcase-carousel .carousel-inner {
    width: 100%;
    height: 100%;
}

.showcase-carousel .carousel-item {
    width: 100%;
    height: 100%;
}

.showcase-carousel .carousel-item.active,
.showcase-carousel .carousel-item-next,
.showcase-carousel .carousel-item-prev {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 701px) {

    .showcase-carousel .carousel-item.active,
    .showcase-carousel .carousel-item-next,
    .showcase-carousel .carousel-item-prev {
        padding-left: min(34vw, 29rem);
        padding-right: clamp(2rem, 7vw, 8rem);
    }
}

.carousel-img {
    display: block;
    max-width: min(90vw, 380px);
    max-height: 58vh;
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 24px;
}

/* ---------- HERO ---------- */

.hero-content-wrap {
    position: relative;
    overflow: hidden;
}

.hero-sticky {
    min-height: 100svh;
    width: 100%;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
    padding: 4rem 6vw;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    background:
        radial-gradient(circle at 50% 55%, rgba(233, 96, 80, .18) 0, rgba(233, 96, 80, 0) 30rem),
        var(--dark);
}

.hero-sticky>* {
    grid-column: 1;
    width: min(100%, 1100px);
}

.logo-lockup {
    width: min(920px, 86vw) !important;
    padding: clamp(.7rem, 2vw, 1.4rem);
    border-radius: clamp(1.25rem, 3vw, 2.25rem);
}

#logo {
    display: block;
    width: 100%;
    height: auto;
}

.hero-sticky>p {
    position: relative;
    z-index: 1;
    justify-self: center;
}

.hero-promise {
    max-width: 32ch;
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 650;
    line-height: 1.45;
}

.content-sticky {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 8vw;
    background: var(--dark);
    border-top: 1px solid rgba(245, 245, 233, .1);
    color: var(--text-on-dark);
}

.content-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 1120px);
    gap: 5vw;
    flex-wrap: wrap;
}

.content-text {
    flex: 1 1 420px;
    min-width: 300px
}

.headline {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.01em;
}

.headline .muted {
    color: var(--muted);
    font-weight: 600
}

.headline .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-image {
    flex: 0 1 380px;
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1206/2622;
    border-radius: 44px;
    overflow: hidden;
}

.phone-frame img {
    width: 100%;
    height: 100%;
}

/* ---------- FEATURES ---------- */
.features {
    position: relative;
    height: 100vh;
    width: 100%;
    background: var(--dark);
    color: var(--text-on-dark);
    padding: 6vw 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

.features-heading {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 3.5rem;
}

.features-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.01em;
}

.features-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 24px;
    padding: 2.4rem;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translateX(-80px);
    transition: all .6s
}

.feature-card:nth-child(even) {
    transform: translateX(80px)
}

.feature-card.visible {
    opacity: 1;
    transform: translateX(0)
}

.feature-number {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--text-on-dark);
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.features-grid .feature-card:nth-child(1) .feature-number {
    background: var(--tag-terracotta);
}

.features-grid .feature-card:nth-child(2) .feature-number {
    background: var(--tag-ochre);
}

.features-grid .feature-card:nth-child(3) .feature-number {
    background: var(--tag-sage);
}

.features-grid .feature-card:nth-child(4) .feature-number {
    background: var(--tag-teal);
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: .7rem
}

.feature-text {
    font-size: .98rem;
    line-height: 1.55;
    color: var(--muted)
}

/* ---------- BETA SIGNUP / FAQ ---------- */
.closing-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
    gap: clamp(3rem, 9vw, 10rem);
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: clamp(5rem, 9vw, 9rem) 8vw;
    background: var(--dark);
    color: var(--text-on-dark);
    overflow: hidden;
}

.closing-section::before {
    content: "";
    position: absolute;
    top: -16rem;
    left: -18rem;
    width: min(65vw, 850px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(233, 96, 80, .18) 0%, rgba(233, 96, 80, 0) 65%);
    pointer-events: none;
    z-index: 0;
}

.closing-intro,
.closing-faq {
    position: relative;
    z-index: 2;
}

.closing-intro {
    max-width: 32rem;
}

.coming-soon-title {
    margin: 0 0 1.2rem;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.01em;
}

.coming-soon-title .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.coming-soon-text {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 42ch;
    margin: 0 0 2.2rem;
}

.faq-heading {
    margin-bottom: 2rem;
}

.faq-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.01em;
}

.faq-container {
    max-width: 44rem;
}

.faq-container .accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: rgba(245, 245, 233, .1);
    --bs-accordion-border-width: 1px;
    --bs-accordion-border-radius: 16px;
    --bs-accordion-inner-border-radius: 15px;
    --bs-accordion-btn-color: var(--text-on-dark);
    --bs-accordion-btn-bg: rgba(245, 245, 233, .03);
    --bs-accordion-active-color: var(--header-accent-dark);
    --bs-accordion-active-bg: rgba(233, 96, 80, .1);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(232, 165, 72, .25);
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f5f5e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f28a7e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
}

.faq-container .accordion-item {
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-container .accordion-item:last-of-type {
    margin-bottom: 0;
}

.faq-container .accordion-button {
    font-weight: 700;
    font-size: 1rem;
    padding: 1.3rem 1.6rem;
}

.faq-container .accordion-body {
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.6;
    padding: 0 1.6rem 1.5rem;
}

.faq-container .accordion-body strong {
    color: var(--text-on-dark);
}

.faq-section {
    background: var(--surface-dark);
    border-top: 1px solid var(--border-dark);
    grid-template-columns: 1fr;
    justify-items: center;
}

.faq-section::before {
    top: -14rem;
    left: 50%;
    transform: translateX(-50%);
}

.faq-section .closing-faq {
    width: 100%;
    max-width: 44rem;
    text-align: center;
}

.faq-section .faq-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-section .accordion-body {
    text-align: left;
}

#betaSignup::before {
    display: none;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 26rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-group label {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}

.form-group input {
    padding: .85rem 1.1rem;
    border-radius: 10px;
    border: 1px solid var(--border-dark);
    background: rgba(245, 245, 233, .04);
    color: var(--text-on-dark);
    font-size: 1rem;
    outline: none;
    transition: border-color .2s ease, background-color .2s ease;
}

.form-group input:focus {
    border-color: var(--primary);
    background: rgba(245, 245, 233, .07);
}

.form-group input::placeholder {
    color: var(--muted);
    opacity: .6;
}

.signup-submit {
    padding: .9rem 1.6rem;
    border: none;
    border-radius: 999px;
    background: var(--primary);
    color: var(--text-on-dark);
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, background-color .2s ease;
}

.signup-submit:hover {
    background: var(--header-accent-light);
    transform: translateY(-1px);
}

.signup-note {
    font-size: .85rem;
    color: var(--muted);
    margin: 0;
}

/* ---------- FOOTER ---------- */
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.75rem 8vw;
    background: var(--dark);
    border-top: 1px solid var(--border-dark);
    color: var(--muted);
}

.footer-brand {
    color: var(--text-on-dark);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.04em;
    text-decoration: none;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.footer-socials a {
    padding: .45rem .75rem;
    border: 1px solid var(--border-dark);
    border-radius: 999px;
    color: var(--text-on-dark);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    border-color: var(--primary);
    background: rgba(233, 96, 80, .12);
    color: var(--header-accent-dark);
    outline: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:700px) {
    .showcase-carousel {
        height: auto;
    }

    .carousel-sticky {
        position: relative;
        display: flex;
        flex-direction: column;
        height: auto;
        overflow: visible;
        padding: 2rem 7vw 2rem;
    }

    .showcase-carousel>.features-heading {
        position: static;
        padding: 2.5rem 7vw 1.5rem;
        pointer-events: auto;
    }

    .features {
        height: auto;
        overflow: visible;
        padding: 6vw 6vw;
    }

    .carousel-captions {
        order: 2;
        position: relative;
        left: auto;
        align-self: center;
        width: 100%;
        text-align: center;
        margin-top: 1.25rem;
    }

    .carousel-caption-link {
        display: none;
        width: 100%;
        justify-content: center;
        transform: none !important;
    }

    .carousel-caption-link.active {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
    }

    .showcase-carousel .carousel {
        order: 1;
        /* image renders first */
        position: relative;
        inset: auto;
        display: flex;
        flex-direction: column;
        height: auto;
        margin-top: 0;
    }

    .showcase-carousel .carousel-inner {
        order: 1;
        height: auto;
    }

    .showcase-carousel .carousel-indicators {
        position: static;
        order: 2;
        margin: 1.25rem 0 0;
    }

    .showcase-carousel .carousel-item {
        height: auto;
    }

    .showcase-carousel .carousel-item.active,
    .showcase-carousel .carousel-item-next,
    .showcase-carousel .carousel-item-prev {
        padding: 0;
    }

    .carousel-img {
        max-width: min(88vw, 420px);
        max-height: 60vh;
        margin: 0;
    }

    .content-sticky {
        padding: 8vw 7vw
    }

    .content-inner {
        flex-direction: column
    }

    .content-image {
        order: -1;
        max-width: 200px
    }

    .features {
        padding: 6vw 6vw
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .feature-card {
        padding: 1.4rem
    }

    .closing-section {
        grid-template-columns: 1fr;
        gap: 4rem;
        min-height: auto;
        padding: 5.5rem 6vw 6rem;
    }

    .closing-section::before {
        top: -13rem;
        left: -14rem;
        width: 38rem;
    }

    .site-footer {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 6vw;
    }

    .content-inner {
        gap: 10rem;
    }

    .content-image {
        order: -1;
        max-width: 200px;
        margin-bottom: .5rem;
    }
}