:root {
    --bg: #f2f5ee;
    --bg-soft: #fafcf6;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-solid: #ffffff;
    --surface-muted: #eaf0e2;
    --ink: #10201a;
    --ink-soft: #47554c;
    --ink-faint: #6a766d;
    --line: rgba(16, 32, 26, 0.08);
    --line-strong: rgba(16, 32, 26, 0.15);
    --accent: #1e8659;
    --accent-deep: #146848;
    --accent-bright: #28a776;
    --accent-warm: #c9822b;
    --accent-sky: #2d7c9f;
    --shadow-xs: 0 2px 8px rgba(16, 32, 26, 0.05);
    --shadow-sm: 0 12px 30px rgba(16, 32, 26, 0.07);
    --shadow-md: 0 28px 60px rgba(16, 32, 26, 0.10);
    --shadow-lg: 0 50px 110px rgba(16, 32, 26, 0.16);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 34px;
    --radius-xl: 44px;
    --container: 1180px;
    --header-height: 76px;
    --font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
    --transition: 240ms cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
    min-width: 320px;
    font-family: var(--font-sans);
    background:
        radial-gradient(1200px 620px at 78% -8%, rgba(40, 167, 118, 0.10), transparent 60%),
        radial-gradient(940px 520px at 8% 4%, rgba(45, 124, 159, 0.09), transparent 58%),
        radial-gradient(900px 600px at 96% 40%, rgba(201, 130, 43, 0.07), transparent 55%),
        linear-gradient(180deg, #fbfdf8 0%, var(--bg) 100%);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

::selection {
    background: rgba(40, 167, 118, 0.22);
}

html,
body {
    overflow-x: hidden;
}

.page-shell {
    overflow-x: clip;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.section {
    padding: 112px 0;
}

.section-muted {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(232, 240, 224, 0.66));
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Brand mark: a tiny singing songbird in place of the generic dash */
.eyebrow::before {
    content: "";
    width: 21px;
    height: 17px;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 22'%3E%3Ccircle cx='11' cy='12.5' r='6'/%3E%3Ccircle cx='15.8' cy='6.8' r='3.8'/%3E%3Cpolygon points='18.8,5.4 23.6,7 18.8,8.6'/%3E%3Cpolygon points='9.5,14.5 1,21.5 7.8,21 11.5,17.5'/%3E%3Crect x='21.4' y='0.6' width='1.7' height='4' rx='0.85' transform='rotate(35%2022.25%202.6)'/%3E%3Crect x='24.6' y='3.4' width='1.7' height='3.2' rx='0.85' transform='rotate(62%2025.45%205)'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 22'%3E%3Ccircle cx='11' cy='12.5' r='6'/%3E%3Ccircle cx='15.8' cy='6.8' r='3.8'/%3E%3Cpolygon points='18.8,5.4 23.6,7 18.8,8.6'/%3E%3Cpolygon points='9.5,14.5 1,21.5 7.8,21 11.5,17.5'/%3E%3Crect x='21.4' y='0.6' width='1.7' height='4' rx='0.85' transform='rotate(35%2022.25%202.6)'/%3E%3Crect x='24.6' y='3.4' width='1.7' height='3.2' rx='0.85' transform='rotate(62%2025.45%205)'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section-title {
    max-width: 15ch;
    font-size: clamp(2.1rem, 3.6vw, 3.9rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.section-copy {
    max-width: 600px;
    color: var(--ink-soft);
    font-size: 1.06rem;
    line-height: 1.68;
}

.section-heading {
    margin-bottom: 58px;
}

.section-heading-split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
}

.section-heading-center {
    text-align: center;
}

.section-heading-center .section-title,
.section-heading-center .section-copy {
    margin-left: auto;
    margin-right: auto;
}

.section-heading-center .section-title {
    margin-bottom: 18px;
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header-height);
    background: rgba(242, 245, 238, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(16, 32, 26, 0.05);
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.nav.scrolled {
    background: rgba(248, 250, 245, 0.9);
    border-color: rgba(16, 32, 26, 0.09);
    box-shadow: 0 8px 30px rgba(16, 32, 26, 0.07);
}

.nav-container {
    position: relative;
    width: min(var(--container), calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-mobile-title {
    display: none;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(30, 134, 89, 0.30), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-lockup {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-lockup strong {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-lockup span {
    color: var(--ink-faint);
    font-size: 0.82rem;
}

.nav .logo-lockup span {
    opacity: 0.75;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-link,
.nav-cta {
    border-radius: 999px;
    transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-link {
    padding: 10px 15px;
    color: var(--ink-soft);
    font-size: 0.94rem;
    font-weight: 500;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.7);
}

.nav-cta {
    padding: 11px 20px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(30, 134, 89, 0.32);
}

.nav-cta:hover,
.nav-cta:focus-visible {
    transform: translateY(-1px);
    background: var(--accent-deep);
    box-shadow: 0 14px 28px rgba(30, 134, 89, 0.38);
}

.nav-toggle {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(16, 32, 26, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-xs);
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle span:first-child {
    transform: translate(-50%, calc(-50% - 6px));
}

.nav-toggle span:nth-child(2) {
    transform: translate(-50%, -50%);
}

.nav-toggle span:last-child {
    transform: translate(-50%, calc(-50% + 6px));
}

.nav-toggle.active span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    padding: 76px 0 64px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.92fr);
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 7px 14px 7px 10px;
    border: 1px solid rgba(16, 32, 26, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-xs);
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 500;
}

.hero-badge b {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(30, 134, 89, 0.1);
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-badge b svg {
    width: 13px;
    height: 13px;
}

.hero-title {
    max-width: 13ch;
    font-size: clamp(3rem, 5.4vw, 5.2rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.032em;
    text-wrap: balance;
}

.hero-title em {
    display: inline-block;
    padding-right: 0.08em;
    padding-bottom: 0.06em;
    margin-right: -0.04em;
    font-style: normal;
    color: var(--accent);
    background: linear-gradient(120deg, var(--accent-bright), var(--accent-deep));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 540px;
    margin-top: 24px;
    color: var(--ink-soft);
    font-size: 1.1rem;
    line-height: 1.66;
}

.hero-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn-primary {
    background: linear-gradient(180deg, var(--accent-bright), var(--accent));
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(30, 134, 89, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: linear-gradient(180deg, #2eb484, var(--accent-bright));
}

.btn-secondary {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: rgba(16, 32, 26, 0.24);
    background: #ffffff;
}

.btn-large {
    min-height: 58px;
    padding: 0 30px;
    font-size: 1.02rem;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Rating panel — App Store-style score module below the flycatcher card */
.hero-rating {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: min(384px, 100%);
    margin: 22px auto 0;
    padding: 18px 26px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.34));
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 16px 40px rgba(16, 32, 26, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.rating-score {
    display: grid;
    gap: 3px;
    justify-items: center;
    flex-shrink: 0;
}

.rating-score strong {
    color: var(--ink);
    font-size: 2.55rem;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.rating-score span {
    color: var(--ink-faint);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rating-divider {
    align-self: stretch;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(16, 32, 26, 0.18), transparent);
}

.rating-detail {
    display: grid;
    gap: 7px;
}

.hero-rating .stars {
    display: inline-flex;
    gap: 3px;
    color: var(--accent-warm);
}

.hero-rating .stars svg {
    width: 17px;
    height: 17px;
    filter: drop-shadow(0 1px 1px rgba(201, 130, 43, 0.25));
}

.rating-caption {
    max-width: 21ch;
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.45;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(16, 32, 26, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-xs);
}

.hero-proof span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent-bright);
}

/* Hero visual — cinematic stacked product cards */
.hero-visual {
    position: relative;
}

.hero-product-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 600px;
    padding: 10px 0;
}

.hero-product-stage::before {
    content: "";
    position: absolute;
    inset: 6% 4%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(40, 167, 118, 0.16), transparent 62%);
    filter: blur(30px);
}

.hero-daily-card {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: min(384px, 100%);
    border-radius: 32px;
    background: #ffffff;
    box-shadow:
        0 40px 90px rgba(16, 32, 26, 0.24),
        0 12px 30px rgba(16, 32, 26, 0.10),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transform: rotate(-1.4deg);
    transition: transform 600ms var(--ease-out);
}

.hero-visual:hover .hero-daily-card {
    transform: rotate(0deg);
}

.hero-daily-image {
    position: relative;
    min-height: 540px;
    overflow: hidden;
}

.hero-daily-image img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center 36%;
}

.hero-daily-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(4, 12, 8, 0.78) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.hero-daily-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-daily-tag .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: pulse 2.4s ease-in-out infinite;
}

/* Favorite heart — iOS-style frosted glass circle button */
.hero-daily-fav {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

.hero-daily-fav svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.hero-daily-fav.is-fav {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.55);
}

.hero-daily-title {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 2;
    display: grid;
    gap: 6px;
    color: #ffffff;
}

.hero-daily-title strong {
    font-size: 2rem;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-daily-title span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    font-style: italic;
    font-weight: 500;
}

.hero-daily-match {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #7dffb4;
    font-size: 0.82rem;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.01em;
}

.hero-daily-match svg {
    width: 15px;
    height: 15px;
}

/* Floating glass chips over hero */
.hero-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 44px rgba(16, 32, 26, 0.18);
    animation: floatChip 6s ease-in-out infinite;
    /* Keep the chip on its own GPU layer so Firefox doesn't re-sample the
       backdrop-filter edges each frame (fixes flickering white seams). */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-chip-listen {
    top: 8%;
    left: -7%;
    animation-delay: 0s;
}

.hero-chip-match {
    bottom: 19%;
    right: -6%;
    animation-delay: 1.6s;
}

.hero-chip-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(30, 134, 89, 0.1);
    color: var(--accent);
}

.hero-chip-icon svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.hero-chip-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 22px;
}

.hero-chip-waves i {
    width: 3px;
    border-radius: 999px;
    background: var(--accent-bright);
    animation: eq 1.1s ease-in-out infinite;
}

.hero-chip-waves i:nth-child(1) { height: 8px;  animation-delay: 0s; }
.hero-chip-waves i:nth-child(2) { height: 18px; animation-delay: 0.15s; }
.hero-chip-waves i:nth-child(3) { height: 12px; animation-delay: 0.3s; }
.hero-chip-waves i:nth-child(4) { height: 22px; animation-delay: 0.45s; }
.hero-chip-waves i:nth-child(5) { height: 10px; animation-delay: 0.6s; }

.hero-chip-text {
    display: grid;
    gap: 1px;
}

.hero-chip-text strong {
    font-size: 0.92rem;
    letter-spacing: -0.01em;
}

.hero-chip-text span {
    color: var(--ink-faint);
    font-size: 0.78rem;
}

@keyframes floatChip {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -12px, 0); }
}

@keyframes eq {
    0%, 100% { transform: scaleY(0.5); opacity: 0.7; }
    50% { transform: scaleY(1); opacity: 1; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Hero fact cards */
.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.fact-card {
    padding: 20px 18px 18px;
    border: 1px solid rgba(16, 32, 26, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.fact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fact-kicker svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.fact-card strong {
    display: block;
    font-size: 1.01rem;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.fact-card p {
    margin-top: 9px;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* ---------- Logo / trust strip ---------- */
.marquee {
    padding: 34px 0 14px;
}

.marquee-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--ink-soft);
}

/* Liquid Glass pills — frosted material, specular edge, soft refraction */
.marquee-inner span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px 10px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.28));
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 6px 18px rgba(16, 32, 26, 0.10),
        0 1px 2px rgba(16, 32, 26, 0.06),
        inset 0 1px 1px rgba(255, 255, 255, 0.85),
        inset 0 -6px 14px rgba(16, 32, 26, 0.045);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

/* Specular top highlight — the bright curved sheen of thick glass */
.marquee-inner span::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto 1px;
    height: 46%;
    border-radius: 999px 999px 40% 40% / 999px 999px 100% 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    opacity: 0.75;
    pointer-events: none;
    z-index: -1;
}

.marquee-inner span:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.38));
    box-shadow:
        0 10px 24px rgba(16, 32, 26, 0.13),
        0 1px 2px rgba(16, 32, 26, 0.06),
        inset 0 1px 1px rgba(255, 255, 255, 0.95),
        inset 0 -6px 14px rgba(30, 134, 89, 0.06);
}

.marquee-inner span svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.6));
}

@media (prefers-reduced-motion: reduce) {
    .marquee-inner span:hover {
        transform: none;
    }
}

/* ---------- How it works ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.step-card,
.feature-premium-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 32, 26, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 242, 0.9));
    box-shadow: var(--shadow-md);
}

.step-card {
    display: grid;
    gap: 22px;
    padding: 30px;
    border-radius: 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.step-card::before,
.feature-premium-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(40, 167, 118, 0.08), transparent 40%);
    pointer-events: none;
}

.step-card > *,
.feature-premium-card > * {
    position: relative;
    z-index: 1;
}

.step-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 236px;
    padding: 52px 14px 14px;
    border-radius: 22px;
    background:
        linear-gradient(150deg, rgba(226, 238, 220, 0.9), rgba(255, 255, 255, 0.86)),
        radial-gradient(circle at 50% 34%, rgba(40, 167, 118, 0.14), transparent 46%);
    overflow: hidden;
}

.step-visual-label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 11px;
    border: 1px solid rgba(16, 32, 26, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink-faint);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Mini app scenes inside step visuals */
.step-scene {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 7px;
    width: 100%;
}

.scene-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(16, 32, 26, 0.07);
    box-shadow: var(--shadow-xs);
}

.scene-row img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 9px;
    object-fit: cover;
}

