@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Geist:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: dark;
    --accent: #e8651a;
    --accent-ink: #130d09;
    --bg: #0d0b09;
    --bg-soft: #171310;
    --surface: #211a16;
    --ink: #faf8f3;
    --muted: #c9c0b7;
    --quiet: #afa59b;
    --line: rgba(117, 100, 86, 0.42);
    --line-strong: rgba(154, 133, 115, 0.56);
    --shadow: 0 34px 110px rgba(0, 0, 0, 0.46);
    --max: 1180px;
    --radius: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Geist", system-ui, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

body::selection {
    background: rgba(232, 101, 26, 0.2);
}

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

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 40;
    transform: translateY(-140%);
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--ink);
    color: var(--bg);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 30;
    border-bottom: 1px solid rgba(117, 100, 86, 0.38);
    background: rgba(13, 11, 9, 0.78);
    color: #faf8f3;
    backdrop-filter: blur(18px);
}

.nav,
.section-inner,
.footer-inner {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.nav,
.footer-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.nav-links,
.actions,
.footer-links,
.store-actions {
    display: flex;
    align-items: center;
}

.brand {
    gap: 0;
    line-height: 0;
}

.brand-wordmark {
    width: auto;
    height: 22px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
    flex: 0 0 auto;
}

.nav-links {
    gap: 26px;
    font-size: 13px;
    font-weight: 720;
    color: rgba(255, 255, 255, 0.72);
}

.nav-links a:not(.nav-cta):hover,
.footer-links a:hover {
    color: currentColor;
    opacity: 1;
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 760;
    white-space: nowrap;
    transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, opacity 260ms ease;
}

.nav-cta {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid transparent;
    color: var(--accent-ink);
    background: var(--accent);
}

.nav-links a[aria-current="page"] {
    color: #ffffff;
    box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-cta:hover,
.button:hover {
    transform: translateY(-1px);
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #ffffff;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #0a0a0a;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
    filter: saturate(0.94) contrast(1.04) brightness(0.98);
    transform: scale(1.03);
    animation: cinematic-drift 18s ease-in-out infinite alternate;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    background:
        linear-gradient(180deg, rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.12) 46%, rgba(5, 5, 5, 0.68)),
        linear-gradient(90deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.28) 48%, rgba(5, 5, 5, 0.12) 100%);
}

.hero::after {
    inset: auto 0 0;
    height: 18svh;
    background: linear-gradient(180deg, rgba(13, 11, 9, 0), var(--bg));
}

.dashboard-hero::after {
    height: 110px;
    background: linear-gradient(180deg, rgba(13, 11, 9, 0), var(--bg));
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 168px 0 max(72px, 12svh);
}

.eyebrow,
.section-kicker {
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: rgba(255, 178, 122, 0.94);
}

h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    letter-spacing: 0;
}

h1 {
    max-width: 840px;
    margin-bottom: 24px;
    font-size: clamp(72px, 10vw, 150px);
    line-height: 0.88;
}

.hero-lead {
    max-width: 660px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.35;
}

.actions,
.store-actions {
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    min-height: 54px;
    min-width: 190px;
    padding: 0 24px;
    border: 1px solid transparent;
    font-size: 14px;
}

.button.primary {
    background: var(--accent);
    color: var(--accent-ink);
}

.button.secondary {
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.home-dashboard {
    width: min(1500px, calc(100% - 24px));
    margin: 16px auto 0;
    overflow: hidden;
    border: 1px solid rgba(126, 108, 93, 0.42);
    border-radius: 18px;
    background:
        radial-gradient(circle at 14% 0%, rgba(232, 101, 26, 0.14), transparent 32%),
        linear-gradient(180deg, rgba(21, 17, 14, 0.98), rgba(10, 8, 6, 0.99)),
        #0b0806;
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.46);
}

.home-landing .hero {
    min-height: min(920px, 100svh);
    align-items: center;
}

.landing-hero::after {
    height: 140px;
}

