/* ==========================================================================
   Nina's — Website Styles
   ==========================================================================
   Table of Contents:
     1.  Design Tokens
     2.  Reset & Base
     3.  Typography
     4.  Layout
     5.  Shared Components (buttons, eyebrow, phone mockup)
     6.  Navigation
     7.  Hero
     8.  Origin Story
     9.  How It Works
     10. Differentiators
     11. Pro Section
     12. Footer
     13. Shared Page Styles (Privacy, FAQ)
     14. Animations & Transitions
     15. Responsive — Tablet  (max-width: 768px)
     16. Responsive — Mobile  (max-width: 480px)
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
    /* Brand */
    --coral:          #FE4A4A;
    --coral-dark:     #E53935;
    --periwinkle:     #8E9BBF;
    --fuchsia:        #F66AF6;
    --sweet:          #FB5688;
    --savory:         #D4F42A;
    --teal:           #06AC9C;
    --flame:          #FF8C00;

    /* Text */
    --ink:            #1A1A2E;
    --slate:          #4A4A68;
    --mist:           #9898A8;

    /* Surfaces */
    --snow:           #FFFFFF;
    --cloud:          #E2E5F3;
    --cloud-deep:     #B6C0E2;
    --cream:          #FFF9F5;

    /* Tinted surfaces */
    --coral-light:    #FEECEC;
    --peri-light:     #ECEEF5;
    --fuchsia-light:  #FEECFE;
    --sweet-light:    #FEE8EF;
    --savory-light:   #F5FCE6;

    /* Spacing scale */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Radii */
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-2xl:  32px;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-sm:  0  2px  8px rgba(26, 26, 46, 0.06);
    --shadow-md:  0  4px 20px rgba(26, 26, 46, 0.08);
    --shadow-lg:  0  8px 40px rgba(26, 26, 46, 0.12);
    --shadow-xl:  0 16px 64px rgba(26, 26, 46, 0.16);
    --shadow-phone: 0 20px 60px rgba(26, 26, 46, 0.25);

    /* Transitions */
    --ease-out:    cubic-bezier(0.33, 1, 0.68, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast:   150ms;
    --duration-normal: 300ms;
    --duration-slow:   500ms;

    /* Layout */
    --container-max: 1080px;
    --container-pad: var(--space-lg);
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

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

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

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--coral);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
    text-decoration: underline;
}

ul, ol {
    list-style: none;
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}


/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}


/* ==========================================================================
   5. SHARED COMPONENTS
   ========================================================================== */

/* --- Eyebrow pill --- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--coral);
    color: var(--snow);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.eyebrow--dark {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.eyebrow-icon {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-decoration: none;
    transition:
        transform var(--duration-normal) var(--ease-spring),
        box-shadow var(--duration-normal) var(--ease-out);
}

.btn:hover {
    text-decoration: none;
}

.btn--primary {
    background: var(--snow);
    color: var(--coral);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-icon {
    width: 22px;
    height: 22px;
    filter: invert(37%) sepia(93%) saturate(1352%) hue-rotate(331deg) brightness(101%) contrast(101%);
}

/* --- Phone mockup --- */
.phone {
    position: relative;
    width: 220px;
    flex-shrink: 0;
    background: var(--ink);
    border-radius: 28px;
    padding: 6px;
    box-shadow: var(--shadow-phone);
}