.scene-row .meta {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 3px;
}

.scene-row .meta strong {
    font-size: 0.8rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scene-row .meta span {
    color: var(--ink-faint);
    font-size: 0.68rem;
    font-weight: 600;
}

.scene-row.is-top {
    background: #ffffff;
    border-color: rgba(30, 134, 89, 0.32);
    box-shadow: 0 10px 22px rgba(30, 134, 89, 0.14);
}

.step-scene-match {
    justify-content: space-between;
}

.step-scene-match .scene-pill {
    align-self: flex-start;
}

.match-single {
    padding: 10px 12px;
}

.match-single img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.match-single .meta strong {
    font-size: 0.92rem;
}

.match-single .meta .sci {
    font-style: italic;
}

.match-check {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-bright), var(--accent));
    box-shadow: 0 6px 14px rgba(30, 134, 89, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.match-check svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.record-eq {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 64px;
    margin: auto 0;
}

.record-eq i {
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-bright), var(--accent));
    animation: eq 1.2s ease-in-out infinite;
}

.record-eq i:nth-child(1)  { height: 12px; animation-delay: 0s; }
.record-eq i:nth-child(2)  { height: 22px; animation-delay: 0.12s; }
.record-eq i:nth-child(3)  { height: 16px; animation-delay: 0.24s; }
.record-eq i:nth-child(4)  { height: 32px; animation-delay: 0.06s; }
.record-eq i:nth-child(5)  { height: 46px; animation-delay: 0.3s; }
.record-eq i:nth-child(6)  { height: 28px; animation-delay: 0.18s; }
.record-eq i:nth-child(7)  { height: 54px; animation-delay: 0.42s; }
.record-eq i:nth-child(8)  { height: 36px; animation-delay: 0.09s; }
.record-eq i:nth-child(9)  { height: 48px; animation-delay: 0.33s; }
.record-eq i:nth-child(10) { height: 26px; animation-delay: 0.21s; }
.record-eq i:nth-child(11) { height: 40px; animation-delay: 0.45s; }
.record-eq i:nth-child(12) { height: 20px; animation-delay: 0.15s; }
.record-eq i:nth-child(13) { height: 28px; animation-delay: 0.36s; }
.record-eq i:nth-child(14) { height: 14px; animation-delay: 0.27s; }

