:root {
    --bg: #FFFFFF;
    --ink: #0A0A0A;
    --ink-2: #2A2A2A;
    --ink-3: #555555;
    --ink-4: #8A8A8A;
    --hair: #E6E6E6;
    --hair-2: #F0F0F0;
    --off: #F7F5F1;
    --crimson: #C92841;
    --crimson-press: #A81E34;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
}

body {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--crimson);
    color: #fff;
}

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

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

.fraunces {
    font-family: 'Fraunces', 'Times New Roman', serif;
    font-optical-sizing: auto;
}

.mono {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.wrap-sm {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ------- Nav ------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--hair);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.wordmark {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 24px;
    color: var(--crimson);
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.wordmark img {
    height: 28px;
    width: auto;
    display: block;
}

.wordmark .dot {
    display: none;
}

.install {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--crimson);
    color: #fff;
    padding: 10px 16px 10px 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.install:hover {
    background: var(--crimson-press);
}

.install .chev {
    width: 10px;
    height: 10px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(45deg) translate(-1px, -1px);
}

.install-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: 4px;
    min-width: 220px;
    padding: 6px;
    display: none;
}

.install-menu.open {
    display: block;
}

.install-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--ink);
    font-size: 14px;
    border-radius: 3px;
}

.install-menu a:hover {
    background: var(--off);
}

.install-menu .sub {
    color: var(--ink-4);
    font-size: 12px;
    margin-left: auto;
}

/* ------- Sections ------- */
section {
    padding: 112px 0;
    border-top: 1px solid transparent;
}

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--crimson);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.section-label::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--crimson);
}

/* ------- Hero ------- */
.hero {
    padding: 88px 0 120px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #ccc 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero>* {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero h1 {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(48px, 8vw, 104px);
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin: 0 0 28px;
    font-variation-settings: "opsz"144, "SOFT"30;
}

.hero h1 em {
    font-style: italic;
    font-weight: 300;
}

.hero .sub {
    font-size: 22px;
    line-height: 1.45;
    color: var(--ink-2);
    max-width: 540px;
    margin: 0 0 40px;
    letter-spacing: -0.005em;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0A0A0A;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    height: 54px;
    min-width: 172px;
    transition: transform .15s ease, background .15s ease;
}

.badge:hover {
    background: #222;
}

.badge .icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.badge .small {
    font-size: 10px;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #e0e0e0;
}

.badge .big {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.1;
    margin-top: 3px;
    letter-spacing: -0.01em;
}

/* ------- Hero Phone ------- */
.hero-phone-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 620px;
}

.phone {
    max-width: 480px;
    width: 100%;
    aspect-ratio: 300 / 400;
    background: #0A0A0A;
    border-radius: 44px;
    padding: 8px;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 20px 40px -20px rgba(0, 0, 0, 0.25);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
}

/* Phone screen image replacement */
.phone-screen .screen-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.phone-screen:has(.screen-img) .phone-notch,
.phone-screen:has(.screen-img) .status-bar,
.phone-screen:has(.screen-img) .app-home,
.phone-screen:has(.screen-img) .app-detail,
.phone-screen:has(.screen-img) .app-player,
.phone-screen:has(.screen-img) .mini-player {
    display: none;
}

/* When phone contains a screen-img, strip the outer bezel — image already shows device chrome */
.phone:has(.screen-img) {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.phone:has(.screen-img) .phone-screen {
    background: transparent;
    border-radius: 0;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 104px;
    height: 28px;
    background: #0A0A0A;
    border-radius: 16px;
    z-index: 4;
}

.status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 13px;
    color: var(--ink);
    z-index: 3;
}

.status-right {
    display: flex;
    gap: 5px;
    align-items: center;
}

.status-right svg {
    width: 16px;
    height: 11px;
}

/* App: Home feed */
.app-home {
    padding-top: 52px;
    height: 100%;
    overflow: hidden;
    background: #fff;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 20px 14px;
}

.app-wordmark {
    font-family: 'Fraunces';
    font-weight: 500;
    font-size: 20px;
    color: var(--crimson);
}

.app-header .profile {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--off);
    border: 1px solid var(--hair);
}

.app-tabs {
    display: flex;
    gap: 16px;
    padding: 0 20px 12px;
    font-family: 'Montserrat';
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-4);
    border-bottom: 1px solid var(--hair);
}

.app-tabs .active {
    color: var(--ink);
    position: relative;
}

