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

:root {
    --ink-900: #0F172A;
    --ink-800: #1E293B;
    --ink-700: #334155;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-200: #E2E8F0;
    --paper-50: #F8F7F4;
    --paper-100: #F1EEE9;
    --mint-500: #18A999;
    --mint-600: #0F8C80;
    --coral-500: #F97360;
    --amber-400: #F5B842;
    --indigo-500: #4F46E5;

    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 20px 50px rgba(15, 23, 42, 0.16);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;

    --font-display: 'Fraunces', 'Times New Roman', serif;
    --font-body: 'Space Grotesk', 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--paper-50);
    color: var(--ink-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.page-glow {
    position: fixed;
    inset: -40vh -20vw auto;
    height: 70vh;
    background: radial-gradient(circle at top, rgba(79, 70, 229, 0.18), transparent 65%),
                radial-gradient(circle at 30% 20%, rgba(24, 169, 153, 0.18), transparent 60%),
                radial-gradient(circle at 70% 10%, rgba(245, 184, 66, 0.15), transparent 55%);
    z-index: -1;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--mint-600);
    font-weight: 600;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.75rem);
    color: var(--ink-900);
    margin: 12px 0 12px;
}

.section-subtitle {
    color: var(--slate-500);
    max-width: 720px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--ink-900);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.btn-ghost {
    border-color: var(--ink-900);
    color: var(--ink-900);
    background: transparent;
}

.btn-ghost:hover {
    background: var(--ink-900);
    color: white;
}

.btn-outline {
    border-color: var(--ink-700);
    color: var(--ink-700);
    background: transparent;
}

.btn-outline:hover {
    background: var(--ink-700);
    color: white;
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 16px 28px;
    font-size: 1.05rem;
}

.navbar {
    position: fixed;
    inset: 0 0 auto;
    background: rgba(248, 247, 244, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    z-index: 1000;
}

.navbar.scrolled {
    box-shadow: var(--shadow-soft);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

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

.logo-image {
    height: 42px;
}

.logo-lockup {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-subtext {
    font-size: 0.8rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

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

.nav-menu a {
    font-weight: 500;
    color: var(--ink-700);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink-700);
}

.hero {
    padding: 140px 0 90px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    margin: 16px 0 20px;
    line-height: 1.05;
}

.hero-subtitle {
    color: var(--slate-500);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--ink-700);
    font-size: 0.9rem;
}

.hero-badges span {
    background: var(--paper-100);
    padding: 8px 14px;
    border-radius: 999px;
}

.hero-panel {
    position: relative;
}

.scribe-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-strong);
    display: grid;
    gap: 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

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

.scribe-title {
    font-weight: 600;
}

.scribe-subtitle {
    color: var(--slate-500);
    font-size: 0.9rem;
}

.scribe-status {
    background: var(--mint-500);
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.scribe-wave {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 70px;
}

.scribe-wave span {
    flex: 1;
    background: linear-gradient(180deg, var(--mint-500), var(--indigo-500));
    border-radius: 999px;
    animation: pulse 1.2s ease-in-out infinite;
}

.scribe-wave span:nth-child(2) { animation-delay: 0.1s; height: 40%; }
.scribe-wave span:nth-child(3) { animation-delay: 0.2s; height: 70%; }
.scribe-wave span:nth-child(4) { animation-delay: 0.3s; height: 55%; }
.scribe-wave span:nth-child(5) { animation-delay: 0.4s; height: 85%; }
.scribe-wave span:nth-child(6) { animation-delay: 0.5s; height: 60%; }
.scribe-wave span:nth-child(7) { animation-delay: 0.6s; height: 75%; }
.scribe-wave span:nth-child(8) { animation-delay: 0.7s; height: 50%; }
.scribe-wave span:nth-child(9) { animation-delay: 0.8s; height: 65%; }

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

.scribe-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pill {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    background: var(--paper-100);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.pill-warm {
    background: rgba(249, 115, 96, 0.15);
    color: var(--coral-500);
    border-color: rgba(249, 115, 96, 0.4);
}

.pill-cool {
    background: rgba(79, 70, 229, 0.12);
    color: var(--indigo-500);
    border-color: rgba(79, 70, 229, 0.4);
}

.pill-clear {
    background: rgba(24, 169, 153, 0.1);
    color: var(--mint-600);
    border-color: rgba(24, 169, 153, 0.4);
}

.scribe-note {
    background: var(--paper-100);
    border-radius: var(--radius-md);
    padding: 14px;
}

.label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--slate-500);
    margin-bottom: 4px;
}

.scribe-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.workflow {
    padding: 90px 0;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.workflow-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.workflow-step {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--indigo-500);
    font-weight: 700;
    margin-bottom: 12px;
}

.features {
    padding: 90px 0;
    background: var(--paper-100);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 26px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--slate-500);
}

