/* ========================================
   1. CSS RESET & CUSTOM PROPERTIES
   ======================================== */

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

html {
    font-size: 18px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

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

/* --- Light Mode Custom Properties (default) --- */
:root {
    /* Sage greens */
    --sage-50: #f8faf8;
    --sage-100: #e8ede8;
    --sage-200: #d4ddd4;
    --sage-300: #b8c5b8;
    --sage-400: #9aaa9a;
    --sage-500: #7a8f7a;
    --sage-600: #5d735d;
    --sage-700: #4a5d4a;
    --sage-800: #3a4a3a;
    --sage-900: #2a3a2a;

    /* Creams */
    --cream-50: #fdfcfb;
    --cream-100: #faf8f5;
    --cream-200: #f5f1eb;
    --cream-300: #ede6db;

    /* Slates */
    --slate-50: #f8f9fa;
    --slate-100: #e9ecef;
    --slate-200: #dee2e6;
    --slate-300: #ced4da;
    --slate-400: #adb5bd;
    --slate-500: #6c757d;
    --slate-600: #495057;
    --slate-700: #343a40;
    --slate-800: #212529;

    /* Semantic aliases */
    --background: var(--cream-50);
    --surface: var(--cream-100);
    --surface-dark: var(--sage-800);
    --text-primary: var(--slate-800);
    --text-secondary: var(--slate-600);
    --text-muted: var(--slate-500);
    --accent: var(--sage-600);
    --border: var(--sage-200);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 60px;
    --container-width: 1200px;
}

/* --- Dark Mode Overrides --- */
@media (prefers-color-scheme: dark) {
    :root {
        --background: #1a1f1a;
        --surface: #242b24;
        --surface-dark: #0f130f;
        --text-primary: #e8ede8;
        --text-secondary: #b8c5b8;
        --text-muted: #9aaa9a;
        --accent: #9aaa9a;
        --border: #3a4a3a;
    }
}

/* ========================================
   2. BASE TYPOGRAPHY & ELEMENTS
   ======================================== */

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--sage-700);
}

ul, ol {
    padding-left: 1.5em;
}

/* ========================================
   3. LAYOUT & CONTAINER
   ======================================== */

.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

/* ========================================
   4. SHARED HEADER & NAVIGATION
   ======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(253, 252, 251, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

@media (prefers-color-scheme: dark) {
    .site-header {
        background-color: rgba(26, 31, 26, 0.85);
    }
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
}

.site-header .logo svg {
    height: 2rem;
    width: auto;
}

/* --- Desktop Navigation --- */

.site-header nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.site-header nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-header nav a:hover {
    color: var(--text-primary);
}

.site-header nav a.current {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.site-header nav a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

/* --- CSS-only Hamburger Menu --- */

#nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle-label span::before {
    top: -7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

/* Hamburger open state */
#nav-toggle:checked ~ .nav-toggle-label span {
    background-color: transparent;
}

#nav-toggle:checked ~ .nav-toggle-label span::before {
    top: 0;
    transform: rotate(45deg);
}

#nav-toggle:checked ~ .nav-toggle-label span::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-toggle-label:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

/* --- Sub Navigation (App-level) --- */
.sub-nav {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    position: sticky;
    top: 57px;
    z-index: 99;
}

.sub-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.sub-nav a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.sub-nav a:hover {
    color: var(--text-primary);
}

.sub-nav a.current {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.sub-nav a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ========================================
   5. SHARED FOOTER
   ======================================== */

.footer {
    background-color: var(--surface-dark);
    color: var(--sage-200);
    padding: 4rem 0 2rem;
}

.footer .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer h4 {
    color: var(--cream-100);
    font-family: var(--font-serif);
    margin-bottom: 1rem;
}

.footer p {
    color: var(--sage-300);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--sage-300);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--cream-100);
}

.footer a:focus-visible {
    outline: 2px solid var(--sage-400);
    outline-offset: 2px;
    border-radius: 2px;
}

.footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    list-style: none;
    padding: 0;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.footer .copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--sage-800);
    font-size: 0.85rem;
    color: var(--sage-400);
}

/* ========================================
   6. SHARED COMPONENTS
   ======================================== */

/* --- Buttons --- */

.button {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-sans);
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    min-height: 44px;
    text-align: center;
}

.button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.button-primary {
    background-color: var(--sage-600);
    color: var(--cream-50);
    border-color: var(--sage-600);
}

.button-primary:hover {
    background-color: var(--sage-700);
    border-color: var(--sage-700);
    color: var(--cream-50);
}

.button-secondary {
    background-color: transparent;
    color: var(--sage-600);
    border-color: var(--sage-400);
}

.button-secondary:hover {
    background-color: var(--sage-50);
    border-color: var(--sage-600);
    color: var(--sage-700);
}

/* --- Breadcrumbs --- */

.breadcrumb {
    padding: 1rem 0;
    font-size: 0.85rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.25rem;
}

