/* ============================================
   Liftr — Landing Page Styles
   ============================================ */

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

:root {
    --bg: #0A0A0A;
    --bg-card: #141414;
    --bg-card-hover: #1A1A1A;
    --bg-elevated: #1E1E1E;
    --border: #262626;
    --border-light: #333333;
    --text: #FAFAFA;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    --accent: #1F7AFE;
    --accent-hover: #1668E3;
    --gradient-start: #1F7AFE;
    --gradient-end: #A855F7;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.nav.scrolled {
    border-bottom-color: var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-icon {
    color: var(--accent);
    display: flex;
    align-items: center;
}

.wordmark {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    color: #1F7AFE;
}

.wordmark-nav {
    font-size: 26px;
}

.wordmark-footer {
    font-size: 22px;
    color: #FFFFFF;
}

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

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

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

.nav-links a.active,
.nav-mobile a.active {
    color: var(--text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    border-top: 1px solid var(--border);
}

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

.nav-mobile.open {
    display: flex;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 142, 247, 0.12) 0%, rgba(168, 85, 247, 0.06) 40%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 100%);
}

.hero > .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(79, 142, 247, 0.1);
    border: 1px solid rgba(79, 142, 247, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(79, 142, 247, 0.25);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat-value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: block;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: #1A1A1A;
    border-radius: 40px;
    border: 2px solid #333;
    padding: 12px;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        0 20px 60px rgba(0,0,0,0.5),
        0 0 120px rgba(79, 142, 247, 0.08);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s ease;
}

.phone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #1A1A1A;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0A0A0A;
    border-radius: 30px;
    overflow: hidden;
}

.screen-content {
    padding: 52px 20px 20px;
}

