:root {
    color-scheme: dark;
    /* Fibonacci spacing scale. Every gap, padding and margin on the site
       uses one of these; add new spacing from this list, not raw pixels.
       Sections sit 89px apart, related panels 55px; the one divider line
       (before Get Pro) gets 89px on each side. Phones step one Fibonacci
       number down (55 / 34). */
    --space-2: 2px;
    --space-3: 3px;
    --space-5: 5px;
    --space-8: 8px;
    --space-13: 13px;
    --space-21: 21px;
    --space-34: 34px;
    --space-55: 55px;
    --space-89: 89px;
    --space-144: 144px;
    --space-section: var(--space-89);
    --space-related: var(--space-55);
    --section-divider: 1px solid rgba(255, 255, 255, 0.08);
    --bg: #0b0b0c;
    --bg-soft: #121214;
    --surface: #18181b;
    --surface-strong: #27272a;
    --browser-transition-bg: #2b2b2b;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --soft: #71717a;
    --green: #3ecf8e;
    --blue: #3b82f6;
    --cyan: #0ea5e9;
    --amber: #f59e0b;
    --red: #ef4444;
    --max: 1240px;
    --radius: 8px;
    --shadow: 0 34px 110px rgba(0, 0, 0, 0.48);
    --brand-logo-height: 40px;
    --brand-gap: 8px;
    --brand-title-size: 1.12rem;
    --brand-subtitle-size: 0.62rem;
    --brand-subtitle-gap: 2px;
    --download-brand-logo-height: 55px;
    --download-brand-gap: 11px;
    --download-brand-title-size: 1.54rem;
    --download-brand-subtitle-size: 0.85rem;
    --download-brand-subtitle-gap: 3px;
}

@font-face {
    font-family: "Sora";
    src: url("/_assets/assets/fonts/sora/Sora-wght.84ff7096ae3e.ttf") format("truetype");
    font-display: block;
    font-weight: 100 900;
}

@font-face {
    font-family: "Inter";
    src: url("/_assets/assets/fonts/inter/Inter-opsz-wght.29160a80ff49.ttf") format("truetype");
    font-display: block;
    font-weight: 300 900;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

html.external-entry {
    background: var(--browser-transition-bg);
}

html.fonts-loading body {
    opacity: 0;
}

html.internal-entry body {
    opacity: 1;
    transition: none;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    opacity: 1;
    transition: opacity 260ms ease;
}

.account-body {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 72px;
    margin: 0 auto;
    padding: 0 max(var(--space-21), calc((100% - var(--max)) / 2));
    border-bottom: 1px solid var(--line);
    background: rgba(11, 11, 12, 0.86);
    backdrop-filter: blur(16px);
}

.site-header,
#swup > :not(.download-modal),
.site-footer {
    filter: blur(0);
    transition: filter 180ms ease;
}

body.download-modal-open .site-header,
body.download-modal-open #swup > :not(.download-modal),
body.download-modal-open .site-footer {
    filter: blur(7px);
}

.brand,
.site-nav,
.nav-action,
.button {
    display: inline-flex;
    align-items: center;
}

.brand {
    gap: var(--brand-gap);
    min-width: 0;
    color: #fff;
    font-family: "Sora", system-ui, sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.18;
    min-height: 72px;
}

.brand img {
    width: auto;
    height: var(--brand-logo-height);
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.brand-title,
.brand-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-title {
    font-family: "Sora", system-ui, sans-serif;
    font-size: var(--brand-title-size);
    font-weight: 600;
    letter-spacing: -0.026em;
    line-height: 1.18;
}

.brand-subtitle {
    margin-top: var(--brand-subtitle-gap);
    color: #a1a1aa;
    font-size: var(--brand-subtitle-size);
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    opacity: 0.72;
    text-transform: uppercase;
}

.site-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: var(--space-34);
    height: 72px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.site-nav a,
.nav-action,
.button {
    justify-content: center;
    align-items: center;
    min-height: 34px;
    border-radius: 6px;
    padding: 0;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 560;
    white-space: nowrap;
}

.site-nav a {
    display: inline-flex;
    height: 72px;
    align-items: center;
    line-height: 1;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav a[aria-current="page"] {
    color: var(--text);
    background: transparent;
}

.nav-action {
    margin-left: auto;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    padding: 0 var(--space-13);
    background: #171718;
    color: var(--text);
}

.site-header > .nav-action {
    align-self: center;
}

.nav-download-action {
    gap: var(--space-8);
    font-size: 0.96rem;
    font-weight: 760;
}

.site-header > .nav-download-action {
    border-color: transparent;
}

.nav-download-action svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    fill: currentColor;
}

.hero-experience {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero-room-scene {
    position: absolute;
    inset: 18px 0 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 90%, transparent 100%);
}

.hero-room-scene.is-ready {
    opacity: 1;
}

.hero-room-scene canvas {
    display: block;
    width: 100%;
    height: 100%;
    image-rendering: auto;
}

.hero-section {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 0;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: var(--space-144) 0 var(--space-89);
    text-align: center;
}

.hero-copy,
.product-preview,
.section-kicker,
.showcase-copy {
    min-width: 0;
}

.eyebrow {
    margin: var(--space-13) 0 var(--space-13);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 780;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    letter-spacing: 0;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.04;
}

h1 {
    max-width: 1040px;
    margin: 0 auto;
    font-size: clamp(3.35rem, 6.4vw, 6.5rem);
    font-weight: 720;
    text-wrap: balance;
}

#hero-title {
    text-wrap: nowrap;
}

#hero-title span {
    display: block;
    white-space: nowrap;
}

#hero-title .hero-sound-word,
#hero-title .hero-game-prefix,
#hero-title .hero-game-word {
    display: inline;
}

.hero-sound-word {
    color: #3b82f6;
}

.hero-game-prefix,
.hero-game-word {
    color: var(--green);
    position: relative;
}

.hero-sound-word,
.hero-game-prefix,
.hero-game-word {
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 800;
}

/* Section titles on the Fibonacci scale: 34px on phones up to 55px. */
h2 {
    max-width: 860px;
    font-size: clamp(34px, 4vw, 55px);
    font-weight: 680;
    text-wrap: balance;
}

h3 {
    font-size: 1.18rem;
}

.hero-lede,
.section-kicker p:not(.eyebrow),
.showcase-copy p,
.feature-card p,
.step-card p,
.price-card p,
.price-card li {
    color: var(--muted);
}

.hero-lede {
    max-width: 760px;
    margin: var(--space-34) auto 0;
    color: #d7d7d7;
    font-size: clamp(1.16rem, 1.55vw, 1.48rem);
    font-weight: 680;
    line-height: 1.28;
    white-space: nowrap;
}

.auto-word,
.reverb-word,
.gameplay-word {
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.auto-word {
    color: var(--green);
}

.reverb-word {
    color: #3b82f6;
}

.gameplay-word {
    color: var(--green);
}

.inline-reverb {
    color: #3b82f6;
}

.inline-gameplay {
    color: var(--green);
}

.pricing-section .inline-reverb,
.pricing-section .inline-gameplay {
    color: inherit;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-13);
    margin-top: var(--space-34);
}

.button {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 var(--space-13);
    cursor: pointer;
}

.button-primary {
    border-color: rgba(55, 217, 154, 0.72);
    background: #3ecf8e;
    color: #05100b;
    box-shadow: none;
}