.phone-screen {
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
    background: var(--cloud);
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Screenshot placeholder (remove when adding real screenshots) --- */
.screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: linear-gradient(160deg, var(--cloud) 0%, var(--peri-light) 100%);
    color: var(--mist);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.placeholder-icon {
    width: 28px;
    height: 28px;
    opacity: 0.35;
    filter: invert(65%) sepia(12%) saturate(1095%) hue-rotate(190deg) brightness(92%) contrast(87%);
}


/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */

.nav {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: var(--container-max);
    margin-inline: auto;
    padding: var(--space-lg) var(--container-pad);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

.nav-link:hover {
    color: var(--snow);
    text-decoration: none;
}


/* ==========================================================================
   7. HERO
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding-bottom: var(--space-4xl);
}

/* Layered background: image underneath, gradient on top */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('images/background.avif') center/cover no-repeat;
    opacity: 0.15;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(165deg,
            var(--coral) 0%,
            var(--coral-dark) 40%,
            #c2185b 70%,
            var(--fuchsia) 100%
        );
}

/* Logo (centered above tagline) */
.hero-logo {
    display: inline-block;
    margin-bottom: var(--space-lg);
}

.hero-logo img {
    height: 88px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    padding: var(--space-3xl) var(--container-pad) var(--space-2xl);
}

.hero-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.25rem, 6vw, 3.25rem);
    font-weight: 700;
    color: var(--snow);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.12);
    animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.hero-highlight {
    position: relative;
    white-space: nowrap;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.08em;
    left: -2px;
    right: -2px;
    height: 0.22em;
    background: var(--savory);
    opacity: 0.65;
    border-radius: 4px;
    z-index: -1;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

.hero-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    padding: var(--space-xl) var(--container-pad) 0;
    animation: fadeInUp 0.6s var(--ease-out) 0.65s both;
}

.hero-cta {
    margin-top: var(--space-lg);
}

.hero-cta-note {
    margin-top: var(--space-md);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero phone showcase */
.hero-phones {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: var(--space-lg);
    padding: 0 var(--container-pad);
    margin-top: var(--space-xl);
    animation: fadeInUp 0.8s var(--ease-out) 0.55s both;
}

.hero-phones .phone--left {
    transform: rotate(-6deg) translateY(-12px);
}

.hero-phones .phone--center {
    width: 240px;
    transform: translateY(-28px);
}

.hero-phones .phone--right {
    transform: rotate(6deg) translateY(-12px);
}


/* ==========================================================================
   8. ORIGIN STORY
   ========================================================================== */

.story {
    background: var(--cream);
    padding: var(--space-4xl) 0;
    position: relative;
}

/* Warm top curve connecting hero to story */
.story::before {
    content: '';
    position: absolute;
    top: -48px;
    left: 0;
    right: 0;
    height: 48px;
    background: var(--cream);
    border-radius: 48px 48px 0 0;
}

.story-inner {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
}

.story-inner .eyebrow {
    margin-bottom: var(--space-xl);
}

.story-quote {
    border: none;
    padding: 0;
    margin: 0;
}

.story-quote p {
    font-size: 1.15rem;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.story-quote p:last-child {
    margin-bottom: 0;
}

.story-punchline {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem !important;
    font-weight: 600;
    color: var(--ink) !important;
    margin-top: var(--space-sm);
}


/* ==========================================================================
   8b. DEMO VIDEO
   ========================================================================== */

.demo {
    padding: 0 0 var(--space-4xl);
    background: var(--cream);
}

.demo-video {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.demo-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* ==========================================================================
   9. HOW IT WORKS
   ========================================================================== */

.how-it-works {
    padding: var(--space-4xl) 0;
    background: var(--snow);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4xl);
}

/* Individual step — two-column layout */
.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-3xl);
}

.step--reversed {
    direction: rtl;
}

.step--reversed > * {
    direction: ltr;
}

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

.step--reversed .step-text {
    margin-left: auto;
}