.record-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.scene-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(16, 32, 26, 0.08);
    box-shadow: var(--shadow-xs);
    color: var(--ink-soft);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.scene-pill svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.scene-pill-match {
    color: var(--accent-deep);
    border-color: rgba(30, 134, 89, 0.22);
}

.record-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #e0524d;
    animation: pulse 2.4s ease-in-out infinite;
}

.record-hint {
    color: var(--ink-faint);
    font-size: 0.76rem;
    font-weight: 600;
    text-align: right;
}

.save-mark {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(30, 134, 89, 0.1);
    color: var(--accent);
}

.save-mark svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    stroke: none;
}

.scene-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(16, 32, 26, 0.07);
    box-shadow: var(--shadow-xs);
}

.scene-chip-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(30, 134, 89, 0.1);
    color: var(--accent);
}

.scene-chip-icon svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.scene-chip-text {
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scene-chip-text strong {
    color: var(--ink);
    font-weight: 700;
}

.scene-chip-value {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
}

/* Per-step scene tint: sound green, match warm, learn sky */
.step-match {
    background:
        linear-gradient(150deg, rgba(238, 233, 218, 0.92), rgba(255, 255, 255, 0.86)),
        radial-gradient(circle at 50% 34%, rgba(201, 130, 43, 0.13), transparent 46%);
}

.step-learn {
    background:
        linear-gradient(150deg, rgba(222, 234, 238, 0.92), rgba(255, 255, 255, 0.86)),
        radial-gradient(circle at 50% 34%, rgba(45, 124, 159, 0.13), transparent 46%);
}

/* Scene choreography: elements enter in narrative order once revealed */
@keyframes sceneIn {
    from { opacity: 0; transform: translateY(10px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

[data-reveal-stagger].is-visible .step-scene-record .record-eq { animation: sceneIn 520ms var(--ease-out) 250ms backwards; }
[data-reveal-stagger].is-visible .step-scene-record .record-status { animation: sceneIn 520ms var(--ease-out) 450ms backwards; }
[data-reveal-stagger].is-visible .step-scene-match .scene-pill { animation: sceneIn 520ms var(--ease-out) 500ms backwards; }
[data-reveal-stagger].is-visible .step-scene-match .match-single { animation: sceneIn 520ms var(--ease-out) 700ms backwards; }
[data-reveal-stagger].is-visible .step-scene-match .scene-chip { animation: sceneIn 520ms var(--ease-out) 900ms backwards; }
[data-reveal-stagger].is-visible .step-scene-learn .scene-row:nth-child(1) { animation: sceneIn 520ms var(--ease-out) 750ms backwards; }
[data-reveal-stagger].is-visible .step-scene-learn .scene-row:nth-child(2) { animation: sceneIn 520ms var(--ease-out) 900ms backwards; }
[data-reveal-stagger].is-visible .step-scene-learn .scene-chip { animation: sceneIn 520ms var(--ease-out) 1080ms backwards; }

.step-title {
    font-size: 1.34rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.step-description {
    color: var(--ink-soft);
    font-size: 0.97rem;
    line-height: 1.62;
}

/* ---------- Field guide preview ---------- */
.guide-search {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 11px;
    width: min(560px, 100%);
    min-height: 56px;
    margin: 0 auto 30px;
    padding: 6px 7px 6px 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 10px 26px rgba(16, 32, 26, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.85);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.guide-search:focus-within {
    border-color: rgba(30, 134, 89, 0.35);
    box-shadow:
        0 14px 32px rgba(30, 134, 89, 0.14),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.guide-search svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--ink-faint);
    stroke-width: 2;
    stroke-linecap: round;
    fill: none;
}

.guide-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--ink);
    font-size: 0.98rem;
}

.guide-search input::placeholder {
    color: var(--ink-faint);
}

.guide-search input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.guide-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 104px;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(30, 134, 89, 0.22);
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.guide-search-submit:hover,
.guide-search-submit:focus-visible {
    background: var(--accent-deep);
    box-shadow: 0 12px 26px rgba(20, 104, 72, 0.25);
}

.guide-search-submit:active {
    transform: translateY(1px);
}

.guide-search-submit svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.guide-search-spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.36);
    border-top-color: #ffffff;
    border-radius: 999px;
    animation: guide-spin 740ms linear infinite;
}

.guide-search.is-loading .guide-search-submit {
    pointer-events: none;
    background: var(--accent-deep);
}

.guide-search.is-loading .guide-search-icon {
    display: none;
}

.guide-search.is-loading .guide-search-spinner {
    display: block;
}

@keyframes guide-spin {
    to {
        transform: rotate(360deg);
    }
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.guide-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(16, 32, 26, 0.07);
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition), box-shadow var(--transition);
}

