/* ============================================
   VITALIS — STARTER WEBSITE
   Brand: Personal Health Interface
   Style: Premium, dark, technical-yet-warm
   ============================================ */

:root {
    /* Brand colors — matched to app accents */
    --core-orange: #FF6B35;
    --motion-teal: #2EC4B6;
    --somna-purple: #845EC2;
    --nourish-green: #4CAF50;

    /* Neutrals */
    --bg-primary: #0A0A0B;
    --bg-secondary: #111114;
    --bg-tertiary: #18181C;
    --bg-card: #1C1C20;
    --bg-elevated: #232328;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.18);

    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-tertiary: rgba(255, 255, 255, 0.48);
    --text-quaternary: rgba(255, 255, 255, 0.32);

    /* Type */
    --font-display: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Layout */
    --container: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(10, 10, 11, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.08em;
}

/* Brand mark — inline SVG with the 4-color ecosystem gradient + white "V".
   Sizing wrapper only; the SVG owns the visual. Drop-shadow lifts it slightly
   off the dark nav bar without needing a heavier CSS treatment. */
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(15, 15, 18, 0.35));
    transition: transform 0.2s ease, filter 0.2s ease;
}
.logo-mark svg {
    display: block;
    width: 100%;
    height: 100%;
}
.nav-logo:hover .logo-mark {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 6px 16px rgba(15, 15, 18, 0.45));
}

.logo-text {
    background: linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.nav-cta {
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--text-primary);
    color: var(--bg-primary) !important;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 32px 100px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.hero-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--core-orange);
    top: 10%;
    left: 5%;
}

.hero-glow-2 {
    width: 350px;
    height: 350px;
    background: var(--motion-teal);
    top: 20%;
    right: 5%;
    animation-delay: -5s;
}

.hero-glow-3 {
    width: 380px;
    height: 380px;
    background: var(--somna-purple);
    bottom: 5%;
    left: 30%;
    animation-delay: -10s;
}

.hero-glow-4 {
    width: 320px;
    height: 320px;
    background: var(--nourish-green);
    bottom: 20%;
    right: 15%;
    animation-delay: -15s;
    opacity: 0.25;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border-medium);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--motion-teal);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--motion-teal);
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-title-gradient {
    background: linear-gradient(135deg, var(--core-orange) 0%, var(--somna-purple) 50%, var(--motion-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient 8s ease infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(17px, 2.4vw, 22px);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-medium);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-strong);
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 48px;
    padding: 24px 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
}

.meta-item {
    text-align: center;
}

.meta-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.meta-label {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.meta-divider {
    width: 1px;
    height: 32px;
    background: var(--border-medium);
}

/* ============================================
   MISSION
   ============================================ */
.mission {
    padding: 140px 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.mission-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-tertiary);
    margin-bottom: 32px;
    font-weight: 600;
}

.mission-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 1000px;
    margin: 0 auto 32px;
}

.mission-title em {
    font-style: italic;
    color: var(--text-tertiary);
    font-weight: 400;
}

.mission-title strong {
    font-weight: 700;
    background: linear-gradient(135deg, var(--core-orange), var(--somna-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-body {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 72px;
}

.section-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
    padding: 140px 0;
}

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

.product-card {
    position: relative;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, transparent 30%, var(--accent) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
}

.product-card:hover::before { opacity: 1; }
.product-card:hover::after { opacity: 0.18; }

.product-core { --accent: var(--core-orange); }
.product-motion { --accent: var(--motion-teal); }
.product-somna { --accent: var(--somna-purple); }
.product-nourish { --accent: var(--nourish-green); }

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--accent);
    flex-shrink: 0;
}

.product-icon svg {
    display: block;
}

.product-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
}

