/*
 * S2pd Audio — Shareware Shrine system
 * Version: 2.4
 * Date: 2026-10-13
 *
 * v2.4 carries the Photocopy Zine system through every page, makes the real
 * Smrt Stem interface the product-page hero asset, tightens the homepage
 * hierarchy, self-hosts the type system, and fixes deployment inconsistencies.
 */

@font-face {
    font-family: 'Archivo Black';
    src: url('/fonts/archivo-black.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
}

@font-face {
    font-family: 'Finger Paint';
    src: url('/fonts/finger-paint.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: 'Space Mono';
    src: url('/fonts/space-mono-400.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Space Mono';
    src: url('/fonts/space-mono-700.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --web-blue: #070068;
    --web-blue-2: #0d00a4;
    --web-black: #050505;
    --web-white: #fffef4;
    --web-silver: #c6c6c6;
    --web-silver-dark: #828282;
    --web-yellow: #fff500;
    --web-pink: #ff2dbd;
    --web-pink-ink: #a90070;
    --web-cyan: #31f4f4;
    --web-green: #40ff24;
    --web-red: #ff3b1f;
    --black: #050505;
    --dark: #141419;
    --gray: #4b4b58;
    --light-gray: #dedede;
    --off-white: #fffef4;
    --white: #fff;
    --neon-green: #40ff24;
    --neon-pink: #ff2dbd;
    --neon-yellow: #fff500;
    --neon-blue: #31f4f4;
    --neon-purple: #7b40ff;
    --neon-orange: #ff7a00;
    --neon-cyan: #31f4f4;
    --hard-shadow: 8px 8px 0 var(--web-black);
    --window-border: 5px outset #fff;
    --display-font: 'Archivo Black', 'Arial Black', Impact, sans-serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

html,
body { margin: 0; }

body {
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--web-blue);
    background-image:
        radial-gradient(circle, rgba(255,255,255,.95) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(49,244,244,.85) 1px, transparent 1.7px),
        linear-gradient(180deg, #08006d 0%, #0d008d 48%, #050047 100%);
    background-position: 0 0, 14px 15px, 0 0;
    background-size: 31px 31px, 39px 39px, 100% 100%;
    color: var(--web-black);
    font-family: Inter, Arial, sans-serif;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .2;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, transparent 1px 4px);
}

body::after { display: none; }

body > * { position: relative; z-index: 5; }

a { color: inherit; }

/* The existing wordmark remains the same everywhere it appears. */
.logo,
.brand-wordmark,
.hero-logo,
.footer-logo {
    font-family: 'Finger Paint', cursive;
    color: var(--web-black);
    letter-spacing: -.04em;
    text-shadow: 4px 4px 0 var(--web-pink), -2px -2px 0 var(--web-green);
}

/* Photocopy-zine display type replaces the inherited hand-painted headers.
   The S2pd wordmark above is deliberately excluded. */
:where(h1, h2, h3, h4):not(.brand-wordmark) {
    font-family: var(--display-font) !important;
    font-weight: 700;
}

.readme-title,
.directory-heading h2,
.directory-details h3,
.future-shelf h3,
.manifesto-card h2,
.principle b,
.page-header h1,
.page-title,
.product-hero-title,
.features-title,
.how-title,
.limitations-title,
.faq-title {
    font-family: var(--display-font) !important;
    letter-spacing: 0 !important;
}

/* ==================== FLYING TOASTERS ==================== */
.toaster-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

.toaster {
    position: absolute;
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
    animation: s2pd-fly linear infinite;
}

.toaster-body {
    position: relative;
    width: 48px;
    height: 40px;
    background: linear-gradient(180deg, #c0c0c0 0%, #808080 50%, #606060 100%);
    border-radius: 4px 4px 2px 2px;
    box-shadow: inset 2px 2px 0 #e0e0e0, inset -2px -2px 0 #404040;
}

.toaster-body::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 8px;
    width: 12px;
    height: 20px;
    background: #2a1a0a;
    box-shadow: 20px 0 0 #2a1a0a, inset 1px 1px 0 #1a0a00;
}

.toast {
    position: absolute;
    width: 10px;
    height: 12px;
    background: linear-gradient(180deg, #d4a84b 0%, #c49a3d 50%, #a67c2e 100%);
    border-radius: 1px 1px 0 0;
    animation: s2pd-toast-bob .3s ease-in-out infinite alternate;
}

.toast-1 { top: -8px; left: 9px; animation-delay: 0s; }
.toast-2 { top: -10px; left: 29px; animation-delay: .15s; }

.wing {
    position: absolute;
    top: 8px;
    width: 20px;
    height: 24px;
}

.wing-left {
    left: -16px;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 50%, #c0c0c0 100%);
    clip-path: polygon(100% 30%, 100% 70%, 30% 100%, 0% 70%, 0% 30%, 30% 0%);
    transform-origin: right center;
    animation: s2pd-flap-left .15s ease-in-out infinite alternate;
}

.wing-right {
    right: -16px;
    background: linear-gradient(225deg, #fff 0%, #e0e0e0 50%, #c0c0c0 100%);
    clip-path: polygon(0% 30%, 0% 70%, 70% 100%, 100% 70%, 100% 30%, 70% 0%);
    transform-origin: left center;
    animation: s2pd-flap-right .15s ease-in-out infinite alternate;
}

@keyframes s2pd-toast-bob {
    from { transform: translateY(0); }
    to { transform: translateY(-3px); }
}

@keyframes s2pd-flap-left {
    from { transform: rotate(25deg) translateY(-2px); }
    to { transform: rotate(-15deg) translateY(2px); }
}

@keyframes s2pd-flap-right {
    from { transform: rotate(-25deg) translateY(-2px); }
    to { transform: rotate(15deg) translateY(2px); }
}

@keyframes s2pd-fly {
    from { transform: translate(calc(100vw + 100px), -80px); }
    to { transform: translate(-150px, calc(100vh + 100px)); }
}

.toaster:nth-child(1) { animation-duration: 18s; animation-delay: -3s; }
.toaster:nth-child(2) { animation-duration: 22s; animation-delay: -11s; opacity: .7; }
.toaster:nth-child(3) { animation-duration: 20s; animation-delay: -16s; opacity: .8; }
.toaster:nth-child(4) { animation-duration: 25s; animation-delay: -7s; opacity: .6; }

/* ==================== GLOBAL HEADER ==================== */
header,
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: linear-gradient(90deg, var(--web-yellow) 0%, #ff89db 52%, var(--web-cyan) 100%);
    border-bottom: 5px ridge #fff;
    box-shadow: 0 5px 0 var(--web-black);
    backdrop-filter: none;
}

.header-inner,
.site-header-inner {
    width: min(1240px, 100%);
    margin: 0 auto;
    min-height: 76px;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo,
.header-logo {
    display: inline-block;
    flex: 0 0 auto;
    color: var(--web-black);
    font-family: 'Finger Paint', cursive;
    font-size: 31px;
    text-decoration: none;
    transform: rotate(-1deg);
    transition: transform .14s ease;
}

.logo:hover,
.logo:focus-visible,
.header-logo:hover,
.header-logo:focus-visible {
    color: var(--web-black);
    transform: rotate(1deg) scale(1.05);
}

header nav,
.site-nav {
    display: flex;
    gap: 8px;
}

header nav a,
.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    background: var(--web-silver);
    border: 3px outset #fff;
    box-shadow: 3px 3px 0 var(--web-black);
    color: var(--web-black);
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform .13s ease, background .13s ease, box-shadow .13s ease;
}

header nav a::after { display: none; }

header nav a:hover,
header nav a:focus-visible,
header nav a.active,
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
    color: var(--web-black);
    background: var(--web-cyan);
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 var(--web-black);
    outline: none;
}

/* ==================== SHARED RETRO COMPONENTS ==================== */
.win95 {
    background: var(--web-silver);
    border: var(--window-border);
    box-shadow: var(--hard-shadow);
    padding: 4px;
}

.window-titlebar {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 7px;
    background: linear-gradient(90deg, #000080, #1679d5);
    color: #fff;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.window-controls { display: flex; gap: 3px; }

.window-controls i {
    width: 20px;
    height: 19px;
    display: inline-grid;
    place-items: center;
    background: var(--web-silver);
    border: 2px outset #fff;
    color: var(--web-black);
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-style: normal;
}

.window-body {
    background: var(--web-white);
    border: 2px inset #fff;
}

.status-chip,
.product-label,
.product-hero-label {
    display: inline-block;
    padding: 6px 9px;
    background: var(--web-black);
    border: 2px dashed #fff;
    color: var(--web-green);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bevel-button,
.hero-cta,
.product-buy-btn,
.product-try-btn,
.btn-buy,
.btn-trial,
.about-cta a,
.support-cta-link,
.submit-btn,
.bottom-cta a,
.email-signup .signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    background: var(--web-yellow);
    border: 4px outset #fff !important;
    box-shadow: 6px 6px 0 var(--web-black);
    color: var(--web-black);
    font-family: Tahoma, Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .13s ease, background .13s ease, box-shadow .13s ease !important;
}

.bevel-button.hot,
.product-buy-btn,
.btn-buy,
.submit-btn,
.support-cta-link.primary { background: var(--web-pink); }

.bevel-button:hover,
.bevel-button:focus-visible,
.hero-cta:hover,
.hero-cta:focus-visible,
.product-buy-btn:hover,
.product-buy-btn:focus-visible,
.product-try-btn:hover,
.product-try-btn:focus-visible,
.btn-buy:hover,
.btn-buy:focus-visible,
.btn-trial:hover,
.btn-trial:focus-visible,
.about-cta a:hover,
.about-cta a:focus-visible,
.support-cta-link:hover,
.support-cta-link:focus-visible,
.submit-btn:hover,
.submit-btn:focus-visible,
.bottom-cta a:hover,
.bottom-cta a:focus-visible,
.email-signup .signup-btn:hover,
.email-signup .signup-btn:focus-visible {
    background: var(--web-cyan) !important;
    border-color: #fff !important;
    color: var(--web-black) !important;
    transform: translate(-4px, -4px) rotate(-.6deg) !important;
    box-shadow: 10px 10px 0 var(--web-black) !important;
    outline: none;
}

/* ==================== COMPANY HOMEPAGE ==================== */
.company-main {
    width: min(1240px, calc(100% - 30px));
    margin: 0 auto;
    padding: 120px 0 80px;
}

.company-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    gap: 30px;
    align-items: center;
    min-height: 650px;
}

.hero-brand-panel {
    position: relative;
    padding: 48px 44px;
    background: var(--web-yellow);
    border: 7px ridge #fff;
    box-shadow: 13px 13px 0 var(--web-black);
    transform: rotate(-.45deg);
}

.hero-brand-panel::after {
    content: '★ INDEPENDENT SOFTWARE COMPANY ★';
    position: absolute;
    right: -49px;
    top: 41px;
    width: 220px;
    padding: 7px 0;
    background: var(--web-pink);
    border: 3px solid var(--web-black);
    color: var(--web-black);
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    transform: rotate(19deg);
}

.company-hero .brand-wordmark {
    margin: 28px 0 14px;
    font-size: clamp(88px, 13vw, 158px);
    line-height: .8;
    transform: rotate(1deg);
}

.company-tagline {
    display: inline-block;
    margin: 14px 0 24px;
    padding: 8px 12px;
    background: #fff;
    border: 3px solid var(--web-black);
    box-shadow: 5px 5px 0 var(--web-black);
    font-size: clamp(15px, 2vw, 21px);
    font-weight: 700;
    letter-spacing: .08em;
}

.company-intro {
    max-width: 650px;
    margin: 0;
    color: #17171d;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.company-readme { transform: rotate(.55deg); }

.company-readme .window-body { padding: 24px; }

.readme-path {
    margin: 0 0 18px;
    color: #494952;
    font-size: 11px;
}

.readme-title {
    margin: 0 0 16px;
    color: var(--web-black);
    font-family: var(--display-font);
    font-size: clamp(31px, 4vw, 50px);
    line-height: .92;
    letter-spacing: -.05em;
    text-transform: uppercase;
}

.readme-copy {
    margin: 0 0 22px;
    color: #24242c;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.readme-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.readme-list li {
    padding: 9px 0 9px 28px;
    border-top: 2px dotted #777;
    position: relative;
    font-size: 12px;
    font-weight: 700;
}

.readme-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 7px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    background: var(--web-green);
    border: 1px solid var(--web-black);
}

.site-marquee {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    border-top: 5px ridge #fff;
    border-bottom: 5px ridge #fff;
    background: var(--web-black);
    color: var(--web-green);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 50px;
    padding: 14px 0;
    animation: v21-marquee 28s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.marquee-track span::before { content: '★'; color: var(--web-pink); margin-right: 18px; }

@keyframes v21-marquee { to { transform: translateX(-50%); } }

.directory-section {
    padding: 86px 0 76px;
}

.directory-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: end;
    margin-bottom: 30px;
    color: #fff;
}

.directory-heading h2 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(48px, 7vw, 88px);
    line-height: .84;
    letter-spacing: -.07em;
    text-transform: uppercase;
    text-shadow: 5px 5px 0 var(--web-pink);
}

.directory-heading p {
    max-width: 350px;
    margin: 0;
    color: #d8d6ff;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.product-directory {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 26px;
    align-items: stretch;
}

.directory-product .window-body { padding: 0; }

.directory-product-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    min-height: 540px;
}

.directory-visual {
    padding: 32px;
    display: grid;
    align-content: center;
    justify-items: center;
    background: var(--web-black);
    background-image: radial-gradient(circle, #363640 1px, transparent 1px);
    background-size: 13px 13px;
}

.directory-visual img {
    width: 100%;
    display: block;
    border: 4px solid #fff;
    box-shadow: 10px 10px 0 var(--web-pink);
    transform: rotate(-1.3deg);
}

.directory-ad {
    position: relative;
    width: min(100%, 300px);
    margin: 0;
    padding: 8px 8px 10px;
    background: #bdbdbd;
    border: 5px outset #fff;
    box-shadow: 10px 10px 0 var(--web-pink);
    transform: rotate(-.8deg);
}

.directory-ad video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #170034;
    border: 3px inset #fff;
}

.directory-ad figcaption {
    margin: 9px 3px 1px;
    color: var(--web-black);
    font-family: Tahoma, Arial, sans-serif;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}

.ad-sticker {
    position: absolute;
    top: -18px;
    left: -22px;
    z-index: 2;
    padding: 6px 8px;
    background: var(--web-green);
    border: 2px solid var(--web-black);
    color: var(--web-black);
    font-family: var(--display-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    transform: rotate(-5deg);
}

.directory-details {
    padding: 38px 34px;
    background: var(--web-yellow);
}

.directory-details h3 {
    margin: 18px 0 12px;
    font-family: var(--display-font);
    font-size: clamp(43px, 5vw, 66px);
    line-height: .9;
    transform: rotate(-1deg);
}

.directory-details > p {
    color: #202027;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.product-mini-list {
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.product-mini-list li {
    padding: 8px 0;
    border-top: 2px dotted rgba(0,0,0,.5);
    font-size: 12px;
    font-weight: 700;
}

.product-mini-list li::before { content: '✓'; margin-right: 9px; color: #007b00; }

.directory-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
}

.directory-price {
    padding: 7px 10px;
    background: #fff;
    border: 3px dashed var(--web-black);
    font-size: 28px;
    font-weight: 700;
    transform: rotate(-2deg);
}

.future-shelf {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.future-shelf .window-body {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 30px;
    background: var(--web-cyan);
}

.drive-bay {
    min-height: 120px;
    display: grid;
    place-items: center;
    padding: 20px;
    border: 4px dashed var(--web-black);
    background: rgba(255,255,255,.55);
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    transform: rotate(1deg);
}

.future-shelf h3 {
    margin: 0;
    font-family: var(--display-font);
    font-size: 36px;
    line-height: .95;
    text-transform: uppercase;
}

.future-shelf p {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.shelf-status {
    padding: 7px 9px;
    background: var(--web-silver);
    border: 2px inset #fff;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
}

.company-principles {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 28px;
    padding: 30px 0 46px;
}

.manifesto-card {
    padding: 35px;
    background: var(--web-pink);
    border: 6px ridge #fff;
    box-shadow: 10px 10px 0 var(--web-black);
    transform: rotate(-.7deg);
}

.manifesto-card h2 {
    margin: 18px 0;
    font-family: var(--display-font);
    font-size: clamp(42px, 5vw, 66px);
    line-height: .84;
    letter-spacing: -.06em;
    text-transform: uppercase;
}

.manifesto-card p {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
}

.principle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.principle {
    min-height: 145px;
    padding: 20px;
    background: var(--web-white);
    border: 4px solid var(--web-black);
    box-shadow: 6px 6px 0 var(--web-black);
    transition: transform .14s ease, background .14s ease, box-shadow .14s ease;
}

.principle:nth-child(2) { background: var(--web-yellow); }
.principle:nth-child(3) { background: var(--web-cyan); }
.principle:nth-child(4) { background: #fff; }

.principle:hover {
    background: var(--web-green);
    transform: translate(-4px,-4px) rotate(-.6deg);
    box-shadow: 10px 10px 0 var(--web-black);
}

.principle b {
    display: block;
    margin-bottom: 10px;
    font-family: var(--display-font);
    font-size: 19px;
    text-transform: uppercase;
}

.principle p {
    margin: 0;
    color: #292932;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.45;
}

/* ==================== EXISTING INNER PAGES ==================== */
.page-header,
.page-hero,
.product-hero {
    width: min(1160px, calc(100% - 30px));
    margin: 118px auto 52px;
    padding: 105px 38px 62px;
    background: var(--web-silver);
    border: var(--window-border);
    box-shadow: 11px 11px 0 var(--web-black);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-header::before,
.page-hero::before,
.product-hero::before {
    content: '🌐 S2pd Audio / page.htm';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    min-height: 31px;
    display: flex;
    align-items: center;
    padding: 5px 9px;
    background: linear-gradient(90deg, #000080, #1679d5);
    color: #fff;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    transform: none;
    white-space: normal;
    z-index: 3;
}

.page-about .page-header::before { content: '🌐 S2pd Audio / company / about.htm'; }
.page-contact .page-header::before { content: '✉ S2pd Audio / contact / new-message.msg'; }
.page-support .page-header::before { content: '❓ S2pd Audio / support / index.htm'; }
.page-bug-report .page-header::before { content: '🐛 S2pd Audio / support / bug-report.exe'; }
.page-release-notes .page-header::before { content: '📄 S2pd Audio / release-notes / changelog.txt'; }
.page-product-smrt-stem .product-hero::before { content: '🎛 S2pd Audio / products / smrt-stem.app'; }
.page-privacy .page-hero::before { content: '🔒 S2pd Audio / legal / privacy.txt'; }
.page-terms .page-hero::before { content: '📜 S2pd Audio / legal / terms.txt'; }

.page-header::after,
.page-hero::after,
.product-hero::after {
    content: '';
    position: absolute;
    inset: 40px 5px 5px;
    z-index: 0;
    background: linear-gradient(135deg, #fffedb, #ffd3ed 58%, #afffff);
    border: 2px inset #fff;
}

.page-header > *,
.page-hero > *,
.product-hero > * {
    position: relative;
    z-index: 1;
}

.page-header h1,
.page-title,
.product-hero-title {
    color: var(--web-black);
    text-shadow: 4px 4px 0 var(--web-pink), -2px -2px 0 var(--web-green);
}

.page-header .subtitle,
.page-subtitle,
.product-hero-tagline { color: #26262e; }

.about-content,
.contact-content,
.support-content,
.legal-content,
.release-content,
.form-content,
.features-inner,
.how-inner,
.limitations-inner,
.faq-inner,
.sys-req-inner {
    width: min(1000px, calc(100% - 30px));
    margin-left: auto;
    margin-right: auto;
    padding: 46px;
    background: var(--web-silver);
    border: var(--window-border);
    box-shadow: 10px 10px 0 var(--web-black);
}

.about-content,
.contact-content,
.support-content,
.legal-content,
.release-content,
.form-content { margin-bottom: 68px; }

.about-content::before,
.contact-content::before,
.support-content::before,
.legal-content::before,
.release-content::before,
.form-content::before {
    content: 'C:\\S2PD\\CONTENT';
    display: block;
    margin: -32px -30px 34px;
    padding: 7px 9px;
    background: linear-gradient(90deg, #000080, #1679d5);
    color: #fff;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.about-block,
.contact-option,
.faq-item,
.quick-link,
.guide-card,
.release,
.feature-card,
.how-step,
.limitation-item,
.legal-tldr,
.callout,
.privacy-note,
.form-group,
.sys-req-list {
    border-radius: 0 !important;
}

.about-block,
.legal-section,
.faq-item { background: var(--web-white); }

.contact-option,
.quick-link,
.feature-card,
.limitation-item,
.release {
    background: var(--web-white) !important;
    border: 4px solid var(--web-black) !important;
    box-shadow: 6px 6px 0 var(--web-black) !important;
    transition: transform .14s ease, background .14s ease, box-shadow .14s ease !important;
}

.contact-option:hover,
.contact-option:focus-within,
.quick-link:hover,
.quick-link:focus-visible,
.feature-card:hover,
.feature-card:focus-within,
.limitation-item:hover,
.release:hover {
    background: var(--web-yellow) !important;
    transform: translate(-4px,-4px) rotate(-.35deg) !important;
    box-shadow: 10px 10px 0 var(--web-black) !important;
}

.callout,
.legal-tldr,
.privacy-note {
    padding: 22px !important;
    background: var(--web-yellow) !important;
    border: 4px dashed var(--web-black) !important;
    box-shadow: 6px 6px 0 var(--web-black);
}

.callout.warning { background: #ffbc55 !important; }

.guide-card-header,
.release-header {
    background: var(--web-silver) !important;
    border: 4px outset #fff !important;
}

.guide-card-header:hover,
.guide-card-header:focus-visible,
.release-header:hover,
.release-header:focus-visible { background: var(--web-cyan) !important; }

.guide-card-body,
.release-section { background: #fff !important; }

.guide-step-num,
.step-number {
    background: var(--web-black) !important;
    border: 3px solid var(--web-green);
    box-shadow: 3px 3px 0 #777;
    color: var(--web-green) !important;
}

.current-badge,
.release.current .release-version {
    background: var(--web-pink) !important;
    color: var(--web-black) !important;
}

/* Product-page presentation */
.product-hero {
    min-height: 615px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-hero-actions { gap: 14px; }

.screenshot-container,
.product-screenshot,
.video-wrapper {
    position: relative;
    padding: 38px 8px 8px;
    background: var(--web-silver);
    border: var(--window-border);
    border-radius: 0;
    box-shadow: 11px 11px 0 var(--web-black);
    overflow: hidden;
}

.screenshot-container::before,
.product-screenshot::before,
.video-wrapper::before {
    content: '📁 Smrt Stem / product-preview.exe';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    z-index: 4;
    min-height: 26px;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    background: linear-gradient(90deg, #000080, #1679d5);
    color: #fff;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.screenshot-container img,
.product-screenshot img { border: 2px inset #fff; }

.features-section,
.how-it-works,
.screenshot-section,
.limitations-section,
.sys-req,
.faq-section,
.bottom-cta { position: relative; z-index: 10; }

.features-section,
.how-it-works,
.faq-section { background: transparent; }

.features-inner,
.how-inner,
.limitations-inner,
.faq-inner,
.sys-req-inner {
    margin-top: 58px;
    margin-bottom: 58px;
}

.features-title,
.how-title,
.limitations-title,
.faq-title { text-shadow: 3px 3px 0 var(--web-pink); }

.feature-card:nth-child(2n) { background: #efffff !important; }
.feature-card:nth-child(3n) { background: #fffbd2 !important; }

.how-step {
    background: var(--web-cyan) !important;
    border: 4px solid var(--web-black) !important;
    box-shadow: 6px 6px 0 var(--web-black);
}
.how-step:nth-child(2n) { background: var(--web-pink) !important; }
.how-step:nth-child(2n) p { color: var(--web-black) !important; }

.limitations-section {
    background: var(--web-black);
    border-top: 6px ridge #fff;
    border-bottom: 6px ridge #fff;
}

.limitations-inner {
    background: #17171c;
    border-color: #777;
    color: #fff;
}

.limitations-section .limitations-title { color: #fff !important; }
.limitations-section .limitations-intro { color: #f3f3f3 !important; }
.limitations-section .limitation-item { color: #fff !important; }
.limitations-section .limitation-item p { color: #f3f3f3 !important; }
.limitations-section .limitation-item h3,
.limitations-section .limitation-item h4,
.limitations-section .limitation-item strong { color: #fff !important; }

.limitations-section .limitation-item {
    background: #222229 !important;
    border-color: var(--web-pink) !important;
}

/* Keep the silver system-requirements card legible after the zine restyle. */
.sys-req-inner { color: var(--web-black); }
.sys-req h2 {
    color: var(--web-black) !important;
    text-shadow: 3px 3px 0 var(--web-pink);
}
.sys-req-list li { color: #24242c !important; }
.sys-req-list li strong { color: var(--web-black) !important; }

/* Bright pink stays decorative; darker magenta carries small text on paper. */
.about-block a,
.contact-option a,
.faq-item a,
.legal-section a { color: var(--web-pink-ink) !important; }

.legal-tldr h3 { color: var(--web-black) !important; }

.bottom-cta {
    background: var(--web-yellow) !important;
    border-top: 6px ridge #fff;
    border-bottom: 6px ridge #fff;
    color: var(--web-black) !important;
}

.bottom-cta h2,
.bottom-cta p,
.bottom-cta .price-tag { color: var(--web-black) !important; }

.bottom-cta .btn-buy {
    background: var(--web-pink) !important;
    color: var(--web-black) !important;
}

.bottom-cta .btn-trial {
    background: var(--web-cyan) !important;
    color: var(--web-black) !important;
}

/* ==================== FORMS ==================== */
input[type='email'],
input[type='text'],
input[type='file'],
select,
textarea {
    background: #fff !important;
    border: 4px inset #fff !important;
    border-radius: 0 !important;
    color: var(--web-black) !important;
    font-family: 'Space Mono', monospace !important;
}

input:focus,
select:focus,
textarea:focus {
    outline: 4px solid var(--web-cyan) !important;
    outline-offset: 2px;
}

.bug-form,
.file-upload-zone,
.severity-option,
.repro-option { border-radius: 0 !important; }

.bug-form {
    background: #fff;
    border: 5px solid var(--web-black);
    box-shadow: 9px 9px 0 var(--web-black);
}

.file-upload-zone {
    background: #f0f0f0 !important;
    border: 4px dashed var(--web-black) !important;
}

.file-upload-zone:hover,
.file-upload-zone:focus-within { background: var(--web-cyan) !important; }

.step-label,
.required { color: var(--web-pink-ink) !important; }

.upload-hint { color: #4b4b58 !important; }

.severity-option,
.repro-option {
    background: var(--web-silver) !important;
    border: 3px outset #fff !important;
}

.severity-option:has(input:checked),
.repro-option:has(input:checked) {
    background: var(--web-yellow) !important;
    border-style: inset !important;
}

/* ==================== SIGNUP + FOOTER ==================== */
.email-signup,
.company-signup {
    width: min(900px, calc(100% - 30px));
    margin: 60px auto;
    padding: 5px;
    background: var(--web-silver);
    border: var(--window-border);
    box-shadow: 11px 11px 0 var(--web-black);
    text-align: center;
}

.company-signup { margin-top: 22px; }

.email-signup::before,
.company-signup::before {
    content: '✉ S2pd Audio / mailing-list.exe';
    display: block;
    margin: 0 0 4px;
    padding: 7px 9px;
    background: linear-gradient(90deg, #000080, #1679d5);
    color: #fff;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-align: left;
}

.email-signup-inner,
.company-signup-inner {
    max-width: none;
    padding: 38px;
    background: var(--web-white);
    border: 2px inset #fff;
}

.email-signup h3,
.company-signup h2 {
    display: inline-block;
    margin-bottom: 15px;
    padding: 6px 10px;
    background: var(--web-yellow);
    border: 3px solid var(--web-black);
    box-shadow: 4px 4px 0 var(--web-black);
    color: var(--web-black);
}

.email-signup p,
.email-signup .signup-note,
.company-signup p { color: #292932; }

.company-signup form {
    max-width: 520px;
    margin: 24px auto 0;
    display: flex;
    gap: 0;
}

.company-signup input { flex: 1; min-width: 0; padding: 14px 16px; }

footer,
.site-footer {
    position: relative;
    z-index: 10;
    padding: 50px 30px;
    background-color: var(--web-black);
    background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 12px);
    border-top: 7px ridge #fff;
    color: #fff;
}

.footer-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 28px 38px;
}

.footer-logo {
    font-size: 28px;
    transform: rotate(1deg);
}

.footer-tagline {
    margin: 5px 0 0;
    color: #8b8b8b;
    font-size: 12px;
}

.footer-nav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-nav a {
    padding: 6px 8px;
    border: 1px solid #444;
    color: #909090;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    background: var(--web-green);
    border-color: var(--web-green);
    color: var(--web-black);
}

.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--web-cyan); }

.footer-legal {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 25px;
    padding-top: 0;
}

.footer-legal a {
    color: #8b8b8b;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    letter-spacing: .08em;
    text-decoration: none;
}

.visitor-counter {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    color: #f0f0f0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.3;
    text-transform: uppercase;
}

.visitor-counter-digits {
    display: inline-block;
    min-width: 78px;
    padding: 5px 9px;
    background: #050505;
    border: 3px outset #e7e7e7;
    color: #ff4242;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    letter-spacing: .16em;
    text-align: center;
}

.footer-bottom,
.site-footer > .footer-bottom {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
}

.footer-bottom p { margin: 0; color: #8b8b8b; font-size: 12px; }

.version { color: #777; }

/* Cookie panel */
#s2pd-consent,
[id*='consent'] { border-radius: 0 !important; }

#s2pd-consent {
    background: var(--web-silver) !important;
    border: 6px outset #fff !important;
    box-shadow: 10px 10px 0 var(--web-black) !important;
}

#s2pd-consent button {
    border: 3px outset #fff !important;
    border-radius: 0 !important;
}

#s2pd-consent button:hover,
#s2pd-consent button:focus-visible {
    background: var(--web-cyan) !important;
    color: var(--web-black) !important;
}

/* ==================== ACCESSIBILITY + RESPONSIVE ==================== */
a:focus-visible,
button:focus-visible,
[role='button']:focus-visible {
    outline: 4px solid var(--web-cyan);
    outline-offset: 3px;
}

@media (max-width: 1000px) {
    .company-hero,
    .product-directory,
    .company-principles { grid-template-columns: 1fr; }

    .company-hero { padding: 30px 0 65px; }

    .directory-product-grid { grid-template-columns: 1fr; }

    .directory-heading { grid-template-columns: 1fr; }

    .future-shelf .window-body { min-height: 350px; }
}

@media (max-width: 768px) {
    html { scroll-padding-top: 145px; }

    .header-inner,
    .site-header-inner {
        min-height: 0;
        flex-direction: column;
        gap: 7px;
        padding: 7px 10px 10px;
    }

    header nav,
    .site-nav {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 2px 2px 6px;
        scrollbar-width: thin;
    }

    header nav a,
    .site-nav a {
        flex: 0 0 auto;
        min-height: 31px;
        padding: 7px 9px;
        font-size: 10px;
    }

    .company-main { padding-top: 150px; }

    .hero-brand-panel { padding: 38px 24px; }

    .hero-brand-panel::after { display: none; }

    .company-hero .brand-wordmark { font-size: clamp(76px, 28vw, 126px); }

    .directory-section { padding-top: 60px; }

    .directory-visual,
    .directory-details { padding: 24px 20px; }

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

    .page-header,
    .page-hero,
    .product-hero { margin-top: 152px; padding-left: 22px; padding-right: 22px; }

    .about-content,
    .contact-content,
    .support-content,
    .legal-content,
    .release-content,
    .form-content,
    .features-inner,
    .how-inner,
    .limitations-inner,
    .faq-inner,
    .sys-req-inner { padding: 36px 20px; }

    .company-signup form,
    .email-signup form { flex-direction: column; gap: 8px !important; }

    .company-signup input,
    .email-signup input[type='email'] { border-right: 4px inset #fff !important; }

    .company-signup button,
    .email-signup .signup-btn { width: 100%; }

    .footer-nav { justify-content: center; flex-wrap: wrap; gap: 7px; }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .company-main { width: min(100% - 16px, 1240px); }

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

    .company-readme { min-width: 0; }

    .hero-actions,
    .directory-price-row,
    .product-hero-actions { flex-direction: column; align-items: stretch; }

    .bevel-button,
    .hero-cta,
    .product-buy-btn,
    .product-try-btn,
    .btn-buy,
    .btn-trial { width: 100%; }

    .directory-heading h2 { font-size: 48px; }

    .email-signup-inner,
    .company-signup-inner { padding: 30px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* ==================== v2.4 FULL-SITE ZINE COHESION ==================== */

body,
button,
input,
select,
textarea { font-family: Inter, Arial, sans-serif; }

p,
li,
dd { text-wrap: pretty; }

header nav a,
.site-nav a,
.status-chip,
.bevel-button,
.btn-buy,
.btn-trial,
.support-cta-link,
.submit-btn,
.signup-btn,
.product-mini-list,
.visitor-counter,
.directory-price,
.product-hero-note,
.price-tag span { font-family: 'Space Mono', monospace !important; }

.company-tagline,
.readme-path,
.readme-list,
.drive-bay,
.shelf-status,
.footer-nav a,
.version { font-family: 'Space Mono', monospace; }

header nav a,
.site-nav a { font-weight: 700; }

/* Give the homepage one obvious lead and put the shipping product above the fold. */
.company-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
    min-height: 590px;
}

.company-hero .brand-wordmark {
    margin-top: 22px;
    font-size: clamp(82px, 12vw, 142px);
}

.hero-now-shipping {
    max-width: 630px;
    margin: 22px 0 0;
    padding: 10px 12px;
    background: var(--web-black);
    border-left: 8px solid var(--web-pink);
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    line-height: 1.45;
}

.hero-now-shipping strong { color: var(--web-green); text-transform: uppercase; }

.company-readme .window-body { padding: 22px; }

.readme-title {
    font-size: clamp(26px, 3vw, 38px);
    line-height: .98;
}

.directory-heading p {
    max-width: 430px;
    padding: 14px 16px;
    background: var(--web-white);
    border: 3px solid var(--web-black);
    box-shadow: 5px 5px 0 var(--web-pink);
    color: #19191f;
    font-size: 15px;
    font-weight: 600;
}

.product-directory { grid-template-columns: 1fr; }

.future-shelf { margin-top: 24px; }

.future-shelf .window-body {
    min-height: 0;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
}

.future-shelf .drive-bay {
    min-height: 0;
    padding: 12px 16px;
    white-space: nowrap;
    transform: rotate(-.5deg);
}

.future-shelf h3 {
    font-size: 24px;
    white-space: nowrap;
}

.future-shelf .bevel-button { min-height: 42px; }

/* Interior pages use photocopied paper and ink, not the old pastel hero. */
.page-header,
.page-hero,
.product-hero {
    background: #d7d2c5;
    border: 6px solid var(--web-black);
    box-shadow: 14px 14px 0 var(--web-pink);
}

.page-header::before,
.page-hero::before,
.product-hero::before {
    min-height: 34px;
    background: var(--web-black);
    border-bottom: 5px solid var(--web-pink);
    color: #fff;
    font-family: 'Space Mono', monospace;
    letter-spacing: .04em;
}

.page-header::after,
.page-hero::after,
.product-hero::after {
    background-color: var(--web-white);
    background-image:
        repeating-linear-gradient(-7deg, transparent 0 24px, rgba(0,0,0,.035) 24px 26px),
        radial-gradient(circle at 84% 26%, rgba(255,45,189,.16) 0 2px, transparent 2.5px);
    background-size: auto, 14px 14px;
    border: 0;
}

.page-header,
.page-hero {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.product-hero {
    min-height: 520px;
    align-items: flex-start;
    padding-left: clamp(34px, 8vw, 110px);
    text-align: left;
}

.page-header h1,
.page-title,
.product-hero-title {
    max-width: 900px;
    margin-left: 0;
    color: var(--web-black);
    font-size: clamp(62px, 10vw, 120px) !important;
    line-height: .82 !important;
    letter-spacing: -.055em !important;
    text-align: left;
    text-shadow: 6px 6px 0 var(--web-pink) !important;
    text-transform: uppercase;
    transform: rotate(-.6deg);
}

.page-header .subtitle,
.page-subtitle,
.product-hero-tagline {
    max-width: 720px;
    margin-left: 0;
    color: #1e1e24;
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(16px, 2vw, 21px);
    font-weight: 600;
    text-align: left;
}

.product-hero-label {
    background: var(--web-black);
    border: 2px dashed #fff;
    color: var(--web-green) !important;
}

.product-hero-actions { justify-content: flex-start; }

.product-hero-note { color: #24242c !important; }

.about-content,
.contact-content,
.support-content,
.legal-content,
.release-content,
.form-content,
.features-inner,
.how-inner,
.faq-inner,
.sys-req-inner {
    background: #e7e1d2;
    border: 6px solid var(--web-black);
    box-shadow: 12px 12px 0 var(--web-black);
}

.about-content::before,
.contact-content::before,
.support-content::before,
.legal-content::before,
.release-content::before,
.form-content::before {
    background: var(--web-black);
    border-bottom: 6px solid var(--web-pink);
    color: #fff;
    font-family: 'Space Mono', monospace;
    letter-spacing: .04em;
}

.about-block,
.legal-section,
.faq-item,
.contact-option,
.quick-link,
.feature-card,
.release {
    border-width: 4px !important;
    border-color: var(--web-black) !important;
}

.about-block h2,
.about-block h3,
.contact-option h3,
.quick-link h3,
.guide-card h3,
.release h2,
.release h3,
.faq-item h4,
.feature-card h3,
.step-content h3 {
    font-family: var(--display-font) !important;
    letter-spacing: -.02em !important;
}

.contact-icon,
.feature-icon {
    width: auto !important;
    min-width: 54px;
    height: auto !important;
    display: inline-block !important;
    padding: 6px 8px;
    background: var(--web-black);
    border: 3px solid var(--web-pink);
    color: var(--web-green);
    font-family: 'Space Mono', monospace !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1 !important;
    text-align: center;
    transform: rotate(-2deg);
}

.guide-step-num,
.step-number {
    font-family: var(--display-font) !important;
    font-size: 32px !important;
    font-style: normal;
    line-height: 1 !important;
    text-align: center;
    transform: none !important;
}

/* Real interface proof replaces decorative product-page filler. */
.page-product-smrt-stem .product-hero + .screenshot-section {
    width: min(1160px, calc(100% - 30px));
    margin: 0 auto 70px;
    padding: 0;
}

.page-product-smrt-stem .video-wrapper { max-width: none; }

.proof-section {
    position: relative;
    z-index: 10;
    padding: 82px 15px;
    background: var(--web-yellow);
    border-top: 7px ridge #fff;
    border-bottom: 7px ridge #fff;
}

.proof-inner {
    width: min(1420px, 100%);
    margin: 0 auto;
}

.proof-heading {
    max-width: 900px;
    margin: 0 auto 42px;
    text-align: center;
}

.proof-heading h2 {
    margin: 18px 0 14px;
    color: var(--web-black);
    font-size: clamp(46px, 7vw, 92px);
    line-height: .86;
    letter-spacing: -.055em;
    text-transform: uppercase;
    text-shadow: 5px 5px 0 var(--web-pink);
}

.proof-heading p {
    max-width: 720px;
    margin: 0 auto;
    color: #1c1c22;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.55;
}

.proof-window {
    margin: 0;
    padding: 0 7px 8px;
    background: var(--web-silver);
    border: 5px outset #fff;
    box-shadow: 10px 10px 0 var(--web-black);
    overflow: hidden;
}

.proof-window-bar {
    margin: 0 -7px 7px;
    padding: 7px 10px;
    background: var(--web-black);
    border-bottom: 4px solid var(--web-pink);
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.proof-window img {
    width: 100%;
    height: auto;
    display: block;
    border: 2px inset #fff;
}

.proof-window figcaption {
    padding: 11px 8px 5px;
    color: var(--web-black);
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    line-height: 1.45;
}

.proof-window-wide { margin-bottom: 28px; }

.verdict-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.verdict-grid .proof-window img {
    aspect-ratio: 1.82 / 1;
    object-fit: cover;
    object-position: top left;
}

.verdict-pass { box-shadow: 10px 10px 0 var(--web-green); }
.verdict-warn { box-shadow: 10px 10px 0 #ff9d00; }
.verdict-fail { box-shadow: 10px 10px 0 #ff3b3b; }

.waveform-showcase {
    width: min(1400px, calc(100% - 30px));
    margin: 0 auto;
    padding: 86px 0 !important;
}

.waveform-showcase .screenshot-container { max-width: none; }

.screenshot-caption {
    max-width: 840px;
    margin: 28px auto 0;
    padding: 14px 18px;
    background: var(--web-white);
    border: 4px solid var(--web-black);
    box-shadow: 7px 7px 0 var(--web-pink);
    color: var(--web-black);
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.features-title,
.how-title,
.faq-title,
.limitations-title {
    font-size: clamp(40px, 6vw, 70px) !important;
    letter-spacing: -.04em !important;
    line-height: .9 !important;
    text-transform: uppercase;
}

.features-grid { gap: 18px; }

.feature-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-content: start;
}

.feature-card h3,
.feature-card p { grid-column: 2; }

.feature-card h3 { margin-top: 3px; }

.feature-card p { color: #303039 !important; }

.how-step { align-items: center; }

/* Footer geometry is shared by every page, including the homepage. */
.site-footer,
footer { width: 100%; }

@media (max-width: 1000px) {
    .company-hero { grid-template-columns: 1fr; }

    .future-shelf .window-body {
        grid-template-columns: auto 1fr;
    }

    .future-shelf p { grid-column: 1 / -1; }

    .future-shelf .bevel-button { justify-self: start; }

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

    .verdict-grid .proof-window img {
        aspect-ratio: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    html { scroll-padding-top: 112px; }

    .header-inner,
    .site-header-inner { padding-top: 6px; }

    .logo,
    .header-logo { font-size: 26px; }

    .company-main { padding-top: 116px; }

    .company-hero {
        min-height: 0;
        padding-top: 0;
    }

    .hero-brand-panel { padding: 25px 20px 28px; }

    .company-hero .brand-wordmark {
        margin: 16px 0 8px;
        font-size: clamp(66px, 24vw, 100px);
    }

    .company-tagline { margin: 8px 0 16px; }

    .company-intro { font-size: 15px; line-height: 1.45; }

    .hero-now-shipping { margin-top: 15px; font-size: 12px; }

    .hero-actions { margin-top: 16px; }

    .page-header,
    .page-hero,
    .product-hero {
        margin-top: 122px;
        min-height: 340px;
        padding: 82px 24px 44px;
    }

    .product-hero { min-height: 460px; }

    .page-header h1,
    .page-title,
    .product-hero-title { font-size: clamp(52px, 18vw, 82px) !important; }

    .proof-section { padding: 64px 8px; }

    .proof-window { box-shadow: 7px 7px 0 var(--web-black); }

    .feature-card {
        grid-template-columns: 1fr;
    }

    .feature-card h3,
    .feature-card p { grid-column: 1; }

    .feature-icon { margin-bottom: 10px; }

    .future-shelf .window-body { grid-template-columns: 1fr; }

    .future-shelf p { grid-column: auto; }

    .future-shelf h3 { white-space: normal; }

    .future-shelf .drive-bay { white-space: normal; }
}

@media (max-width: 500px) {
    .readme-title { font-size: 27px; }

    .directory-heading h2 { font-size: 44px; }

    .directory-heading p { font-size: 13px; }

    .proof-heading h2 { font-size: 44px; }

    .proof-window figcaption { font-size: 11px; }

    .waveform-showcase { padding: 60px 0 !important; }
}

/* ==================== v2.6 FIXES ==================== */
/* Smrt Stem bottom CTA: center Buy Now / Try Free under the price */
.bottom-cta .product-hero-actions { justify-content: center; }

/* Homepage product card: secondary buttons no longer match the yellow card */
.directory-price-row .bevel-button.trial { background: var(--web-cyan); }
.directory-price-row .bevel-button.details { background: var(--web-white); }
.directory-price-row .bevel-button.trial:hover,
.directory-price-row .bevel-button.trial:focus-visible { background: var(--web-green) !important; }


/* ---------- v2.7: "New in 1.1" section on the Smrt Stem page ---------- */
.new-in-section {
    position: relative;
    z-index: 10;
    padding: 82px 15px;
    background: var(--web-black);
    border-top: 7px ridge var(--web-cyan);
    border-bottom: 7px ridge var(--web-cyan);
}
.new-in-inner {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}
.new-in-section .proof-heading { margin: 0 0 22px; text-align: left; }
.new-in-section .proof-heading h2 {
    color: var(--web-white);
    font-size: clamp(34px, 3.9vw, 56px);
    line-height: .92;
    text-shadow: 4px 4px 0 var(--web-pink);
}
.new-in-section .proof-heading p { margin: 0; color: #d9d9e0; }
.new-in-section .proof-window { box-shadow: 10px 10px 0 var(--web-cyan); }
.new-in-list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}
.new-in-list li {
    margin: 0 0 14px;
    padding-left: 26px;
    position: relative;
    color: #e8e8ee;
    font-size: 16px;
    line-height: 1.5;
}
.new-in-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--web-green);
    font-family: 'Space Mono', monospace;
    font-weight: 700;
}
.new-in-list strong { color: var(--web-yellow); }
.new-in-link {
    color: var(--web-cyan);
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.new-in-link:hover { color: var(--web-green); }
.legacy-download { color: var(--neon-pink); }
@media (max-width: 900px) {
    .new-in-inner { grid-template-columns: 1fr; gap: 32px; }
    .new-in-section { padding: 64px 16px; }
}