.hero-shell {
    position: relative;
    z-index: 2;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(112px, 14vw, 148px) 0 clamp(72px, 10vw, 96px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: clamp(28px, 6vw, 80px);
    align-items: end;
}

.landing-hero .hero-copy {
    width: auto;
    margin: 0;
    padding: 0;
}

.landing-hero h1 {
    max-width: 620px;
    margin-bottom: 20px;
    font-size: clamp(48px, 5.4vw, 82px);
    line-height: 1.02;
}

.landing-hero h1 span {
    color: var(--accent);
}

.landing-hero .hero-lead {
    max-width: 460px;
    margin-bottom: 28px;
    font-size: clamp(16px, 1.5vw, 19px);
}

.landing-hero .button {
    min-height: 46px;
    min-width: 154px;
}

.landing-hero .button.primary {
    color: #ffffff;
    background: linear-gradient(135deg, #ff7a1a, #f04b14);
}

.landing-hero .button.secondary {
    gap: 8px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.value-section {
    padding: clamp(48px, 6vw, 72px) 0 clamp(28px, 3vw, 40px);
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.value-item {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.value-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.value-item h3 {
    margin: 0;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.15;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
}

.value-item p {
    margin: 0;
    color: var(--quiet);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
}

.value-footnote {
    margin: clamp(20px, 3vw, 28px) 0 0;
    color: var(--quiet);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.value-footnote a {
    color: var(--accent);
    font-weight: 760;
}

.section-heading {
    max-width: 640px;
    margin: 0 0 clamp(24px, 3vw, 32px);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 500;
    line-height: 1.08;
    color: var(--ink);
}

.flow-section,
.contrast-section {
    padding: clamp(36px, 5vw, 56px) 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.flow-section .section-kicker {
    margin-bottom: 10px;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 20px);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: flow;
}

.flow-step-card {
    position: relative;
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 18px 16px;
    border: 1px solid rgba(126, 108, 93, 0.32);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
}

.flow-step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -11px;
    width: 10px;
    height: 1px;
    background: rgba(154, 133, 115, 0.45);
    transform: translateY(-50%);
    pointer-events: none;
}

.flow-index {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(232, 101, 26, 0.14);
    color: var(--accent);
    font-size: 11px;
    font-weight: 820;
}

.flow-step-card h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 760;
    line-height: 1.25;
}

.flow-step-card p {
    margin: 0;
    color: var(--quiet);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.contrast-section {
    padding-bottom: clamp(28px, 3vw, 40px);
}

.contrast-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(10px, 1.5vw, 14px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.contrast-grid li {
    display: grid;
    place-items: center;
    min-height: 72px;
    padding: 14px 12px;
    border: 1px solid rgba(126, 108, 93, 0.28);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.contrast-positive {
    border-color: rgba(232, 101, 26, 0.34);
    background: rgba(232, 101, 26, 0.08);
    color: var(--ink);
}

.closing-cta {
    padding: clamp(36px, 4.5vw, 52px) 0 clamp(44px, 5vw, 56px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
        var(--bg-soft);
    border-top: 1px solid var(--line);
    text-align: center;
}

.closing-inner {
    display: grid;
    justify-items: center;
    gap: 0;
    max-width: 560px;
}

.closing-cta .section-kicker {
    margin-bottom: 10px;
}

.closing-cta h2 {
    max-width: none;
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 500;
    line-height: 1.04;
    color: var(--ink);
}

.closing-lead {
    max-width: 420px;
    margin: 0 0 22px;
    color: var(--quiet);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.closing-button {
    min-width: 200px;
    min-height: 48px;
    padding: 0 28px;
    font-size: 14px;
}

.card-eyebrow {
    margin: 0;
    color: rgba(255, 178, 122, 0.94);
    font-size: 12px;
    font-weight: 820;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.session-meta-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.session-meta-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}

.meta-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: rgba(255, 178, 122, 0.88);
}

.avatar-stack span:nth-child(5),
.mini-roster span:nth-child(5) {
    background-position: 80% 42%;
}

.product-preview-section {
    padding: clamp(48px, 7vw, 72px) 0 clamp(24px, 4vw, 40px);
}

.product-preview-section .section-kicker {
    margin-bottom: 10px;
}

.product-preview-heading {
    max-width: 640px;
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.05;
}

.product-preview-lead {
    max-width: 560px;
    margin: 0 0 24px;
    color: var(--quiet);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
}

.product-preview-shell {
    margin-top: 8px;
}

.dashboard-hero {
    min-height: 460px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    align-items: center;
    gap: clamp(28px, 6vw, 96px);
    padding: 96px clamp(28px, 5vw, 82px) 38px;
}

.dashboard-hero .hero-copy {
    width: auto;
    margin: 0;
    padding: 0;
}

.dashboard-hero h1 {
    max-width: 600px;
    margin-bottom: 24px;
    font-size: clamp(48px, 5vw, 80px);
    line-height: 1.02;
}

.dashboard-hero h1 span {
    color: #ff6a1a;
}

.dashboard-hero .hero-lead {
    max-width: 420px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 1.4vw, 19px);
}

.dashboard-hero .button {
    min-height: 46px;
    min-width: 154px;
}

.dashboard-hero .button.primary {
    color: #ffffff;
    background: linear-gradient(135deg, #ff7a1a, #f04b14);
}

.session-status {
    margin: 0;
    width: fit-content;
    color: var(--accent);
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.02em;
}

.player-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.player-proof p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 700;
}

.avatar-stack,
.mini-roster {
    display: flex;
    align-items: center;
}

.avatar-stack span,
.mini-roster span,
.mini-roster strong {
    width: 28px;
    height: 28px;
    margin-left: -8px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
        url("opuntea-hero-v2.png") center / cover;
}

.avatar-stack span:first-child,
.mini-roster span:first-child {
    margin-left: 0;
}

.avatar-stack span:nth-child(2),
.mini-roster span:nth-child(2) {
    background-position: 40% 56%;
}

.avatar-stack span:nth-child(3),
.mini-roster span:nth-child(3) {
    background-position: 62% 48%;
}

.avatar-stack span:nth-child(4),
.mini-roster span:nth-child(4) {
    background-position: 72% 54%;
}

.next-session-card {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 14px;
    align-self: end;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 26px;
    background: rgba(9, 9, 9, 0.72);
    color: #ffffff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(20px);
}

.next-session-card p,
.next-session-card h2 {
    margin: 0;
}

.next-session-card h2 {
    font-family: "Geist", system-ui, sans-serif;
    font-size: 22px;
    line-height: 1.1;
}

.next-session-card ul,
.community-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.next-session-card li {
    margin-top: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 650;
}

.mini-roster strong {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 11px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1fr) minmax(260px, 0.8fr);
    gap: 16px;
    padding: 18px clamp(28px, 5vw, 82px) 24px;
    color: #f8f4ef;
}

.dashboard-card {
    border: 1px solid rgba(126, 108, 93, 0.46);
    border-radius: var(--radius-sm);
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        rgba(20, 15, 12, 0.86);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 54px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.card-head a {
    flex: 0 0 auto;
}

.dashboard-card h2,
.dashboard-card h3,
.dashboard-card p {
    margin: 0;
}

.dashboard-card h2 {
    font-family: "Geist", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.2;
}

.card-head h2 {
    margin: 0;
}

.card-head a,
.dashboard-card > a {
    color: var(--accent);
    font-size: 12px;
    font-weight: 760;
}

.card-kicker {
    margin: -6px 0 16px;
    color: rgba(211, 201, 191, 0.72);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.session-thumb {
    width: 88px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(126, 108, 93, 0.46);
    border-radius: var(--radius-sm);
    background:
        radial-gradient(circle at 30% 20%, rgba(232, 101, 26, 0.22), transparent 55%),
        linear-gradient(180deg, rgba(33, 26, 22, 0.96), rgba(23, 19, 16, 0.98));
    color: rgba(255, 178, 122, 0.94);
    font-size: 10px;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.session-list-card,
.discover-card,
.community-card {
    min-height: 322px;
}

.discover-subtitle {
    margin: -4px 0 16px;
    color: rgba(211, 201, 191, 0.72);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.discover-sections {
    display: grid;
    gap: 12px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.discover-sections li {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(126, 108, 93, 0.28);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.025);
}

.discover-sections strong {
    font-size: 13px;
    font-weight: 760;
}

.discover-sections span {
    color: rgba(211, 201, 191, 0.72);
    font-size: 12px;
    font-weight: 650;
}

.session-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid rgba(126, 108, 93, 0.22);
    padding: 12px 0;
}

.session-row img,
.session-row .session-thumb {
    width: 88px;
    height: 56px;
    border-radius: var(--radius-sm);
}

.session-row img {
    object-fit: cover;
}

.session-row p {
    margin-bottom: 2px;
    color: #f05b16;
    font-size: 11px;
    font-weight: 820;
    text-transform: uppercase;
}

.session-row h3 {
    margin-bottom: 1px;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.session-row span,
.session-row small {
    display: block;
    color: rgba(211, 201, 191, 0.72);
    font-size: 11px;
    font-weight: 650;
}

.session-row strong {
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(67, 214, 144, 0.13);
    color: #5ee0a0;
    font-size: 10px;
}

.session-row .muted-chip {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(211, 201, 191, 0.78);
}

.filter-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
    display: none;
}

.filter-row span {
    flex: 0 0 auto;
    border: 1px solid rgba(126, 108, 93, 0.34);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
}

.filter-row span:first-child {
    color: #f05b16;
    background: rgba(232, 101, 26, 0.12);
}

.community-list {
    display: grid;
    gap: 14px;
}

.community-list li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.community-list li > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #151515;
    color: #ff6a1a;
    font-size: 11px;
    font-weight: 820;
}

.community-list strong,
.community-list small {
    display: block;
}

.community-list strong {
    font-size: 14px;
}

.community-list small {
    color: rgba(211, 201, 191, 0.72);
    font-size: 12px;
}

.why-card {
    grid-column: span 2;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.why-grid div {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.why-grid strong {
    font-size: 13px;
    line-height: 1.25;
}

.why-grid span {
    color: rgba(211, 201, 191, 0.72);
    font-size: 12px;
    line-height: 1.4;
}

.trust-metrics-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.trust-metrics-card h2 {
    font-size: 16px;
    line-height: 1.3;
}

.trust-lead {
    margin: 0;
    color: rgba(211, 201, 191, 0.82);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
}

.trust-tagline {
    margin-top: auto;
    padding-top: 16px;
    color: rgba(211, 201, 191, 0.72);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.45;
}

/* Editorial headings — scoped so dashboard card titles stay compact */
.download-section h2,
.marketing-subpage h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    letter-spacing: 0;
}

.dashboard-card h2 {
    font-family: "Geist", system-ui, sans-serif;
    font-size: 17px;
    font-weight: 760;
    line-height: 1.25;
    letter-spacing: 0;
}

.download-section {
    padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 8vw, 88px);
    background: var(--bg);
    color: var(--ink);
    border-top: 1px solid var(--line);
}

.download-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(24px, 5vw, 56px);
    flex-wrap: wrap;
}

.download-copy {
    flex: 1 1 360px;
    max-width: 620px;
}

.download-section h2 {
    max-width: none;
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(36px, 4.6vw, 58px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: 0;
    color: var(--ink);
}

.download-inner .section-kicker {
    margin-bottom: 12px;
}

.download-inner .store-actions {
    flex: 0 0 auto;
    align-self: flex-end;
    justify-content: flex-end;
}

.download-inner .button.secondary {
    border: 1px solid rgba(117, 100, 86, 0.56);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
}

.access-note {
    margin: 0;
    color: var(--quiet);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 0 0 calc(env(safe-area-inset-bottom));
}

.footer-inner {
    min-height: 72px;
    color: var(--muted);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.footer-brand .brand-wordmark {
    height: 20px;
    opacity: 0.96;
}

.footer-links {
    justify-content: center;
}

.footer-inner > p {
    margin: 0;
    justify-self: end;
    white-space: nowrap;
}

.footer-links {
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 720;
}

.footer-inner p {
    margin: 0;
    font-size: 13px;
}

.reveal {
    animation: reveal-up 900ms ease both;
}

@keyframes cinematic-drift {
    from {
        transform: scale(1.03) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
    }
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}

@media (max-width: 980px) {

    .hero-shell {
        grid-template-columns: 1fr;
    }

    .next-session-card {
        max-width: 380px;
    }

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

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

    .flow-step-card:nth-child(2)::after,
    .flow-step-card:nth-child(4)::after {
        display: none;
    }

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

    .contrast-positive {
        grid-column: 1 / -1;
    }

    .download-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-inner .store-actions {
        align-self: stretch;
        width: 100%;
    }

    .dashboard-hero,
    .dashboard-grid,
    .why-card {
        grid-template-columns: 1fr;
    }

    .next-session-card {
        align-self: stretch;
        max-width: 360px;
    }

    .why-card {
        grid-column: auto;
    }

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

@media (max-width: 760px) {

    .nav,
    .section-inner,
    .footer-inner,
    .hero-copy,
    .hero-shell {
        width: min(var(--max), calc(100% - 24px));
    }

    .nav {
        min-height: 62px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .nav-cta {
        min-height: 38px;
        padding: 0 14px;
    }

    .hero {
        min-height: 92svh;
    }

    .home-dashboard {
        width: 100%;
        margin-top: 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .hero-shell {
        padding-top: 104px;
        padding-bottom: 48px;
    }

    .landing-hero h1 {
        font-size: clamp(40px, 11vw, 54px);
    }

    .next-session-card {
        display: none;
    }

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

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

    .flow-step-card::after {
        display: none;
    }

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

    .contrast-positive {
        grid-column: auto;
    }

    .dashboard-hero {
        min-height: 620px;
        padding: 108px 18px 26px;
    }

    .dashboard-hero h1 {
        font-size: clamp(42px, 12vw, 58px);
        line-height: 1.04;
    }

    .dashboard-hero .hero-lead {
        font-size: 15px;
    }

    .player-proof {
        align-items: flex-start;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        padding: 14px 14px 20px;
    }

    .dashboard-card {
        border-radius: 10px;
        padding: 16px;
    }

    .session-row {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .session-row img {
        width: 76px;
        height: 52px;
    }

    .session-row strong {
        grid-column: 2;
        width: fit-content;
    }

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

    .hero-media img {
        object-position: 62% center;
    }

    .hero-copy {
        padding: 132px 0 72px;
    }

    h1 {
        font-size: clamp(56px, 18vw, 86px);
    }

    .download-section h2 {
        font-size: clamp(32px, 10vw, 48px);
    }

    .hero-lead {
        font-size: 17px;
    }

    .actions,
    .button,
    .store-actions,
    .download-inner .button {
        width: 100%;
    }

    .button,
    .download-inner .button {
        min-width: 0;
    }

    .footer-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 16px;
        padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-inner > p {
        justify-self: start;
    }
}

@media (max-width: 380px) {
    .brand-wordmark {
        height: 20px;
    }

    .hero-copy {
        padding-top: 112px;
    }
}

/* Secondary pages — shared editorial shell */
.marketing-subpage {
    min-height: 100svh;
    background: var(--bg);
    color: var(--ink);
}

.marketing-subpage::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: url("opuntea-hero-v2.png") center / cover no-repeat;
    filter: saturate(0.82) brightness(0.42);
}

.marketing-subpage::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(13, 11, 9, 0.96), rgba(13, 11, 9, 0.82)),
        linear-gradient(180deg, rgba(13, 11, 9, 0.28), rgba(13, 11, 9, 0.96));
}

.marketing-subpage .site-header,
.marketing-subpage .site-footer {
    position: relative;
    border-color: var(--line);
    background: rgba(13, 11, 9, 0.84);
    backdrop-filter: blur(18px);
}

.marketing-subpage .site-header {
    border-bottom: 1px solid var(--line);
}

.marketing-subpage .site-footer {
    border-top: 1px solid var(--line);
}

.marketing-subpage main {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(56px, 9vw, 104px) 0;
}

.marketing-subpage h1 {
    margin: 0 0 16px;
    font-size: clamp(44px, 7vw, 72px);
    line-height: 0.98;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
}

.marketing-subpage .content-panel {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(33, 26, 22, 0.72);
}
