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

:root {
    --cream: #f6f2ea;
    --cream-alt: #efeadf;
    --ink: #26301f;
    --green: #3a4530;
    --green-dark: #2c3524;
    --gold: #c8873c;
    --gold-dark: #b97a34;
    --text-muted: #6b6b5f;
    --line: #e4ddcc;
    --pill-bg: #efe8d8;
    --white: #ffffff;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--cream);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 96px;
}

img {
    max-width: 100%;
}

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 242, 234, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.logo-accent {
    color: var(--gold);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--green);
}

.header-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-btn:hover {
    transform: translateY(-1px);
}

.store-btn--dark {
    background: var(--green);
    color: #fff;
}

.store-btn--gold {
    background: var(--gold);
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    margin: 0 auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero-v2 {
    padding: 64px 0 40px;
}

.hero-v2__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 22px;
}

.eyebrow-dash {
    width: 26px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
}

.hero-v2__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(40px, 5.8vw, 78px);
    line-height: 1.06;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-v2__title em {
    color: var(--gold);
    font-style: italic;
    font-weight: 600;
}

.hero-v2__desc {
    font-size: 19px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-v2__desc strong {
    color: var(--ink);
    font-weight: 600;
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 44px;
}

.store-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.store-pill:hover {
    transform: translateY(-2px);
}

.store-pill span {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    font-size: 12px;
}

.store-pill span strong {
    font-size: 16px;
    font-weight: 700;
}

.store-pill--dark {
    background: var(--green);
    color: #fff;
}

.store-pill--outline {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 26px 0 0;
    margin-right: 26px;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pill-bg);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-copy strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
}

.stat-copy p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.3;
    margin-top: 2px;
}

/* ---- Phone frame component ---- */
.phone-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 19;
    border-radius: 38px;
    background: linear-gradient(160deg, #5c5e59 0%, #232420 60%, #1a1b18 100%);
    padding: 10px;
    box-shadow:
        0 30px 60px -20px rgba(30, 26, 15, 0.35),
        0 10px 25px rgba(30, 26, 15, 0.15);
}

.phone-frame__screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 29px;
    overflow: hidden;
    background: #fff;
}

.phone-frame__screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Some screenshots don't reserve blank space for the notch at their own top edge —
   inset the image below it so the notch doesn't sit over real UI text. */
.phone-frame__screen--inset-top {
    padding-top: 30px;
}

.phone-frame__notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 20px;
    background: #111;
    border-radius: 14px;
    z-index: 3;
}

.hero-v2__phones {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.phone-frame--hero-chat {
    width: 56%;
    max-width: 300px;
    z-index: 1;
}

.phone-frame--hero-wardrobe {
    width: 45%;
    max-width: 248px;
    margin-left: -46px;
    margin-bottom: -14px;
    z-index: 2;
}

.phone-frame--tall {
    width: min(100%, 300px);
    margin: 0 auto;
}

/* ============ STEP SECTIONS ============ */
.step-section {
    padding: 88px 0;
}

.step-section:nth-of-type(even) {
    background: var(--cream-alt);
}

.step-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.step-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 16px;
}

.step-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.step-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 4.4vw, 50px);
    line-height: 1.22;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 22px;
}

.step-title em {
    color: var(--gold);
    font-style: italic;
    font-weight: 600;
}

.step-desc {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 20px;
}

.step-desc strong {
    color: var(--ink);
    font-weight: 700;
}

.platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.badge {
    background: #fff;
    border: 1px solid var(--line);
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 2px 6px rgba(38, 48, 31, 0.04);
}

.tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pill-bg);
    color: var(--ink);
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
}

.tag-pill svg {
    color: var(--green);
    flex-shrink: 0;
}

.step-visual {
    display: flex;
    justify-content: center;
}

.floating-card {
    width: min(100%, 320px);
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 30px 60px -20px rgba(30, 26, 15, 0.3),
        0 10px 25px rgba(30, 26, 15, 0.12);
}

.floating-card img {
    width: 100%;
    display: block;
}

/* ============ THE FULL LOOP BAND ============ */
.loop-band {
    background: var(--green-dark);
    color: #f4efe3;
    text-align: center;
    padding: 80px 24px;
}

.loop-eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.loop-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 56px;
}

.loop-title em {
    color: var(--gold);
    font-style: italic;
    font-weight: 600;
}

.loop-steps {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.loop-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 18px;
}

.loop-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.loop-step p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(244, 239, 227, 0.72);
}

/* ============ TESTIMONIALS ============ */
.testimonials-section {
    padding: 90px 24px;
}

.testimonials-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 20px 40px -24px rgba(38, 48, 31, 0.18);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-avatar--green {
    background: var(--green);
}

.testimonial-avatar--gold {
    background: var(--gold);
}

.testimonial-avatar--sage {
    background: #8a9a7a;
}

.testimonial-author-info strong {
    display: block;
    font-size: 15px;
    color: var(--ink);
}

.testimonial-author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============ FINAL CTA ============ */
.final-cta {
    background: var(--green-dark);
    color: #fff;
    text-align: center;
    padding: 90px 24px;
}

.final-cta-eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.final-cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(30px, 4.6vw, 50px);
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 20px;
}

.final-cta-title em {
    color: var(--gold);
    font-style: italic;
    font-weight: 600;
}

.final-cta-desc {
    font-size: 17px;
    color: rgba(244, 239, 227, 0.8);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.store-pill--outline-dark {
    background: transparent;
    border: 1px solid rgba(232, 214, 173, 0.35);
    color: #fff;
}

.store-pill--outline-dark:hover {
    border-color: rgba(232, 214, 173, 0.6);
}

.final-cta-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 28px;
    border-right: 1px solid rgba(244, 239, 227, 0.15);
    color: var(--gold);
}