.app-tabs .active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12.5px;
    height: 1.5px;
    background: var(--ink);
}

.app-section-title {
    font-family: 'Fraunces';
    font-weight: 500;
    font-size: 15px;
    padding: 14px 20px 10px;
    letter-spacing: -0.01em;
}

.story-card {
    display: flex;
    gap: 12px;
    padding: 10px 20px;
    align-items: center;
}

.story-card .cover {
    width: 56px;
    height: 56px;
    border-radius: 3px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.story-card .meta {
    min-width: 0;
    flex: 1;
}

.story-card .title {
    font-family: 'Fraunces';
    font-weight: 500;
    font-size: 13.5px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.story-card .intro {
    font-family: 'Montserrat';
    font-size: 11px;
    color: var(--ink-3);
    line-height: 1.35;
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-card .dur {
    font-family: 'JetBrains Mono';
    font-size: 10px;
    color: var(--ink-4);
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.story-card .play {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.story-card .play svg {
    width: 10px;
    height: 10px;
}

/* mini player at bottom */
.mini-player {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 18px;
    height: 54px;
    background: #0A0A0A;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    gap: 10px;
    color: #fff;
}

.mini-player .cover {
    width: 38px;
    height: 38px;
    border-radius: 3px;
}

.mini-player .mp-meta {
    flex: 1;
    min-width: 0;
}

.mini-player .mp-title {
    font-family: 'Fraunces';
    font-weight: 500;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-player .mp-sub {
    font-family: 'Montserrat';
    font-size: 10px;
    color: #aaa;
    margin-top: 2px;
}

.mini-player .mp-play {
    width: 32px;
    height: 32px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-player .mp-play svg {
    width: 10px;
    height: 10px;
}

/* ------- Editorial cover art (no stock) ------- */
.cover-art {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cover-art .cov-label {
    position: absolute;
    top: 6px;
    left: 6px;
    font-family: 'JetBrains Mono';
    font-size: 7px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.75;
}

.cover-art .cov-num {
    position: absolute;
    bottom: 5px;
    right: 6px;
    font-family: 'JetBrains Mono';
    font-size: 7px;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

/* ------- What Mythio is ------- */
.what {
    padding: 120px 0;
    background: var(--off);
}

.what .lead {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(32px, 4.4vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    max-width: 900px;
    margin: 0 0 48px;
}

.what .para {
    font-family: 'Montserrat';
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 620px;
    margin: 0 0 24px;
    letter-spacing: -0.005em;
}

.what .para.tight {
    font-size: 19px;
    font-weight: 500;
    font-family: 'Fraunces', serif;
    color: rgb(201, 40, 65);
}

/* ------- Stories Grid ------- */
.stories h2 {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 20px;
}

.stories-sub {
    font-family: 'Montserrat';
    font-size: 19px;
    color: var(--ink-3);
    line-height: 1.5;
    max-width: 640px;
    margin: 0 0 56px;
    letter-spacing: -0.005em;
}

/* Titles list (horizontal) */
.titles-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--hair);
    margin: 0 -24px;
    padding: 0 24px;
    scrollbar-width: thin;
}

.titles-rail::-webkit-scrollbar {
    height: 6px;
}

.titles-rail::-webkit-scrollbar-thumb {
    background: var(--hair);
}

.title-card {
    padding: 28px 24px 32px 24px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    min-width: 0;
}

.title-card+.title-card {
    border-left: 1px solid var(--hair);
}

.title-card .tc-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    margin-bottom: 18px;
    background: #0A0A0A;
}

.title-card .tc-cover>.cover-art {
    display: none;
}

.title-card .tc-cover .cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.title-card .tc-num {
    font-family: 'JetBrains Mono';
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--ink-4);
    margin-bottom: 10px;
}

.title-card .tc-title {
    font-family: 'Fraunces';
    font-weight: 500;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 10px;
}

.title-card .tc-intro {
    font-family: 'Montserrat';
    font-style: italic;
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.5;
    margin: 0 0 18px;
    text-wrap: pretty;
}

.title-card .tc-meta {
    margin-top: auto;
    font-family: 'JetBrains Mono';
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--ink-4);
    text-transform: uppercase;
    display: flex;
    gap: 14px;
}

.rail-hint {
    font-family: 'JetBrains Mono';
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-4);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.rail-hint .arr {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--ink-4);
    position: relative;
}

.rail-hint .arr::after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-right: 1px solid var(--ink-4);
    border-top: 1px solid var(--ink-4);
    transform: rotate(45deg);
}

/* Channels list */
.channels-block {
    margin-top: 120px;
}

.channels-block h3 {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin: 0 0 48px;
    max-width: 680px;
}

.channels {
    border-top: 1px solid var(--ink);
}

.channel-row {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: baseline;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--hair);
    transition: padding .25s ease;
    cursor: default;
}

.channel-row:hover {
    padding-left: 16px;
}

.channel-row .ch-num {
    font-family: 'JetBrains Mono';
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--ink-4);
}

.channel-row .ch-name {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(28px, 3.2vw, 38px);
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--ink);
}