.product-name {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.product-tagline {
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.product-desc {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.product-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ============================================
   SCREENSHOTS (Phone Mockup Placeholders)
   ============================================ */
.screenshots {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.screenshots::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(132, 94, 194, 0.06), transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.screenshot-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.screenshot-core .phone { --accent: var(--core-orange); }
.screenshot-motion .phone { --accent: var(--motion-teal); }
.screenshot-somna .phone { --accent: var(--somna-purple); }
.screenshot-nourish .phone { --accent: var(--nourish-green); }

.phone {
    position: relative;
    width: 100%;
    max-width: 240px;
    aspect-ratio: 9 / 19.5;
    background: #18181C;
    border: 8px solid #2A2A30;
    border-radius: 36px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.phone::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
}

.screenshot-frame:hover .phone {
    transform: translateY(-8px);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #000;
    border-radius: 100px;
    z-index: 3;
}

.phone-screen {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0D0D0D 0%, #161618 100%);
    display: flex;
    flex-direction: column;
    padding: 40px 16px 16px;
    z-index: 1;
}

.phone-status {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    padding: 0 8px;
    font-family: var(--font-display);
    font-weight: 500;
}

.phone-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.phone-greeting {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.phone-headline {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 16px;
    line-height: 1.3;
}

.phone-ring {
    width: 110px;
    height: 110px;
    margin: 8px auto 16px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) 0% 86%, rgba(255, 255, 255, 0.08) 86% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

.phone-ring-inner {
    width: 84px;
    height: 84px;
    background: #0F0F12;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.phone-ring-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: #FFF;
    line-height: 1;
}

.phone-ring-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.phone-stats {
    display: flex;
    justify-content: space-around;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.phone-stat span {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.phone-stat small {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.phone-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100px;
    margin: 12px 0 16px;
    padding: 0 4px;
}

.phone-bar {
    flex: 1;
    background: rgba(46, 196, 182, 0.3);
    border-radius: 3px;
    min-height: 8px;
}

.phone-bar-active {
    background: var(--motion-teal);
    box-shadow: 0 0 12px rgba(46, 196, 182, 0.6);
}

.phone-stages {
    display: flex;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    margin: 12px 0 16px;
}

.phone-stage {
    height: 100%;
}

.stage-deep { background: var(--somna-purple); }
.stage-rem { background: #A881E0; }
.stage-light { background: rgba(132, 94, 194, 0.4); }
.stage-awake { background: rgba(255, 255, 255, 0.15); }

.phone-macros {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0 16px;
}

.phone-macro-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.phone-macro-fill {
    height: 100%;
    border-radius: 2px;
}

.phone-macro-row {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.6);
}

.phone-macro-row strong {
    color: #FFF;
    font-weight: 600;
}

.screenshot-caption {
    text-align: center;
}

.screenshot-app {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.screenshot-feature {
    font-size: 12px;
    color: var(--text-tertiary);
}

.screenshots-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
    padding: 14px 24px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-medium);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-tertiary);
    font-style: italic;
}

/* ============================================
   APPROACH
   ============================================ */
.approach {
    padding: 140px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

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

.approach-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: border-color 0.3s ease;
}

.approach-card:hover {
    border-color: var(--border-medium);
}

.approach-number {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    letter-spacing: 0.08em;
}

.approach-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.approach-desc {
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================
   TECHNOLOGY
   ============================================ */
.technology {
    padding: 140px 0;
}

.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-content .section-eyebrow,
.tech-content .section-title {
    text-align: left;
}

.tech-content .section-eyebrow { margin-bottom: 16px; }
.tech-content .section-title { margin-bottom: 24px; max-width: 100%; }

.tech-body {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-pill {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    font-family: var(--font-display);
}

.tech-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tech-stat {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s ease;
}

.tech-stat:hover {
    border-color: var(--border-medium);
}

.tech-stat-value {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.tech-stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

/* ============================================
   ECOSYSTEM
   ============================================ */
.ecosystem {
    padding: 140px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.ecosystem-diagram {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 600 / 520;
    margin: 80px auto;
}

.eco-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

/* Subtle dotted lines — let the pulses do the visual work */
.eco-line {
    stroke: rgba(255, 255, 255, 0.10);
    stroke-width: 1;
    stroke-dasharray: 3 5;
}

/* Animated pulse dots carrying color from their source node */
.eco-pulse {
    filter: drop-shadow(0 0 6px currentColor);
}

/* Nodes are now pure SVG <g> groups — no cross-layer alignment drift */
.eco-node-svg {
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.35));
    animation: ecoNodeFloat 6s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.eco-node-svg.eco-node-motion  { animation-delay: -1.5s; }
.eco-node-svg.eco-node-somna   { animation-delay: -3s; }
.eco-node-svg.eco-node-nourish { animation-delay: -4.5s; }

@keyframes ecoNodeFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.eco-node-svg-label {
    fill: #FFFFFF;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
}

.eco-node-svg-sub {
    fill: rgba(255, 255, 255, 0.78);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.ecosystem-examples {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.eco-example {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease;
}

.eco-example:hover {
    border-color: var(--border-medium);
}

.eco-example-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.5;
}

.eco-example-source {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-tertiary);
    font-family: var(--font-display);
    font-weight: 600;
}

/* ============================================
   BETA CTA
   ============================================ */
.beta {
    padding: 140px 0;
}

.beta-card {
    position: relative;
    padding: 80px 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
}

.beta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 107, 53, 0.15), transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(132, 94, 194, 0.15), transparent 40%);
    pointer-events: none;
}

.beta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border-medium);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.beta-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.beta-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.beta-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.beta-input {
    flex: 1;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium);
    border-radius: 100px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.beta-input:focus {
    outline: none;
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.beta-input::placeholder {
    color: var(--text-tertiary);
}

.beta-fineprint {
    font-size: 13px;
    color: var(--text-tertiary);
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--text-tertiary);
    font-size: 14px;
    max-width: 280px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col li a {
    font-size: 14px;
    color: var(--text-tertiary);
}

.footer-col li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    font-size: 13px;
    color: var(--text-tertiary);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-disclaimer {
    font-style: italic;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .nav-links { display: none; }

    .container { padding: 0 24px; }

    .hero { padding: 120px 24px 80px; min-height: auto; }
    .hero-meta { flex-direction: column; gap: 16px; }
    .meta-divider { width: 32px; height: 1px; }

    .products-grid,
    .approach-grid,
    .tech-stats { grid-template-columns: 1fr; }

    .screenshots-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

    .tech-layout { grid-template-columns: 1fr; gap: 48px; }

    .ecosystem-examples { grid-template-columns: 1fr; }

    .beta-card { padding: 60px 24px; }
    .beta-form { flex-direction: column; }

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

    .ecosystem-diagram { max-width: 460px; margin: 56px auto; }

    .mission, .products, .screenshots, .approach, .technology, .ecosystem, .beta { padding: 80px 0; }
}

@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .screenshots-grid { grid-template-columns: 1fr; }
    .phone { max-width: 280px; }
}

/* ============================================
   LEGAL PAGES (Privacy / Terms / Disclaimer)
   ============================================ */
.legal-page {
    padding: 140px 0 100px;
    min-height: 100vh;
}

.legal-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 32px;
}

.legal-header {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-tertiary);
    margin-bottom: 16px;
    font-weight: 600;
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.legal-meta {
    color: var(--text-tertiary);
    font-size: 14px;
}

.legal-content {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.75;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 48px 0 16px;
    letter-spacing: -0.01em;
    scroll-margin-top: 100px;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 12px;
}

.legal-content p {
    margin-bottom: 18px;
}

.legal-content ul {
    list-style: none;
    margin: 16px 0 24px;
    padding: 0;
}

.legal-content ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 12px;
    height: 2px;
    background: var(--core-orange);
    border-radius: 2px;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-content em {
    color: var(--text-tertiary);
    font-style: italic;
}

.legal-content a {
    color: var(--motion-teal);
    text-decoration: underline;
    text-decoration-color: rgba(46, 196, 182, 0.4);
    text-underline-offset: 4px;
}

.legal-content a:hover {
    text-decoration-color: var(--motion-teal);
}

.legal-callout {
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--core-orange);
    border-radius: var(--radius-md);
    margin: 32px 0;
    font-size: 15px;
}

.legal-callout strong {
    display: block;
    margin-bottom: 6px;
    color: var(--core-orange);
}

.legal-toc {
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 48px;
}

.legal-toc-title {
    font-family: var(--font-display);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-tertiary);
    margin-bottom: 14px;
    font-weight: 600;
}

.legal-toc ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-toc li::before { display: none; }
.legal-toc li { padding-left: 0 !important; margin-bottom: 0 !important; }

.legal-toc a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.legal-toc a:hover {
    color: var(--text-primary);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    color: var(--text-tertiary);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-back:hover {
    color: var(--text-primary);
}

/* ============================================================
   PRODUCT CARD — WATCH DEMO BUTTON
   ============================================================ */

.product-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 9px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.product-demo-btn svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-card:hover .product-demo-btn,
.product-demo-btn:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.product-card:hover .product-demo-btn svg,
.product-demo-btn:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

.product-core   .product-demo-btn:hover { border-color: rgba(233, 75,  79,  0.5); color: #FF7B7E; }
.product-motion .product-demo-btn:hover { border-color: rgba(61,  90,  254, 0.5); color: #7E94FF; }
.product-somna  .product-demo-btn:hover { border-color: rgba(123, 97,  255, 0.5); color: #A48FFF; }
.product-nourish.product-demo-btn:hover { border-color: rgba(34,  197, 94,  0.5); color: #4ADE80; }

/* ============================================================
   DEMO VIDEO MODAL
   ============================================================ */

.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    /* Hidden by default */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.demo-modal.is-open {
    opacity: 1;
    pointer-events: all;
}

/* ── Backdrop ──────────────────────────────────────────────── */
.demo-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
}

/* ── Stage (phone + close btn) ─────────────────────────────── */
.demo-modal__stage {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transform: scale(0.88) translateY(24px);
    transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.demo-modal.is-open .demo-modal__stage {
    transform: scale(1) translateY(0);
}

/* ── Phone shell ───────────────────────────────────────────── */
.demo-modal__phone {
    position: relative;
    /*
     * The recorded video is 402 × 874 px (iPhone 17 Pro @1x).
     * We use that exact ratio so the video never gets cropped or letterboxed.
     * Max height = 82 vh keeps it on-screen on every device.
     */
    height: min(82vh, 640px);
    width: calc(min(82vh, 640px) * (402 / 874));
    background: #000;

    /* Outer shell — 10 px bezel simulating the physical frame */
    border-radius: 52px;
    border: 10px solid #2C2C2E;
    outline: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        /* inner highlight */
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        /* ambient depth */
        0  30px  80px rgba(0, 0, 0, 0.70),
        0  60px 120px rgba(0, 0, 0, 0.45),
        0 100px 200px rgba(0, 0, 0, 0.30);

    overflow: hidden;
}

/* ── Dynamic Island pill ────────────────────────────────────── */
.demo-modal__island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;          /* scales with the phone shell */
    max-width: 110px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    pointer-events: none;
}

/* ── Video ─────────────────────────────────────────────────── */
.demo-modal__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;   /* exact 402×874 — no cropping, no bars */
    display: block;
}

/* ── Close button ──────────────────────────────────────────── */
.demo-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.80);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.demo-modal__close:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: scale(1.08);
}

/* ── Per-app accent glow on phone shell ────────────────────── */
.demo-modal[data-app="core"]    .demo-modal__phone { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 30px 80px rgba(0,0,0,0.70), 0 0 0 0 transparent, 0 0 80px rgba(233,75,79,0.18); }
.demo-modal[data-app="motion"]  .demo-modal__phone { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 30px 80px rgba(0,0,0,0.70), 0 0 0 0 transparent, 0 0 80px rgba(61,90,254,0.18);  }
.demo-modal[data-app="somna"]   .demo-modal__phone { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 30px 80px rgba(0,0,0,0.70), 0 0 0 0 transparent, 0 0 80px rgba(123,97,255,0.18);}
.demo-modal[data-app="nourish"] .demo-modal__phone { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 30px 80px rgba(0,0,0,0.70), 0 0 0 0 transparent, 0 0 80px rgba(34,197,94,0.18); }

/* ============================================
   APPS DROPDOWN (top nav)
   ============================================ */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-dropdown > a::after {
    content: ""; width: 6px; height: 6px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px); opacity: 0.6;
    transition: transform 0.2s ease;
}
.nav-dropdown:hover > a::after { transform: rotate(225deg) translateY(2px); }
.nav-dropdown-menu {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-4px);
    min-width: 240px; padding: 10px;
    background: rgba(20, 20, 24, 0.92); backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-medium); border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    opacity: 0; pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    list-style: none; display: flex; flex-direction: column; gap: 2px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 8px;
    font-size: 14px; color: var(--text-secondary); font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-menu li a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text-primary); }