.guide-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.guide-card img {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 14px;
    object-fit: cover;
    background: var(--surface-muted);
}

.guide-card-meta {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 2px;
}

.guide-card-meta strong,
.guide-card-meta .sci,
.guide-card-meta .fam {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guide-card-meta strong {
    font-size: 0.88rem;
    letter-spacing: -0.01em;
}

.guide-card-meta .sci {
    color: var(--ink-faint);
    font-size: 0.72rem;
    font-style: italic;
}

.guide-card-meta .fam {
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
}

.guide-card-badge {
    align-self: flex-start;
    flex-shrink: 0;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(30, 134, 89, 0.08);
    color: var(--accent-deep);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.guide-empty,
.guide-status {
    margin-top: 22px;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.guide-empty a,
.guide-status a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.guide-status-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(30, 134, 89, 0.18);
}

@media (max-width: 1024px) {
    .guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .guide-search {
        gap: 8px;
        padding-left: 16px;
    }

    .guide-search-submit {
        min-width: 46px;
        width: 46px;
        padding: 0;
    }

    .guide-search-submit .guide-search-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Features ---------- */
.features-showcase {
    margin-top: 24px;
}

.feature-premium-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.feature-premium-card {
    display: grid;
    gap: 28px;
    padding: 34px;
    border-radius: 34px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-premium-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-premium-card-main {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    align-items: center;
    gap: 40px;
}

.feature-premium-copy {
    display: grid;
    gap: 18px;
}

.feature-premium-copy-block {
    display: grid;
    gap: 10px;
}

.feature-premium-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-premium-index {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.feature-premium-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid rgba(16, 32, 26, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 600;
}

.feature-premium-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 17px;
    border: 1px solid rgba(30, 134, 89, 0.18);
    background: linear-gradient(180deg, rgba(40, 167, 118, 0.14), rgba(30, 134, 89, 0.08));
    color: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.feature-premium-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.feature-premium-title {
    max-width: 16ch;
    font-size: clamp(1.75rem, 2.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.feature-premium-card-secondary .feature-premium-title {
    max-width: 16ch;
    font-size: clamp(1.4rem, 1.6vw, 1.95rem);
}

.feature-premium-description {
    max-width: 56ch;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.66;
}

.feature-premium-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.feature-premium-stat {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid rgba(16, 32, 26, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
}

.feature-premium-stat strong {
    font-size: 1rem;
    font-weight: 700;
}

.feature-premium-stat span {
    color: var(--ink-soft);
    font-size: 0.85rem;
    line-height: 1.42;
}

.feature-premium-list {
    display: grid;
    gap: 11px;
    list-style: none;
}

.feature-premium-list li {
    position: relative;
    padding-left: 26px;
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.5;
}

.feature-premium-list li::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%2316694a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat,
        rgba(30, 134, 89, 0.12);
}

/* Feature visual: in-app recognition mock built on a real photo */
.feature-premium-visual {
    position: relative;
    display: grid;
    place-items: center;
}

.feature-premium-visual-secondary {
    align-self: end;
    margin-top: 4px;
}

.bird-app-shot {
    position: relative;
    width: min(330px, 100%);
    min-height: 500px;
    margin: 2px auto 0;
    padding: 18px 18px 0;
    overflow: hidden;
    border: 1px solid rgba(16, 32, 26, 0.09);
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(236, 244, 229, 0.78));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 22px 48px rgba(16, 32, 26, 0.1);
}

.bird-app-shot::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 26px;
    border-radius: 70% 32% 72% 30%;
    background: linear-gradient(135deg, rgba(40, 167, 118, 0.22), rgba(20, 104, 72, 0.08));
    transform: rotate(-16deg);
}

.bird-app-shot::after {
    content: none;
}

.bird-app-shot-label {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(30, 134, 89, 0.13);
    color: var(--accent-deep);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(16, 32, 26, 0.06);
}

.bird-app-shot-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(30, 134, 89, 0.11);
}

.bird-app-shot-image {
    position: relative;
    z-index: 1;
    display: block;
    width: min(246px, 86%);
    height: auto;
    margin: 6px auto 18px;
    border-radius: 28px;
    filter: drop-shadow(0 24px 46px rgba(16, 32, 26, 0.2));
}

.bird-app-shot-photo {
    background:
        radial-gradient(circle at 18% 12%, rgba(45, 124, 159, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(236, 244, 229, 0.78));
}

.bird-app-shot-guide {
    background:
        radial-gradient(circle at 84% 16%, rgba(201, 130, 43, 0.11), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(236, 244, 229, 0.78));
}

.bird-app-shot-sound {
    background:
        radial-gradient(circle at 20% 16%, rgba(40, 167, 118, 0.12), transparent 36%),
        radial-gradient(circle at 82% 12%, rgba(45, 124, 159, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(236, 244, 229, 0.78));
}

.bird-app-shot-winter {
    background:
        radial-gradient(circle at 20% 12%, rgba(45, 124, 159, 0.13), transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.46), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(226, 239, 238, 0.82));
}

.feature-scan {
    position: relative;
    width: 100%;
    max-width: 360px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(16, 32, 26, 0.08);
    box-shadow: 0 34px 74px rgba(16, 32, 26, 0.2);
    aspect-ratio: 4 / 5;
}

.feature-scan img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.feature-scan::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 12, 8, 0.1) 30%, rgba(4, 12, 8, 0.72) 100%);
    z-index: 1;
    pointer-events: none;
}

.feature-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 2;
    top: 12%;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(125, 255, 180, 0.9), transparent);
    box-shadow: 0 0 18px rgba(125, 255, 180, 0.8);
}

