/* Wake Website Styles — Bright Moment by the Sea */

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    /* Warm Light Palette (matching Wake iOS app) */
    --deep-ocean: #F5E6C8;
    --midnight: #EAD9B5;
    --dark-surface: #E8D5B5;
    --surface: #F0DEC0;
    --surface-raised: #F8EDD5;

    /* iOS Accent Colors */
    --cyan-glow: #4B8EC4;
    --cyan-dim: #3A7AB0;
    --coral-glow: #A84B3B;
    --coral-bright: #B84A4A;
    --gold-glow: #D4A338;
    --magenta-pop: #9C4B8C;
    --phosphor-teal: #2B6B7B;

    /* Legacy compat (referenced in inline styles) */
    --primary-blue: #4B8EC4;
    --primary-dark: #3A7AB0;
    --secondary-teal: #2B6B7B;
    --accent-orange: #B84A4A;
    --background-light: #F5E6C8;
    --background-gray: #EAD9B5;
    --text-dark: #3D2B1F;
    --text-medium: #5D4037;
    --text-light: #8B7355;
    --border-light: rgba(61, 43, 31, 0.1);

    /* Sammy Colors */
    --sammy-yellow: #D4A338;
    --sammy-orange: #C48830;
    --success-green: #4CAF50;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4B8EC4 0%, #2B6B7B 100%);
    --gradient-secondary: linear-gradient(135deg, #A84B3B 0%, #9C4B8C 100%);
    --gradient-sammy: linear-gradient(135deg, #D4A338 0%, #C48830 100%);
    --gradient-ocean: linear-gradient(180deg, #F5E6C8 0%, #EAD9B5 40%, #E8D5B5 100%);
    --gradient-shore: linear-gradient(135deg, #EAD9B5 0%, #E0CDA8 50%, #F0DEC0 100%);

    /* Shadows (warm, subtle) */
    --shadow-sm: 0 1px 3px rgba(61, 43, 31, 0.08);
    --shadow-md: 0 4px 12px rgba(61, 43, 31, 0.1);
    --shadow-lg: 0 10px 30px rgba(61, 43, 31, 0.12);
    --shadow-xl: 0 20px 50px rgba(61, 43, 31, 0.15);
    --glow-cyan: 0 0 20px rgba(75, 142, 196, 0.2);
    --glow-coral: 0 0 20px rgba(168, 75, 59, 0.2);
    --glow-gold: 0 0 20px rgba(212, 163, 56, 0.2);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Caslon Text', Georgia, serif;
    font-size: 16px;
    line-height: 1.6;
    color: #3D2B1F;
    background-color: var(--deep-ocean);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Caslon Text', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #3D2B1F;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #5D4037;
}

a {
    text-decoration: none;
    color: var(--cyan-dim);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--phosphor-teal);
    text-shadow: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 230, 200, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(61, 43, 31, 0.08);
    box-shadow: 0 2px 20px rgba(61, 43, 31, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: 'Libre Caslon Text', Georgia, serif;
    font-size: clamp(0.95rem, 1.45vw, 1.4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #6BB5E0, #2E9C9C, #4BB8A0, #6BB5E0);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 16s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(46, 156, 156, 0.3));
}

nav > ul {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    align-items: center;
}

nav a {
    color: #5D4037;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.4rem 0;
}

nav a:hover {
    color: var(--cyan-dim);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan-glow);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: #053b34 !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.nav-cta:hover {
    box-shadow: var(--glow-cyan), 0 4px 15px rgba(75, 142, 196, 0.3);
    transform: translateY(-1px);
}

/* Active nav link */
nav a.active {
    color: var(--cyan-dim);
    font-weight: 700;
}

/* About dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-dropdown > a .fa-chevron-down {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.nav-dropdown.open > a .fa-chevron-down {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(245, 230, 200, 0.97);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(61, 43, 31, 0.12);
    padding: 0.5rem 0;
    min-width: 160px;
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li {
    list-style: none;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown-menu a:hover {
    background: rgba(75, 142, 196, 0.08);
}

.wake-signin-link::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    color: #3D2B1F;
}

/* Mobile-nav checkbox: inert on desktop; becomes the keyboard-focusable,
   no-JS toggle at <=768px (see the @media block + main.js enhancement). */
.nav-toggle-cb { display: none; }

/* Guard horizontal overflow on phones without breaking position:sticky
   (overflow-x:clip creates no scroll container, unlike overflow-x:hidden). */
body { overflow-x: clip; }

/* Scroll-lock the page while the mobile nav drawer is open (set by main.js). */
body.nav-open { overflow: hidden; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn.primary {
    background: var(--gradient-primary);
    color: #053b34;
}

.btn.primary:hover {
    box-shadow: var(--glow-cyan), 0 8px 25px rgba(75, 142, 196, 0.3);
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    color: var(--cyan-dim);
    border: 2px solid var(--cyan-dim);
}

.btn.secondary:hover {
    background: rgba(75, 142, 196, 0.1);
    box-shadow: var(--glow-cyan);
    color: #3D2B1F;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    padding: 120px 0 80px;
    background: radial-gradient(ellipse 120% 80% at 50% 20%, #F8EDD5 0%, #F5E6C8 60%, #EAD9B5 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(2px 2px at 15% 25%, rgba(75, 142, 196, 0.15), transparent),
        radial-gradient(2px 2px at 85% 15%, rgba(43, 107, 123, 0.12), transparent),
        radial-gradient(1px 1px at 45% 60%, rgba(212, 163, 56, 0.1), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(168, 75, 59, 0.08), transparent),
        radial-gradient(2px 2px at 30% 85%, rgba(75, 142, 196, 0.1), transparent),
        radial-gradient(1px 1px at 55% 35%, rgba(212, 163, 56, 0.08), transparent);
    animation: starfield 30s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--midnight));
    pointer-events: none;
}

@keyframes starfield {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.7; transform: translateY(-5px); }
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-centered {
    text-align: center;
}

.hero-title-large {
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4B8EC4 0%, #D4A338 40%, #A84B3B 70%, #2B6B7B 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 20s ease-in-out infinite;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-slogan {
    font-size: 1.75rem;
    font-weight: 600;
    color: #3D2B1F;
    margin-bottom: 1rem;
}

.hero-slogan-featured {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6BB5E0 0%, #2E9C9C 20%, #4BB8A0 40%, #6BB5E0 55%, #2E9C9C 70%, #3AAFA0 85%, #6BB5E0 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 20s ease-in-out infinite;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    filter: drop-shadow(0 0 30px rgba(46, 156, 156, 0.35)) drop-shadow(0 0 60px rgba(107, 181, 224, 0.2));
}

.hero-availability {
    font-size: 1.1rem;
    color: #8B7355;
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(135deg, #6BB5E0, #2E9C9C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-links {
    text-align: center;
}

.hero-links > p {
    font-size: 1.05rem;
    color: #8B7355;
    margin-bottom: 1rem;
}

.hero-links ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.hero-links li {
    padding: 0.4rem 0;
}

.hero-links li::before {
    content: "\2022";
    color: var(--gold-glow);
    font-weight: 700;
    margin-right: 0.75rem;
}

.hero-links a {
    color: var(--cyan-dim);
    text-decoration: underline;
    text-decoration-color: rgba(75, 142, 196, 0.4);
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.hero-links a:hover {
    text-decoration-color: var(--cyan-dim);
}

.hero-duck-icon {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    border: 3px solid var(--cyan-glow);
    overflow: hidden;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-lg);
}

.hero-duck-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(61, 43, 31, 0.18), var(--glow-cyan);
    position: relative;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.duck-logo-container {
    position: absolute;
    inset: 0;
}

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

/* ==========================================================================
   Sammy Section (safety-section class)
   ========================================================================== */

.sammy-section {
    padding: 80px 0;
    background: var(--midnight);
}

.sammy-highlight {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.sammy-highlight .sammy-text {
    flex: 1;
}

.sammy-highlight .sammy-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sammy-feature-box {
    background: rgba(61, 43, 31, 0.04);
    border-left: 4px solid var(--gold-glow);
    border-radius: 0 12px 12px 0;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sammy-feature-box:hover {
    transform: translateX(4px);
    box-shadow: var(--glow-gold);
}

.sammy-feature-box h4 {
    margin-bottom: 0.5rem;
    color: #3D2B1F;
}

.sammy-feature-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.wake-me-up-demo {
    background: var(--surface);
    border: 1px solid rgba(61, 43, 31, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    max-width: 360px;
    margin: 0 auto;
}

.wake-me-up-demo .demo-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(61, 43, 31, 0.45);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.wake-me-up-demo .demo-bubble {
    background: var(--gradient-sammy);
    color: var(--deep-ocean);
    padding: 1rem 1.25rem;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.wake-me-up-demo .demo-bubble p {
    color: var(--deep-ocean);
    margin-bottom: 0;
}

.wake-me-up-demo .demo-response {
    background: rgba(61, 43, 31, 0.05);
    padding: 1rem 1.25rem;
    border-radius: 16px 16px 4px 16px;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.wake-me-up-demo .demo-response p {
    margin-bottom: 0;
}

/* Safety section (Sammy on index.html) */
.safety-section {
    padding: 80px 0;
    background: var(--midnight);
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.safety-text .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.safety-features {
    margin: 2rem 0;
}

.safety-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.safety-feature i {
    font-size: 2rem;
    color: var(--coral-glow);
    width: 40px;
}

.certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(61, 43, 31, 0.05);
    padding: 1rem 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid rgba(75, 142, 196, 0.1);
}

.certification-badge i {
    font-size: 2rem;
    color: var(--cyan-dim);
}

.safety-demo {
    background: rgba(61, 43, 31, 0.03);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(61, 43, 31, 0.06);
}

.safety-demo img {
    width: 100%;
    border-radius: 8px;
}

/* ==========================================================================
   Features / Pillars Section
   ========================================================================== */

.features-section {
    padding: 80px 0;
    background: var(--deep-ocean);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: rgba(61, 43, 31, 0.03);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(61, 43, 31, 0.06);
    border-left: 4px solid rgba(61, 43, 31, 0.06);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--glow-cyan);
    background: rgba(61, 43, 31, 0.05);
    border-color: rgba(75, 142, 196, 0.15);
}

.feature-card:nth-child(1) { border-left-color: var(--coral-glow); }
.feature-card:nth-child(2) { border-left-color: var(--cyan-dim); }
.feature-card:nth-child(3) { border-left-color: var(--phosphor-teal); }
.feature-card:nth-child(4) { border-left-color: var(--gold-glow); }
.feature-card:nth-child(5) { border-left-color: var(--magenta-pop); }

.pillar-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--glow-cyan);
}

.pillar-icon i {
    font-size: 1.5rem;
    color: var(--deep-ocean);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--glow-cyan);
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--deep-ocean);
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: rgba(61, 43, 31, 0.7);
}

.feature-list i {
    color: var(--phosphor-teal);
    font-size: 0.875rem;
}

/* ==========================================================================
   How It Works
   ========================================================================== */

.how-it-works {
    padding: 80px 0;
    background: var(--midnight);
}

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

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 16.66%;
    right: 16.66%;
    height: 0;
    border-top: 2px dotted rgba(75, 142, 196, 0.3);
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--surface);
    border: 3px solid var(--cyan-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan-dim);
    margin: 0 auto 2rem;
    box-shadow: var(--glow-cyan);
}

.step-content h3 {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Gear Section
   ========================================================================== */

.gear-section {
    padding: 80px 0;
    background: var(--deep-ocean);
}

.gear-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.gear-item {
    text-align: center;
    min-width: 120px;
}

.gear-icon {
    font-size: 4rem;
    color: rgba(61, 43, 31, 0.55);
    margin-bottom: 0.75rem;
    display: block;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.gear-item:hover .gear-icon {
    color: var(--cyan-dim);
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(75, 142, 196, 0.4);
}

.gear-item p {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0;
}

/* ==========================================================================
   Contrast / Social Section
   ========================================================================== */

.contrast-section {
    background: linear-gradient(135deg, #EAD9B5 0%, #E0CDA8 50%, #E8D5B5 100%) !important;
}

/* ==========================================================================
   Why Wake Section
   ========================================================================== */

.why-wake-section {
    padding: 80px 0;
    background: radial-gradient(ellipse 100% 60% at 50% 80%, #F0DEC0 0%, #F5E6C8 100%);
    color: #3D2B1F;
    position: relative;
    overflow: hidden;
}

.why-wake-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(1px 1px at 20% 30%, rgba(75, 142, 196, 0.4), transparent),
        radial-gradient(1px 1px at 80% 70%, rgba(168, 75, 59, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(212, 163, 56, 0.3), transparent);
    pointer-events: none;
}

.why-wake-section .section-header h2 {
    color: #3D2B1F;
}

.why-wake-section .section-header p {
    color: rgba(61, 43, 31, 0.75);
}

.why-wake-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.why-wake-card {
    background: rgba(61, 43, 31, 0.04);
    border: 1px solid rgba(75, 142, 196, 0.12);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.why-wake-card:hover {
    background: rgba(75, 142, 196, 0.06);
    border-color: rgba(75, 142, 196, 0.25);
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

.why-wake-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--deep-ocean);
    border-radius: 50%;
    font-size: 1.4rem;
    box-shadow: var(--glow-cyan);
}

.why-wake-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #3D2B1F;
}

.why-wake-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(61, 43, 31, 0.65);
    margin: 0;
}

@media (max-width: 600px) {
    .why-wake-cards {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-section {
    padding: 80px 0;
    background: var(--midnight);
}

.pricing-table-wrapper {
    margin-top: 3rem;
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(61, 43, 31, 0.06);
}

.pricing-table thead th {
    background: linear-gradient(135deg, rgba(75, 142, 196, 0.15), rgba(43, 107, 123, 0.1));
    color: #3D2B1F;
    padding: 1.25rem 2rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(75, 142, 196, 0.15);
}

.pricing-table thead th:first-child {
    border-radius: 16px 0 0 0;
}

.pricing-table thead th:last-child {
    border-radius: 0 16px 0 0;
}

.pricing-table tbody tr {
    transition: background 0.2s ease;
}

.pricing-table tbody tr:hover {
    background: rgba(75, 142, 196, 0.03);
}

.pricing-table tbody tr.featured-row {
    background: rgba(75, 142, 196, 0.04);
}

.pricing-table tbody tr.featured-row:hover {
    background: rgba(75, 142, 196, 0.07);
}

.pricing-table td {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(61, 43, 31, 0.05);
    vertical-align: top;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.level-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3D2B1F;
    white-space: nowrap;
}

.badge-inline {
    display: inline-block;
    background: linear-gradient(135deg, #4B8EC4, #2B6B7B);
    color: var(--deep-ocean);
    padding: 0.2rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.level-price {
    white-space: nowrap;
}

.price-amount {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cyan-dim);
    margin-bottom: 0.5rem;
}

.btn-price {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-price.primary {
    background: linear-gradient(135deg, #4B8EC4, #2B6B7B);
    color: var(--deep-ocean);
}

.btn-price.primary:hover {
    box-shadow: var(--glow-cyan);
}

.btn-price.secondary {
    background: transparent;
    color: var(--cyan-dim);
    border: 1.5px solid var(--cyan-glow);
}

.btn-price.secondary:hover {
    background: rgba(75, 142, 196, 0.1);
    box-shadow: var(--glow-cyan);
}

.level-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.level-features li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.level-features i {
    color: var(--phosphor-teal);
    flex-shrink: 0;
}

.features-tagline {
    font-weight: 600;
    color: #3D2B1F;
    margin: 0 0 0.25rem 0;
}

.features-inherit {
    color: rgba(61, 43, 31, 0.5);
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
}

.plus-bullet {
    color: var(--cyan-dim);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ==========================================================================
   How It Helps Section
   ========================================================================== */

.how-it-helps-section {
    padding: 80px 0;
    background: var(--deep-ocean);
}

.how-it-helps-section .section-header p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.factors-heading,
.actions-heading {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.factors-heading h3,
.actions-heading h3 {
    font-size: 1.5rem;
    color: #3D2B1F;
}

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

.factor-card,
.action-card {
    background: rgba(61, 43, 31, 0.03);
    border: 1px solid rgba(61, 43, 31, 0.06);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.factor-card:hover,
.action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
    background: rgba(75, 142, 196, 0.04);
    border-color: rgba(75, 142, 196, 0.15);
}

.factor-icon,
.action-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4B8EC4, #2B6B7B);
    color: var(--deep-ocean);
    border-radius: 50%;
    font-size: 1.4rem;
    box-shadow: var(--glow-cyan);
}

.factor-card h4,
.action-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #3D2B1F;
}

.factor-card p,
.action-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(61, 43, 31, 0.6);
    margin: 0;
}

.actions-subtitle {
    text-align: center;
    color: rgba(61, 43, 31, 0.6);
    margin-bottom: 1.5rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ==========================================================================
   Beta Tester Section
   ========================================================================== */

.beta-tester-section {
    padding: 80px 0;
    background: var(--midnight);
}

.beta-steps {
    max-width: 700px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.beta-step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: rgba(61, 43, 31, 0.03);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(61, 43, 31, 0.06);
    transition: all 0.3s ease;
}

.beta-step:hover {
    border-color: rgba(75, 142, 196, 0.15);
    background: rgba(75, 142, 196, 0.03);
}

.beta-tester-section .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #4B8EC4, #2B6B7B);
    color: var(--deep-ocean);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    border: none;
}

.step-content p {
    margin: 0;
    line-height: 1.6;
}

.beta-feedback {
    max-width: 700px;
    margin: 3rem auto 0;
}

.beta-feedback h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #3D2B1F;
}

.beta-feedback > p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.beta-feedback li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.beta-feedback li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--phosphor-teal);
    position: absolute;
    left: 0;
}

/* ==========================================================================
   Download Section
   ========================================================================== */

.download-section {
    padding: 80px 0;
    background: radial-gradient(ellipse 120% 80% at 50% 80%, #F0DEC0 0%, #F5E6C8 100%);
    color: #3D2B1F;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(1px 1px at 30% 40%, rgba(75, 142, 196, 0.5), transparent),
        radial-gradient(1px 1px at 70% 60%, rgba(212, 163, 56, 0.4), transparent),
        radial-gradient(1px 1px at 50% 20%, rgba(168, 75, 59, 0.3), transparent);
    pointer-events: none;
}

.download-section > .container {
    position: relative;
    z-index: 1;
}

.download-section h2 {
    color: #3D2B1F;
    margin-bottom: 1rem;
}

.download-section p {
    color: rgba(61, 43, 31, 0.8);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.download-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.app-store-btn img {
    height: 60px;
}

.beta-access {
    background: rgba(61, 43, 31, 0.05);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(75, 142, 196, 0.12);
}

.beta-access h3 {
    color: #3D2B1F;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.beta-access p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: rgba(61, 43, 31, 0.85);
}

.beta-note {
    font-size: 0.875rem !important;
    margin-top: 1rem !important;
    color: rgba(61, 43, 31, 0.65) !important;
}

.beta-note a {
    color: var(--cyan-dim);
    text-decoration: underline;
}

.beta-note a:hover {
    color: #3D2B1F;
}

.coming-soon {
    text-align: center;
    margin-top: 2rem;
}

.coming-soon p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: rgba(61, 43, 31, 0.65);
}

.app-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(61, 43, 31, 0.8);
}

.app-feature i {
    font-size: 1.5rem;
    color: var(--cyan-dim);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: #E0CDA8;
    color: #3D2B1F;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(75, 142, 196, 0.06);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(61, 43, 31, 0.55);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(61, 43, 31, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(61, 43, 31, 0.65);
    transition: all 0.3s ease;
    border: 1px solid rgba(61, 43, 31, 0.06);
}

.social-links a:hover {
    background: rgba(75, 142, 196, 0.1);
    border-color: var(--cyan-dim);
    color: var(--cyan-dim);
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

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

.link-group h4 {
    color: #3D2B1F;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    padding: 0.5rem 0;
}

.link-group a {
    color: rgba(61, 43, 31, 0.55);
}

.link-group a:hover {
    color: var(--cyan-dim);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(61, 43, 31, 0.06);
}

.footer-bottom p {
    color: rgba(61, 43, 31, 0.45);
}

.footer-bottom a {
    color: var(--phosphor-teal);
}

/* ==========================================================================
   Animations
   ========================================================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Page Hero (Reusable across subpages)
   ========================================================================== */

.page-hero {
    padding: 140px 0 60px;
    background: radial-gradient(ellipse 120% 80% at 50% 30%, #F0DEC0 0%, #F5E6C8 70%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(75, 142, 196, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-hero .lead {
    font-size: 1.25rem;
    color: rgba(61, 43, 31, 0.7);
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Content Section (Reusable)
   ========================================================================== */

.content-section {
    padding: 80px 0;
    background: var(--deep-ocean);
}

.content-section.alt {
    background: var(--midnight);
}

/* ==========================================================================
   Feature Showcase (Sammy page and others)
   ========================================================================== */

.feature-showcase {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.feature-showcase .showcase-text {
    flex: 1;
}

.feature-showcase .showcase-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-showcase.reverse {
    flex-direction: row-reverse;
}

.feature-showcase .showcase-visual img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Question Grid (Sammy page)
   ========================================================================== */

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

.question-card {
    background: rgba(61, 43, 31, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(61, 43, 31, 0.06);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.question-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
    border-color: rgba(75, 142, 196, 0.15);
}

.question-card i {
    font-size: 1.25rem;
    color: var(--gold-glow);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.question-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   Stories Page
   ========================================================================== */

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

.story-card {
    background: rgba(61, 43, 31, 0.03);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(61, 43, 31, 0.06);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-cyan);
    border-color: rgba(75, 142, 196, 0.15);
}

.story-card .story-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: var(--glow-cyan);
}

.story-card .story-avatar i {
    font-size: 1.5rem;
    color: var(--deep-ocean);
}

.story-card .story-quote {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(61, 43, 31, 0.7);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--phosphor-teal);
}

.story-card .story-meta {
    font-size: 0.9rem;
    color: rgba(61, 43, 31, 0.5);
    font-weight: 600;
}

.story-card .story-meta span {
    color: #3D2B1F;
}

/* ==========================================================================
   Trust Page
   ========================================================================== */

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

.trust-card {
    background: rgba(61, 43, 31, 0.03);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(61, 43, 31, 0.06);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-cyan);
    border-color: rgba(75, 142, 196, 0.15);
}

.trust-card i {
    font-size: 2.5rem;
    color: var(--cyan-dim);
    margin-bottom: 1rem;
    display: block;
}

.trust-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.trust-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.data-flow {
    padding: 3rem 0;
}

.data-flow h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.data-list {
    list-style: none;
    max-width: 560px;
    margin: 0 auto 2rem;
    padding: 0;
}

.data-list li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1rem;
    color: rgba(61, 43, 31, 0.7);
}

.data-list.positive li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
    font-size: 1.1rem;
}

.data-list.negative li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: var(--coral-glow);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ==========================================================================
   Demo Page
   ========================================================================== */

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-lg), var(--glow-cyan);
    margin: 2rem 0;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #F0DEC0 0%, #F5E6C8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--cyan-dim);
    margin-bottom: 1rem;
    opacity: 0.9;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.video-placeholder:hover i {
    transform: scale(1.15);
    text-shadow: 0 0 20px rgba(75, 142, 196, 0.5);
}

.video-placeholder p {
    color: rgba(61, 43, 31, 0.7);
    font-size: 1.1rem;
}

.scene-timeline {
    position: relative;
    padding-left: 3rem;
    margin: 2rem 0;
}

.scene-timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(75, 142, 196, 0.15);
}

.scene {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
}

.scene:last-child {
    padding-bottom: 0;
}

.scene-number {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4B8EC4, #2B6B7B);
    color: var(--deep-ocean);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 1;
    box-shadow: var(--glow-cyan);
}

.scene h4 {
    margin-bottom: 0.5rem;
    color: #3D2B1F;
}

.scene p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

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

.character-card {
    background: rgba(61, 43, 31, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(61, 43, 31, 0.06);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

.character-card i {
    font-size: 2rem;
    color: var(--cyan-dim);
    margin-bottom: 0.75rem;
    display: block;
}

.character-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.character-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: rgba(61, 43, 31, 0.5);
}

/* ==========================================================================
   Email Capture
   ========================================================================== */

.email-capture {
    padding: 60px 0;
    background: radial-gradient(ellipse at 50% 50%, #F0DEC0, #F5E6C8);
    color: #3D2B1F;
    text-align: center;
    border-top: 1px solid rgba(75, 142, 196, 0.08);
    border-bottom: 1px solid rgba(75, 142, 196, 0.08);
}

.email-capture h2 {
    color: #3D2B1F;
    margin-bottom: 0.75rem;
}

.email-capture p {
    color: rgba(61, 43, 31, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.email-form {
    display: flex;
    gap: 0.75rem;
    max-width: 520px;
    margin: 0 auto 1.5rem;
    justify-content: center;
}

.email-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(75, 142, 196, 0.2);
    border-radius: 12px;
    background: rgba(61, 43, 31, 0.05);
    color: #3D2B1F;
    font-size: 1rem;
    font-family: 'Libre Caslon Text', Georgia, serif;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.email-input::placeholder {
    color: rgba(61, 43, 31, 0.4);
}

.email-input:focus {
    border-color: var(--cyan-dim);
    background: rgba(75, 142, 196, 0.05);
    box-shadow: var(--glow-cyan);
}

.email-form .btn {
    white-space: nowrap;
    background: linear-gradient(135deg, #4B8EC4, #2B6B7B);
    color: var(--deep-ocean);
    font-weight: 700;
}

.email-form .btn:hover {
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.segment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.segment-options label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(61, 43, 31, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
}

.segment-options input[type="radio"],
.segment-options input[type="checkbox"] {
    accent-color: var(--gold-glow);
}

/* ==========================================================================
   Memorial Day Promo Banner
   ========================================================================== */

.promo-banner {
    background: var(--gradient-sammy);
    color: var(--deep-ocean);
    text-align: center;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    z-index: 1001;
}

.promo-banner a {
    color: var(--deep-ocean);
    text-decoration: underline;
    font-weight: 700;
}

.promo-badge {
    display: inline-block;
    background: var(--deep-ocean);
    color: #3D2B1F;
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* ==========================================================================
   Section Layout (index.html)
   ========================================================================== */

.section-padded {
    padding: 80px 0;
    border-top: 1px solid rgba(61, 43, 31, 0.08);
}

.section-padded:first-of-type {
    border-top: none;
}

.section-alt {
    background: #E8D5B5;
    border-top: 1px solid rgba(61, 43, 31, 0.1);
    border-bottom: 1px solid rgba(61, 43, 31, 0.1);
}

.section-vision {
    background: linear-gradient(135deg, #DCC9A5 0%, #E2CFA9 50%, #D8C49F 100%);
    border-top: 1px solid rgba(61, 43, 31, 0.1);
    border-bottom: 1px solid rgba(61, 43, 31, 0.1);
}

.section-cta {
    padding: 80px 0;
    background: #E8D5B5;
    border-top: 1px solid rgba(61, 43, 31, 0.1);
}

/* --- Section Header compact variant --- */
.section-header--compact {
    margin-bottom: 1.5rem;
}

.section-header--compact h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.section-header--compact p {
    font-size: 1rem;
}

/* --- Page 2: Pillars compact grid --- */
.pillars-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pillar-mini {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(61, 43, 31, 0.03);
    border: 1px solid rgba(61, 43, 31, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pillar-mini:hover {
    border-color: rgba(75, 142, 196, 0.2);
    background: rgba(75, 142, 196, 0.04);
    transform: translateY(-2px);
}

.pillar-mini__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--glow-cyan);
}

.pillar-mini__icon i {
    font-size: 1.4rem;
    color: var(--deep-ocean);
}

.pillar-mini h4 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.pillar-mini p {
    font-size: 0.95rem;
    margin: 0;
    color: rgba(61, 43, 31, 0.6);
    line-height: 1.4;
}

.contrast-tagline {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(61, 43, 31, 0.7);
    margin: 0;
    font-style: italic;
}

/* --- Page 3: Sammy page layout --- */
.sammy-page {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.sammy-page__visual {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.sammy-page__img {
    width: 200px;
    border-radius: 8px;
    display: block;
}

/* Driftwood frame */
.sammy-page__visual {
    position: relative;
    padding: 12px;
    background: #3D2B2B;
    border-radius: 12px;
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.3),
        0 6px 20px rgba(61, 43, 43, 0.4);
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 8px,
            rgba(255, 255, 255, 0.03) 8px,
            rgba(255, 255, 255, 0.03) 10px
        ),
        repeating-linear-gradient(
            95deg,
            transparent,
            transparent 14px,
            rgba(0, 0, 0, 0.08) 14px,
            rgba(0, 0, 0, 0.08) 16px
        ),
        repeating-linear-gradient(
            88deg,
            transparent,
            transparent 22px,
            rgba(77, 59, 47, 0.3) 22px,
            rgba(77, 59, 47, 0.3) 24px
        ),
        linear-gradient(180deg, #4D3B2F 0%, #3D2B2B 40%, #352424 100%);
}

.sammy-page__text {
    flex: 1;
}

.sammy-page__text .lead {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.sammy-page__features {
    margin-bottom: 1.5rem;
}

.sammy-page__feat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.sammy-page__feat i {
    font-size: 1.25rem;
    color: var(--coral-glow);
    width: 24px;
    flex-shrink: 0;
}

.sammy-page__feat span {
    font-size: 0.95rem;
    color: rgba(61, 43, 31, 0.75);
}

/* --- Page 4: Steps row --- */
.steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
}

.step-compact {
    text-align: center;
    flex: 0 1 200px;
}

.step-compact__num {
    width: 56px;
    height: 56px;
    background: var(--surface);
    border: 3px solid var(--cyan-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan-dim);
    margin: 0 auto 0.75rem;
    box-shadow: var(--glow-cyan);
}

.step-compact h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.step-compact p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(61, 43, 31, 0.65);
}

.step-compact__connector {
    width: 60px;
    height: 0;
    border-top: 2px dotted rgba(75, 142, 196, 0.3);
    margin-top: 28px;
    flex-shrink: 0;
}

/* Gear row */
.gear-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.gear-compact {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.gear-compact i {
    font-size: 2.5rem;
    color: rgba(61, 43, 31, 0.55);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.gear-compact:hover i {
    color: var(--cyan-dim);
    text-shadow: 0 0 15px rgba(75, 142, 196, 0.4);
}

.gear-compact span {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(61, 43, 31, 0.75);
}

/* --- Page 5: Vision --- */
.vision-page {
    text-align: center;
    max-width: 700px;
}

.vision-page h2 {
    margin-bottom: 1.5rem;
}

.vision-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(61, 43, 31, 0.85);
    font-style: italic;
    border-left: 4px solid var(--cyan-glow);
    padding: 1rem 1.5rem;
    margin: 0 0 1.5rem;
    text-align: left;
    background: rgba(75, 142, 196, 0.03);
    border-radius: 0 8px 8px 0;
}

.vision-sub {
    font-size: 1.05rem;
    color: rgba(61, 43, 31, 0.65);
    margin-bottom: 2rem;
}

/* --- Page 6: Beta --- */
.beta-page {
    text-align: center;
    max-width: 600px;
}

.beta-steps-compact {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.beta-step-compact {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(61, 43, 31, 0.03);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(61, 43, 31, 0.06);
    text-align: left;
    flex: 1;
}

.beta-step-compact__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: linear-gradient(135deg, #4B8EC4, #2B6B7B);
    color: var(--deep-ocean);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.beta-step-compact p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.beta-bugs {
    text-align: left;
    background: rgba(61, 43, 31, 0.03);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(61, 43, 31, 0.06);
}

.beta-bugs h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.beta-bugs .alpha-list {
    list-style: upper-alpha;
    padding: 0 0 0 1.5rem;
    margin: 0;
}

.beta-bugs li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    color: rgba(61, 43, 31, 0.7);
}

.beta-bugs li::marker {
    color: var(--cyan-dim);
    font-weight: 700;
}

/* --- Page 7: Pricing cards --- */
.pricing-cards {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: stretch;
}

.pricing-snap-card {
    background: rgba(61, 43, 31, 0.03);
    border: 1px solid rgba(61, 43, 31, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    flex: 1;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-snap-card:hover {
    border-color: rgba(75, 142, 196, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

.pricing-snap-card--featured {
    border-color: var(--cyan-dim);
    background: rgba(75, 142, 196, 0.04);
}

.pricing-snap-card__badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4B8EC4, #2B6B7B);
    color: var(--deep-ocean);
    padding: 0.2rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-snap-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.pricing-snap-card__price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cyan-dim);
    margin-bottom: 0.75rem;
}

.pricing-snap-card__price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(61, 43, 31, 0.55);
}

.pricing-snap-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
}

.pricing-snap-card li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(61, 43, 31, 0.7);
}

.pricing-snap-card li i {
    color: var(--phosphor-teal);
    font-size: 0.75rem;
}

.pricing-snap-card .btn {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
}

/* --- Mesh grid (index.html 3D viewers) --- */
.mesh-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.mesh-grid > div {
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(61, 43, 31, 0.1);
}

/* --- Future pricing stamp overlay --- */
.future-pricing-overlay {
    position: relative;
}

.future-pricing-overlay::after {
    content: 'FUTURE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    font-family: 'Libre Caslon Text', Georgia, serif;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(75, 142, 196, 0.25);
    border: 6px solid rgba(75, 142, 196, 0.25);
    border-radius: 16px;
    padding: 0.25rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
}

.btn--sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.btn--lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* --- Page 8: CTA + Footer --- */
.cta-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 60px 20px 0;
}

.cta-page__main {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-page__main h2 {
    margin-bottom: 0.75rem;
}

.cta-page__main > p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: rgba(61, 43, 31, 0.8);
}

.cta-page__main .app-features {
    margin-top: 1.5rem;
}

/* ==========================================================================
   Responsive: 1024px
   ========================================================================== */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title-large {
        font-size: 5rem;
    }

    .hero-slogan {
        font-size: 1.5rem;
    }

    .hero-slogan-featured {
        font-size: 3.25rem;
    }

    .features-grid,
    .steps-container,
    .factors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .steps-container::before {
        display: none;
    }

    .safety-content {
        grid-template-columns: 1fr;
    }

    .sammy-highlight {
        flex-direction: column;
    }

    .feature-showcase,
    .feature-showcase.reverse {
        flex-direction: column;
    }

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

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

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

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .content-section {
        padding: 60px 0;
    }

    /* Snap page 1024px */
    .section-header--compact h2 {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   Responsive: 768px
   ========================================================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Mobile nav: collapsed by default, revealed by the #nav-toggle checkbox.
       The open-state styling lives HERE in the static stylesheet (not in a
       JS-injected <style>), so it survives JS failure / CSP / FOUC (G6). */
    nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* the checkbox is the operable control: visually hidden, keyboard-focusable */
    .nav-toggle-cb {
        display: revert;
        position: absolute;
        width: 1px; height: 1px;
        margin: -1px; padding: 0; border: 0;
        clip: rect(0 0 0 0); clip-path: inset(50%);
        overflow: hidden; white-space: nowrap;
    }
    .nav-toggle-cb:focus-visible ~ .mobile-menu-toggle {
        outline: 2px solid #2DD4BF;
        outline-offset: 3px;
        border-radius: 4px;
    }

    /* open state (migrated verbatim from the old JS-injected style) */
    .nav-toggle-cb:checked ~ nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(245, 230, 200, 0.95);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 25px rgba(61, 43, 31, 0.1);
        padding: 2rem;
        /* The menu opens at top:100% of the fixed header, so bound it to the
           viewport below the header (the same 100% reference) and let it scroll
           internally. Without this, body.nav-open{overflow:hidden} locks the
           page and the absolute menu's bottom items (Login) fall off-screen,
           unreachable. dvh excludes the mobile address bar; vh is the fallback;
           the safe-area inset clears the iPhone home indicator. */
        max-height: calc(100vh - 100%);
        max-height: calc(100dvh - 100%);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }
    .nav-toggle-cb:checked ~ nav > ul {
        flex-direction: column;
        gap: 0;
    }
    .nav-toggle-cb:checked ~ nav > ul a {
        display: block;
        padding: 0.75rem 1rem;
        min-height: 44px;
        font-size: 1rem;
        line-height: 1.4;
    }
    .nav-toggle-cb:checked ~ nav > ul a::after {
        display: none;
    }
    .nav-toggle-cb:checked ~ nav > ul > li:last-child {
        border-top: 1px solid rgba(61, 43, 31, 0.12);
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    .nav-toggle-cb:checked ~ nav .wake-signin-link {
        display: block;
        background: linear-gradient(135deg, #4B8EC4 0%, #2B6B7B 100%);
        color: #fff !important;
        text-align: center;
        padding: 0.85rem 1rem;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1rem;
        min-height: 44px;
    }
    .nav-toggle-cb:checked ~ nav .wake-signin-link:hover {
        filter: brightness(1.1);
    }
    .nav-toggle-cb:checked ~ nav .nav-dropdown-menu {
        display: none;
        position: static;
        transform: none;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        margin: 0;
        padding: 0 0 0 1rem;
    }
    .nav-toggle-cb:checked ~ nav .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }
    .nav-toggle-cb:checked ~ nav .nav-dropdown > a .fa-chevron-down {
        transition: transform 0.2s ease;
    }
    .nav-toggle-cb:checked ~ nav .nav-dropdown.open > a .fa-chevron-down {
        transform: rotate(180deg);
    }

    /* touch target on base buttons (previously only in the JS-injected drawer) */
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

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

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

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

    .features-grid,
    .factors-grid,
    .actions-grid {
        grid-template-columns: 1fr;
    }

    .pricing-table thead {
        display: none;
    }

    .pricing-table,
    .pricing-table tbody,
    .pricing-table tr,
    .pricing-table td {
        display: block;
        width: 100%;
    }

    .pricing-table tbody tr {
        margin-bottom: 1.5rem;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(61, 43, 31, 0.06);
    }

    .pricing-table td {
        padding: 1rem 1.5rem;
    }

    .pricing-table td.level-name {
        background: linear-gradient(135deg, rgba(75, 142, 196, 0.15), rgba(43, 107, 123, 0.1));
        color: #3D2B1F;
        font-size: 1.15rem;
    }

    .pricing-table td.level-name .badge-inline {
        background: rgba(75, 142, 196, 0.25);
        color: #3D2B1F;
    }

    .pricing-table td.level-price {
        font-size: 1.1rem;
        padding-bottom: 0.5rem;
    }

    .pricing-table td.level-price::before {
        content: "Planned Pricing: ";
        font-weight: 400;
        color: rgba(61, 43, 31, 0.5);
    }

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

    .sammy-highlight {
        flex-direction: column;
        gap: 2rem;
    }

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

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

    .trust-principles {
        grid-template-columns: 1fr;
    }

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

    .email-form {
        flex-direction: column;
    }

    .email-input {
        width: 100%;
    }

    .page-hero {
        padding: 120px 0 40px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero .lead {
        font-size: 1.1rem;
    }

    .gear-grid {
        gap: 2rem;
    }

    .gear-icon {
        font-size: 3rem;
    }

    .content-section {
        padding: 50px 0;
    }

    .scene-timeline {
        padding-left: 2.5rem;
    }

    .pillars-compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .pillar-mini {
        padding: 0.75rem 0.5rem;
    }

    .pillar-mini__icon {
        width: 36px;
        height: 36px;
    }

    .pillar-mini__icon i {
        font-size: 0.9rem;
    }

    .pillar-mini h4 {
        font-size: 0.85rem;
    }

    .pillar-mini p {
        font-size: 0.7rem;
    }

    .sammy-page {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .sammy-page__visual {
        flex: 0 0 auto;
    }

    .sammy-page__img {
        width: 120px;
    }

    .sammy-page__text .lead {
        font-size: 1rem;
    }

    .sammy-page__feat {
        justify-content: center;
    }

    .steps-row {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .step-compact {
        flex: none;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-align: left;
    }

    .step-compact__num {
        margin: 0;
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.1rem;
    }

    .step-compact h4 {
        margin-bottom: 0;
        font-size: 0.9rem;
    }

    .step-compact p {
        display: none;
    }

    .step-compact__connector {
        display: none;
    }

    .gear-row {
        gap: 2rem;
    }

    .gear-compact i {
        font-size: 2rem;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-snap-card {
        max-width: 100%;
        width: 100%;
        padding: 1rem 1.25rem;
    }

    .pricing-snap-card li {
        font-size: 0.8rem;
    }

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

    .future-pricing-overlay::after {
        font-size: 3.5rem;
        padding: 0.2rem 1.5rem;
        border-width: 4px;
    }

    .beta-steps-compact {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-slogan-featured {
        font-size: 2.75rem;
    }

    .section-header--compact h2 {
        font-size: 1.5rem;
    }

    .contrast-tagline {
        font-size: 0.9rem;
    }

    .vision-quote {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
}

/* ==========================================================================
   Responsive: 480px
   ========================================================================== */

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    body {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title-large {
        font-size: 4rem;
    }

    .hero-slogan {
        font-size: 1.25rem;
    }

    .hero-slogan-featured {
        font-size: 2rem;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header--compact {
        margin-bottom: 1rem;
    }

    .section-header--compact h2 {
        font-size: 1.35rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .pricing-table td {
        padding: 1rem 1.25rem;
    }

    .page-hero {
        padding: 100px 0 30px;
    }

    .page-hero h1 {
        font-size: 1.75rem;
    }

    .page-hero .lead {
        font-size: 1rem;
    }

    .sammy-feature-box {
        padding: 1.25rem 1.5rem;
    }

    .gear-grid {
        gap: 1.5rem;
    }

    .gear-item {
        min-width: 80px;
    }

    .gear-icon {
        font-size: 2.5rem;
    }

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

    .story-card {
        padding: 1.5rem;
    }

    .trust-card {
        padding: 1.5rem;
    }

    .promo-banner {
        font-size: 0.85rem;
        padding: 0.6rem 0.75rem;
    }

    .content-section {
        padding: 40px 0;
    }

    .app-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .segment-options {
        flex-direction: column;
        align-items: center;
    }

    /* --- Snap 480px --- */
    .pillars-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .pillar-mini {
        padding: 0.5rem 0.4rem;
    }

    .pillar-mini__icon {
        width: 32px;
        height: 32px;
    }

    .pillar-mini__icon i {
        font-size: 0.8rem;
    }

    .pillar-mini h4 {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }

    .pillar-mini p {
        font-size: 0.65rem;
    }

    .sammy-page__img {
        width: 90px;
    }

    .sammy-page__text h2 {
        font-size: 1.35rem;
    }

    .sammy-page__feat {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }

    .sammy-page__feat i {
        font-size: 1rem;
    }

    .gear-row {
        gap: 1.5rem;
    }

    .gear-compact i {
        font-size: 1.75rem;
    }

    .gear-compact span {
        font-size: 0.8rem;
    }

    .vision-quote {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .vision-sub {
        font-size: 0.9rem;
    }

    .pricing-snap-card h3 {
        font-size: 1.1rem;
    }

    .pricing-snap-card__price {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .pricing-snap-card li {
        font-size: 0.75rem;
        padding: 0.2rem 0;
    }

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

    .mesh-grid > div {
        height: 260px;
    }

    .future-pricing-overlay::after {
        font-size: 2.5rem;
        padding: 0.15rem 1rem;
        border-width: 3px;
    }

    .beta-bugs li {
        font-size: 0.8rem;
    }

    .cta-page__main h2 {
        font-size: 1.5rem;
    }

    .cta-page__main > p {
        font-size: 1rem;
    }

    .hero-availability {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .hero-links > p {
        font-size: 0.9rem;
    }

    .hero-links a {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Story Page Styles (DO NOT MODIFY - used by story.html)
   ========================================================================== */

.story-split-container {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
}

.story-left-side {
    flex: 1;
    width: 65%;
    max-width: 65%;
    padding-right: 40px;
    overflow-x: hidden;
}

.story-right-side {
    width: 35%;
    position: fixed;
    right: 0;
    top: 96px;
    height: calc(100vh - 96px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 5;
    transition: height 0.15s ease;
}

/* Footer spans full width above the fixed photo */
.story-split-container ~ footer {
    position: relative;
    z-index: 10;
}

.story-right-side .profile-photo-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.story-right-side .profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    border-radius: 0;
    box-shadow: none;
}

.mobile-only-photo {
    display: none;
}

.story-hero {
    padding: 60px 0 40px;
    background: transparent;
    width: 100vw;
    position: relative;
    left: 0;
    margin-left: calc(-1 * (100vw - 100%) / 2);
}

.story-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.story-header h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.story-header .lead {
    font-size: 1.25rem;
    color: var(--text-medium);
    line-height: 1.8;
    max-width: none;
    margin: 0 auto;
    white-space: nowrap;
}

.story-content {
    padding: 40px 0 80px;
}

.story-content .container {
    max-width: 100%;
    padding-left: 40px;
}

.story-section {
    max-width: 800px;
    margin: 0 0 60px;
}

.story-section h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.story-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

blockquote.highlight-box {
    background: var(--gradient-primary);
    color: #053b34;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    border: none;
}

blockquote.highlight-box p {
    color: #053b34;
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
    font-style: italic;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.problem-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.problem-card i {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-top: 5px;
    min-width: 30px;
    text-align: center;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.problem-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-medium);
}

.problem-card-content {
    flex: 1;
}

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

.mission-statement {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 30px 0;
}

.founder-quote {
    background: var(--background-gray);
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
    border-left: 4px solid var(--primary-blue);
}

.founder-quote p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.founder-quote cite {
    display: block;
    text-align: right;
    color: var(--text-medium);
    font-weight: 600;
}

.story-cta {
    text-align: center;
    padding: 80px 0;
    background: var(--background-gray);
    border-radius: 20px;
    margin-top: 80px;
}

.story-cta h2 {
    margin-bottom: 20px;
}

.story-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Story Page Mobile Responsive (DO NOT MODIFY)
   ========================================================================== */

@media (max-width: 1200px) {
    .story-split-container {
        display: block;
        padding-top: 80px;
    }

    .story-left-side {
        width: 100%;
        max-width: 100%;
        padding-right: 20px;
    }

    .story-right-side {
        display: none;
    }

    .mobile-only-photo {
        display: block;
        text-align: center;
        margin: 40px 0;
    }

    .mobile-profile-photo {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .story-header h1 {
        font-size: 2rem;
    }

    .story-header {
        text-align: center;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    blockquote.highlight-box {
        padding: 20px;
    }

    blockquote.highlight-box p {
        font-size: 1.1rem;
    }
}