.audio {
    padding: 90px 0;
}

.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: center;
}

.audio-list {
    margin-top: 18px;
    display: grid;
    gap: 12px;
    color: var(--slate-500);
}

.audio-card {
    background: white;
    padding: 26px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    display: grid;
    gap: 18px;
}

.audio-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.muted {
    color: var(--slate-400);
    font-size: 0.9rem;
}

.toggle {
    width: 46px;
    height: 26px;
    background: var(--slate-200);
    border-radius: 999px;
    position: relative;
}

.toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 4px;
    transition: transform 0.2s ease;
    box-shadow: var(--shadow-soft);
}

.toggle.on {
    background: rgba(24, 169, 153, 0.4);
}

.toggle.on::after {
    transform: translateX(18px);
    background: var(--mint-500);
}

.audio-slider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-500);
    font-size: 0.85rem;
}

.slider-bar {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: var(--slate-200);
    position: relative;
}

.slider-bar span {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    background: linear-gradient(90deg, var(--mint-500), var(--indigo-500));
    border-radius: inherit;
}

.sections {
    padding: 90px 0;
    background: var(--paper-100);
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.section-chip {
    padding: 12px 16px;
    background: white;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    text-align: center;
    font-weight: 500;
    color: var(--ink-700);
}

.sections-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    align-items: center;
}

.sections-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 12px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding-bottom: 10px;
}

.card-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pricing {
    padding: 90px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.pricing-card {
    background: white;
    padding: 26px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.2);
    position: relative;
}

.pricing-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 20px 0;
    color: var(--slate-500);
}

.pricing-card li::before {
    content: '•';
    margin-right: 8px;
    color: var(--mint-500);
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    margin: 12px 0;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--slate-400);
}

.pricing-card.featured {
    border: 2px solid var(--ink-900);
    box-shadow: var(--shadow-strong);
}

.badge {
    position: absolute;
    top: -14px;
    right: 20px;
    background: var(--ink-900);
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.contact {
    padding: 90px 0 110px;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.04), rgba(24, 169, 153, 0.08));
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.contact-info {
    display: grid;
    gap: 16px;
}

.contact-item {
    background: white;
    padding: 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.contact-form {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    display: grid;
    gap: 14px;
}

.form-group {
    display: grid;
    gap: 6px;
}

.form-group input,
.form-group textarea {
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(79, 70, 229, 0.25);
    border-color: var(--indigo-500);
}

.form-note {
    font-size: 0.85rem;
    color: var(--slate-500);
    text-align: center;
}

.footer {
    background: var(--ink-900);
    color: var(--slate-200);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.footer-content h4 {
    color: white;
    margin-bottom: 10px;
}

.footer-content a {
    display: block;
    color: var(--slate-200);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    color: var(--slate-400);
    font-size: 0.85rem;
}

.reveal-ready {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        transform: translateY(-120%);
        transition: transform 0.2s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

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

@media (max-width: 600px) {
    .hero {
        padding: 120px 0 70px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

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