.breadcrumb li::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumb li:last-child::after {
    content: '';
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.breadcrumb [aria-current="page"] {
    color: var(--text-primary);
}

/* --- Audio Player --- */

.audio-player {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.audio-player .audio-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.audio-player audio {
    width: 100%;
    height: 2.5rem;
}

/* --- Application Card --- */

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-content: center;
}

.app-card--portrait {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.app-card--portrait:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.app-card--portrait .app-tagline {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.app-card--portrait .app-features {
    text-align: left;
    padding-left: 1.25em;
    margin-bottom: 1.5rem;
}

.app-card--portrait .app-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
}

/* Pause card uses Caveat font for tagline and features */
.app-card--pause .app-tagline {
    font-family: var(--font-pause-brand);
    font-size: 1.1rem;
    font-style: normal;
}

.app-card--pause .app-features li {
    font-family: var(--font-pause-brand);
    font-size: 1.05rem;
}

.app-card--portrait img {
    width: 100%;
    max-width: 280px;
    height: auto;
}

.app-card--portrait img:first-child {
    max-width: 100%;
    border-radius: 0;
}

.app-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: box-shadow 0.2s ease;
}

.app-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.app-card .app-content h3 {
    font-family: var(--font-serif);
    color: var(--text-primary);
}

.app-card .app-tagline {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.app-card img {
    border-radius: 8px;
    margin: 1.5rem 0;
}

.app-card--pause > img:first-child {
    margin: 0;
    border-radius: 0;
    max-width: 100%;
}

/* App card header: logo + title side by side */
.app-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.app-card-header h3 {
    margin-bottom: 0.25rem;
}

.app-card-header .app-tagline {
    margin-bottom: 0;
}

/* App card body: image + details side by side on desktop */
.app-card-body {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.app-card-body > img {
    flex: 0 0 auto;
    max-width: 320px;
    margin: 0;
}

.app-card-details {
    flex: 1;
    min-width: 200px;
}

/* --- Pricing Tier Card --- */

.tier-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tier-card h3 {
    font-family: var(--font-serif);
    color: var(--text-primary);
}

.tier-card .tier-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.tier-card .tier-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.tier-card .tier-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tier-card .tier-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.tier-card .tier-features li:last-child {
    border-bottom: none;
}

.tier-recommended {
    border-color: var(--sage-500);
    box-shadow: 0 4px 24px rgba(93, 115, 93, 0.12);
}

.tier-badge {
    display: inline-block;
    background-color: var(--sage-600);
    color: var(--cream-50);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

/* --- FAQ Item --- */

.faq-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* ========================================
   7. SCROLL ANIMATIONS (CSS only)
   ======================================== */

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

.fade-in-section {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Progressive enhancement: scroll-driven animation where supported */
@supports (animation-timeline: view()) {
    .fade-in-section {
        opacity: 0;
        animation: fadeInUp ease both;
        animation-timeline: view();
        animation-range: entry 0% entry 100%;
    }
}

/* Fallback: if no scroll-driven support, just show content */
@supports not (animation-timeline: view()) {
    .fade-in-section {
        animation-delay: 0.15s;
    }
}

/* ========================================
   8. BRAND HOME PAGE STYLES
   ======================================== */

.hero {
    text-align: center;
}

.hero .subhead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Ethics section */
.ethics {
    background-color: var(--sage-50);
}

.ethics h2 {
    text-align: center;
}

.ethics-list {
    list-style: none;
    padding: 0;
    max-width: 640px;
    margin: 0 auto;
}

.ethics-list li {
    padding: 1.25rem 0 1.25rem 2rem;
    border-bottom: 1px solid var(--sage-200);
    position: relative;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.ethics-list li:last-child {
    border-bottom: none;
}

.ethics-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage-600);
    font-weight: 600;
}

/* ========================================
   9. VERSE MY DAYS APP STYLES
   ======================================== */

/* --- How It Works Steps --- */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--sage-600);
    color: var(--cream-50);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* --- Feature Highlights Grid --- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- Audio Section --- */

.audio-section .container {
    max-width: 640px;
}

/* --- Social Proof --- */

.social-proof {
    text-align: center;
}

/* --- Pricing Preview --- */

.pricing-preview {
    text-align: center;
}

.pricing-preview .button {
    margin-top: 1rem;
}

/* --- Footer CTA --- */

.footer-cta {
    text-align: center;
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    background-color: var(--surface);
}

.footer-cta .button {
    margin-bottom: 1rem;
}

.footer-cta p {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-muted);
}

/* ========================================
   9B. PAUSE BRAND STYLES (App-level only)
   ======================================== */

/* --- PAUSE Brand Tokens --- */
:root {
    /* PAUSE brand colours */
    --pause-sage: #8DA399;
    --pause-sage-light: #A8BDB3;
    --pause-sage-dark: #6E8A7E;
    --pause-silk: #F9F8F1;
    --pause-charcoal: #2F353B;

    /* PAUSE emotional circle colours */
    --pause-circle-red: #C4908A;
    --pause-circle-blue: #8FAFB5;
    --pause-circle-green: #9AB09E;

    /* PAUSE brand typography */
    --font-pause-brand: 'Caveat', cursive;
}

/* --- PAUSE Carved Text Effect (on sage backgrounds) --- */

.pause-title {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.08);
    text-shadow:
        -1px -1px 0px rgba(255, 255, 255, 0.55),
        -1.5px -1.5px 1.5px rgba(255, 255, 255, 0.25),
         1px  1px 1px rgba(0, 0, 0, 0.22),
         1.5px 1.5px 2.5px rgba(0, 0, 0, 0.10);
    line-height: 1;
}

.pause-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: rgba(0, 0, 0, 0.06);
    text-shadow:
        -0.5px -0.5px 0px rgba(255, 255, 255, 0.45),
        -1px -1px 1px rgba(255, 255, 255, 0.2),
         0.5px  0.5px 0.5px rgba(0, 0, 0, 0.18),
         1px 1px 2px rgba(0, 0, 0, 0.08);
}