.button-secondary {
    background: #171718;
    color: var(--text);
}

.button:hover,
.nav-action:hover {
    filter: brightness(1.07);
}

.product-preview {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: var(--space-section) 0 0;
}

.app-window,
.terminal,
.step-card,
.feature-card,
.price-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: none;
}

.app-window {
    margin: 0;
    overflow: hidden;
    background: #090909;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.terminal-top {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    height: 34px;
    padding: 0 var(--space-13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #111111;
}

.terminal-top span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--soft);
}

.app-window img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.local-points {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-21);
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 var(--space-34);
}

.local-point {
    display: grid;
    grid-template-columns: 42px minmax(0, 980px);
    align-content: start;
    gap: var(--space-13);
    min-height: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: var(--muted);
    background: transparent;
}

.local-point > span {
    width: auto;
    height: auto;
    margin-top: var(--space-5);
    border-radius: 0;
    background: transparent;
    color: #3b82f6;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
}

.local-point strong {
    display: block;
    color: var(--text);
    font-size: clamp(1.32rem, 1.9vw, 2rem);
    line-height: 1.2;
    white-space: nowrap;
}

.aside-note {
    color: var(--soft);
    font-size: 0.72em;
    font-weight: 720;
}

.local-point p {
    margin: var(--space-8) 0 0;
    color: var(--muted);
}

.local-point-primary {
    border-color: transparent;
    background: transparent;
}

.local-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-21);
    margin-top: var(--space-21);
    padding-top: 0;
}

.local-download-shell {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 var(--space-section);
}

@media (prefers-reduced-motion: reduce) {
    .hero-room-scene {
        display: none;
    }
}

.download-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--download-brand-gap);
    min-width: 0;
    color: var(--text);
    font-family: "Sora", system-ui, sans-serif;
}

.download-brand img {
    width: auto;
    height: var(--download-brand-logo-height);
    flex: 0 0 auto;
    object-fit: contain;
}

.download-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.download-brand-title,
.download-brand-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.download-brand-title {
    color: #fff;
    font-size: var(--download-brand-title-size);
    font-weight: 600;
    letter-spacing: -0.026em;
    line-height: 1.18;
}

.download-brand-subtitle {
    margin-top: var(--download-brand-subtitle-gap);
    color: var(--muted);
    font-size: var(--download-brand-subtitle-size);
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    opacity: 0.72;
    text-transform: uppercase;
}

.download-cta {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
}

.local-download .download-platform-note {
    position: absolute;
    top: calc(100% + 7px);
    left: 50%;
    width: max-content;
    transform: translateX(-50%);
}

.windows-download-button {
    gap: var(--space-8);
    min-height: 48px;
    padding: 0 var(--space-21);
    color: #05100b;
    font-weight: 760;
}

.hero-download-button {
    min-width: 198px;
    justify-content: center;
    padding: 0 var(--space-13);
}

.windows-download-button svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: currentColor;
}

.download-platform-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    color: var(--soft);
    font-size: 0.7rem;
    font-weight: 480;
    line-height: 1.25;
    letter-spacing: 0.005em;
}

.download-platform-note svg {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    fill: currentColor;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-34) var(--space-21);
    align-items: start;
    margin-top: var(--space-34);
}

.demo-section .scene-grid {
    margin-top: 0;
}

.scene-card {
    display: grid;
    gap: var(--space-13);
    border: 0;
    border-radius: var(--radius);
    padding: 0;
    background: transparent;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.scene-card:not(.is-locked) {
    cursor: pointer;
}

.scene-card:hover,
.scene-card.active {
    background: transparent;
}

.scene-card.active {
    transform: translateY(-2px);
}

.scene-art {
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-radius: var(--radius);
    border: 1px solid transparent;
    overflow: hidden;
    position: relative;
    background-color: #101012;
    background-position: center;
    background-size: cover;
}

.scene-card.active .scene-art {
    box-shadow: 0 12px 28px rgba(62, 207, 142, 0.06);
}

.scene-card.active .scene-art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 4px solid transparent;
    border-radius: inherit;
    background: linear-gradient(110deg, #3ecf8e 0%, #3ecf8e 28%, #f59e0b 50%, #3b82f6 72%, #3b82f6 100%) border-box;
    background-position: 0% 50%;
    background-size: 220% 100%;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: scene-frame-drift 28s ease-in-out infinite alternate;
}

@keyframes scene-frame-drift {
    to {
        background-position: 100% 50%;
    }
}

.cathedral-art {
    background-image: url("/_assets/assets/demo-cathedral.ff43ad1eed8e.webp");
}

.dungeon-art {
    background-image: url("/_assets/assets/demo-dungeon.602fe0efc368.webp");
}

.forest-art {
    background-image: url("/_assets/assets/demo-forest.6914c7273439.webp");
}

.spaceship-art {
    background-image: url("/_assets/assets/demo-spaceship.a78f777e6d36.webp");
}

.scene-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-5) var(--space-13);
    padding: 0;
}

.scene-copy h3,
.scene-copy p {
    margin: 0;
}

.scene-copy h3,
.scene-copy p {
    grid-column: 1;
}

.scene-copy p {
    color: var(--muted);
}

.scene-play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
    align-self: start;
    margin-top: 0;
    width: 40px;
    min-height: 40px;
    border: 1px solid #34343b;
    border-radius: 999px;
    padding: 0;
    background: #242429;
    color: #d7d7d7;
    font-weight: 720;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.scene-play-button:hover {
    background: #2e3038;
    color: #3b82f6;
    transform: translateY(-1px);
}

.scene-play-button.is-loading {
    cursor: wait;
    opacity: 0.62;
}

.scene-play-button.is-playing,
.scene-card.active .scene-play-button.is-playing {
    background: rgba(239, 68, 68, 0.18);
    color: #ef4444;
}

.scene-play-button svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
    transform: translateX(1px);
}

.scene-card.active .scene-play-button {
    background: rgba(62, 207, 142, 0.1);
    color: var(--green);
}

.demo-controls-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-21);
    align-items: start;
    margin-top: var(--space-34);
}

.voice-demo {
    grid-column: 1 / 3;
    grid-row: 1;
    width: 100%;
}

.scene-off-option {
    grid-column: 4;
    grid-row: 1;
    align-self: start;
    position: relative;
    margin: calc(-1 * var(--space-13));
    border-radius: var(--radius);
    padding: var(--space-13);
    transition: opacity 0.18s ease;
}

.scene-off-option:not(.is-locked) {
    cursor: pointer;
}

.scene-off-option.active::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 4px solid transparent;
    border-radius: inherit;
    background: linear-gradient(110deg, #3ecf8e 0%, #3ecf8e 28%, #f59e0b 50%, #3b82f6 72%, #3b82f6 100%) border-box;
    background-position: 0% 50%;
    background-size: 220% 100%;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: scene-frame-drift 28s ease-in-out infinite alternate;
}

.scene-off-option > * {
    position: relative;
    z-index: 2;
}

.voice-demo-panel {
    display: grid;
    gap: var(--space-8);
    border: 0;
    border-radius: var(--radius);
    padding: 0;
    background: transparent;
}

.voice-waveform {
    position: relative;
    height: 42px;
    border: 0;
    border-radius: 999px;
    overflow: visible;
    background: rgba(255, 255, 255, 0.02);
}