.channel-row .ch-desc {
    font-family: 'Montserrat';
    font-size: 15px;
    color: var(--ink-3);
    line-height: 1.4;
    max-width: 420px;
    text-align: right;
    justify-self: end;
}

@media (max-width: 720px) {
    .channel-row {
        grid-template-columns: 40px 1fr;
        gap: 16px;
        padding: 20px 0;
    }

    .channel-row .ch-desc {
        grid-column: 1 / -1;
        text-align: left;
        padding-left: 56px;
        font-size: 14px;
    }
}

.more-cta {
    margin-top: 96px;
    padding: 64px 0 0;
    border-top: 1px solid var(--ink);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: end;
}

.more-cta .mc-text {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(26px, 3.6vw, 44px);
    letter-spacing: -0.025em;
    line-height: 1.1;
    max-width: 720px;
    margin: 0;
}

.more-cta .mc-text em {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 300;
    color: var(--crimson);
    display: block;
    margin-top: 8px;
}

.more-cta .mc-kicker {
    font-family: 'JetBrains Mono';
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.more-cta .mc-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--ink-4);
}

.more-cta .badges {
    flex-shrink: 0;
    justify-self: end;
    padding-bottom: 8px;
}

@media (max-width: 720px) {
    .more-cta {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .more-cta .badges {
        justify-self: start;
    }
}

/* legacy (kept to avoid breaking anything) */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hair);
}

.story {
    background: #fff;
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story .cover-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.story .story-num {
    font-family: 'JetBrains Mono';
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--ink-4);
}

.story .story-title {
    font-family: 'Fraunces';
    font-weight: 500;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.story .story-intro {
    font-family: 'Montserrat';
    font-style: italic;
    font-size: 15px;
    color: var(--ink-3);
    line-height: 1.5;
    letter-spacing: -0.005em;
}

.story .story-meta {
    margin-top: auto;
    padding-top: 8px;
    font-family: 'JetBrains Mono';
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--ink-4);
    text-transform: uppercase;
    display: flex;
    gap: 16px;
}

/* Editorial covers by topic */
.cov-bh {
    background: radial-gradient(circle at 50% 50%, #000 0%, #000 30%, #0a0a0a 32%, #1a1a1a 40%, #0a0a0a 45%, #000 100%);
}

.cov-bh::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 28%, rgba(255, 200, 140, 0.35) 32%, transparent 44%);
}

.cov-bh .cov-label,
.cov-bh .cov-num {
    color: #c7c7c7;
}

.cov-rome {
    background: #1e1814;
    color: #d9c9a3;
}

.cov-rome .coin {
    width: 58%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #d9c9a3 0%, #8f7a4a 55%, #4a3a22 90%);
    position: relative;
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.cov-rome .coin::after {
    content: "SPQR";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 500;
    color: #2a1f10;
    font-size: 22px;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.cov-parasite {
    background: #0d1a10;
    color: #b5d4a3;
}

.cov-parasite .spore {
    position: absolute;
    border-radius: 50%;
    background: #4a8a3a;
    box-shadow: 0 0 20px rgba(120, 200, 100, 0.5);
}

.cov-parasite .s1 {
    width: 30%;
    aspect-ratio: 1;
    top: 20%;
    left: 22%;
    background: #2f5a25;
    box-shadow: 0 0 30px rgba(90, 180, 80, 0.6);
}

.cov-parasite .s2 {
    width: 14%;
    aspect-ratio: 1;
    top: 55%;
    left: 58%;
    background: #6fa858;
}

.cov-parasite .s3 {
    width: 8%;
    aspect-ratio: 1;
    top: 30%;
    left: 68%;
    background: #87c26c;
}

.cov-parasite .s4 {
    width: 6%;
    aspect-ratio: 1;
    top: 70%;
    left: 35%;
    background: #87c26c;
}

.cov-curie {
    background: #0a0a0a;
    color: #a8d8c8;
    overflow: hidden;
}

.cov-curie .halo {
    position: absolute;
    width: 68%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 220, 200, 0.35) 0%, rgba(80, 180, 160, 0.15) 40%, transparent 70%);
    filter: blur(8px);
}

