/* ════════════════════════════════════════════
   MUZIO — Text to Song Landing
   Aesthetic: Warm editorial / zine / playful print
   Palette: Cream paper + ink black + coral pop + sky accent
   ════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
    --cream:      #FAF6F0;
    --cream-dark: #F0EAE0;
    --ink:        #1A1714;
    --ink-soft:   #3D3832;
    --ink-muted:  #8A8279;
    --ink-faint:  #C4BDB4;
    --coral:      #FF5233;
    --coral-soft: #FF7A5C;
    --coral-glow: rgba(255, 82, 51, 0.15);
    --sky:        #3B7DED;
    --sky-soft:   #6BA0F5;
    --mint:       #2ECC8E;
    --plum:       #6C3FA0;
    --border:     rgba(26, 23, 20, 0.08);
    --border-md:  rgba(26, 23, 20, 0.14);

    --ff-display: 'Playfair Display', 'Georgia', serif;
    --ff-body:    'Outfit', 'Helvetica Neue', sans-serif;

    --r-lg: 20px;
    --r-md: 14px;
    --r-sm: 8px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --shadow-sm: 0 1px 3px rgba(26,23,20,0.06);
    --shadow-md: 0 4px 16px rgba(26,23,20,0.08);
    --shadow-lg: 0 12px 40px rgba(26,23,20,0.1);
    --shadow-card: 0 2px 8px rgba(26,23,20,0.06), 0 0 0 1px var(--border);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--ff-body);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

/* ── GRAIN TEXTURE ── */
.grain {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px;
}

/* ── CONTAINER ── */
.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--ff-display); }
.highlight {
    position: relative;
    color: var(--coral);
    font-style: italic;
}
.highlight::after {
    content: '';
    position: absolute;
    left: -4px; right: -4px; bottom: 2px;
    height: 12px;
    background: var(--coral-glow);
    border-radius: 4px;
    z-index: -1;
    transform: rotate(-1deg);
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px;
    border: none; border-radius: 100px;
    font-family: var(--ff-body);
    font-size: 16px; font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--primary {
    background: var(--ink);
    color: var(--cream);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26,23,20,0.2);
}
.btn--lg { padding: 18px 40px; font-size: 17px; }
.btn__apple { width: 20px; height: 20px; flex-shrink: 0; }

/* ════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250, 246, 240, 0.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.nav--scrolled { box-shadow: var(--shadow-sm); }
.nav__inner {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; padding-bottom: 14px;
}
.nav__logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
}
.nav__logo-img {
    height: 32px;
    width: auto;
    display: block;
}
.nav__logo-fallback {
    width: 34px; height: 34px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ff-display);
    font-weight: 700; font-size: 18px;
    transition: transform 0.25s var(--ease);
}
.nav__logo:hover .nav__logo-fallback { transform: rotate(-6deg) scale(1.05); }
.nav__logo-text {
    font-family: var(--ff-display);
    font-size: 22px; font-weight: 700;
    letter-spacing: -0.4px;
}
.nav__cta {
    padding: 9px 22px;
    background: var(--coral);
    color: white;
    border-radius: 100px;
    font-size: 14px; font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--coral-glow);
}

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
}
/* Decorative scribble line behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: 110px; left: 50%;
    width: 300px; height: 300px;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px dashed var(--ink-faint);
    opacity: 0.3;
    pointer-events: none;
}

.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 18px 7px 10px;
    background: white;
    border: 1px solid var(--border-md);
    border-radius: 100px;
    font-size: 13px; font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    animation: fadeUp 0.6s var(--ease) both;
}
.hero__badge-dot {
    width: 8px; height: 8px;
    background: var(--coral);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.3} }

.hero__title {
    font-size: clamp(42px, 9vw, 74px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
    animation: fadeUp 0.6s 0.08s var(--ease) both;
}
.hero__title em {
    font-style: italic;
    color: var(--ink-soft);
}

.hero__sub {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: fadeUp 0.6s 0.16s var(--ease) both;
}
.hero__brand {
    color: var(--coral);
    font-weight: 700;
}

.hero__actions {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    animation: fadeUp 0.6s 0.24s var(--ease) both;
}
.hero__link-android {
    font-size: 14px;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.hero__link-android:hover { color: var(--coral); }

.hero__stats {
    margin-top: 52px;
    display: flex; justify-content: center; gap: 40px;
    animation: fadeUp 0.6s 0.32s var(--ease) both;
}
.hero__stat {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.hero__stat strong {
    font-family: var(--ff-display);
    font-size: 22px; font-weight: 700;
    letter-spacing: -0.5px;
}
.hero__stat span {
    font-size: 12px; font-weight: 500;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ════════════════════════════════════════════
   DEMO / PHONE MOCKUP
   ════════════════════════════════════════════ */
