:root {
    --bg: #050807;
    --bg-deep: #020403;
    --surface: rgba(245, 240, 226, 0.045);
    --surface-strong: rgba(245, 240, 226, 0.08);
    --line: rgba(245, 240, 226, 0.15);
    --line-soft: rgba(245, 240, 226, 0.08);
    --text: #f5f0e2;
    --muted: rgba(245, 240, 226, 0.7);
    --soft: rgba(245, 240, 226, 0.48);
    --accent: #62b7ff;
    --accent-strong: #9ad1ff;
    --accent-two: #ff9850;
    --ink: #081016;
    --max: 1240px;
    --display: "Anta", "Arial Black", sans-serif;
    --wordmark: "Zen Tokyo Zoo", cursive;
    --wordmark-blue-glow: rgba(51, 142, 247, 0.55);
    --wordmark-purple-glow: rgba(178, 102, 255, 0.58);
    --eyebrow: "Offside", "Trebuchet MS", sans-serif;
    --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --support: "Sora", "Aptos", "Segoe UI", sans-serif;
    --radius: 8px;
}

.theme-rhr {
    --bg: #07060d;
    --bg-deep: #020204;
    --surface: rgba(244, 236, 255, 0.05);
    --surface-strong: rgba(244, 236, 255, 0.085);
    --line: rgba(244, 236, 255, 0.16);
    --line-soft: rgba(244, 236, 255, 0.08);
    --text: #f8f0ff;
    --muted: rgba(248, 240, 255, 0.72);
    --soft: rgba(248, 240, 255, 0.5);
    --accent: #bd84ff;
    --accent-strong: #dfc2ff;
    --accent-two: #ff6f70;
    --ink: #100a18;
}

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

html {
    min-height: 100%;
    font-size: 18px;
    background: var(--bg-deep);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    color: var(--text);
    background:
        linear-gradient(110deg, rgba(255, 152, 80, 0.06) 0%, transparent 22%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 34%, #0b1110 68%, var(--bg-deep) 100%);
    font-family: var(--body);
    line-height: 1.72;
    overflow-x: clip;
}

.theme-rhr {
    background:
        linear-gradient(110deg, rgba(255, 111, 112, 0.06) 0%, transparent 22%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 34%, #0d1014 68%, var(--bg-deep) 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background:
        repeating-linear-gradient(90deg, transparent 0, transparent 119px, rgba(245, 240, 226, 0.035) 120px),
        repeating-linear-gradient(180deg, transparent 0, transparent 79px, rgba(245, 240, 226, 0.02) 80px);
    opacity: 0.48;
}

body::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.025)),
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025), transparent);
    mix-blend-mode: screen;
    opacity: 0.28;
}

body.home-page {
    background:
        linear-gradient(110deg, rgba(98, 183, 255, 0.07) 0%, transparent 28%),
        linear-gradient(250deg, rgba(255, 152, 80, 0.06) 0%, transparent 30%),
        linear-gradient(180deg, #020403 0%, #08100e 44%, #07080d 100%);
}

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

p,
figure {
    margin: 0;
}

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

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.96;
    text-transform: uppercase;
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 2.25rem), var(--max));
    margin: 0 auto;
}

.site-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0 0;
    color: var(--soft);
    font-family: var(--eyebrow);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-topline nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-topline a {
    position: relative;
}

.site-topline a::after,
.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.18rem;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
}

.site-topline a:hover::after,
.site-topline a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
    transform: scaleX(1);
}

section {
    padding: 4.2rem 0;
    border-top: 1px solid var(--line);
}

.hero {
    padding: 3.1rem 0 3rem;
    border-top: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(20rem, 0.82fr);
    gap: 2.4rem;
    align-items: start;
    min-height: 72svh;
}

.home-hero .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(20rem, 0.96fr);
}

.hero-copy {
    min-width: 0;
}

.eyebrow,
.stat-label,
.metric-label,
.section-kicker,
.device-caption,
.comparison-label,
.footer-label {
    font-family: var(--eyebrow);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.86rem;
    margin-bottom: 0.85rem;
}

.hero h1 {
    max-width: 7ch;
    font-size: 6.8rem;
}

.home-hero h1 {
    max-width: 8ch;
    font-size: 6.3rem;
}

.wordmark-title {
    color: var(--text);
    font-family: var(--wordmark);
    letter-spacing: 0.02em;
    text-shadow: none;
    text-transform: lowercase;
}

.wordmark-hrv {
    text-shadow: 0 0 0.16em var(--wordmark-blue-glow);
}

.wordmark-rhr {
    text-shadow: 0 0 0.16em var(--wordmark-purple-glow);
}

.product-hero .wordmark-title {
    max-width: 8.8ch;
    font-size: 9.25rem;
    line-height: 0.76;
}

.lede {
    margin-top: 1.35rem;
    max-width: 35rem;
    color: var(--text);
    font-family: var(--support);
    font-size: 1.35rem;
    line-height: 1.55;
}

.hero-note {
    margin-top: 1rem;
    max-width: 36rem;
    color: var(--muted);
    font-family: var(--support);
    font-size: 1rem;
    line-height: 1.65;
}