.cov-curie .initials {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 72px;
    color: #e5f5ef;
    font-weight: 300;
    letter-spacing: -0.04em;
    position: relative;
    z-index: 2;
}

.cov-google {
    background: #e9e4d8;
    color: #1a1a1a;
}

.cov-google .num {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 46px;
    letter-spacing: -0.04em;
    color: #1a1a1a;
    line-height: 0.9;
    text-align: center;
}

.cov-google .sub {
    font-family: 'JetBrains Mono';
    font-size: 9px;
    letter-spacing: 0.16em;
    margin-top: 8px;
    color: #555;
    text-transform: uppercase;
    text-align: center;
}

.cov-google .strike {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.cov-dyatlov {
    background: linear-gradient(180deg, #0e1418 0%, #1a2730 100%);
    color: #a8b5c0;
}

.cov-dyatlov .peaks {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
}

.cov-dyatlov .moon {
    position: absolute;
    top: 18%;
    right: 22%;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e8ecf0;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.2);
}

/* ------- Built for listening ------- */
.built {
    background: var(--off);
    padding: 140px 0;
}

.built-head {
    max-width: 720px;
    margin: 0 auto 80px;
    text-align: center;
}

.built-head h2 {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 20px;
}

.built-head p {
    font-family: 'Montserrat';
    font-size: 20px;
    color: var(--ink-3);
    margin: 0;
    letter-spacing: -0.005em;
}

.built-phones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
    position: relative;
}

.built-phones .p-left {
    justify-self: end;
    width: 320px;
}

.built-phones .p-right {
    justify-self: start;
    width: 320px;
    margin-top: 80px;
}

.built-phones .phone {
    width: 100%;
    aspect-ratio: 300 / 615;
}

/* Story detail screen */
.app-detail {
    padding-top: 52px;
    height: 100%;
    position: relative;
    background: #fff;
}

.back-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 20px 16px;
}

.back-row .b {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--off);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-row .b svg {
    width: 10px;
    height: 10px;
}