.demo {
    padding: 20px 0 80px;
    display: flex; justify-content: center;
}
.demo__device {
    width: 280px;
    background: var(--ink);
    border-radius: 40px;
    padding: 14px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.04);
    position: relative;
    animation: fadeUp 0.6s 0.4s var(--ease) both;
}
.demo__notch {
    width: 100px; height: 28px;
    background: var(--ink);
    border-radius: 0 0 18px 18px;
    position: absolute;
    top: 14px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.demo__screen {
    background: #1C1917;
    border-radius: 28px;
    overflow: hidden;
    padding: 44px 16px 20px;
    display: flex; flex-direction: column; gap: 10px;
}
.demo__label {
    text-align: center;
    font-family: var(--ff-display);
    font-size: 16px;
    color: var(--coral-soft);
    margin-bottom: 4px;
}
.demo__chat {
    display: flex; flex-direction: column; gap: 8px;
}
.bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.4;
    max-width: 82%;
    color: white;
}
.bubble--in {
    background: #2A2521;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: #E8E0D6;
}
.bubble--out {
    background: var(--sky);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.demo__pills {
    display: flex; gap: 6px; margin-top: 8px;
}
.pill {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px; font-weight: 600;
    border: 1px solid rgba(255,255,255,0.12);
    color: #9A9088;
    background: none;
    cursor: default;
}
.pill--active {
    background: var(--coral);
    border-color: var(--coral);
    color: white;
}
.demo__btn {
    margin-top: 10px;
    padding: 13px;
    background: linear-gradient(135deg, var(--coral), var(--plum));
    border-radius: 16px;
    color: white;
    font-weight: 600; font-size: 14px;
    text-align: center;
}
.demo__footnote {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--ink-muted);
    font-style: italic;
}

/* ════════════════════════════════════════════
   SECTIONS (shared)
   ════════════════════════════════════════════ */
.section { padding: 80px 0; }
.section__eyebrow {
    display: block;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--coral);
    margin-bottom: 12px;
}
.section__heading {
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.15;
    letter-spacing: -1.2px;
    margin-bottom: 14px;
}
.section__intro {
    font-size: 16px;
    color: var(--ink-muted);
    max-width: 520px;
    margin-bottom: 48px;
}

/* Scroll reveal */
.section,
.demo,
.waitlist,
.final {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.section.visible,
.demo.visible,
.waitlist.visible,
.final.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Hero + demo animate via CSS keyframes, not JS */
.hero { opacity: 1; transform: none; }
.demo { animation: fadeUp 0.7s 0.45s var(--ease) both; }

/* ════════════════════════════════════════════
   STEPS
   ════════════════════════════════════════════ */
.steps__list {
    list-style: none;
    display: flex; flex-direction: column; gap: 16px;
    counter-reset: none;
}
.step {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 28px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--coral-glow);
}
.step__n {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ff-display);
    font-size: 20px; font-weight: 900;
    color: white;
    background: var(--ink);
    border-radius: 14px;
    letter-spacing: -0.5px;
}
.step h3 {
    font-size: 18px; font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}
.step p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.55;
}

/* ════════════════════════════════════════════
   GENRE CARDS
   ════════════════════════════════════════════ */