.pause-brand-bg {
    background-color: var(--pause-sage);
}

.pause-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pause-lockup .pause-title {
    font-size: 76px;
}

.pause-lockup .pause-subtitle {
    font-size: 10px;
}

.pause-lockup--sm .pause-title {
    font-size: 38px;
}

.pause-lockup--sm .pause-subtitle {
    font-size: 8px;
    letter-spacing: 3px;
}

/* --- PAUSE On Light Backgrounds --- */

.pause-title--on-light {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    color: var(--pause-sage);
    line-height: 1;
}

.pause-subtitle--on-light {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--pause-charcoal);
    opacity: 0.35;
}

/* --- PAUSE On Dark Backgrounds --- */

.pause-title--on-dark {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    color: var(--pause-sage);
    line-height: 1;
}

.pause-subtitle--on-dark {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: rgba(255, 255, 255, 0.35);
}

/* --- PAUSE Dark Mode Override --- */
@media (prefers-color-scheme: dark) {
    .pause-title {
        color: var(--pause-sage);
        text-shadow: none;
    }

    .pause-subtitle {
        color: rgba(255, 255, 255, 0.35);
        text-shadow: none;
    }
}

/* --- Screenshot Tiles --- */

.screenshot-tiles {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.screenshot-tiles img {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 12px;
    border: 1px solid var(--border);
    object-fit: contain;
}

/* --- Feature Video --- */

.feature-video {
    margin-top: 2rem;
}

.feature-video video {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border);
}

/* --- Screenshot Tiles (small variant for hero) --- */

.screenshot-tiles--sm {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* --- Store Badges --- */

.store-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.store-badge {
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.store-badge:hover {
    opacity: 0.8;
}

.store-badge img {
    height: 40px;
    width: auto;
    display: block;
}

.store-badges .button {
    display: flex;
    align-items: center;
    height: 40px;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    font-size: 0.9rem;
    line-height: 40px;
}

/* --- Disabled Button --- */

.button.disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* --- Newsletter Section --- */

.newsletter-section {
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ========================================
   10. RESPONSIVE BREAKPOINTS
   ======================================== */

/* --- Tablet (max-width: 968px) --- */
@media (max-width: 968px) {
    :root {
        --section-padding: 48px;
    }

    .footer .container {
        grid-template-columns: 1fr 1fr;
    }

    .tier-card {
        padding: 1.5rem;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

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

/* --- Mobile (max-width: 640px) --- */
@media (max-width: 640px) {
    :root {
        --section-padding: 32px;
    }

    /* Mobile hamburger visible */
    .nav-toggle-label {
        display: flex;
    }

    .site-header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    #nav-toggle:checked ~ nav {
        max-height: 100vh;
    }

    .site-header nav ul {
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0;
    }

    .site-header nav a {
        display: block;
        padding: 0.75rem 0;
        min-height: 44px;
        line-height: 44px;
        border-bottom: none;
    }

    /* Single column layout */
    .footer .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer .copyright {
        grid-column: 1;
    }

    /* Audio player full width */
    .audio-player {
        padding: 1rem;
    }

    /* Touch targets */
    .button {
        min-height: 44px;
        min-width: 44px;
        padding: 0.75rem 1.5rem;
    }

    .site-header nav a,
    .footer a,
    .breadcrumb a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Tier cards stack */
    .tier-card {
        padding: 1.5rem;
    }

    /* App card adjustments */
    .app-card {
        padding: 1.5rem;
    }

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

    .app-card--portrait {
        width: 100%;
        max-width: 100%;
    }

    .app-card-body {
        flex-direction: column;
    }

    .app-card-body > img {
        max-width: 100%;
    }

    .sub-nav ul {
        gap: 1rem;
    }

    .sub-nav a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Steps and feature grid stack on mobile */
    .steps-grid {
        grid-template-columns: 1fr;
    }

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

    /* Screenshot tiles stack vertically on mobile */
    .screenshot-tiles {
        flex-direction: column;
    }
}