.final-cta-badge:last-child {
    border-right: none;
}

.final-cta-badge strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.final-cta-badge span {
    font-size: 12px;
    color: rgba(244, 239, 227, 0.65);
}

/* ============ FOOTER ============ */
.site-footer {
    background: #16180f;
    padding: 26px 40px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
    font-size: 13px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 0 12px;
}

.footer-links a:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copyright {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

/* ============ RESPONSIVE ============ */
/* Hero and step sections stay two-column (text beside image) all the way
   down to phone widths — see .hero-v2__inner / .step-grid base rules and
   the compact-column overrides below. Only the icon grid and testimonial
   cards switch to a single column, since those aren't text/image pairs. */
@media (max-width: 960px) {
    .loop-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

/* Safety net: grid/flex items must not be forced wider than their track by
   an unbreakable child (buttons, pill rows) — without this, narrow two-column
   layouts overflow the viewport instead of wrapping their contents. */
.hero-v2__content,
.hero-v2__phones,
.step-text,
.step-visual {
    min-width: 0;
}

@media (max-width: 720px) {
    .hero-v2__inner {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    /* Fixed pixel corner radii read as chunky "phone" bezels at full size but
       balloon into pill/blob shapes once the frame shrinks this far — scale
       them down so the phone silhouette still reads correctly. */
    .phone-frame {
        border-radius: 18px;
        padding: 7px;
    }

    .phone-frame__screen {
        border-radius: 13px;
    }

    .hero-v2__phones {
        gap: 10px;
    }

    .phone-frame--hero-chat {
        width: auto;
        max-width: none;
        flex: 1.24 1 0;
    }

    .phone-frame--hero-wardrobe {
        width: auto;
        max-width: none;
        flex: 1 1 0;
        margin-left: 0;
        margin-bottom: 0;
    }

    .step-grid {
        gap: 16px;
    }

    .eyebrow {
        font-size: 11px;
        gap: 6px;
        margin-bottom: 12px;
    }

    .eyebrow-dash {
        width: 16px;
    }

    .hero-v2__title {
        font-size: clamp(22px, 7vw, 30px);
        margin-bottom: 12px;
    }

    .hero-v2__desc {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .store-buttons {
        gap: 8px;
        margin-bottom: 22px;
    }

    .store-pill {
        padding: 8px 12px;
        gap: 8px;
        border-radius: 10px;
    }

    .store-pill svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .store-pill span {
        font-size: 9px;
    }

    .store-pill span strong {
        font-size: 11px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat {
        border-right: none;
        margin-right: 0;
        padding: 0;
        gap: 8px;
    }

    .stat-icon {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }

    .stat-icon svg {
        width: 14px;
        height: 14px;
    }

    .stat-copy strong {
        font-size: 15px;
    }

    .stat-copy p {
        font-size: 10px;
    }

    .step-eyebrow {
        font-size: 10px;
        gap: 6px;
        margin-bottom: 10px;
    }

    .step-title {
        font-size: clamp(18px, 6vw, 24px);
        margin-bottom: 10px;
    }

    .step-desc {
        font-size: 12.5px;
        line-height: 1.55;
        margin-bottom: 10px;
    }

    .platform-badges,
    .tag-pills {
        gap: 6px;
        margin-top: 6px;
    }

    .badge {
        padding: 6px 12px;
        font-size: 11px;
    }

    .tag-pill {
        padding: 6px 10px;
        font-size: 10.5px;
        gap: 5px;
    }

    .tag-pill svg {
        width: 11px;
        height: 11px;
    }

    .phone-frame__notch {
        top: 7px;
        height: 10px;
    }

    .phone-frame__screen--inset-top {
        padding-top: 14px;
    }
}

@media (max-width: 860px) {
    .header-inner {
        padding: 16px 20px;
    }

    .main-nav,
    .header-ctas {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .site-header.nav-open .header-inner {
        flex-wrap: wrap;
    }

    .site-header.nav-open .main-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        flex-basis: 100%;
        order: 3;
        background: var(--cream);
        padding: 24px 0;
        border-top: 1px solid var(--line);
    }

    .site-header.nav-open .header-ctas {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        flex-basis: 100%;
        order: 4;
        background: var(--cream);
        padding: 0 0 20px;
    }

    .store-btn {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-v2 {
        padding: 40px 0 24px;
    }

    .hero-v2__inner,
    .step-grid {
        padding: 0 20px;
    }

    .store-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .step-section {
        padding: 56px 0;
    }

    .loop-band {
        padding: 56px 20px;
    }

    .loop-steps {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .testimonials-section {
        padding: 56px 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .final-cta {
        padding: 56px 20px;
    }

    .final-cta-buttons {
        gap: 8px;
    }

    .final-cta-buttons .store-pill {
        flex: 1 1 0;
        min-width: 0;
        padding: 8px 10px;
        gap: 6px;
    }

    .final-cta-buttons .store-pill svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .final-cta-buttons .store-pill span {
        font-size: 8.5px;
    }

    .final-cta-buttons .store-pill span strong {
        font-size: 10.5px;
    }

    .final-cta-badges {
        gap: 6px;
        align-items: flex-start;
    }

    .final-cta-badge {
        flex: 1 1 0;
        min-width: 0;
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 0;
        border-right: none;
    }

    .final-cta-badge svg {
        width: 18px;
        height: 18px;
    }

    .final-cta-badge strong {
        font-size: 10.5px;
        line-height: 1.25;
    }

    .final-cta-badge span {
        font-size: 9px;
        line-height: 1.25;
    }

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

@media (max-width: 400px) {
    .logo-img {
        height: 22px;
    }

    .hero-v2__title {
        font-size: 34px;
    }
}