.voice-waveform-prompt {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: inherit;
    color: rgba(255, 255, 255, 0.32);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.015em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.18s ease;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.voice-demo-panel.is-waveform-active .voice-waveform-prompt {
    opacity: 0;
}

.voice-waveform-prompt-track,
.voice-waveform-prompt-group {
    display: flex;
    flex: none;
    align-items: center;
}

.voice-waveform-prompt-track {
    width: max-content;
    animation: voice-prompt-scroll 32s linear infinite;
    will-change: transform;
}

.voice-waveform-prompt-group {
    gap: var(--space-34);
    padding-right: var(--space-34);
}

.voice-waveform-prompt-group span {
    white-space: nowrap;
}

.voice-waveform canvas {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.waveform-reset-button {
    position: absolute;
    top: -7px;
    right: -7px;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 18px;
    min-height: 18px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(36, 36, 39, 0.72);
    color: rgba(255, 255, 255, 0.58);
    cursor: pointer;
}

.voice-demo-panel.is-recorded .waveform-reset-button {
    display: inline-flex;
}

.waveform-reset-button:hover {
    color: rgba(255, 255, 255, 0.84);
    background: rgba(47, 48, 52, 0.88);
}

.waveform-reset-button svg {
    width: 9px;
    height: 9px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2.2;
}

.voice-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-8);
}

#play-voice {
    gap: 0.25em;
    border: 0;
    min-height: 38px;
    padding: 0 var(--space-13);
}

#play-voice .inline-reverb {
    margin-left: 0;
}

.reverb-mix-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    color: var(--muted);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 680;
    user-select: none;
}

.reverb-mix-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.reverb-mix-track {
    position: relative;
    width: 30px;
    height: 17px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    transition: background 0.16s ease;
}

.reverb-mix-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #d7d7d7;
    transition: transform 0.16s ease, background 0.16s ease;
}

.reverb-mix-toggle input:checked + .reverb-mix-track {
    background: rgba(62, 207, 142, 0.28);
}

.reverb-mix-toggle input:checked + .reverb-mix-track::after {
    background: var(--green);
    transform: translateX(13px);
}

.reverb-mix-toggle input:focus-visible + .reverb-mix-track {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.voice-info {
    position: relative;
    justify-self: start;
}

.voice-info-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-height: 28px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.32);
    cursor: pointer;
    list-style: none;
}

.voice-info-trigger:hover,
.voice-info-trigger:focus-visible {
    color: rgba(255, 255, 255, 0.58);
    background: transparent;
}

.voice-info-trigger:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.voice-info-trigger svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.voice-demo-panel .voice-info > p {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    z-index: 3;
    width: min(300px, calc(100vw - 56px));
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-13) var(--space-13);
    background: #111113;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.42;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.voice-info:hover > p,
.voice-info:has(.voice-info-trigger:focus-visible) > p {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.voice-demo-panel .voice-info > p::after {
    content: "";
    position: absolute;
    left: 13px;
    bottom: -6px;
    width: 10px;
    height: 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #111113;
    transform: rotate(45deg);
}

.record-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    width: auto;
    min-height: 38px;
    border: 0;
    border-radius: 7px;
    padding: 0 var(--space-13);
    background: #171718;
    cursor: pointer;
}

.record-button:hover {
    background: #1d1d1f;
}

.record-button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.record-button:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.record-label {
    color: #ededf0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1;
}

.record-dot {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #ff3026;
    box-shadow: 0 0 12px rgba(255, 48, 38, 0.18);
    transition: transform 0.16s ease, filter 0.16s ease;
}

.record-button:hover .record-dot {
    filter: brightness(1.12);
    transform: scale(1.05);
}

.voice-demo-panel.is-recording .record-dot {
    animation: record-pulse 1s ease-in-out infinite;
}

@keyframes record-pulse {
    50% {
        transform: scale(0.82);
        transform-origin: center;
        opacity: 0.72;
    }
}

.voice-demo-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.section {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: var(--space-55) 0;
    border-top: 0;
    scroll-margin-top: 96px;
}

@keyframes voice-prompt-scroll {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .voice-waveform-prompt-track {
        animation: none;
    }
}

.demo-section {
    padding: var(--space-34) var(--space-34);
    border-radius: calc(var(--radius) + 6px);
    background: #141416;
    border: 1px solid var(--line);
}

.pricing-section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
    border-top: var(--section-divider);
    scroll-margin-top: 42px;
}

.section-kicker {
    display: grid;
    gap: var(--space-13);
}

.feature-overview {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
    align-items: start;
    gap: var(--space-55);
}

.feature-section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
}

.feature-flow {
    display: grid;
    gap: 0;
}

/* Steps are separated by space only; the first one lines up with the
   section title, the last one ends flush. */
.feature-flow article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: var(--space-13);
    padding: var(--space-13) 0;
}

.feature-flow article:first-child {
    padding-top: 0;
}

.feature-flow article:last-child {
    padding-bottom: 0;
}

.feature-flow span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 780;
    text-transform: uppercase;
}

.feature-flow strong {
    display: block;
    color: var(--text);
    font-size: 1.08rem;
    line-height: 1.2;
}

.feature-flow p {
    grid-column: 2;
    margin: calc(-1 * var(--space-8)) 0 0;
    color: var(--muted);
}

.terminal-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    align-items: center;
    gap: var(--space-34);
    margin-top: var(--space-34);
}

.terminal {
    overflow: hidden;
    background: #090909;
}

pre {
    margin: 0;
    padding: var(--space-34);
    overflow-x: auto;
    color: #ededed;
    font: 650 0.98rem/1.8 "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

.muted {
    color: var(--soft);
}

.showcase-copy {
    display: grid;
    gap: var(--space-13);
}

.showcase-copy p {
    margin: 0;
}

.step-grid,
.feature-grid,
.pricing-grid {
    display: grid;
    gap: var(--space-13);
    margin-top: var(--space-34);
}

.step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-section .pricing-grid {
    margin-top: 0;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card,
.feature-card,
.price-card {
    display: grid;
    align-content: start;
    gap: var(--space-13);
    min-height: 230px;
    padding: var(--space-21);
}

.step-card span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 780;
    text-transform: uppercase;
}

.plan-name {
    color: var(--text);
    font-size: clamp(21px, 2.2vw, 34px);
    font-weight: 820;
    line-height: 1;
}

.step-card p,
.feature-card p,
.price-card p {
    margin: 0;
    /* Left-aligned, no hyphenation; avoid a lone word on the last line. */
    text-wrap: pretty;
}

.feature-card:nth-child(1) h3 {
    color: var(--green);
}

.feature-card:nth-child(2) h3 {
    color: var(--blue);
}

.feature-card:nth-child(3) h3 {
    color: var(--cyan);
}

.feature-card:nth-child(4) h3 {
    color: var(--amber);
}

.feature-card {
    border-color: transparent;
    min-height: 190px;
}

.price-card {
    min-height: 420px;
}

.pricing-grid .price-card:not(.highlighted) {
    border-color: transparent;
}

.price-card.highlighted {
    border-color: rgba(62, 207, 142, 0.42);
    background: #121212;
}

.price {
    font-size: 1.5rem;
    font-weight: 580;
    line-height: 1;
    white-space: nowrap;
}

.price-currency {
    font-size: 0.6em;
    color: #b8b8bd;
}

.price-amount {
    font-size: 1em;
    color: #b8b8bd;
}

.price-stack {
    display: grid;
    justify-items: start;
    gap: var(--space-5);
}

.price-main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-5) var(--space-13);
}