/* Live-demo sequence: JS arms the card (hides the result), plays the scan
   sweep once on scroll into view, then reveals the match result. */
.feature-scan.is-scanning .feature-scan-line {
    animation: scanSweep 2.6s ease-in-out forwards;
}

@keyframes scanSweep {
    0% { top: 12%; opacity: 0; }
    8% { opacity: 1; }
    86% { top: 82%; opacity: 1; }
    100% { top: 84%; opacity: 0; }
}

.feature-scan.scan-armed .feature-scan-result {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
    transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out);
}

.feature-scan.scan-armed.is-complete .feature-scan-result {
    opacity: 1;
    transform: none;
}

.feature-scan-result {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.feature-scan-result .avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(125, 255, 180, 0.24);
    color: #7dffb4;
}

.feature-scan-result .avatar svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.feature-scan-result .meta {
    display: grid;
    gap: 1px;
    line-height: 1.2;
}

.feature-scan-result .meta small {
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.feature-scan-result .meta strong {
    font-size: 1.02rem;
    letter-spacing: -0.01em;
}

.feature-scan-result .meta span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-style: italic;
}

/* Secondary feature cards with app screenshots */
.feature-thumb {
    position: relative;
    margin-top: 4px;
    width: min(260px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(16, 32, 26, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(235, 242, 232, 0.62));
    box-shadow: var(--shadow-sm);
    aspect-ratio: 976 / 1856;
}

.feature-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: contain;
    transition: transform 700ms var(--ease-out);
}