.hero-actions,
.inline-actions,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.hero-actions {
    margin-top: 1.8rem;
}

.inline-actions {
    margin-top: 1rem;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.95rem;
    padding: 0.68rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: var(--eyebrow);
    font-size: 0.82rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

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

.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
    transform: translateY(-1px);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--accent-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: var(--surface-strong);
    border-color: rgba(245, 240, 226, 0.28);
}

.app-store-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.app-store-link:hover,
.app-store-link:focus-visible {
    opacity: 0.88;
    transform: translateY(-1px);
}

.app-store-badge {
    width: 10.8rem;
    height: auto;
}

.hero-rail {
    position: relative;
    display: grid;
    gap: 1rem;
    align-self: stretch;
}

.hero-rail::before {
    content: attr(data-rail);
    position: absolute;
    right: calc(100% + 0.8rem);
    top: 1.6rem;
    z-index: -1;
    color: transparent;
    font-family: var(--display);
    font-size: 9rem;
    line-height: 0.85;
    -webkit-text-stroke: 1px rgba(98, 183, 255, 0.35);
    pointer-events: none;
}

.theme-rhr .hero-rail::before {
    -webkit-text-stroke-color: rgba(189, 132, 255, 0.36);
}

.device-feature {
    position: relative;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.device-feature img {
    width: 100%;
    max-height: 38rem;
    object-fit: contain;
    object-position: top center;
    filter: drop-shadow(0 1.4rem 2.8rem rgba(0, 0, 0, 0.44));
}

.device-caption {
    margin-top: 0.6rem;
    color: var(--soft);
    font-size: 0.76rem;
}

.rail-lines {
    display: grid;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
}

.rail-line {
    display: grid;
    grid-template-columns: 7.2rem minmax(0, 1fr);
    gap: 1rem;
}

.rail-term {
    color: var(--soft);
    font-family: var(--eyebrow);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rail-detail {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.45;
}

.stat-band {
    margin-top: 1.8rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat-band-label {
    padding-top: 0.9rem;
    color: var(--accent);
    font-family: var(--eyebrow);
    font-size: 0.78rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-item {
    min-width: 0;
    padding: 1.15rem 1.25rem 1.3rem 0;
}

.stat-item + .stat-item {
    border-left: 1px solid var(--line);
    padding-left: 1.45rem;
}

.stat-value {
    display: block;
    color: var(--text);
    font-family: var(--support);
    font-size: 2.65rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums lining-nums;
    line-height: 0.95;
}

.stat-label {
    display: block;
    margin-top: 0.48rem;
    color: var(--soft);
    font-size: 0.74rem;
}

.stat-detail {
    display: block;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.28fr);
    gap: 4.2rem;
    align-items: start;
}

.section-heading h2 {
    max-width: 12ch;
    font-size: 3.3rem;
}

.section-body {
    display: grid;
    gap: 1rem;
    max-width: 43rem;
    color: var(--muted);
    font-size: 1.02rem;
}

.section-body strong {
    color: var(--text);
}

.signal-proof {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: stretch;
    margin-top: 1.4rem;
}

.signal-panel {
    min-height: 19rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--line);
}

.signal-panel img {
    width: 100%;
    height: 100%;
    max-height: 24rem;
    object-fit: contain;
    object-position: top center;
}

.metric-stack {
    display: grid;
    align-content: start;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.metric-line {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line-soft);
}

.metric-label {
    color: var(--soft);
    font-size: 0.74rem;
}

.metric-copy {
    color: var(--muted);
    line-height: 1.55;
}

.data-strips {
    display: grid;
    gap: 1.15rem;
}

.data-strip,
.persona-strip,
.comparison-row,
.product-lane {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.data-strip {
    display: grid;
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 1.2rem;
}

.strip-code {
    color: transparent;
    font-family: var(--display);
    font-size: 3rem;
    line-height: 0.9;
    -webkit-text-stroke: 1px var(--accent);
}

.strip-copy h3,
.persona-strip h3,
.product-copy h3 {
    margin-bottom: 0.45rem;
    color: var(--text);
    font-size: 1.55rem;
}

.strip-copy p,
.persona-strip p,
.product-copy p,
.comparison-row p {
    color: var(--muted);
}

.quote-band {
    margin-top: 1.2rem;
    padding: 1.1rem 0 0;
    border-top: 1px solid var(--line);
}

.quote-band p {
    max-width: 50rem;
    color: var(--text);
    font-family: var(--support);
    font-size: 1.18rem;
    line-height: 1.55;
}

.quote-band .attribution {
    margin-top: 0.7rem;
    color: var(--soft);
    font-family: var(--eyebrow);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.attribution {
    color: var(--soft);
    font-family: var(--eyebrow);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.persona-grid,
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 1.6rem;
}

.persona-strip {
    min-height: 9rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 0.95rem;
}

.comparison-label {
    display: block;
    margin-bottom: 0.28rem;
    color: var(--soft);
    font-size: 0.72rem;
}

.comparison-row strong {
    color: var(--text);
    font-weight: 600;
}

.closing-cta {
    padding-bottom: 3rem;
}

.cta-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.78fr);
    gap: 2rem;
    align-items: center;
}

.cta-copy h2 {
    max-width: 12ch;
    font-size: 3.6rem;
}

.cta-copy p {
    margin-top: 1rem;
    max-width: 36rem;
    color: var(--muted);
}

.cta-media {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.cta-media iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius);
    background: #000;
}

.cta-media img {
    width: 100%;
    max-height: 28rem;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 1.3rem 2.4rem rgba(0, 0, 0, 0.42));
}