.price-note {
    padding-bottom: var(--space-3);
    color: #929296;
    font-size: 0.72rem;
    font-weight: 520;
    line-height: 1.25;
}

.price-card ul {
    display: grid;
    gap: var(--space-8);
    margin: 0;
    padding: 0;
    list-style: none;
}

.price-card li {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    column-gap: var(--space-13);
    align-items: start;
}

/* 8px dot, 13px to the text (both Fibonacci), centred on the first line. */
.price-card li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: calc(0.75em - 4px);
    border-radius: 999px;
    background: var(--green);
}

.announcement {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 var(--space-13);
    color: #d4d4d4;
    background: #18181b;
    font-size: 0.86rem;
    font-weight: 560;
}

.price-card .button {
    justify-self: start;
}

.price-download-button {
    width: fit-content;
}

.price-download-cta {
    display: inline-flex;
    width: fit-content;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    margin-top: var(--space-5);
}

@media (min-width: 981px) {
    .price-card > ul {
        min-height: 194px;
    }

    .price-download-cta {
        margin-top: 0;
    }
}

.price-card.highlighted .button-primary {
    min-height: 54px;
    border-color: rgba(62, 207, 142, 0.95);
    border-radius: 8px;
    padding: 0 var(--space-21);
    background: var(--green);
    color: #05100b;
    font-size: 1.18rem;
    font-weight: 820;
    box-shadow: none;
    letter-spacing: 0;
    line-height: 1.04;
}

.pro-cta-button {
    border-color: rgba(62, 207, 142, 0.95);
    background: linear-gradient(135deg, #67f0ad 0%, #3ecf8e 52%, #25a9ff 100%);
    color: #03100b;
    font-weight: 820;
    box-shadow: 0 12px 24px rgba(62, 207, 142, 0.18);
}

.price-card.highlighted .button-primary:hover {
    filter: brightness(1.05);
}

.store-action-button,
.price-card.highlighted .store-action-button {
    width: 198px;
    min-width: 198px;
    min-height: 50px;
    border-radius: 7px;
    padding: 0 var(--space-13);
    font-size: 0.96rem;
    font-weight: 760;
}

.pro-cta-button:hover {
    filter: brightness(1.05);
}

.account-page {
    min-height: auto;
}

.account-section {
    padding: var(--space-89) 0 0;
}

.purchase-success-section {
    display: none;
}

.purchase-success-mode .account-page {
    min-height: 0;
}

.purchase-success-mode .purchase-success-section {
    display: grid;
    min-height: 100%;
    place-items: center;
    padding-top: var(--space-89);
    padding-bottom: var(--space-89);
}

.purchase-success-card {
    display: grid;
    width: min(100%, 680px);
    gap: var(--space-21);
    justify-items: center;
}

.purchase-success-card > h1 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.2rem);
    line-height: 1.05;
    text-align: center;
}

.purchase-success-card .purchase-result-card {
    width: 100%;
    gap: var(--space-13);
}

.purchase-success-card .purchase-result-card > p {
    color: var(--muted);
    font-size: 1rem;
    text-align: center;
}

.purchase-success-card > .purchase-support-hint {
    margin: calc(-1 * var(--space-8)) 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
}

.purchase-support-hint a {
    color: inherit;
}

.purchase-success-card .purchase-key-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.purchase-success-card .purchase-key-row code {
    min-height: 48px;
    align-content: center;
    border: 1px solid var(--line);
    padding: var(--space-13) var(--space-13);
    font-size: clamp(0.82rem, 2.5vw, 1rem);
    text-align: center;
}

.purchase-success-card .purchase-key-row code:has(+ button:disabled) {
    color: var(--muted);
}

.account-pricing-section {
    border-top: 0;
    padding-top: var(--space-89);
    padding-bottom: var(--space-89);
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
    gap: var(--space-34);
    align-items: start;
}

.account-copy h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.45rem, 4.8vw, 4.85rem);
    text-align: left;
}

.account-copy > p:not(.eyebrow) {
    max-width: 620px;
    margin: var(--space-13) 0 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.account-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-8);
    max-width: 680px;
    margin-top: var(--space-21);
}

.account-flow article,
.account-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.account-flow article {
    display: grid;
    gap: var(--space-5);
    border: 0;
    padding: var(--space-13) var(--space-13);
    background: #141415;
}

.account-flow span {
    color: var(--soft);
    font-size: 0.78rem;
    font-weight: 720;
}

.account-flow strong {
    font-size: 0.94rem;
}

.account-panel {
    display: grid;
    gap: var(--space-13);
    padding: var(--space-21);
}

.purchase-result-card {
    display: grid;
    gap: var(--space-8);
    border: 1px solid rgba(62, 207, 142, 0.36);
    border-radius: 8px;
    padding: var(--space-13);
    background: rgba(62, 207, 142, 0.08);
}

.purchase-result-card[hidden],
.purchase-key-row[hidden] {
    display: none;
}

.purchase-result-card > p {
    margin: 0;
    color: var(--soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

.purchase-key-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-8);
    align-items: center;
}

.purchase-key-row code {
    overflow-wrap: anywhere;
    border-radius: 6px;
    padding: var(--space-13);
    background: #0d0d0e;
    color: var(--green);
    font-size: 0.92rem;
    font-weight: 720;
    user-select: all;
}

.account-status,
.config-warning {
    border-radius: 6px;
    padding: var(--space-13) var(--space-13);
    background: #101011;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 620;
}

.account-status[data-tone="success"] {
    color: var(--green);
}

.account-status[data-tone="warning"],
.config-warning {
    color: #e5e5e5;
}

.account-status[data-tone="error"] {
    color: #ff8f8f;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
    padding: var(--space-5);
    border: 0;
    border-radius: 8px;
    background: #101011;
}

.auth-view {
    display: grid;
    gap: var(--space-13);
}

.auth-tab,
.text-button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.auth-tab {
    min-height: 38px;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 680;
}

.auth-tab.active {
    background: var(--surface-strong);
    color: var(--text);
}

.auth-form,
.account-view {
    display: grid;
    gap: var(--space-13);
}

.auth-form[hidden],
.account-view[hidden],
.auth-view[hidden] {
    display: none;
}

.auth-form label {
    display: grid;
    gap: var(--space-8);
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 650;
}

.auth-form input {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 var(--space-13);
    background: #0f0f10;
    color: var(--text);
    font: inherit;
}

.auth-form input:focus {
    border-color: rgba(62, 207, 142, 0.62);
    outline: none;
}

.auth-form button[type="submit"] {
    width: 100%;
    margin-top: var(--space-2);
}

.account-body .site-footer {
    align-self: end;
    padding: var(--space-21) 0 var(--space-21);
}

.download-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: var(--space-21);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.download-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.download-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 5, 0);
    transition: background 180ms ease;
}

.download-modal.is-open .download-modal-backdrop {
    background: rgba(4, 4, 5, 0.66);
}

.download-modal-panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: var(--space-21);
    width: min(430px, 100%);
    border-radius: var(--radius);
    padding: var(--space-21);
    background: var(--surface);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(8px) scale(0.985);
    transition: opacity 180ms ease, transform 180ms ease;
}