.feature-premium-card:hover .feature-thumb img {
    transform: scale(1.05);
}

.feature-thumb::after {
    content: none;
}

.feature-thumb b {
    display: none;
}

/* ---------- Lifestyle / stats band ---------- */
.lifestyle-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(240, 247, 233, 0.6), rgba(255, 255, 255, 0.3)),
        radial-gradient(circle at 12% 40%, rgba(201, 130, 43, 0.09), transparent 30%);
}

.lifestyle-copy {
    max-width: 820px;
    margin: 0 auto;
}

.lifestyle-copy-centered {
    text-align: center;
}

.lifestyle-copy-centered .section-title,
.lifestyle-copy .section-title {
    max-width: 20ch;
    margin: 0 auto 22px;
}

.lifestyle-copy-centered .section-copy {
    margin-left: auto;
    margin-right: auto;
}

.habitat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 46px;
    text-align: left;
}

.habitat-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 26px;
    background: #171d19;
    box-shadow:
        0 30px 60px rgba(16, 32, 26, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform var(--transition), box-shadow var(--transition);
}

.habitat-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 40px 80px rgba(16, 32, 26, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.habitat-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.habitat-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 700ms var(--ease-out);
}

.habitat-card:hover .habitat-photo img {
    transform: scale(1.05);
}

.habitat-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 11, 0) 46%, rgba(10, 14, 11, 0.82) 100%);
    pointer-events: none;
}

.habitat-overlay {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 1;
    display: grid;
    justify-items: start;
    gap: 9px;
    color: #ffffff;
}

.habitat-overlay strong {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.habitat-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--accent-bright);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.habitat-tag-uncommon {
    background: var(--accent-warm);
}

.habitat-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 16px;
    background: #232a25;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
}

.habitat-footer svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    opacity: 0.85;
}

/* ---------- FAQ ---------- */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
}