.nav-dropdown-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
    box-shadow: 0 0 12px currentColor;
}
.nav-dropdown-dot.core    { background: var(--core-orange);   color: var(--core-orange);   }
.nav-dropdown-dot.motion  { background: var(--motion-teal);   color: var(--motion-teal);   }
.nav-dropdown-dot.somna   { background: var(--somna-purple);  color: var(--somna-purple);  }
.nav-dropdown-dot.nourish { background: var(--nourish-green); color: var(--nourish-green); }
.nav-dropdown-sub { font-size: 12px; color: var(--text-quaternary); margin-left: auto; }

/* ============================================
   SUBPAGE HERO
   ============================================ */
.subpage-hero {
    position: relative;
    padding: 180px 32px 100px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
    text-align: center;
}
.subpage-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at top, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at top, black 20%, transparent 70%);
    pointer-events: none;
}
.subpage-hero::after {
    content: "";
    position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 720px; height: 720px;
    background: var(--accent, var(--core-orange));
    border-radius: 50%; filter: blur(140px); opacity: 0.18;
    pointer-events: none;
}
.subpage-hero .container { position: relative; z-index: 1; }
.subpage-hero .hero-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.24em;
    color: var(--accent, var(--text-primary));
    margin-bottom: 24px;
}
.subpage-hero .hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6.5vw, 78px);
    font-weight: 700; line-height: 1.04;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}