.detail-cover {
    width: calc(100% - 40px);
    margin: 0 auto;
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.detail-body {
    padding: 20px 20px 0;
}

.detail-meta {
    font-family: 'JetBrains Mono';
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 8px;
}

.detail-title {
    font-family: 'Fraunces';
    font-weight: 500;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.detail-intro {
    font-family: 'Montserrat';
    font-size: 11.5px;
    color: var(--ink-3);
    line-height: 1.5;
    margin-bottom: 18px;
}

.detail-play-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    margin-top: 4px;
}

.detail-play-btn {
    flex: 1;
    height: 40px;
    background: var(--ink);
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Montserrat';
    font-size: 12px;
    font-weight: 500;
}

.detail-play-btn svg {
    width: 10px;
    height: 10px;
}

.detail-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: var(--off);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon-btn svg {
    width: 14px;
    height: 14px;
}

/* Now playing */
.app-player {
    padding-top: 52px;
    height: 100%;
    background: #0A0A0A;
    color: #fff;
    position: relative;
}

.app-player .back-row .b {
    background: #1a1a1a;
    color: #fff;
}

.app-player .player-cover {
    width: calc(100% - 50px);
    margin: 8px auto 28px;
    aspect-ratio: 1;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.app-player .p-meta {
    padding: 0 26px;
    text-align: left;
}

.app-player .p-label {
    font-family: 'JetBrains Mono';
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
}

.app-player .p-title {
    font-family: 'Fraunces';
    font-weight: 500;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.app-player .p-sub {
    font-family: 'Montserrat';
    font-size: 11px;
    color: #999;
}

.waveform {
    margin: 24px 26px 10px;
    height: 26px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.waveform span {
    display: block;
    flex: 1;
    background: #333;
    border-radius: 1px;
}

.waveform span.on {
    background: #fff;
}

.time-row {
    display: flex;
    justify-content: space-between;
    padding: 0 26px 26px;
    font-family: 'JetBrains Mono';
    font-size: 10px;
    color: #888;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 0 26px;
}

.controls .side {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.controls .side svg {
    width: 22px;
    height: 22px;
}

.controls .main {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controls .main svg {
    width: 18px;
    height: 18px;
}

/* ------- Features ------- */
.features {
    padding: 140px 0;
}

.features-head {
    max-width: 900px;
    margin: 0 auto 40px;
}

.features-head h2 {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 20px;
}

.features-sub {
    font-family: 'Montserrat';
    font-size: 19px;
    color: var(--ink-3);
    line-height: 1.5;
    max-width: 640px;
    margin: 0 0 32px;
    letter-spacing: -0.005em;
}

.feature {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 88px 0;
    border-top: 1px solid var(--hair);
    align-items: start;
}

.feature:last-child {
    border-bottom: 1px solid var(--hair);
}

.feature .f-num {
    font-family: 'JetBrains Mono';
    font-size: 13px;
    letter-spacing: 0.18em;
    color: var(--crimson);
    padding-top: 16px;
}

.feature .f-body {
    max-width: 720px;
}

.feature h3 {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
}

.feature p {
    font-family: 'Montserrat';
    font-size: 19px;
    color: var(--ink-2);
    line-height: 1.55;
    margin: 0;
    letter-spacing: -0.005em;
    text-wrap: pretty;
}

/* ------- Social Proof ------- */
.social {
    padding: 120px 0;
    background: var(--off);
}

.social h2 {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 72px;
}

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

.quote {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--ink);
    padding-top: 24px;
}

.quote .placeholder-tag {
    font-family: 'JetBrains Mono';
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--crimson);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.quote .q {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.32;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 24px;
    text-wrap: pretty;
}

.quote .attr {
    font-family: 'Montserrat';
    font-size: 14px;
    color: var(--ink-3);
    margin-top: auto;
}

.quote .attr strong {
    color: var(--ink);
    font-weight: 500;
}

/* ------- Pricing ------- */
.pricing {
    padding: 120px 0;
    text-align: center;
}

.pricing .inner {
    max-width: 720px;
    margin: 0 auto;
}

.pricing .section-label {
    justify-content: center;
}

.pricing .lines {
    align-items: center;
}

.pricing .badges {
    justify-content: center;
}

.pricing h2 {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 48px;
}

.pricing .lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 44px;
}

.pricing .l1 {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: 32px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.pricing .l2 {
    font-family: 'Fraunces';
    font-weight: 400;
    font-style: italic;
    font-size: 26px;
    letter-spacing: -0.01em;
    color: var(--crimson);
}

.pricing .l3 {
    font-family: 'Montserrat';
    font-size: 17px;
    color: var(--ink-3);
}

/* ------- FAQ ------- */
.faq {
    padding: 120px 0;
    background: var(--off);
    border-top: 1px solid var(--hair);
}

.faq-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
}

.faq h2 {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
}

.faq-list {
    border-top: 1px solid var(--ink);
}

.faq-item {
    border-bottom: 1px solid var(--hair);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    cursor: pointer;
    font-family: 'Fraunces';
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.015em;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--ink);
}

.faq-q .plus {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    position: relative;
    color: var(--ink-3);
    transition: transform .2s ease;
}

.faq-q .plus::before,
.faq-q .plus::after {
    content: "";
    position: absolute;
    background: currentColor;
}

.faq-q .plus::before {
    left: 0;
    right: 0;
    top: 50%;
    height: 1.5px;
    transform: translateY(-50%);
}

.faq-q .plus::after {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1.5px;
    transform: translateX(-50%);
    transition: transform .2s ease;
}

.faq-item.open .faq-q .plus::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-a-inner {
    font-family: 'Montserrat';
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.6;
    padding: 0 40px 28px 0;
    max-width: 640px;
    letter-spacing: -0.005em;
}

.faq-item.open .faq-a {
    max-height: 280px;
}

/* ------- Final CTA ------- */
.final {
    padding: 160px 0;
    text-align: center;
    border-top: 1px solid var(--hair);
}

.final h2 {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(48px, 7vw, 96px);
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 48px;
}

.final h2 em {
    font-style: italic;
    font-weight: 300;
}

.final .badges {
    justify-content: center;
}

/* ------- Footer ------- */
footer {
    padding: 56px 0 40px;
    border-top: 1px solid var(--hair);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--hair);
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.footer-links a {
    font-family: 'Montserrat';
    font-size: 14px;
    color: var(--ink-2);
    transition: color .15s;
}

.footer-links a:hover {
    color: var(--crimson);
}

.footer-links .linkedin {
    width: 18px;
    height: 18px;
    color: var(--ink-2);
}

.footer-bottom {
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat';
    font-size: 13px;
    color: var(--ink-4);
    flex-wrap: wrap;
    gap: 12px;
}

/* Doc pages */
.doc-page {
    padding: 96px 0 140px;
}

.wrap-doc {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.doc-h1 {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 20px 0 16px;
}

.doc-sub {
    font-family: 'Montserrat';
    font-size: 15px;
    color: var(--ink-4);
    margin: 0 0 64px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--hair);
}

.doc-page section {
    padding: 0;
    border: 0;
    margin-bottom: 40px;
}

.doc-page h2 {
    font-family: 'Fraunces';
    font-weight: 500;
    font-size: 26px;
    letter-spacing: -0.015em;
    margin: 0 0 12px;
    line-height: 1.2;
}

.doc-h2 {
    margin-top: 24px !important;
    font-size: 30px !important;
    margin-bottom: 24px !important;
}

.doc-page p {
    font-family: 'Montserrat';
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-2);
    margin: 0 0 16px;
    letter-spacing: -0.005em;
}

.doc-page h3,
.doc-h3 {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-1);
    margin: 28px 0 10px;
}

.doc-page ul {
    font-family: 'Montserrat';
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-2);
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.doc-page li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
    letter-spacing: -0.005em;
}