.faq-intro .section-copy {
    margin-top: 18px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid rgba(16, 32, 26, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.active {
    border-color: rgba(30, 134, 89, 0.24);
    box-shadow: 0 18px 40px rgba(30, 134, 89, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 22px 24px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.faq-symbol {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(30, 134, 89, 0.1);
    color: var(--accent);
    font-size: 1.2rem;
    transition: transform var(--transition), background var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.faq-answer p {
    padding: 0 24px 22px;
    color: var(--ink-soft);
    line-height: 1.66;
}

.faq-item.active .faq-answer {
    max-height: 260px;
}

.faq-item.active .faq-symbol {
    transform: rotate(45deg);
    background: var(--accent);
    color: #ffffff;
}

/* ---------- Download CTA ---------- */
.section-download {
    padding-bottom: 118px;
}

.download-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.82fr);
    gap: 48px;
    align-items: center;
    padding: 52px;
    border: 1px solid rgba(16, 32, 26, 0.1);
    border-radius: 40px;
    color: #eaf3ec;
    background:
        radial-gradient(900px 400px at 90% 10%, rgba(40, 167, 118, 0.5), transparent 60%),
        radial-gradient(700px 500px at 4% 100%, rgba(201, 130, 43, 0.28), transparent 58%),
        linear-gradient(160deg, #123a2c 0%, #0a2a1f 100%);
    box-shadow: var(--shadow-lg);
}

.download-panel .eyebrow {
    color: #7dffb4;
}

.download-title {
    max-width: 15ch;
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: #ffffff;
    text-wrap: balance;
}

.download-description {
    max-width: 560px;
    margin-top: 18px;
    color: rgba(234, 243, 236, 0.82);
    font-size: 1.04rem;
    line-height: 1.68;
}

.download-points {
    display: grid;
    gap: 11px;
    margin: 28px 0;
}

.download-point {
    position: relative;
    padding-left: 28px;
    color: rgba(234, 243, 236, 0.9);
    line-height: 1.5;
}

.download-point::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%237dffb4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat,
        rgba(125, 255, 180, 0.16);
}

.download-panel .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.download-panel .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.download-note {
    margin-top: 16px;
    color: rgba(234, 243, 236, 0.6);
    font-size: 0.86rem;
}

.download-visual {
    display: grid;
    place-items: center;
}

.species-panel {
    width: min(340px, 100%);
    padding: 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
    transform: rotate(1.6deg);
}

.species-image {
    position: relative;
    min-height: 262px;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.4)),
        url("https://cdn.birdcallidentifier.com/home/bald-eagle_home_card.png") center 34% / cover;
    margin-bottom: 14px;
}

.species-image .saved {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
}

.species-image .saved svg {
    width: 13px;
    height: 13px;
    fill: #7dffb4;
}

.species-panel .body {
    padding: 4px 10px 12px;
}

.species-panel span {
    display: block;
    color: rgba(234, 243, 236, 0.62);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.species-panel strong {
    display: block;
    margin-top: 8px;
    color: #ffffff;
    font-size: 1.32rem;
    letter-spacing: -0.02em;
}

.species-panel p {
    margin-top: 8px;
    color: rgba(234, 243, 236, 0.78);
    font-size: 0.9rem;
    line-height: 1.52;
}

/* ---------- Footer ---------- */
.footer {
    padding: 64px 0 30px;
    border-top: 1px solid rgba(16, 32, 26, 0.08);
    background: rgba(242, 245, 238, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
    gap: 64px;
}

.footer-copy {
    max-width: 380px;
    margin-top: 18px;
    color: var(--ink-soft);
    line-height: 1.68;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.footer-links h3 {
    margin-bottom: 12px;
    font-size: 0.82rem;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.footer-links a {
    display: block;
    margin-top: 10px;
    color: var(--ink-soft);
    font-size: 0.94rem;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--accent-deep);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid rgba(16, 32, 26, 0.08);
    color: var(--ink-faint);
    font-size: 0.88rem;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-credit a {
    color: var(--ink);
    font-weight: 700;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
    color: var(--accent-deep);
}

/* ---------- Reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out);
}

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

a:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(30, 134, 89, 0.5);
    outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
    .hero-grid,
    .feature-premium-card-main,
    .download-panel,
    .footer-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-title,
    .section-title,
    .download-title {
        max-width: none;
    }

    .hero-product-stage {
        width: min(560px, 100%);
        min-height: 0;
        margin: 8px auto 0;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-facts,
    .steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .section-heading-split {
        flex-direction: column;
        align-items: start;
    }

    .download-panel {
        padding: 40px;
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 72px;
    }

    .container,
    .nav-container {
        width: min(var(--container), calc(100% - 32px));
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        overflow: hidden;
        padding-top: 44px;
    }

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 360px;
        background:
            linear-gradient(180deg, rgba(242, 245, 238, 0.12) 0%, rgba(242, 245, 238, 0.5) 38%, rgba(242, 245, 238, 0.95) 80%, rgba(242, 245, 238, 1) 100%),
            url("https://cdn.birdcallidentifier.com/home/baltimore-oriole_home_card.png") 72% 30% / cover no-repeat;
        opacity: 0.5;
        z-index: -1;
    }

    .section-heading-split,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        position: fixed;
        top: calc(var(--header-height) + 12px);
        left: 16px;
        right: 16px;
        z-index: 60;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 16px;
        border: 1px solid rgba(16, 32, 26, 0.08);
        border-radius: 26px;
        background: #ffffff;
        box-shadow: 0 24px 48px rgba(16, 32, 26, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px) scale(0.985);
        transform-origin: top center;
        transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    }

    .nav-menu::before {
        content: "Menu";
        display: block;
        margin-bottom: 2px;
        padding: 0 6px;
        color: var(--ink-faint);
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 54px;
        padding: 15px 18px;
        border: 1px solid rgba(16, 32, 26, 0.06);
        border-radius: 16px;
        background: #ffffff;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
    }

    .nav-link::after {
        content: "\203A";
        color: rgba(16, 32, 26, 0.4);
        font-size: 1.1rem;
        line-height: 1;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-grid {
        position: relative;
        z-index: 1;
        gap: 36px;
    }

    .hero-title {
        max-width: 12ch;
        font-size: clamp(2.6rem, 8vw, 3.9rem);
    }

    .section-title,
    .download-title {
        font-size: clamp(2rem, 5.6vw, 3rem);
    }

    .hero-chip-listen {
        left: 2%;
    }

    .hero-chip-match {
        right: 2%;
    }

    .feature-premium-card-main {
        gap: 28px;
    }

    .faq-grid,
    .footer-grid {
        gap: 36px;
    }

    .download-panel {
        padding: 32px;
    }
}

@media (max-width: 720px) {
    .hero-facts,
    .steps-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .habitat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-premium-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .logo-lockup {
        display: none;
    }

    .nav-mobile-title {
        display: grid;
        justify-items: center;
        gap: 2px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        max-width: calc(100% - 130px);
        text-align: center;
        pointer-events: none;
    }

    .nav-mobile-title strong,
    .nav-mobile-title span {
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-mobile-title strong {
        color: var(--ink);
        font-size: 0.98rem;
        font-weight: 700;
        letter-spacing: -0.015em;
        line-height: 1.1;
    }

    .nav-mobile-title span {
        color: var(--ink-faint);
        font-size: 0.6rem;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        opacity: 0.85;
    }
}

@media (max-width: 360px) {
    .nav-mobile-title span {
        font-size: 0.53rem;
        letter-spacing: 0.05em;
    }

    .hero-title {
        font-size: clamp(2.1rem, 9.6vw, 2.9rem);
    }

    .hero::before {
        height: 300px;
        background:
            linear-gradient(180deg, rgba(242, 245, 238, 0.14) 0%, rgba(242, 245, 238, 0.55) 38%, rgba(242, 245, 238, 0.96) 80%, rgba(242, 245, 238, 1) 100%),
            url("https://cdn.birdcallidentifier.com/home/baltimore-oriole_home_card.png") 74% 32% / cover no-repeat;
    }

    .section-title,
    .download-title {
        max-width: 100%;
        font-size: clamp(1.85rem, 8.6vw, 2.45rem);
    }

    .hero-description,
    .section-copy,
    .download-description {
        font-size: 0.99rem;
        line-height: 1.62;
    }

    .hero-actions-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-rating {
        justify-content: center;
    }

    .hero-daily-image,
    .hero-daily-image img {
        min-height: 460px;
        height: 460px;
    }

    .hero-daily-title strong {
        font-size: 1.7rem;
    }

    .fact-card,
    .feature-premium-card,
    .step-card {
        border-radius: 24px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .download-panel {
        border-radius: 30px;
        padding: 26px 22px;
    }

    .faq-question {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-answer p {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ======================================================================
   Enhancements — layered polish (staggered reveals, pointer glow,
   title shimmer, CTA sheen, scroll progress). All motion opts out under
   prefers-reduced-motion via the block above + guards here.
   ====================================================================== */

/* --- Scroll progress bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 60;
    height: 3px;
    width: 100%;
    transform: scaleX(var(--scroll, 0));
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--accent-bright), var(--accent-deep));
    box-shadow: 0 1px 8px rgba(30, 134, 89, 0.4);
    pointer-events: none;
    will-change: transform;
}

/* --- Staggered reveals: children cascade in after their parent --- */
[data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
    transition-delay: calc(var(--stagger-i, 0) * 90ms);
}

[data-reveal-stagger].is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* --- Pointer-reactive glow on cards --- */
.step-card::before,
.feature-premium-card::before,
.fact-card::after {
    background: radial-gradient(
        220px circle at var(--mx, 70%) var(--my, 0%),
        rgba(40, 167, 118, 0.14),
        transparent 45%
    );
    transition: opacity var(--transition);
}

.fact-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.fact-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

.fact-card:hover::after {
    opacity: 1;
}

/* --- Hero title shimmer on the gradient word --- */
@keyframes titleSheen {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-title em {
    background: linear-gradient(
        110deg,
        var(--accent-deep) 0%,
        var(--accent-bright) 35%,
        var(--accent-warm) 50%,
        var(--accent-bright) 65%,
        var(--accent-deep) 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleSheen 7s ease-in-out infinite;
}

/* --- CTA: quiet Apple-style press, no sweep --- */
.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
    .hero-title em {
        animation: none;
        background-position: 30% 50%;
    }

    .scroll-progress {
        display: none;
    }

    [data-reveal-stagger] > * {
        opacity: 1;
        transform: none;
        transition-delay: 0ms;
    }
}

/* ======================================================================
   iOS 26 — Liquid Glass system
   Frosted material, specular top edge, layered depth. Applied to the
   nav rail, nav CTA, hero badge, and FAQ cards to match the marquee
   pills. Green identity preserved; motion stays quiet.
   ====================================================================== */

/* --- Nav: floating glass rail with a specular top edge --- */
.nav {
    background: rgba(248, 250, 245, 0.62);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav.scrolled {
    background: rgba(248, 250, 245, 0.78);
    box-shadow:
        0 10px 34px rgba(16, 32, 26, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* --- Nav CTA: green glass with inner light --- */
.nav-cta {
    background:
        linear-gradient(180deg, rgba(40, 167, 118, 0.95), rgba(30, 134, 89, 0.95));
    box-shadow:
        0 10px 22px rgba(30, 134, 89, 0.30),
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        inset 0 -5px 12px rgba(20, 104, 72, 0.35);
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background:
        linear-gradient(180deg, rgba(46, 180, 132, 0.97), rgba(26, 122, 85, 0.97));
    box-shadow:
        0 14px 28px rgba(30, 134, 89, 0.38),
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -5px 12px rgba(20, 104, 72, 0.4);
}

/* --- Hero badge: frosted glass pill (matches marquee) --- */
.hero-badge {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow:
        0 6px 18px rgba(16, 32, 26, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.85),
        inset 0 -5px 12px rgba(16, 32, 26, 0.04);
}

.hero-badge::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto 1px;
    height: 48%;
    border-radius: 999px 999px 40% 40% / 999px 999px 100% 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

/* --- FAQ: frosted glass cards with specular edge --- */
.faq-item {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.42));
    backdrop-filter: blur(16px) saturate(175%);
    -webkit-backdrop-filter: blur(16px) saturate(175%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 10px 28px rgba(16, 32, 26, 0.07),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.faq-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 40%;
    border-radius: 20px 20px 50% 50% / 20px 20px 100% 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
}

.faq-item.active {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(240, 248, 244, 0.5));
    border-color: rgba(30, 134, 89, 0.28);
    box-shadow:
        0 20px 44px rgba(30, 134, 89, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

/* --- Hero "Identified" tag: brighter specular glass --- */
.hero-daily-tag {
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -4px 10px rgba(0, 0, 0, 0.15);
}

/* --- Species cloud: glass pills naming bird groups (SEO long-tail) --- */
.species-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 720px;
    margin: 44px auto 0;
}

.species-cloud span {
    position: relative;
    isolation: isolate;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--ink-soft);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.28));
    backdrop-filter: blur(12px) saturate(175%);
    -webkit-backdrop-filter: blur(12px) saturate(175%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 5px 14px rgba(16, 32, 26, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
    transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.species-cloud span::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto 1px;
    height: 46%;
    border-radius: 999px 999px 40% 40% / 999px 999px 100% 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

.species-cloud span:hover {
    transform: translateY(-1px);
    color: var(--accent-deep);
    box-shadow:
        0 8px 20px rgba(16, 32, 26, 0.11),
        inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

.species-cloud-note {
    max-width: 560px;
    margin: 20px auto 0;
    text-align: center;
    color: var(--ink-faint);
    font-size: 0.98rem;
    line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
    .species-cloud span:hover {
        transform: none;
    }
}