.subpage-hero .hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.subpage-hero .hero-actions { margin-bottom: 0; margin-top: 40px; }

.subpage-hero-core    { --accent: var(--core-orange);   }
.subpage-hero-motion  { --accent: var(--motion-teal);   }
.subpage-hero-somna   { --accent: var(--somna-purple);  }
.subpage-hero-nourish { --accent: var(--nourish-green); }

.app-hero-video {
    display: block;
    width: 100%; max-width: 320px;
    margin: 8px auto 0;
    border-radius: 36px;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    background: var(--bg-card);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 80px color-mix(in srgb, var(--accent, var(--core-orange)) 22%, transparent);
}

/* ============================================
   FEATURE GRID (subpage features section)
   ============================================ */
.features { padding: 120px 0; }
.features .section-title { text-align: center; margin-bottom: 64px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent, var(--text-primary)) 40%, transparent);
}
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent, var(--core-orange)) 18%, transparent);
    color: var(--accent, var(--core-orange));
    margin-bottom: 20px;
}
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 19px; font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.feature-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   HONEST LIST (in-beta vs coming-next)
   ============================================ */
.honest {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}
.honest .section-title { text-align: center; margin-bottom: 48px; }
.honest-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex; flex-direction: column;
    gap: 14px;
}
.honest-list li {
    position: relative;
    padding: 20px 24px 20px 56px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-secondary);
}
.honest-list li::before {
    content: "";
    position: absolute; top: 24px; left: 24px;
    width: 10px; height: 10px; border-radius: 50%;
}
.honest-list li.now::before {
    background: var(--motion-teal);
    box-shadow: 0 0 12px var(--motion-teal);
}
.honest-list li.next::before {
    background: var(--text-tertiary);
    border: 1px dashed var(--border-strong);
    background-color: transparent;
}
.honest-list li strong {
    display: inline-block;
    color: var(--text-primary);
    margin-right: 6px;
    font-weight: 600;
}

