:root {
    --bg:        #eeeeec;
    --bg-card:   #e6e6e3;
    --border:    #d4d4d1;
    --text:      #141414;
    --muted:     #767672;
    --accent:    oklch(52% 0.13 248);
    --accent-dim: oklch(52% 0.13 248 / 0.12);

    --font-sans: "DM Sans", system-ui, sans-serif;
    --font-mono: "DM Mono", monospace;
    --radius:    12px;
    --max-width: 1020px;
}

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

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.55;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* -------- Header -------- */

header {
    position: sticky;
    top: 0;
    z-index: 10;
    transition: background 0.25s, border-color 0.25s;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(238, 238, 236, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text);
}

.logo img { border-radius: 6px; }

header nav { display: flex; gap: 28px; }

header nav a {
    font-family: var(--font-mono);
    color: var(--muted);
    font-size: 12px;
    transition: color 0.15s;
}

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

/* -------- Main -------- */

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

/* -------- Hero -------- */

.hero {
    text-align: center;
    padding: 56px 0 100px;
}

/* -------- Full-width waveform -------- */

.waveform {
    width: 100%;
    height: 88px;
    display: flex;
    align-items: center;
    gap: 2px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.waveform-bar {
    flex-shrink: 0;
    width: 3px;
    border-radius: 2px;
    background: var(--accent);
    opacity: 0.75;
    transform-origin: center;
}

@keyframes waveform-pulse {
    0%, 100% { transform: scaleY(0.2); }
    50%       { transform: scaleY(1); }
}

h1 {
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 300;
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin: 0 0 24px;
    color: var(--text);
    font-family: var(--font-sans);
}

.subhead {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.55;
    font-weight: 300;
}

.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.requirements {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.02em;
}

/* -------- Buttons -------- */

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
    text-align: center;
}

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

.btn-primary:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary:hover {
    border-color: var(--text);
    transform: translateY(-1px);
}

/* -------- Sections -------- */

section { padding: 80px 0; }

h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0 0 56px;
    text-align: center;
    font-family: var(--font-sans);
    color: var(--text);
}

h3 {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
    color: var(--text);
}

/* -------- Section rule -------- */

.section-rule {
    height: 1px;
    background: var(--border);
    max-width: var(--max-width);
    margin: 0 auto;
}

/* -------- Features -------- */

.features {
    padding: 0;
}

.feature-list {
    display: flex;
    flex-direction: column;
}

.feature-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: baseline;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.feature-row:first-child { border-top: none; }
.feature-row:last-child { border-bottom: none; }

.feature-name {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 300;
    max-width: 560px;
}

/* -------- Transcript history -------- */

.history {
    padding: 80px 0;
}

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

.history-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.history-inner h2 {
    text-align: left;
    margin-bottom: 16px;
    font-size: clamp(26px, 3.5vw, 38px);
}

.history-sub {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 300;
    max-width: 360px;
}

.history-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.history-entry {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.history-entry:last-child { border-bottom: none; }

.history-entry-time {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.history-entry-preview {
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 300;
}

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

.pricing-sub {
    text-align: center;
    color: var(--muted);
    margin: -32px 0 56px;
    font-size: 16px;
    font-weight: 300;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 680px;
    margin: 0 auto;
}

.plan {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

.plan.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 12px 40px oklch(52% 0.13 248 / 0.08);
}

.plan-head { margin-bottom: 24px; }

.plan h3 {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 10px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-amount {
    font-size: 40px;
    font-weight: 300;
    letter-spacing: -0.03em;
    color: var(--text);
    font-family: var(--font-sans);
}

.price-unit {
    font-family: var(--font-mono);
    color: var(--muted);
    font-size: 13px;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}

.plan li {
    padding: 10px 0 10px 24px;
    position: relative;
    color: var(--muted);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    font-weight: 300;
}

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

.plan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23767672' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 1 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.plan li strong {
    color: var(--text);
    font-weight: 500;
}

/* -------- Closer -------- */

.closer {
    text-align: center;
    padding: 120px 0;
}

.closer h2 { margin-bottom: 32px; }

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

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

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.02em;
}

footer nav { display: flex; gap: 24px; }

footer nav a {
    font-family: var(--font-mono);
    color: var(--muted);
    font-size: 11px;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
}

footer nav a:hover {
    color: var(--text);
    border-bottom-color: var(--text);
}

/* -------- Responsive -------- */

@media (max-width: 720px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 24px 0;
    }

    .history-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .history-inner h2 { text-align: center; }
    .history-label { text-align: center; }
    .history-sub { max-width: none; text-align: center; }
}

@media (max-width: 640px) {
    .header-inner { padding: 16px 20px; }
    header nav { gap: 18px; }
    main { padding: 0 20px; }
    footer { padding: 24px 20px; }
    .hero { padding: 40px 0 80px; }
    section { padding: 60px 0; }
    h2 { margin-bottom: 40px; }
    .footer-inner { flex-direction: column; text-align: center; }
}