.product-hunt-badge {
    width: 15rem;
    height: auto;
}

.site-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 0 2.4rem;
    border-top: 1px solid var(--line);
    color: var(--soft);
}

.footer-title {
    color: var(--text);
    font-family: var(--eyebrow);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-note,
.footer-links {
    margin-top: 0.35rem;
    font-size: 0.86rem;
}

.footer-links a {
    position: relative;
    color: var(--muted);
}

.text-link {
    position: relative;
    color: var(--accent-strong);
}

.home-signal {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: end;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.home-signal img {
    width: 100%;
    max-height: 35rem;
    object-fit: contain;
    filter: drop-shadow(0 1.4rem 2.5rem rgba(0, 0, 0, 0.42));
}

.home-signal .watch-shot {
    align-self: start;
    max-width: 15rem;
}

.home-signal picture:last-child {
    justify-self: center;
}

.home-products {
    display: grid;
    gap: 2rem;
}

.product-lane {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.product-art {
    display: grid;
    grid-template-columns: minmax(0, 0.54fr) minmax(0, 0.46fr);
    gap: 1rem;
    align-items: center;
}

.product-art img {
    width: 100%;
    max-height: 24rem;
    object-fit: contain;
    filter: drop-shadow(0 1rem 2rem rgba(0, 0, 0, 0.35));
}

.product-art picture:first-child img {
    max-height: 21rem;
}

.product-copy .section-kicker {
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-size: 0.76rem;
}

.product-copy h3 {
    font-size: 2.4rem;
}

.product-copy .wordmark-title {
    font-size: 3rem;
    line-height: 0.9;
}

.product-copy p {
    margin-top: 0.7rem;
}

.home-about {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
}

.home-about h2 {
    max-width: 12ch;
    font-size: 3.5rem;
}

.home-about p {
    color: var(--muted);
}

.home-about p + p {
    margin-top: 1rem;
}

.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(1.1rem);
}

.reveal-ready [data-reveal="fade"] {
    transform: none;
}

.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button-primary,
    .button-secondary,
    .app-store-link,
    .reveal-ready [data-reveal].is-visible {
        transition: none;
    }
}

@media (max-width: 1020px) {
    .hero h1,
    .home-hero h1 {
        font-size: 5rem;
    }

    .product-hero .wordmark-title {
        font-size: 7rem;
    }

    .hero-grid,
    .home-hero .hero-grid,
    .section-grid,
    .cta-layout,
    .home-about {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-rail::before {
        right: 0;
        top: -3.5rem;
        font-size: 6rem;
        opacity: 0.55;
    }

    .device-feature img {
        max-height: 34rem;
    }

    .section-heading h2,
    .cta-copy h2,
    .home-about h2 {
        max-width: 15ch;
        font-size: 2.85rem;
    }

    .signal-proof,
    .product-lane {
        grid-template-columns: 1fr;
    }

    .product-art {
        max-width: 34rem;
    }
}

@media (max-width: 720px) {
    html {
        font-size: 16px;
    }

    .page-shell {
        width: min(calc(100% - 1.25rem), var(--max));
    }

    .site-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-topline nav {
        justify-content: flex-start;
        gap: 0.72rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        padding-top: 2.2rem;
    }

    .hero h1,
    .home-hero h1 {
        font-size: 3.65rem;
    }

    .product-hero .wordmark-title {
        font-size: 5.15rem;
    }

    .lede {
        font-size: 1.13rem;
    }

    .hero-actions,
    .inline-actions,
    .footer-links {
        align-items: flex-start;
        flex-direction: column;
    }

    .stat-grid,
    .persona-grid,
    .comparison-grid,
    .home-signal {
        grid-template-columns: 1fr;
    }

    .stat-item,
    .stat-item + .stat-item {
        border-left: 0;
        border-top: 1px solid var(--line-soft);
        padding: 1rem 0;
    }

    .stat-item:first-child {
        border-top: 0;
    }

    .rail-line,
    .metric-line,
    .data-strip,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .section-heading h2,
    .cta-copy h2,
    .home-about h2 {
        font-size: 2.35rem;
    }

    .signal-panel {
        min-height: 0;
    }

    .product-art {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-art img + img {
        max-width: 13rem;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .hero h1,
    .home-hero h1 {
        font-size: 3rem;
    }

    .product-hero .wordmark-title {
        font-size: 4.1rem;
    }

    .section-heading h2,
    .cta-copy h2,
    .home-about h2,
    .product-copy h3 {
        font-size: 2rem;
    }

    .product-copy .wordmark-title {
        font-size: 2.55rem;
    }

    .stat-value {
        font-size: 2.25rem;
    }
}