.doc-page li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    width: 8px;
    height: 1px;
    background: var(--crimson);
}

.doc-page li strong {
    color: var(--ink-1);
    font-weight: 600;
}

.doc-link {
    color: var(--crimson);
    border-bottom: 1px solid var(--crimson);
}

.doc-link:hover {
    background: var(--crimson);
    color: #fff;
}

.contact-list {
    margin: 40px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--hair);
}

.contact-list>div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--hair);
}

.contact-list dt {
    font-family: 'JetBrains Mono';
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-4);
    padding-top: 4px;
}

.contact-list dd {
    margin: 0;
    font-family: 'Montserrat';
    font-size: 18px;
    color: var(--ink);
}

/* ------- Grant acknowledgement ------- */
.grant {
    padding: 96px 0;
    background: var(--off);
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    text-align: center;
}

.grant .section-label {
    margin-bottom: 24px;
}

.grant-text {
    font-family: 'Fraunces';
    font-weight: 400;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.4;
    letter-spacing: -0.015em;
    color: var(--ink-2);
    max-width: 640px;
    margin: 0 auto 36px;
    text-wrap: pretty;
}

.grant-text strong {
    font-weight: 500;
    color: var(--ink);
}

.grant-logo {
    display: inline-block;
    line-height: 0;
    transition: opacity 120ms ease;
}

.grant-logo:hover {
    opacity: 0.7;
}

.grant-logo img {
    width: 220px;
    height: auto;
    display: block;
}

/* ------- Tweaks panel ------- */
.tweaks {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 280px;
    background: #fff;
    border: 1px solid var(--ink);
    border-radius: 4px;
    padding: 18px;
    z-index: 100;
    display: none;
    font-family: 'Montserrat';
    font-size: 13px;
}

.tweaks.open {
    display: block;
}

.tweaks h4 {
    font-family: 'Fraunces';
    font-weight: 500;
    font-size: 16px;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.tweaks label {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--ink-3);
}

.tweaks label span {
    display: block;
    margin-bottom: 4px;
}

.tweaks select,
.tweaks input[type="color"] {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--hair);
    font-family: inherit;
    font-size: 13px;
    border-radius: 3px;
    background: #fff;
}

.tweaks input[type="color"] {
    padding: 0;
    height: 30px;
    cursor: pointer;
}

.tweaks-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink-3);
    font-size: 16px;
}

/* ------- Responsive ------- */
@media (max-width: 960px) {
    section {
        padding: 80px 0;
    }

    .hero {
        padding: 56px 0 80px;
    }

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

    .hero-phone-stage {
        min-height: 520px;
    }

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

    .built-phones {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 340px;
    }

    .built-phones .p-left,
    .built-phones .p-right {
        justify-self: center;
        margin-top: 0;
        width: 300px;
    }

    .feature {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 64px 0;
    }

    .feature .f-num {
        padding-top: 0;
    }

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

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

@media (max-width: 560px) {
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .phone {
        width: 260px;
    }

    .built-phones .p-left,
    .built-phones .p-right {
        width: 260px;
    }

    .badge {
        min-width: 150px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}