.security-download-modal {
    inset: 0 auto auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100dvh;
    box-sizing: border-box;
}

.security-download-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.security-download-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: var(--space-55);
    width: 100%;
    max-width: 1000px;
    max-height: calc(100dvh - 44px);
    overflow-y: auto;
    align-items: center;
    border: 1px solid #ded5c8;
    padding: var(--space-34) var(--space-55);
    background: #f6f1e8;
    color: #202024;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.security-download-copy {
    display: grid;
    gap: var(--space-34);
    align-content: center;
}

.security-install-guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: var(--space-21);
    min-width: 0;
}

.security-install-step {
    width: min(100%, 260px);
    margin: 0 auto;
}

.security-screenshot {
    position: relative;
    width: 100%;
    margin-inline: auto;
    aspect-ratio: 932 / 870;
    overflow: hidden;
    border-radius: 8px;
    background: #333;
    box-shadow: 0 5px 16px rgba(20, 20, 22, 0.12);
}

.security-screenshot img {
    display: block;
    width: 100.214592%;
    max-width: none;
    height: auto;
    margin: -0.214592% -0.107296% -0.107296%;
}

.security-screenshot-annotations {
    position: absolute;
    top: -0.229885%;
    left: -0.107296%;
    width: 100.214592%;
    height: 100.344828%;
    pointer-events: none;
    fill: none;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.security-action-outline,
.security-action-arrow {
    stroke: #66caff;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.security-action-arrow {
    fill: #66caff;
    stroke: none;
}

.security-step-badge {
    fill: #075fc7;
    stroke: none;
}

.security-step-badge text {
    fill: #fff;
    font-family: inherit;
    font-size: 46px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: central;
}

.security-publisher-outline {
    stroke: #f5cb72;
    stroke-width: 5;
}

@media (max-width: 760px) {
    .security-download-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-34);
        max-width: 780px;
    }

    .security-install-guide {
        grid-template-columns: minmax(0, 1fr);
        width: min(100%, 310px);
        justify-self: center;
        align-items: start;
        gap: var(--space-13);
    }
}

@media (max-width: 440px) {
    .security-install-guide {
        grid-template-columns: minmax(0, 1fr);
        width: min(100%, 310px);
        justify-self: center;
    }
}

.download-modal-panel.security-download-panel h2 {
    margin-bottom: var(--space-8);
    padding-right: var(--space-21);
    color: #000000;
    font-size: clamp(1.45rem, 2.1vw, 1.65rem);
    line-height: 1.15;
}

.security-download-message {
    display: grid;
    gap: var(--space-8);
}

.security-download-message p,
.security-download-signoff p {
    margin: 0;
    color: #000000;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.68;
    text-align: justify;
    text-justify: inter-word;
}

.security-download-steps {
    margin: var(--space-8) 0 0;
    padding: 0;
    color: #000000;
    font-size: 1.08rem;
    line-height: 1.68;
    text-align: justify;
    text-justify: inter-word;
}

.security-download-steps strong {
    display: inline-block;
    padding: 0;
    background: transparent;
    color: #075fc7;
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
}

.security-download-signoff {
    display: grid;
    gap: var(--space-8);
    margin-top: var(--space-5);
}

.security-download-signoff .security-download-signature {
    color: #000000;
    font-weight: 600;
}

.security-download-actions {
    display: grid;
    justify-self: start;
    align-items: center;
    width: max-content;
}

.security-download-progress {
    width: 30px;
    height: 30px;
    grid-area: 1 / 1;
    justify-self: center;
    pointer-events: none;
    fill: none;
    stroke-width: 3;
    transform: rotate(-90deg);
    opacity: 1;
    transition: opacity 200ms ease;
}

.security-download-progress.is-complete {
    opacity: 0;
}

.security-download-progress-track {
    stroke: rgba(7, 95, 199, 0.15);
}

.security-download-progress-fill {
    stroke: var(--blue);
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.security-download-confirm:disabled {
    visibility: hidden;
    opacity: 0;
    transition: none;
    pointer-events: none;
}

.security-download-confirm {
    grid-area: 1 / 1;
    opacity: 1;
    transition: opacity 200ms ease;
    justify-self: start;
    min-width: 108px;
    min-height: 48px;
    padding: 0 var(--space-21);
    border-color: var(--blue);
    background: var(--blue);
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 600;
}

.security-download-panel .download-modal-close {
    top: 18px;
    right: 18px;
    width: 40px;
    min-height: 40px;
    color: #777179;
}

.security-download-panel .download-modal-close:hover {
    background: rgba(20, 20, 22, 0.07);
    color: #202024;
}

.security-download-panel .download-modal-close svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.pro-modal-panel {
    width: min(560px, 100%);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    padding: 0;
    background: transparent;
}

.pro-modal-card,
.pro-legal-card {
    display: grid;
    gap: var(--space-13);
    min-height: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-34);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.pro-modal-card .button-primary {
    justify-self: start;
}

.pro-legal-intro,
.pro-legal-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

.pro-legal-checklist {
    display: grid;
    gap: var(--space-13);
}

.pro-legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
    align-items: center;
}

.pro-legal-actions .button[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    filter: saturate(0.45);
    transform: none;
}

.download-modal.is-open .download-modal-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.download-modal-panel h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 2.55rem);
    line-height: 1.02;
    text-align: left;
}

.download-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-height: 34px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.download-modal-close:hover {
    color: var(--text);
    background: transparent;
}

.download-modal-close svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2.3;
}

.download-modal-status {
    max-width: calc(100% - 42px);
    border-radius: 6px;
    padding: var(--space-13) var(--space-13);
    background: #101011;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 620;
}

.download-modal-status:empty {
    display: none;
}

.download-modal-status[data-tone="success"] {
    color: var(--green);
}

.download-modal-status[data-tone="warning"] {
    color: #e5e5e5;
}

.download-modal-status[data-tone="error"] {
    color: #ff8f8f;
}

body.download-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .security-download-modal {
        padding: var(--space-13);
    }

    .security-download-panel {
        width: 100%;
        aspect-ratio: auto;
        align-content: normal;
        padding: var(--space-21) var(--space-21) var(--space-21);
        transform: translateY(20px);
    }

    .download-modal.is-open .security-download-panel {
        transform: translateY(0);
    }
}

.text-button {
    justify-self: start;
    min-height: 32px;
    padding: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.88rem;
}

.text-button:hover {
    color: var(--text);
}

.account-summary {
    display: flex;
    gap: var(--space-13);
    align-items: center;
}