.step-number {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--coral);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.step-name {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.step-description {
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.7;
}

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


/* ==========================================================================
   10. DIFFERENTIATORS
   ========================================================================== */

.differentiators {
    padding: var(--space-3xl) 0 var(--space-4xl);
    background: var(--cloud);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.diff-card {
    background: var(--snow);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--duration-normal) var(--ease-spring),
        box-shadow var(--duration-normal) var(--ease-out);
}

.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.diff-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    background: var(--coral-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.diff-icon img {
    width: 26px;
    height: 26px;
    filter: invert(37%) sepia(93%) saturate(1352%) hue-rotate(331deg) brightness(101%) contrast(101%);
}

.diff-title {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.diff-desc {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.6;
}


/* ==========================================================================
   11. PRO SECTION
   ========================================================================== */

.pro {
    padding: 0 0 var(--space-4xl);
    background: var(--cloud);
}

.pro-card {
    max-width: 720px;
    margin-inline: auto;
    background: linear-gradient(135deg, var(--ink) 0%, #2A2A4E 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle glow */
.pro-card::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle at 30% 40%, rgba(254, 74, 74, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.pro-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(246, 106, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pro-card > * {
    position: relative;
}

.pro-card .eyebrow {
    margin-bottom: var(--space-lg);
}

.pro-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--snow);
    margin-bottom: var(--space-sm);
}

.pro-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    max-width: 440px;
    margin-inline: auto;
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.pro-perks {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.pro-perk {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.pro-perk img {
    width: 28px;
    height: 28px;
    filter: invert(37%) sepia(93%) saturate(1352%) hue-rotate(331deg) brightness(101%) contrast(101%);
    opacity: 0.85;
}

.pro-perk span {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}


/* ==========================================================================
   12. FOOTER
   ========================================================================== */

.footer {
    background: linear-gradient(180deg, var(--cloud) 0%, var(--cloud-deep) 100%);
    padding: var(--space-3xl) var(--container-pad) var(--space-2xl);
    text-align: center;
}

.footer-logo {
    height: 48px;
    width: auto;
    display: inline-block;
    margin-bottom: var(--space-lg);
    opacity: 0.85;
}

.footer-quote {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-nav a {
    font-size: 0.85rem;
    color: var(--slate);
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-nav a:hover {
    color: var(--coral);
    text-decoration: none;
}

.footer-credit {
    font-size: 0.8rem;
    color: var(--slate);
}


/* ==========================================================================
   13. SHARED PAGE STYLES — Privacy, FAQ
   ========================================================================== */

/* These classes are used by privacy.html and faq.html
   and must remain for those pages to render correctly.
   Those pages originally had a cloud-colored body background. */

.page-container {
    background: var(--cloud);
    min-height: 100vh;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--slate);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 32px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--coral);
    text-decoration: none;
}

.back-arrow {
    width: 18px;
    height: 18px;
    filter: invert(30%) sepia(10%) saturate(1095%) hue-rotate(201deg) brightness(95%) contrast(89%);
}

.back-link:hover .back-arrow {
    filter: invert(37%) sepia(93%) saturate(1352%) hue-rotate(331deg) brightness(101%) contrast(101%);
}

.page-title {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink);
}

.last-updated {
    font-size: 0.875rem;
    color: var(--mist);
    margin-bottom: 40px;
}

.content-card {
    background: var(--snow);
    border-radius: 20px;
    padding: 40px 32px;
    border: 1.5px solid rgba(142, 155, 191, 0.15);
}

.tldr {
    background: var(--coral-light);
    border: 1.5px solid rgba(254, 74, 74, 0.2);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.tldr-title {
    font-weight: 600;
    color: var(--coral);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.tldr p {
    color: var(--slate);
    font-size: 0.95rem;
    margin: 0;
}

.content-card h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--ink);
}

.content-card h2:first-of-type {
    margin-top: 0;
}

.content-card p {
    color: var(--slate);
    margin-bottom: 16px;
    font-size: 1rem;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.content-card ul {
    color: var(--slate);
    margin-bottom: 16px;
    padding-left: 24px;
    list-style: disc;
}

.content-card li {
    margin-bottom: 8px;
}

.page-footer-note {
    text-align: center;
    margin-top: 40px;
    color: var(--mist);
    font-size: 0.875rem;
}

.page-footer-note span {
    color: var(--coral);
}

/* Legacy footer styles used by other pages */
.footer-area {
    background: linear-gradient(180deg, var(--cloud) 0%, var(--cloud-deep) 100%);
    padding: 60px 24px 80px;
}

.footer-card-single {
    background: var(--snow);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.footer-card-single .footer-card-icon {
    margin: 0 auto 16px;
}

.footer-card-single h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 8px;
    font-weight: 600;
}

.footer-card-single p {
    color: var(--slate);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: var(--peri-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-card-icon svg,
.footer-card-icon img {
    width: 24px;
    height: 24px;
}

.footer-card-icon img {
    filter: invert(65%) sepia(12%) saturate(1095%) hue-rotate(190deg) brightness(92%) contrast(87%);
}

.footer-card-icon.coral {
    background: var(--coral-light);
}

.footer-card-icon.coral img {
    filter: invert(37%) sepia(93%) saturate(1352%) hue-rotate(331deg) brightness(101%) contrast(101%);
}

.footer-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--coral);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.footer-card-link:hover {
    gap: 10px;
    text-decoration: none;
}

.link-arrow {
    width: 16px;
    height: 16px;
    filter: invert(37%) sepia(93%) saturate(1352%) hue-rotate(331deg) brightness(101%) contrast(101%);
}

.footer-note {
    text-align: center;
    color: var(--slate);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-note .heart {
    display: inline-block;
    color: var(--coral);
    animation: pulse 1.5s ease-in-out infinite;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--mist);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--coral);
    text-decoration: none;
}


/* ==========================================================================
   14. ANIMATIONS & TRANSITIONS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.03); }
}

/* Scroll-triggered reveal */
[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.7s var(--ease-out),
        transform 0.7s var(--ease-out);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children within diff-grid */
.diff-grid [data-animate]:nth-child(2) {
    transition-delay: 0.1s;
}

.diff-grid [data-animate]:nth-child(3) {
    transition-delay: 0.2s;
}


/* ==========================================================================
   15. RESPONSIVE — Tablet (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --container-pad: var(--space-md);
    }

    /* Hero */
    .hero-content {
        padding: var(--space-2xl) var(--container-pad) var(--space-lg);
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn--lg {
        padding: 16px 28px;
        font-size: 1rem;
    }

    /* Hero phones — stack center, hide sides */
    .hero-phones {
        gap: var(--space-md);
    }

    .hero-phones .phone {
        width: 180px;
    }

    .hero-phones .phone--center {
        width: 200px;
    }

    /* Steps → single column */
    .step {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .step--reversed {
        direction: ltr;
    }

    .step-text {
        max-width: 100%;
        order: 1;
    }

    .step--reversed .step-text {
        margin-left: 0;
    }

    .step-visual {
        order: 2;
    }

    .step .phone {
        width: 200px;
    }

    /* Diff cards → stack */
    .diff-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-inline: auto;
    }

    /* Pro */
    .pro-card {
        padding: var(--space-xl) var(--space-lg);
    }

    .pro-perks {
        gap: var(--space-lg);
    }

    /* Shared pages */
    .page-container {
        padding: 40px 20px 60px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .content-card {
        padding: 28px 20px;
    }

    /* Legacy footer */
    .footer-area {
        padding: 48px 20px 60px;
    }
}


/* ==========================================================================
   16. RESPONSIVE — Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    /* Hero — single phone only */
    .hero-phones .phone--left,
    .hero-phones .phone--right {
        display: none;
    }

    .hero-phones .phone--center {
        width: 220px;
        transform: translateY(-16px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    /* Story */
    .story {
        padding: var(--space-3xl) 0;
    }

    .story::before {
        top: -32px;
        height: 32px;
        border-radius: 32px 32px 0 0;
    }

    .story-quote p {
        font-size: 1.05rem;
    }

    .story-punchline {
        font-size: 1.3rem !important;
    }

    /* Steps */
    .how-it-works {
        padding: var(--space-3xl) 0;
    }

    .steps-list {
        gap: var(--space-3xl);
    }

    .step .phone {
        width: 180px;
    }

    /* Pro */
    .pro-perks {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .pro-perk {
        flex-direction: row;
        gap: var(--space-md);
    }

    /* Footer */
    .footer {
        padding: var(--space-2xl) var(--container-pad) var(--space-lg);
    }

    .footer-nav {
        flex-direction: column;
        gap: var(--space-md);
    }
}