.genres__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.gcard {
    padding: 32px 24px 28px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.gcard::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
}
.gcard--gospel::before { background: linear-gradient(90deg, #F5C842, #E8A317); }
.gcard--emo::before    { background: linear-gradient(90deg, #333, #666); }
.gcard--rap::before    { background: linear-gradient(90deg, var(--sky), var(--sky-soft)); }
.gcard--screamo::before{ background: linear-gradient(90deg, var(--coral), var(--plum)); }

.gcard:hover {
    transform: translateY(-4px) rotate(-0.3deg);
    box-shadow: var(--shadow-md);
}
.gcard__emoji { font-size: 36px; display: block; margin-bottom: 14px; }
.gcard h3 {
    font-size: 22px; font-weight: 700;
    letter-spacing: -0.4px;
    margin-bottom: 6px;
}
.gcard p {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.5;
}
.gcard__badge {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 12px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 100px;
    background: var(--coral-glow);
    color: var(--coral);
}

/* ════════════════════════════════════════════
   IDEA CARDS
   ════════════════════════════════════════════ */
.ideas__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.icard {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s var(--ease);
}
.icard:hover { transform: translateX(4px); }
.icard > span { font-size: 26px; flex-shrink: 0; line-height: 1; }
.icard div { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.icard strong { color: var(--ink); }

/* ════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════ */
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.faq__item summary {
    padding: 20px 24px;
    font-size: 15px; font-weight: 600;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    list-style: none;
    transition: color 0.2s;
    color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '+';
    font-size: 22px; font-weight: 400;
    color: var(--ink-muted);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
    margin-left: 12px;
}
.faq__item[open] summary::after {
    transform: rotate(45deg);
    color: var(--coral);
}
.faq__item summary:hover { color: var(--coral); }
.faq__body {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.7;
}

/* ════════════════════════════════════════════
   WAITLIST
   ════════════════════════════════════════════ */
.waitlist__card {
    padding: 48px 40px;
    background: white;
    border: 2px dashed var(--border-md);
    border-radius: var(--r-lg);
    text-align: center;
}
.waitlist__android {
    width: 44px; height: 44px;
    color: var(--mint);
    margin-bottom: 16px;
}
.waitlist__card h3 {
    font-size: 26px; font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.waitlist__card p {
    font-size: 15px;
    color: var(--ink-muted);
    margin-bottom: 24px;
}
.waitlist__form {
    display: flex; gap: 10px;
    max-width: 440px;
    margin: 0 auto;
}
.waitlist__input {
    flex: 1;
    padding: 14px 18px;
    background: var(--cream);
    border: 1px solid var(--border-md);
    border-radius: 100px;
    font-family: var(--ff-body);
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist__input::placeholder { color: var(--ink-faint); }
.waitlist__input:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px var(--coral-glow);
}
.waitlist__btn {
    padding: 14px 28px;
    background: var(--coral);
    color: white;
    border: none; border-radius: 100px;
    font-size: 15px; font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}
.waitlist__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--coral-glow);
}
.waitlist__btn:disabled { opacity: 0.5; cursor: not-allowed; }
.waitlist__consent {
    display: flex; align-items: flex-start; gap: 7px;
    max-width: 440px;
    margin: 14px auto 0;
    cursor: pointer;
    user-select: none;
}
.waitlist__consent input[type="checkbox"] {
    width: 14px; height: 14px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--coral);
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.waitlist__consent:hover input[type="checkbox"] { opacity: 0.8; }
.waitlist__consent span {
    font-size: 11px;
    line-height: 1.45;
    color: var(--ink-faint);
    text-align: left;
}
.waitlist__msg {
    margin-top: 14px;
    font-size: 13px;
    min-height: 20px;
}
.waitlist__msg--ok { color: var(--mint); }
.waitlist__msg--err { color: var(--coral); }

/* ════════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════════ */
.final {
    padding: 100px 0;
    text-align: center;
}
.final__title {
    font-family: var(--ff-display);
    font-size: clamp(30px, 6vw, 50px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}
.final__sub {
    font-size: 17px;
    color: var(--ink-muted);
    margin-bottom: 36px;
}

/* ════════════════════════════════════════════
   SEO TEXT
   ════════════════════════════════════════════ */
.seo-text {
    padding: 60px 0 48px;
    border-top: 1px solid var(--border);
}
.seo-text h2 {
    font-size: 22px;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}
.seo-text h3 {
    font-size: 17px;
    color: var(--ink-soft);
    margin: 24px 0 6px;
}
.seo-text p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 36px;
    text-align: center;
}
.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    margin-bottom: 22px;
}
.footer__logo {
    width: 40px; height: 40px;
    border-radius: 9px;
    display: block;
}
.footer__name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.01em;
}
.footer__social {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer__social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, transform 0.2s;
}
.footer__social a:hover {
    color: var(--accent, #fb593f);
    transform: translateY(-1px);
}
.footer__social svg { display: block; }
.footer__links {
    display: flex; justify-content: center; gap: 24px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.footer__links a {
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}
.footer__links a:hover { color: var(--ink); }
.footer__copy {
    color: var(--ink-faint);
    font-size: 12px;
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */

/* ── TABLET ── */
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .hero { padding: 130px 0 60px; }
    .hero__title { font-size: 48px; letter-spacing: -1.5px; }
    .hero__sub { font-size: 16px; }
    .section__heading { font-size: 28px; }
    .section__intro { font-size: 15px; }
    .genres__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .gcard { padding: 24px 20px 22px; }
    .gcard__emoji { font-size: 30px; margin-bottom: 10px; }
    .gcard h3 { font-size: 19px; }
    .final__title { font-size: 34px; }
}

/* ── MOBILE ── */
@media (max-width: 640px) {
    .container { padding: 0 20px; }

    /* Nav */
    .nav__inner { padding-top: 12px; padding-bottom: 12px; }
    .nav__logo-img { height: 28px; }
    .nav__logo-fallback { width: 30px; height: 30px; font-size: 15px; border-radius: 8px; }
    .nav__logo-text { font-size: 19px; }
    .nav__cta { padding: 8px 18px; font-size: 13px; }

    /* Hero */
    .hero { padding: 110px 0 48px; }
    .hero__badge { font-size: 12px; padding: 6px 14px 6px 8px; margin-bottom: 24px; }
    .hero__title { font-size: 38px; letter-spacing: -1.2px; }
    .hero__sub { font-size: 15px; margin-bottom: 28px; }
    .hero::before { display: none; }

    /* Hero CTA — full width on mobile */
    .hero__actions { width: 100%; }
    .hero__actions .btn { width: 100%; justify-content: center; padding: 16px 24px; font-size: 16px; }
    .hero__link-android { font-size: 13px; }

    /* Hero stats */
    .hero__stats { gap: 24px; margin-top: 40px; }
    .hero__stat strong { font-size: 20px; }
    .hero__stat span { font-size: 11px; }

    /* Demo phone */
    .demo { padding: 10px 0 60px; }
    .demo__device { width: 250px; }
    .demo__screen { padding: 40px 14px 18px; }
    .demo__label { font-size: 14px; }
    .bubble { font-size: 12px; padding: 9px 12px; }
    .demo__pills { gap: 5px; }
    .pill { padding: 5px 10px; font-size: 10px; }
    .demo__btn { padding: 11px; font-size: 13px; }
    .demo__footnote { font-size: 13px; }

    /* Steps */
    .step { flex-direction: column; gap: 14px; padding: 24px 20px; }
    .step__n { width: 42px; height: 42px; font-size: 18px; }
    .step h3 { font-size: 17px; }
    .step p { font-size: 13px; }

    /* Genres */
    .genres__grid { grid-template-columns: 1fr; gap: 12px; }
    .gcard { padding: 24px 20px 22px; }
    .gcard:hover { transform: none; } /* no hover effect on touch */
    .gcard__emoji { font-size: 28px; margin-bottom: 10px; }
    .gcard h3 { font-size: 20px; }

    /* Ideas */
    .ideas__grid { grid-template-columns: 1fr; gap: 10px; }
    .icard { padding: 16px; gap: 12px; }
    .icard:hover { transform: none; }
    .icard > span { font-size: 22px; }
    .icard div { font-size: 13px; }

    /* FAQ — bigger touch targets */
    .faq__item summary { padding: 18px 20px; font-size: 14px; min-height: 48px; }
    .faq__body { padding: 0 20px 18px; font-size: 13px; }

    /* Waitlist */
    .waitlist__card { padding: 32px 20px; }
    .waitlist__card h3 { font-size: 22px; }
    .waitlist__card p { font-size: 14px; }
    .waitlist__form { flex-direction: column; }
    .waitlist__input { padding: 14px 16px; font-size: 16px; /* prevent zoom on iOS */ }
    .waitlist__btn { width: 100%; padding: 16px; font-size: 16px; min-height: 48px; }
    .waitlist__consent { max-width: 100%; margin-top: 12px; }
    .waitlist__consent span { font-size: 10px; }

    /* Sections */
    .section { padding: 56px 0; }
    .section__eyebrow { font-size: 11px; letter-spacing: 2px; }
    .section__intro { margin-bottom: 36px; }

    /* Final CTA */
    .final { padding: 64px 0; }
    .final__title { font-size: 28px; letter-spacing: -1px; }
    .final__sub { font-size: 15px; margin-bottom: 28px; }
    .final .btn { width: 100%; justify-content: center; }

    /* SEO text */
    .seo-text { padding: 48px 0 36px; }
    .seo-text h2 { font-size: 20px; }
    .seo-text h3 { font-size: 16px; }
    .seo-text p { font-size: 13px; }

    /* Footer */
    .footer { padding: 28px 0; }
    .footer__links { gap: 16px; }
    .footer__links a { font-size: 12px; }
}

/* ── SMALL PHONES (iPhone SE, Galaxy S8) ── */
@media (max-width: 380px) {
    .container { padding: 0 16px; }
    .hero { padding: 100px 0 40px; }
    .hero__title { font-size: 32px; letter-spacing: -1px; }
    .hero__sub { font-size: 14px; }
    .hero__stats { flex-direction: column; gap: 14px; }
    .hero__stat strong { font-size: 18px; }
    .nav__logo-img { height: 24px; }
    .nav__logo-fallback { width: 28px; height: 28px; font-size: 14px; }
    .nav__logo-text { font-size: 17px; }
    .nav__cta { padding: 7px 14px; font-size: 12px; }
    .demo__device { width: 230px; }
    .section__heading { font-size: 24px; }
    .final__title { font-size: 24px; }
    .gcard { padding: 20px 16px; }
    .step { padding: 20px 16px; }
    .waitlist__card { padding: 28px 16px; }
    .waitlist__card h3 { font-size: 20px; }
}

/* Pulse the hero Download button when nav "Get the App" anchors here */
@keyframes ctaPulse {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(251, 89, 63, 0.55); }
    40%  { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(251, 89, 63, 0); }
    70%  { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(251, 89, 63, 0); }
    100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(251, 89, 63, 0); }
}
#cta-hero.btn--pulse {
    animation: ctaPulse 1.1s ease-out 0.35s 2;
    transform-origin: center;
}