.account-summary strong {
    display: block;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-summary p {
    margin: var(--space-5) 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #d4d4d4;
    font-size: 0.82rem;
    font-weight: 780;
}

.plan-badge.is-pro {
    background: rgba(62, 207, 142, 0.14);
    color: var(--green);
}

.license-list {
    display: grid;
    gap: 0;
    margin: var(--space-5) 0 0;
}

.license-list > div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: var(--space-13);
    padding: var(--space-13) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.license-list dt {
    color: var(--soft);
    font-size: 0.88rem;
}

.license-list dd {
    overflow-wrap: anywhere;
    margin: 0;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 650;
}

.account-help-panel {
    display: grid;
    gap: var(--space-8);
    padding: var(--space-13);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.account-help-panel strong {
    color: var(--text);
    font-size: 0.96rem;
}

.account-help-panel p {
    margin: 0;
    color: var(--soft);
    font-size: 0.9rem;
    line-height: 1.45;
}

.account-help-panel .button {
    justify-self: start;
    margin-top: var(--space-2);
}

.contact-simple {
    display: grid;
    gap: var(--space-21);
    max-width: 760px;
}

.contact-simple .eyebrow,
.contact-simple h1 {
    margin-bottom: 0;
}

.contact-address {
    justify-self: start;
    margin-top: var(--space-5);
    border: 0;
    border-radius: 8px;
    padding: var(--space-13) var(--space-13);
    background: #141415;
    color: var(--text);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 620;
    overflow-wrap: anywhere;
}

.contact-addresses {
    display: grid;
    gap: var(--space-13);
}

.contact-entry {
    display: grid;
    gap: var(--space-5);
    justify-items: start;
}

.contact-label {
    color: var(--muted);
    font-size: 0.85rem;
}

.contact-address:hover {
    color: var(--green);
    background: #181819;
}

.support-page .account-panel,
.support-page .account-help-panel,
.support-page .account-access-panel {
    border: 0;
}

.account-access-panel {
    display: grid;
    gap: var(--space-8);
    padding: var(--space-13);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.account-access-panel strong {
    color: var(--text);
    font-size: 0.96rem;
}

.account-access-panel p {
    margin: 0;
    color: var(--soft);
    font-size: 0.9rem;
    line-height: 1.45;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
    margin-top: var(--space-5);
}

.account-actions .button {
    flex: 1 1 150px;
}

.account-signout-button {
    justify-self: start;
}

.legal-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: var(--space-8);
    align-items: start;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.legal-consent[hidden] {
    display: none;
}

.legal-consent input {
    width: 16px;
    height: 16px;
    margin: var(--space-3) 0 0;
    accent-color: var(--green);
}

.legal-consent a {
    color: #d7d7d7;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: var(--space-13);
    width: min(var(--max), calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--soft);
    font-size: 0.9rem;
}

.site-footer span,
.site-footer a {
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.5;
}

.site-footer span {
    color: rgba(255, 255, 255, 0.48);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.32);
    font-weight: 400;
}

.site-footer span + a {
    margin-left: auto;
}

.site-footer a:hover {
    color: rgba(255, 255, 255, 0.68);
}

.site-footer a.footer-contact {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 650;
}

.site-footer a.footer-contact:hover,
.site-footer a.footer-contact[aria-current="page"] {
    color: var(--text);
}

.product-name,
.footer-brand {
    font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
}

.legal-page {
    min-height: calc(100vh - 144px);
}

.language-switch {
    display: flex;
    align-items: center;
    gap: var(--space-21);
    min-height: 32px;
    margin-bottom: var(--space-21);
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.language-switch a,
.language-switch span {
    padding: var(--space-5) 0;
    border-bottom: 1px solid transparent;
}

.language-switch a {
    color: var(--muted);
    text-decoration: none;
}

.language-switch a:hover {
    color: var(--text);
}

.language-switch [aria-current="true"] {
    color: var(--text);
    border-bottom-color: var(--accent);
}

.legal-section {
    padding-top: var(--space-89);
}

.legal-section h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(2.45rem, 4.8vw, 4.85rem);
    text-align: left;
}

.legal-intro {
    max-width: 760px;
    margin: var(--space-21) 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.legal-grid {
    display: grid;
    gap: var(--space-55);
    margin-top: var(--space-55);
}

.legal-block {
    display: grid;
    gap: var(--space-21);
    padding: 0;
}

.legal-block h2 {
    max-width: none;
    font-size: clamp(1.28rem, 2vw, 1.85rem);
}

.legal-block dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.legal-block dl > div {
    display: grid;
    grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
    gap: var(--space-21);
    padding: var(--space-13) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.imprint-page .legal-block dl > div,
.privacy-page .legal-block dl > div {
    border-top: 0;
    padding: var(--space-8) 0;
}

.legal-block dt {
    color: var(--text);
    font-weight: 720;
}

.legal-block dd {
    margin: 0;
    color: var(--muted);
}

.legal-block p,
.legal-block li {
    color: var(--muted);
}

.legal-block p {
    margin: 0;
}

.legal-block ul,
.legal-block ol {
    display: grid;
    gap: var(--space-8);
    margin: 0;
    padding-left: 1.2rem;
}

.legal-block a {
    color: #d7d7d7;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-notes {
    display: grid;
    gap: var(--space-8);
    margin: var(--space-8) 0 0;
    padding: 0;
    color: #89898e;
    font-size: 0.78rem;
    line-height: 1.45;
}

.product-notes div {
    margin: 0;
}

.product-notes dt,
.product-notes dd {
    display: inline;
    margin: 0;
}

.product-notes dt {
    color: #a6a6aa;
    font-weight: 650;
}

.product-info {
    width: 100%;
}

.pro-purchase-cta {
    display: grid;
    justify-items: start;
    gap: var(--space-8);
    width: 100%;
}

.product-info summary {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-8);
    width: 198px;
    min-height: 0;
    color: #929296;
    cursor: pointer;
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.76rem;
    font-weight: 400;
    line-height: 1.35;
    list-style: none;
}

.product-info summary::-webkit-details-marker {
    display: none;
}

.product-info summary:hover {
    color: rgba(255, 255, 255, 0.68);
}

.info-icon {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.checkout-note {
    margin: 0;
    color: var(--soft);
    font-size: 0.86rem;
}

/* Paddle normally supplies these outer overlay dimensions itself. Keep a
   local fallback so a delayed or blocked Paddle stylesheet cannot leave the
   checkout as an invisible 300 × 150 iframe below the page. */
iframe.paddle-frame-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000 !important;
    width: 100vw !important;
    height: 100vh !important;
    border: 0 !important;
}

@media (max-width: 980px) {
    .site-header {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: var(--space-13);
        padding-bottom: 0;
    }

    .site-nav {
        position: static;
        transform: none;
        grid-column: 1 / -1;
        justify-self: start;
        max-width: 100%;
        min-height: 48px;
        height: auto;
        overflow-x: auto;
    }

    .site-nav a {
        height: 48px;
    }

    .site-header > .nav-action {
        grid-column: 2;
        grid-row: 1;
        margin-left: 0;
    }

    .hero-section,
    .feature-overview,
    .terminal-showcase,
    .pricing-grid,
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-layout {
        gap: var(--space-34);
    }

    .account-body .account-layout {
        grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
        gap: var(--space-21);
    }

    .account-body .account-copy h1 {
        font-size: clamp(2.15rem, 5vw, 3.35rem);
    }

    .account-body .account-flow {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        margin-top: var(--space-21);
    }

    .account-body .account-flow article {
        padding: var(--space-8) var(--space-13);
    }

    .hero-section {
        min-height: auto;
        padding-top: var(--space-89);
        padding-bottom: var(--space-89);
        text-align: center;
    }

    .pricing-section {
        scroll-margin-top: 72px;
    }

    h1,
    .hero-lede {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .local-points,
    .step-grid,
    .voice-demo {
        grid-template-columns: 1fr;
    }

    .scene-grid,
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 720px) {
    .voice-demo-panel .voice-info > p {
        left: 50%;
        right: auto;
        transform: translate(-50%, 4px);
    }

    .voice-info:hover > p,
    .voice-info:has(.voice-info-trigger:focus-visible) > p {
        transform: translate(-50%, 0);
    }

    .voice-demo-panel .voice-info > p::after {
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
    }

    .demo-controls-row {
        grid-template-columns: 1fr;
    }

    .voice-demo {
        grid-column: 1;
        grid-row: 2;
    }

    .scene-off-option {
        grid-column: 1;
        grid-row: 1;
    }

    .site-header {
        grid-template-columns: minmax(0, 1fr) auto auto;
        row-gap: 0;
        padding: 0 var(--space-13) 0;
    }

    .brand {
        grid-column: 1 / -1;
        min-height: 56px;
        gap: var(--space-8);
    }

    .brand img {
        height: 34px;
    }

    .brand-copy {
        display: flex;
    }

    .brand-title {
        font-size: 0.98rem;
    }

    .brand-subtitle {
        font-size: 0.54rem;
        letter-spacing: 0.1em;
    }

    .site-nav {
        grid-column: 1;
        grid-row: 2;
        gap: var(--space-21);
        min-height: 44px;
        padding-right: var(--space-13);
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav a {
        height: 44px;
        font-size: 0.8rem;
    }

    .site-header > .nav-action {
        grid-column: 2;
        grid-row: 2;
        min-height: 32px;
        margin-left: 0;
        padding: 0 var(--space-8);
        font-size: 0.96rem;
    }

    .pricing-section {
        scroll-margin-top: 58px;
    }

    .hero-section,
    .local-points,
    .local-download-shell,
    .section,
    .site-footer {
        width: min(var(--max), calc(100% - 28px));
    }

    .account-copy h1 {
        font-size: 2.75rem;
    }

    .account-body .account-page {
        min-height: calc(100vh - 100px);
    }

    .account-body .account-section {
        padding: var(--space-21) 0;
    }

    .account-body .account-pricing-section {
        padding-top: var(--space-55);
        padding-bottom: var(--space-55);
    }

    .account-body .account-layout {
        grid-template-columns: 1fr;
        gap: var(--space-13);
    }

    .account-body .account-copy h1 {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
    }

    .account-body .account-copy > p:not(.eyebrow),
    .account-body .account-flow {
        display: none;
    }

    .account-body .account-panel {
        gap: var(--space-8);
        padding: var(--space-13);
    }

    .account-body .auth-tab {
        min-height: 34px;
    }

    .account-body .auth-form input {
        min-height: 38px;
    }

    .account-body .site-footer {
        padding: var(--space-8) 0 var(--space-13);
    }

    .account-flow,
    .license-list > div {
        grid-template-columns: 1fr;
    }

    .account-flow {
        gap: var(--space-8);
    }

    h1 {
        font-size: 3rem;
    }

    .legal-section h1 {
        font-size: clamp(2rem, 8.5vw, 2.5rem);
        overflow-wrap: anywhere;
    }

    .hero-lede {
        white-space: normal;
    }

    .local-point strong {
        white-space: normal;
    }

    .local-download {
        align-items: center;
        flex-direction: column;
    }

    .download-cta {
        width: 100%;
        padding-top: 0;
    }

    .windows-download-button {
        width: 100%;
        justify-content: center;
    }

    .store-action-button,
    .price-card.highlighted .store-action-button {
        width: 198px;
        min-width: 198px;
    }

    .price-download-button {
        width: 198px;
        justify-content: center;
    }

    .price-download-cta {
        width: 100%;
    }

    .local-points {
        padding-bottom: var(--space-21);
    }


    .demo-section {
        padding: var(--space-34) var(--space-21);
    }

    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        min-height: auto;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-34) 0 var(--space-34);
    }

    .site-footer span + a {
        margin-left: 0;
    }

    .legal-block dl > div {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
}

@media (max-width: 400px) {
    :root {
        --download-brand-logo-height: 48px;
        --download-brand-gap: 4px;
    }

    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: var(--space-8);
    }

    .site-nav {
        gap: var(--space-13);
        padding-right: 0;
    }

    .site-nav a {
        font-size: 0.75rem;
    }

    #hero-title {
        font-size: clamp(2.25rem, 11.55vw, 2.6rem);
    }
}

@media (max-width: 340px) {
    .site-header > .nav-action {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    .site-header > .nav-action span {
        display: none;
    }
}

/* Release history */
.updates-section { max-width: 850px; margin: 0 auto; padding-top: var(--space-55); padding-bottom: var(--space-89); }
.updates-section h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: var(--space-34); }
.release-entry { border-top: 1px solid var(--border, #30303a); padding: var(--space-34) 0; overflow-wrap: anywhere; }
.release-entry h2 { display: flex; align-items: center; gap: var(--space-13); font-size: 1.5rem; margin: 0 0 var(--space-21); }
.release-latest { color: #80ddb2; border: 1px solid #80ddb240; border-radius: 100px; padding: var(--space-5) var(--space-8); font-size: 0.75rem; font-weight: 500; }
.release-entry h3 { font-size: 1rem; margin: var(--space-21) 0 var(--space-8); }
.release-entry p, .release-entry li { font-size: 1rem; line-height: 1.75; color: var(--text-muted, #b1b1be); }
.release-entry ul { padding-left: var(--space-21); }
.release-entry li + li { margin-top: var(--space-8); }
#release-status { font-size: 0.875rem; }

/* app-style product names and outlined download buttons. */
.pricing-section .plan-name {
    font-family: "Sora", system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.026em;
    line-height: 1.18;
    font-size: clamp(1.35rem, 2.2vw, 2.25rem);
    color: #fff;
}
.plan-pro-suffix { color: var(--green); }
.product-info summary {
    justify-content: center;
    gap: var(--space-5);
    color: var(--soft);
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 480;
    line-height: 1.25;
    letter-spacing: 0.005em;
}
.product-info summary .info-icon { width: 11px; height: 11px; }
.record-dot,
.record-button:hover .record-dot {
    box-shadow: none;
    filter: none;
}
.site-header > .nav-download-action,
.price-card.highlighted .button[data-pro-modal],
.button[data-free-download] {
    border: 1px solid var(--line-strong);
    background: #171718;
    color: var(--green);
    box-shadow: none;
    text-shadow: none;
    filter: none;
}
.site-header > .nav-download-action:hover,
.price-card.highlighted .button[data-pro-modal]:hover,
.button[data-free-download]:hover {
    border-color: var(--green);
    background: #1c1c1f;
    color: var(--green);
    box-shadow: none;
    text-shadow: none;
    filter: none;
}

@media (max-width: 720px) {
    :root {
        --space-section: var(--space-55);
        --space-related: var(--space-34);
    }
}

/* Real-location impulse responses */
.locations-section {
    padding-top: var(--space-related);
    padding-bottom: 0;
}

.locations-intro {
    display: grid;
    gap: var(--space-13);
    margin-bottom: var(--space-34);
}

.locations-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.locations-panel {
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 6px);
    padding: var(--space-34) var(--space-21) var(--space-21) var(--space-34);
    background: var(--surface);
}

/* All measured places in one horizontal row. The row runs out of the panel
   on the right and fades into the panel; drag, swipe or shift+wheel to
   bring the remaining places in. A left fade appears once scrolled. */
.locations-panel {
    overflow: hidden;
}

.location-list {
    --location-fade-left: 0px;
    --location-fade-right: 56px;
    display: flex;
    gap: var(--space-21);
    margin: 0 calc(-1 * var(--space-21)) 0 calc(-1 * var(--space-5));
    padding: var(--space-5) var(--space-21) var(--space-5) var(--space-5);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-x pan-y;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--location-fade-left), #000 calc(100% - var(--location-fade-right)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--location-fade-left), #000 calc(100% - var(--location-fade-right)), transparent 100%);
}

.location-list::-webkit-scrollbar {
    display: none;
}

.location-list.is-scrolled {
    --location-fade-left: 28px;
}

.location-list.is-at-end {
    --location-fade-right: 0px;
}

.location-list.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.location-list.is-dragging .location-play-button {
    cursor: grabbing;
}

.location-list img {
    -webkit-user-drag: none;
    user-select: none;
}

.location-row {
    display: flex;
    flex: 0 0 clamp(168px, 15.5vw, 210px);
    flex-direction: column;
    gap: var(--space-8);
    min-width: 0;
}

.location-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    min-width: 0;
}

.location-copy h3 {
    font-size: 0.98rem;
    line-height: 1.25;
}

.location-row .location-photo {
    margin-top: auto;
}

.location-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.location-copy .location-place {
    overflow: hidden;
    max-width: 100%;
    color: var(--soft);
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The whole photo is the play button; no icon on top of the image. */
.location-play-button {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.location-play-button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
}

.location-play-button.is-loading {
    cursor: wait;
}

/* Playing: a thin ring just outside the photo. An outline follows the
   photo's rounded corners, so the ring stays evenly spaced all around. */
.location-photo {
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color 0.16s ease;
}

.location-photo:has(.location-play-button.is-playing) {
    outline-color: var(--green);
}

.location-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    background: #101012;
}

.location-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Credits: a small info icon in the photo's bottom-right corner. Hover (or
   tap) opens a panel inside the photo; the panel stays open while the
   pointer is on it, so its links can be clicked. */
.photo-credit {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.photo-credit-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 0;
    padding: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    cursor: help;
    filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.55));
    pointer-events: auto;
    transition: color 0.16s ease;
}

.photo-credit-toggle svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.photo-credit-panel {
    position: absolute;
    right: 4px;
    bottom: 4px;
    left: 4px;
    display: grid;
    gap: var(--space-3);
    border-radius: 6px;
    padding: var(--space-8) var(--space-21) var(--space-8) var(--space-8);
    background: rgba(12, 12, 14, 0.86);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.64rem;
    line-height: 1.35;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.14s ease, visibility 0s linear 0.14s;
}

.photo-credit-panel a {
    color: #fff;
    text-decoration: none;
}

.photo-credit-panel a:hover,
.photo-credit-panel a:focus-visible {
    text-decoration: underline;
}

.photo-credit-panel .photo-credit-all {
    color: rgba(255, 255, 255, 0.72);
}

.photo-credit:hover,
.photo-credit.is-open,
.photo-credit:has(:focus-visible) {
    pointer-events: auto;
}

.photo-credit:hover .photo-credit-toggle,
.photo-credit.is-open .photo-credit-toggle,
.photo-credit:has(:focus-visible) .photo-credit-toggle {
    position: relative;
    z-index: 1;
    color: #fff;
}

.photo-credit:hover .photo-credit-panel,
.photo-credit.is-open .photo-credit-panel,
.photo-credit:has(:focus-visible) .photo-credit-panel {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.14s ease;
}

@media (max-width: 1100px) {
    .locations-panel {
        padding: var(--space-21);
    }
}

@media (max-width: 640px) {
    .location-list {
        --location-fade-right: 36px;
        gap: var(--space-13);
        margin-right: calc(-1 * var(--space-13));
        padding-right: var(--space-13);
    }

    .location-row {
        flex-basis: 156px;
    }

    .locations-panel {
        padding: var(--space-13) var(--space-13);
    }

    .location-copy .location-place {
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .locations-intro {
        margin-bottom: var(--space-34);
    }

}

/* Hero spacing and type follow the golden ratio (phi = 1.618):
   spacing 13 / 21 / 34 / 55 / 89 / 144 px (Fibonacci),
   type    26 / 34 / 89 px (34 -> 89 = phi^2, 26 -> 34 = sqrt(phi)).
   On desktop the hero fills the viewport so ~144px of the scene
   images peek above the fold.
   Kept last so it wins over the base and 980px hero rules. */
@media (min-width: 761px) {
    .hero-section {
        padding: clamp(var(--space-89), 16vh, var(--space-144)) 0 var(--space-89);
    }

    #hero-title {
        max-width: none;
        font-size: clamp(42px, 6.2vw, 89px);
        line-height: 1.1;
    }

    #hero-title span {
        display: inline;
    }

    .hero-lede {
        max-width: none;
        margin-top: var(--space-21);
        font-size: clamp(21px, 2.4vw, 34px);
        line-height: 1.3;
    }

    .local-points {
        gap: var(--space-21);
        padding-bottom: var(--space-89);
    }

    .local-point strong {
        font-size: clamp(21px, 1.8vw, 26px);
        line-height: 1.3;
    }

    .local-point > span {
        margin-top: 0.4em;
    }

    .local-download {
        margin-top: var(--space-21);
    }


    .hero-room-scene {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 82%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 82%, transparent 100%);
    }
}