.screen-greeting {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.screen-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.screen-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.screen-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

.screen-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.screen-exercise {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.screen-sets {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 12px;
}

.screen-btn {
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.screen-progress {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 14px 16px;
    border: 1px solid var(--border);
}

.screen-progress-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.screen-progress-bar {
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.screen-progress-fill {
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
    animation: progressFill 2s ease-out 1s both;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 60%; }
}

.screen-progress-text {
    font-size: 11px;
    color: var(--text-muted);
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   Features Grid
   ============================================ */
.features {
    padding: 120px 0;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.feature-card-large {
    grid-column: span 2;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   How It Works
   ============================================ */
.how-it-works {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #0D0D0D 50%, var(--bg) 100%);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

.step:hover {
    border-color: var(--border-light);
}

.step-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--border-light);
    letter-spacing: -0.04em;
    line-height: 1;
    min-width: 80px;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-visual {
    width: 240px;
}

.mini-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.mini-card-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
    font-weight: 500;
}

.mini-card-row.faded {
    opacity: 0.4;
}

.mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mini-exercise-header {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}

.mini-set-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 13px;
}

.mini-set-num {
    color: var(--text-muted);
    width: 40px;
    font-weight: 500;
}

.mini-set-val {
    flex: 1;
    font-weight: 500;
}

.mini-check {
    color: #10B981;
    font-weight: 700;
}

.active-set {
    background: rgba(79, 142, 247, 0.08);
    border-radius: 6px;
    padding: 6px 8px;
    margin: 0 -8px;
}

.mini-input-cursor {
    width: 2px;
    height: 14px;
    background: var(--accent);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.mini-timer {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    padding: 8px;
    background: rgba(79, 142, 247, 0.08);
    border-radius: 8px;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    padding-bottom: 4px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, rgba(79, 142, 247, 0.6), rgba(79, 142, 247, 0.2));
    border-radius: 4px 4px 0 0;
    position: relative;
    min-height: 20px;
    transition: height 0.6s ease;
}

.chart-bar.highlight {
    background: linear-gradient(180deg, var(--accent), rgba(31, 122, 254, 0.4));
}

.chart-bar span {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.mini-chart-label {
    margin-top: 28px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

/* ============================================
   Exercise Library / Anatomy Picker
   ============================================ */
.exercises {
    padding: 120px 0;
}

.anatomy-picker {
    max-width: 800px;
    margin: 0 auto;
}

/* Front + Back bodies side by side */
.anatomy-bodies {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.anatomy-body-col {
    text-align: center;
    flex: 0 0 auto;
}

.body-svg {
    width: 220px;
    height: 506px;
    cursor: pointer;
}

/* Gray body silhouette background — like the image */
.body-silhouette {
    fill: #B8B8B8;
    stroke: none;
    pointer-events: none;
}

/* Passive body parts (head, neck, hands, feet, shins) */
.body-passive {
    fill: #B8B8B8;
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1;
    pointer-events: none;
}

/* Muscle regions — gray fill with white borders (matching image) */
.muscle {
    fill: #C0C0C0;
    stroke: rgba(255, 255, 255, 0.75);
    stroke-width: 1.2;
    stroke-linejoin: round;
    cursor: pointer;
    transition: fill 0.15s ease;
}

.muscle:hover {
    fill: #D0D0D0;
}

/* Selected / active muscle — orange like the image */
.muscle.active {
    fill: #E8A84C;
    stroke: rgba(255, 255, 255, 0.85);
}

.anatomy-label {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Muscle chips — mirrors app's FlowLayout + capsule chips */
.muscle-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0 4px;
    margin-bottom: 32px;
}

.muscle-chip {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    border: none;
    cursor: pointer;
    background: var(--bg-elevated);
    color: var(--text);
    transition: all 0.15s ease;
}

.muscle-chip:hover {
    background: #2A2A2A;
}

.muscle-chip.active {
    background: #E8A84C;
    color: #000;
}

/* Exercise list panel */
.exercise-list-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: none;
}

.exercise-list-panel.visible {
    display: block;
}

.exercise-list-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}

.exercise-list-header h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.exercise-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.exercise-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0;
}

.exercise-item {
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.exercise-item:hover {
    background: var(--bg-elevated);
    color: var(--text);
}

@media (max-width: 768px) {
    .body-svg {
        width: 155px;
        height: 358px;
    }

    .exercise-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .body-svg {
        width: 120px;
        height: 276px;
    }
}

/* ============================================
   Splits
   ============================================ */
.splits {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #0D0D0D 50%, var(--bg) 100%);
}

.splits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.split-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s;
}

.split-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.split-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.split-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.split-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.split-days {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.split-days span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
}

.split-days span:last-child {
    border-bottom: none;
}

/* ============================================
   Capabilities
   ============================================ */
.capabilities {
    padding: 120px 0;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.capability {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

.capability:hover {
    border-color: var(--border-light);
}

.capability-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.capability h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.capability p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   Privacy
   ============================================ */
.privacy {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #0D0D0D 50%, var(--bg) 100%);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.privacy-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.privacy-updated {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.privacy-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 8px;
}

.privacy-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.privacy-card ul {
    list-style: none;
    margin-bottom: 12px;
}

.privacy-card ul li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 4px 0 4px 20px;
    position: relative;
}

.privacy-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.privacy-card a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacy-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0;
}

.privacy-points div {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
}

.privacy-points h4 {
    margin-top: 0;
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 18px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    color: white !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.2s;
}

.privacy-link:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ============================================
   Policy Page
   ============================================ */
.policy-page {
    padding-top: 64px;
}

.policy-hero {
    padding: 96px 0 56px;
    background: linear-gradient(180deg, #0A0A0A 0%, #101216 100%);
    border-bottom: 1px solid var(--border);
}

.policy-hero h1 {
    max-width: 780px;
    margin-top: 14px;
    font-size: 56px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.policy-lede {
    max-width: 760px;
    margin-top: 20px;
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.policy-meta span {
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
}

.policy-meta a,
.policy-article a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.policy-body {
    padding: 56px 0 112px;
}

.policy-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.policy-toc {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.policy-toc a {
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.policy-toc a:hover {
    background: var(--bg-elevated);
    color: var(--text);
}

.policy-article {
    max-width: 820px;
}

.policy-section {
    padding: 34px 0;
    border-bottom: 1px solid var(--border);
}

.policy-section:first-child {
    padding-top: 0;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    margin-bottom: 14px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.policy-section p {
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.policy-section ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0;
    list-style: none;
}

.policy-section li {
    position: relative;
    padding-left: 22px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.policy-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
}

.policy-section strong {
    color: var(--text);
    font-weight: 700;
}

/* ============================================
   Support
   ============================================ */
.support {
    padding: 120px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.support-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}

.support-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 400;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item summary:hover {
    background: var(--bg-elevated);
}

.faq-item p {
    padding: 0 16px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.support-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.support-email {
    display: inline-block;
    margin: 16px 0;
    padding: 12px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    transition: all 0.2s;
}

.support-email:hover {
    border-color: var(--accent);
    background: rgba(79, 142, 247, 0.08);
}

.support-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-column a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--text);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero > .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 36px;
    }

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

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

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

    .feature-card-large {
        grid-column: span 1;
    }

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

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

    .privacy-points {
        grid-template-columns: 1fr;
    }

    .policy-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .policy-toc {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .step {
        grid-template-columns: auto 1fr;
    }

    .step-visual {
        display: none;
    }

    .anatomy-bodies {
        gap: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 40px;
    }

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

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

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

    .step {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-number {
        font-size: 36px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .privacy-card {
        padding: 28px;
    }

    .policy-hero {
        padding: 72px 0 40px;
    }

    .policy-hero h1 {
        font-size: 40px;
    }

    .policy-lede {
        font-size: 16px;
    }

    .policy-toc {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
}