/* ============================================
   CTA BAND (subpage repeat CTA)
   ============================================ */
.cta-band {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center,
        color-mix(in srgb, var(--accent, var(--core-orange)) 14%, transparent) 0%,
        transparent 60%);
    pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 32px;
    max-width: 720px; margin-left: auto; margin-right: auto;
}
.btn-lg { padding: 18px 36px; font-size: 17px; }

/* ============================================
   SUBPAGE RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .subpage-hero { padding: 140px 24px 80px; }
    .features, .honest, .cta-band { padding: 80px 0; }
    .nav-dropdown-menu { display: none; } /* hidden behind hamburger on mobile */
}
@media (max-width: 600px) {
    .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BETA SIGNUP FORM — inline status surface (Phase v2)
   ============================================================ */

.beta-form {
    /* existing rules untouched; adding only what's needed for the new state */
}

.beta-form-status {
    margin-top: 14px;
    max-width: 560px;
    font-size: 14px;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 10px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.beta-form-status:empty { display: none; }

.beta-form-status[data-kind="error"] {
    background: rgba(233, 75, 79, 0.10);
    border: 1px solid rgba(233, 75, 79, 0.30);
    color: #FF8A8E;
}

.beta-form-status[data-kind="pending"] {
    /* Just an empty placeholder while in-flight; the button text changes too */
    opacity: 0;
}

.beta-form-status[data-kind="success"] {
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.30);
    color: #6BE194;
}

.beta-form-status strong {
    color: inherit;
    font-weight: 600;
}

/* ============================================================
   FOOTER · SOCIAL ROW (Phase v2.1)
   ============================================================ */

.footer-social { display: flex; flex-direction: column; gap: 8px; }
.footer-social li { list-style: none; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease, transform 0.15s ease;
    text-decoration: none;
}
.footer-social a:hover {
    color: var(--text-primary);
    transform: translateX(2px);
}
.footer-social svg {
    flex-shrink: 0;
    opacity: 0.75;
    transition: opacity 0.15s ease;
}
.footer-social a:hover svg { opacity: 1; }

/* ============================================================
   PRODUCT CARDS · click-to-navigate vs button-to-modal (v2.1)
   The card body wraps an <a> anchoring to the per-app subpage.
   The "Watch Demo" button intercepts clicks and opens the modal.
   ============================================================ */

.product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    /* Visually identical to non-link parent — no extra hover/focus styles
       since .product-card already has its own. */
}
.product-card-link:hover .product-card { transform: translateY(-4px); }
.product-card-link:focus-visible { outline: 2px solid var(--core-orange); outline-offset: 4px; border-radius: var(--radius-lg); }