/* Home page: Audio Demo / Get Pro are right below the fold, so the
   header nav is hidden there. Sub-pages keep it. */
body:has(.hero-section) .site-nav {
    display: none;
}

@media (max-width: 720px) {
    body:has(.hero-section) .brand {
        grid-column: 1;
    }

    body:has(.hero-section) .site-header > .nav-action {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }
}

/* Hero tracking: one consistent letter-spacing per line so the coloured
   words don't run tighter or looser than the white ones. */
#hero-title,
#hero-title span {
    letter-spacing: -0.025em;
}

#hero-title {
    font-weight: 760;
}

#hero-title .hero-sound-word,
#hero-title .hero-game-prefix,
#hero-title .hero-game-word {
    font-weight: 800;
}

.hero-lede,
.hero-lede .reverb-word,
.hero-lede .auto-word,
.hero-lede .gameplay-word {
    letter-spacing: -0.012em;
}

.local-point strong {
    letter-spacing: -0.01em;
}

/* Desktop: hero fills the viewport minus 327px
   (73 header + 21 + 55 download row + 89 gap + 89 peek), so exactly
   89px of the Audio Demo panel shows above the fold. */
@media (min-width: 981px) {
    .hero-experience {
        display: flex;
        flex-direction: column;
        min-height: calc(100svh - 327px);
    }

    .hero-section {
        flex: 1 0 auto;
        align-content: center;
        padding: var(--space-55) 0;
    }

    .local-points {
        padding-bottom: var(--space-55);
    }

}

@media (max-width: 760px) {
    .hero-section {
        padding-top: var(--space-89);
        padding-bottom: var(--space-55);
    }

    .hero-lede {
        margin-top: var(--space-21);
    }

    .local-points {
        gap: var(--space-13);
        padding-bottom: var(--space-55);
    }

    .local-download {
        margin-top: var(--space-13);
    }


    .hero-room-scene {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 82%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 82%, transparent 100%);
    }
}
