/*
 * AnotherLaunch warm-paper reframe.
 * This presentation layer adapts the current DevelopChess visual system while
 * leaving StillShipping's routes, forms, and application behavior untouched.
 */

@font-face {
    font-family: "Inconsolata";
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url("../fonts/Inconsolata-Variable.woff2") format("woff2");
}

:root {
    --ink: #22211f;
    --ink-soft: #4f4b47;
    --quiet: #6f6964;
    --paper: #fbf8f3;
    --paper-strong: #f5f0e9;
    --surface: #fffdfa;
    --surface-raised: #fffaf5;
    --line: #dfd9d2;
    --line-hi: #cfc7bf;
    --accent: #ea765f;
    --accent-deep: #cf5944;
    --accent-dark: #ad4635;
    --accent-soft: #f4b1a3;
    --accent-pale: #fff0eb;
    --rank-blue: #2d5bd8;
    --rank-teal: #056957;
    --shadow: 0 18px 50px rgba(52, 43, 36, .1);
    --shadow-soft: 0 10px 28px rgba(52, 43, 36, .07);
    --focus: 0 0 0 3px rgba(234, 118, 95, .18);
    --field-depth:
        inset 0 2px 4px rgba(52, 43, 36, .13),
        inset 0 -1px 0 rgba(255, 255, 255, .92),
        0 2px 0 #d8cec5,
        0 6px 12px rgba(52, 43, 36, .04);
    --font-mono: "Inconsolata", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --mono: var(--font-mono);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 13px;
}

* { scrollbar-color: #cec5bc var(--paper-strong); }

html { background: var(--paper); }

body {
    background:
        radial-gradient(circle at 14% -8rem, rgba(234, 118, 95, .11), transparent 32rem),
        radial-gradient(circle at 96% 16rem, rgba(49, 100, 244, .055), transparent 30rem),
        radial-gradient(rgba(34, 33, 31, .026) .7px, transparent .8px),
        var(--paper);
    background-attachment: fixed;
    background-size: auto, auto, 5px 5px, auto;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: -.01em;
}

a { text-underline-offset: 3px; }

.skip-link { z-index: 1000; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent-dark) !important;
    outline-offset: 3px;
}

.site-shell {
    width: min(100%, 1204px);
    margin-inline: auto;
    padding: 0 12px 48px;
}

/* Floating command header */
.site-header {
    position: sticky;
    z-index: 210;
    top: 10px;
    width: 100%;
    min-height: 66px;
    margin: 12px auto 0;
    padding: 9px 10px;
    border: 1px solid rgba(223, 217, 210, .88);
    border-radius: 22px;
    background: rgba(255, 253, 250, .92);
    box-shadow: 0 14px 42px rgba(52, 43, 36, .08);
    backdrop-filter: blur(18px) saturate(1.35);
}

.shared-brand {
    gap: 11px;
    color: var(--ink);
}

.brand-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #181715;
    border-radius: 13px;
    background: linear-gradient(160deg, #34312e, var(--ink));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .16),
        inset 0 -2px 0 rgba(0, 0, 0, .3),
        0 3px 0 var(--accent-deep),
        0 8px 16px rgba(52, 43, 36, .16);
    color: var(--surface);
    font-size: 10px;
    letter-spacing: -.04em;
}

.brand-word {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.045em;
}

.primary-nav {
    gap: 5px;
    padding: 4px;
    border-color: var(--line);
    background: rgba(255, 253, 250, .86);
    box-shadow: none;
}

.nav-link,
.nav-cta {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 500;
    transition: background-color .12s ease, border-color .12s ease, box-shadow .09s ease, color .12s ease, translate .09s ease;
}

.nav-link:hover {
    border-color: var(--line-hi);
    background: var(--surface-raised);
    color: var(--ink);
}

.nav-link.active,
.nav-link[aria-current="page"] {
    border-color: #d98b7c;
    background: var(--accent-pale);
    box-shadow: inset 0 -2px 0 rgba(234, 118, 95, .38);
    color: var(--accent-dark);
    font-weight: 600;
}

.nav-cta {
    --nav-edge: #b94d39;
    border-color: var(--nav-edge);
    background: var(--accent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .52),
        inset 0 -1px 0 rgba(52, 43, 36, .1),
        0 4px 0 var(--nav-edge),
        0 9px 18px rgba(185, 77, 57, .2);
    color: var(--ink);
    font-weight: 600;
    translate: 0 0;
}

.nav-cta:hover {
    border-color: var(--nav-edge);
    background: var(--accent-soft);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .62),
        inset 0 -1px 0 rgba(52, 43, 36, .1),
        0 5px 0 var(--nav-edge),
        0 11px 21px rgba(185, 77, 57, .22);
    color: var(--ink);
    transform: none;
    translate: 0 -1px;
}

.nav-cta:active {
    box-shadow:
        inset 0 1px 3px rgba(52, 43, 36, .14),
        0 1px 0 var(--nav-edge),
        0 4px 8px rgba(185, 77, 57, .17);
    translate: 0 3px;
}

.nav-toggle {
    width: 42px;
    height: 42px;
    border-color: var(--line-hi);
    border-radius: 13px;
    background: var(--surface);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .8),
        0 2px 0 #c8bdb2,
        0 7px 14px rgba(52, 43, 36, .09);
    translate: 0 0;
}

.nav-toggle:active { box-shadow: inset 0 1px 3px rgba(52, 43, 36, .13), 0 1px 0 #c8bdb2; translate: 0 1px; }

/* Typography */
.eyebrow {
    color: var(--accent-dark);
    font: 820 10px/1.2 var(--font-mono);
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow::after { background: var(--line-hi); }

.hero {
    padding: clamp(48px, 7vw, 82px) clamp(18px, 2.5vw, 30px) clamp(52px, 7vw, 78px);
}

.hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: clamp(34px, 6vw, 72px);
}

.hero h1,
.hero-copy h1 {
    max-width: 850px;
    font-size: clamp(52px, 7.5vw, 92px);
    font-weight: 700;
    line-height: .91;
    letter-spacing: -.075em;
}

.hero h1 em,
.hero h1 span,
.hero-copy h1 em,
.hero-copy h1 span { color: var(--accent-dark); }

.hero-copy > p:not(.eyebrow),
.hero > p:not(.eyebrow) {
    margin-top: 20px;
    color: #68615c;
    font-size: 18px;
    line-height: 1.58;
}

.page-hero h1 {
    font-size: clamp(47px, 6.5vw, 78px);
    font-weight: 700;
    line-height: .92;
    letter-spacing: -.072em;
}

.page-hero > p:not(.eyebrow) { font-size: 17px; line-height: 1.58; }

.product-identity h1 {
    font-size: clamp(40px, 5.5vw, 70px);
    font-weight: 700;
    line-height: .94;
}

.product-identity.compact h1 { font-size: clamp(26px, 3vw, 38px); }

.auth-intro h1 {
    font-size: clamp(45px, 6vw, 72px);
    font-weight: 700;
    line-height: .94;
}

.section-heading h1,
.section-heading h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.02;
}

.section-heading.compact h2 { font-size: clamp(27px, 3vw, 38px); }

.toolbar h1,
.toolbar h2 {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 700;
    line-height: 1.04;
}

.form-card > h1,
.form-card > h2,
.message-panel h1,
.prose h1 { font-weight: 700; }

.panel h2,
.panel h3,
.form-section h2,
.price-card h2,
.price-card h3 { font-weight: 700; }

/* Foundational warm-paper surfaces */
.hero-panel,
.product-card,
.release-card,
.category-card,
.stat-card,
.panel,
.form-card,
.price-card,
.filters,
.table-wrap,
.dashboard-nav,
.modal-panel,
.modal > dialog {
    border-color: var(--line);
    background-color: var(--surface);
    box-shadow: var(--shadow-soft);
}

.hero-panel,
.panel,
.form-card,
.price-card,
.filters,
.table-wrap,
.dashboard-nav,
.modal-panel,
.modal > dialog { border-radius: 24px; }

.modal,
.modal-backdrop { z-index: 900; }

.hero-panel {
    border-radius: 24px;
    background: rgba(255, 253, 250, .95);
    box-shadow: var(--shadow);
}

.product-card,
.release-card,
.category-card {
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(7, 139, 116, .055), transparent 48%),
        var(--surface);
    box-shadow: 0 8px 22px rgba(52, 43, 36, .055);
    transform: none;
    translate: 0 0;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease, translate .16s ease;
}

.product-card:nth-child(4n + 2),
.release-card:nth-child(4n + 2),
.category-card:nth-child(4n + 2) {
    background: linear-gradient(145deg, rgba(234, 118, 95, .07), transparent 52%), var(--surface);
}

.product-card:nth-child(4n + 3),
.release-card:nth-child(4n + 3),
.category-card:nth-child(4n + 3) {
    background: linear-gradient(145deg, rgba(49, 100, 244, .055), transparent 52%), var(--surface);
}

.product-card:nth-child(4n),
.release-card:nth-child(4n),
.category-card:nth-child(4n) {
    background: linear-gradient(145deg, rgba(117, 87, 214, .055), transparent 52%), var(--surface);
}

.product-card:hover,
.release-card:hover,
.category-card:hover {
    border-color: var(--accent-soft);
    background-color: var(--surface);
    box-shadow: 0 16px 34px rgba(52, 43, 36, .11);
    transform: none;
    translate: 0 -2px;
}

.stat-card,
.metric {
    border-color: var(--line);
    background: linear-gradient(145deg, rgba(234, 118, 95, .055), transparent 58%), var(--surface-raised);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 2px 0 #d6cec6, 0 8px 16px rgba(52, 43, 36, .055);
}

.logo-frame,
.media-frame,
.badge-preview,
.widget-preview {
    border-color: var(--line-hi);
    box-shadow: inset 0 1px 2px rgba(52, 43, 36, .055), 0 2px 0 #ddd5cd;
}

.launch-card-main { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 3px 0 #d2c8bf, 0 12px 24px rgba(52, 43, 36, .08); }

.launch-route span,
.category-icon,
.setup-card,
.choice-card,
.video-link,
details {
    border-color: var(--line-hi);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76), 0 2px 0 #c8bdb2, 0 6px 11px rgba(52, 43, 36, .075);
}

.category-icon { background: var(--accent-pale); }

.setup-card,
.choice-card,
.video-link {
    transform: none;
    translate: 0 0;
    transition: border-color .12s ease, box-shadow .09s ease, translate .09s ease;
}

.setup-card:hover,
.video-link:hover {
    border-color: var(--accent-soft);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 3px 0 #d98b7c, 0 9px 16px rgba(52, 43, 36, .09);
    transform: none;
    translate: 0 -1px;
}

.setup-card:active,
.choice-card:active,
.video-link:active {
    box-shadow: inset 0 1px 3px rgba(52, 43, 36, .13), 0 1px 0 #c8bdb2, 0 3px 6px rgba(52, 43, 36, .07);
    translate: 0 1px;
}

.choice-card:has(input:checked) {
    border-color: #d98b7c;
    background: var(--accent-pale);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 2px 0 #c45742, 0 6px 11px rgba(185, 77, 57, .11);
}

.final-cta {
    border: 1px solid #c45742 !important;
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 5px 0 #c45742, 0 22px 50px rgba(185, 77, 57, .22);
}

/* DevelopChess-style 3D action controls */
.button,
button.button,
a.button,
input.button {
    --button-face: var(--surface);
    --button-edge: #bfb4aa;
    --button-shadow: rgba(52, 43, 36, .12);
    min-height: 45px;
    padding: 10px 16px;
    border-color: var(--button-edge);
    border-radius: 13px;
    background: var(--button-face);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .78),
        inset 0 -1px 0 rgba(52, 43, 36, .1),
        0 4px 0 var(--button-edge),
        0 10px 18px var(--button-shadow);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.01em;
    transform: none;
    translate: 0 0;
    transition: background-color .12s ease, border-color .12s ease, box-shadow .09s ease, color .12s ease, translate .09s ease;
}

.button.primary,
button.button.primary,
a.button.primary,
button.primary {
    --button-face: var(--accent);
    --button-edge: #b94d39;
    --button-shadow: rgba(185, 77, 57, .22);
    border-color: var(--button-edge);
    background: var(--button-face);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .58),
        inset 0 -1px 0 rgba(52, 43, 36, .1),
        0 4px 0 var(--button-edge),
        0 10px 18px var(--button-shadow);
    color: var(--ink);
}

.button.secondary,
button.button.secondary,
a.button.secondary {
    --button-face: var(--surface);
    --button-edge: #bfb4aa;
    --button-shadow: rgba(52, 43, 36, .12);
    border-color: var(--button-edge);
    background: var(--button-face);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .78),
        inset 0 -1px 0 rgba(52, 43, 36, .1),
        0 4px 0 var(--button-edge),
        0 10px 18px var(--button-shadow);
    color: var(--ink);
}

.button.danger,
button.button.danger,
a.button.danger {
    --button-face: var(--danger-soft);
    --button-edge: #c96d5f;
    --button-shadow: rgba(179, 61, 45, .16);
    border-color: var(--button-edge);
    background: var(--button-face);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .72),
        inset 0 -1px 0 rgba(52, 43, 36, .1),
        0 4px 0 var(--button-edge),
        0 10px 18px var(--button-shadow);
    color: var(--danger);
}

.button:hover:not(:disabled),
button.button:hover:not(:disabled),
a.button:hover {
    background: var(--button-face);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .82),
        inset 0 -1px 0 rgba(52, 43, 36, .1),
        0 5px 0 var(--button-edge),
        0 12px 22px var(--button-shadow);
    color: inherit;
    transform: none;
    translate: 0 -1px;
}

.button.primary:hover:not(:disabled),
button.button.primary:hover:not(:disabled),
a.button.primary:hover {
    background: var(--button-face);
    color: var(--ink);
}

.button.secondary:hover:not(:disabled),
button.button.secondary:hover:not(:disabled),
a.button.secondary:hover {
    --button-face: var(--accent-pale);
    --button-edge: #d98b7c;
    color: var(--accent-dark);
}

.button.danger:hover:not(:disabled),
button.button.danger:hover:not(:disabled),
a.button.danger:hover {
    --button-face: var(--danger);
    --button-edge: #8f3024;
    color: #fff;
}

.button:active:not(:disabled),
button.button:active:not(:disabled),
a.button:active {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .55),
        inset 0 1px 3px rgba(52, 43, 36, .14),
        0 1px 0 var(--button-edge),
        0 4px 8px var(--button-shadow);
    transform: none;
    translate: 0 3px;
}

.button:disabled,
button.button:disabled {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 0 var(--button-edge);
    transform: none;
    translate: 0 2px;
}

.button.large { min-height: 52px; padding: 13px 22px; font-size: 15px; }

.button.small {
    min-height: 35px;
    padding: 7px 12px;
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .74), 0 2px 0 var(--button-edge), 0 6px 10px var(--button-shadow);
    font-size: 12px;
}

.button.small:hover:not(:disabled) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 3px 0 var(--button-edge), 0 8px 13px var(--button-shadow); }
.button.small:active:not(:disabled) { box-shadow: inset 0 1px 3px rgba(52, 43, 36, .13), 0 1px 0 var(--button-edge), 0 3px 6px var(--button-shadow); translate: 0 1px; }

.final-cta .button.primary {
    --button-face: var(--ink);
    --button-edge: #090807;
    --button-shadow: rgba(34, 33, 31, .22);
    border-color: var(--button-edge);
    background: var(--button-face);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(0, 0, 0, .3), 0 4px 0 var(--button-edge), 0 10px 18px var(--button-shadow);
}

.final-cta .button.primary:hover {
    --button-face: #34312e;
    background: var(--button-face);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -1px 0 rgba(0, 0, 0, .3), 0 5px 0 var(--button-edge), 0 12px 22px var(--button-shadow);
}

.final-cta .button.primary:active {
    background: var(--button-face);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .34), 0 1px 0 var(--button-edge), 0 4px 8px var(--button-shadow);
    transform: none;
    translate: 0 3px;
}

/* Inset controls */
.field > label,
.field > .field-label,
.field > span:first-child {
    color: #5f5954;
    font: 780 10px/1.2 var(--font-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.field input:not([type="checkbox"]):not([type="radio"]),
.field textarea,
.field select,
.filters input:not([type="checkbox"]):not([type="radio"]),
.filters select,
.form-card input:not([type="checkbox"]):not([type="radio"]),
.form-card textarea,
.form-card select,
.category-admin-table input:not([type="checkbox"]),
.category-admin-table textarea {
    border-color: #cfc3b8;
    border-radius: 13px;
    background: linear-gradient(180deg, #f6efe8 0, #fffdfa 27%, #fff 100%);
    box-shadow: var(--field-depth);
    font-size: 14px;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.filters input:focus,
.filters select:focus,
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus,
.category-admin-table input:focus,
.category-admin-table textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: var(--field-depth), var(--focus);
}

.field input[type="file"]::file-selector-button {
    min-height: 34px;
    border: 1px solid #bfb4aa;
    border-radius: 9px;
    background: var(--surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 2px 0 #bfb4aa;
}

.field input[type="file"]::file-selector-button:active { box-shadow: inset 0 1px 3px rgba(52, 43, 36, .13), 0 1px 0 #bfb4aa; }

/* Compact navigation and state controls */
.pagination a,
.admin-tabs a,
.admin-tabs button,
.dashboard-nav > a,
.dashboard-nav > button,
.copy-button {
    --control-edge: #c8bdb2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 2px 0 var(--control-edge), 0 6px 11px rgba(52, 43, 36, .08);
    transform: none;
    translate: 0 0;
    transition: background-color .12s ease, border-color .12s ease, box-shadow .08s ease, color .12s ease, translate .08s ease;
}

.pagination a:active,
.admin-tabs a:active,
.admin-tabs button:active,
.dashboard-nav > a:active,
.dashboard-nav > button:active,
.copy-button:active {
    box-shadow: inset 0 1px 3px rgba(52, 43, 36, .13), 0 1px 0 var(--control-edge), 0 3px 6px rgba(52, 43, 36, .07);
    translate: 0 1px;
}

.admin-tabs .active,
.admin-tabs [aria-current="page"],
.pagination .active,
.pagination [aria-current="page"] { --control-edge: #c45742; }

.dashboard-nav { top: 94px; }
.detail-grid > .sidebar { top: 94px; }

.status-pill,
.type-pill,
.source-pill { font-size: 10.5px; }

.data-table th { font: 700 10px/1.3 var(--font-mono); letter-spacing: .09em; }

.flash { border-radius: 15px; box-shadow: var(--shadow-soft); }
.empty-state { border-radius: 18px; background: rgba(255, 253, 250, .78); }

@media (max-width: 1020px) {
    .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 32px; }
    .hero h1,
    .hero-copy h1 { font-size: clamp(50px, 7.3vw, 74px); }
}

@media (max-width: 900px) {
    .site-shell { padding-inline: 8px; }
    .site-header { top: 7px; margin-top: 7px; }
    .nav-link,
    .nav-cta { padding-inline: 10px; font-size: 11px; }
    .hero { padding-top: 48px; }
    .hero h1,
    .hero-copy h1 { font-size: clamp(48px, 7.5vw, 68px); }
}

@media (max-width: 760px) {
    body { background-attachment: scroll; }

    .site-header {
        min-height: 58px;
        padding: 7px;
        border-radius: 16px;
    }

    .primary-nav {
        margin-top: 2px;
        padding: 8px;
        border-color: #d4ccc4;
        border-radius: 15px;
        background: rgba(255, 253, 250, .98);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .84), 0 12px 28px rgba(52, 43, 36, .1);
    }

    .nav-link,
    .nav-cta { min-height: 44px; justify-content: flex-start; padding-inline: 13px; }
    .nav-cta { justify-content: center; }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .hero {
        padding: 46px 16px 52px;
    }

    .hero h1,
    .hero-copy h1 { font-size: clamp(45px, 14vw, 68px); }

    .hero-copy > p:not(.eyebrow),
    .hero > p:not(.eyebrow) { font-size: 16px; }

    .page-hero h1 { font-size: clamp(43px, 12vw, 64px); }

    .page-hero > p:not(.eyebrow) { font-size: 16px; }

    .auth-intro h1 { font-size: clamp(43px, 12vw, 60px); }
    .dashboard-nav,
    .detail-grid > .sidebar { top: auto; }
}

@media (max-width: 620px) {
    body { font-size: 15px; }
    .site-shell { padding: 0 8px 34px; }
    .brand-icon { width: 36px; height: 36px; border-radius: 11px; }
    .brand-word { font-size: 13px; }
    .nav-toggle { width: 40px; height: 40px; }

    .hero { padding: 38px 10px 46px; }
    .hero-panel,
    .panel,
    .form-card,
    .price-card,
    .filters,
    .table-wrap,
    .dashboard-nav,
    .modal-panel,
    .modal > dialog { border-radius: 15px; }

    .hero-panel { padding: 14px; }
    .product-card,
    .release-card,
    .category-card { border-radius: 13px; }
    .final-cta { border-radius: 17px; }
    .section-heading h1,
    .section-heading h2 { font-size: clamp(29px, 9vw, 39px); }
    .button.large { min-height: 50px; font-size: 14px; }

    .field input:not([type="checkbox"]):not([type="radio"]),
    .field textarea,
    .field select,
    .filters input:not([type="checkbox"]):not([type="radio"]),
    .filters select,
    .form-card input:not([type="checkbox"]):not([type="radio"]),
    .form-card textarea,
    .form-card select { font-size: 16px; }
}

/* Authoritative mobile navigation and breadcrumb treatment. */
.nav-toggle::before { display: none; }

.nav-toggle-icon {
    position: relative;
    width: 18px;
    height: 14px;
    display: block;
    flex: 0 0 auto;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.nav-toggle-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    border-top: 2px solid currentColor;
    transform: translateY(-50%);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    height: 18px;
    border: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before,
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    border-top: 2px solid currentColor;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: rotate(-45deg); }

.breadcrumbs ol { gap: 0; }
.breadcrumbs li { gap: 8px; }
.breadcrumbs li + li::before { margin: 0 8px; }

@media (max-width: 760px) {
    .site-header {
        min-height: 58px;
        flex-wrap: nowrap;
        gap: 8px;
        isolation: isolate;
    }

    .js .nav-toggle {
        width: auto;
        min-width: 88px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        padding: 0 12px;
        font-size: var(--type-small);
    }

    .nav-toggle-label {
        display: block;
        font-weight: 700;
        line-height: 1;
    }

    .primary-nav {
        position: absolute;
        z-index: 20;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        order: initial;
        width: auto;
        max-width: none;
        max-height: calc(100dvh - 86px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin: 0;
        padding: 8px;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: 1px solid #d4ccc4;
        border-radius: 16px;
        background: rgba(255, 253, 250, .99);
        box-shadow: 0 20px 48px rgba(52, 43, 36, .2), 0 4px 12px rgba(52, 43, 36, .08);
        animation: mobile-nav-in .14s ease-out;
    }

    .js .primary-nav:not(.is-open) { display: none; }

    .mobile-nav-heading {
        display: block;
        padding: 7px 10px 6px;
        color: var(--quiet);
        font: 700 var(--type-micro)/1.2 var(--font-mono);
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .primary-nav .nav-link,
    .primary-nav .nav-cta {
        width: 100%;
        min-height: 44px;
        justify-content: flex-start;
        padding: 10px 12px;
        border-radius: 11px;
        white-space: normal;
    }

    .primary-nav .nav-link::after {
        content: "›";
        margin-left: auto;
        color: var(--quiet);
        font-size: 1.15em;
    }

    .primary-nav .nav-cta {
        margin-top: 4px;
        justify-content: center;
    }

    .breadcrumbs {
        padding: 9px 0 5px;
        font-size: var(--type-small);
    }

    .breadcrumbs ol {
        display: grid;
        grid-template-columns: minmax(0, auto) minmax(0, 1fr);
        align-items: center;
        padding: 4px;
        overflow: hidden;
        border: 1px solid rgba(207, 199, 191, .86);
        border-radius: 14px;
        background: rgba(255, 253, 250, .76);
        box-shadow: 0 6px 18px rgba(52, 43, 36, .045);
    }

    .breadcrumbs li { display: none; }
    .breadcrumbs li:nth-last-child(2),
    .breadcrumbs li.current { display: flex; }

    .breadcrumbs li:nth-last-child(2)::before { content: none; }
    .breadcrumbs li.current::before {
        content: "";
        width: 1px;
        height: 22px;
        flex: 0 0 auto;
        margin: 0 9px 0 3px;
        background: var(--line);
    }

    .breadcrumbs li:nth-last-child(2) a {
        min-width: 0;
        max-width: min(42vw, 180px);
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 7px 9px;
        overflow: hidden;
        border-radius: 10px;
        color: var(--accent-dark);
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .breadcrumbs li:nth-last-child(2) a::before {
        content: "←";
        flex: 0 0 auto;
        font-size: 1.05em;
    }

    .breadcrumbs li.current,
    .breadcrumbs li.current span { min-width: 0; }
    .breadcrumbs li.current span {
        display: block;
        overflow: hidden;
        color: var(--ink-soft);
        font-weight: 600;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@keyframes mobile-nav-in {
    from { opacity: 0; transform: translateY(-5px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .primary-nav { animation: none; }
}

@media (max-width: 420px) {
    .hero h1,
    .hero-copy h1 { font-size: clamp(43px, 14.5vw, 58px); }
    .page-hero h1 { font-size: clamp(40px, 13vw, 54px); }
    .product-identity h1 { font-size: clamp(36px, 12vw, 50px); }
    .hero-actions { gap: 12px; }
}

@media (max-width: 350px) {
    .brand-word { font-size: 12px; }
    .brand-icon { width: 34px; height: 34px; }
    .nav-toggle { width: 38px; height: 38px; }
    .hero-actions .button,
    .final-cta .button { width: 100%; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .button,
    .nav-cta,
    .nav-toggle,
    .product-card,
    .release-card,
    .category-card,
    .setup-card,
    .choice-card,
    .pagination a,
    .admin-tabs a,
    .admin-tabs button,
    .dashboard-nav > a,
    .dashboard-nav > button { transition: none; }

    .button:hover,
    .button:active,
    .nav-cta:hover,
    .nav-cta:active,
    .product-card:hover,
    .release-card:hover,
    .category-card:hover { translate: 0 0; }
}

@media print {
    body { background: #fff; }
}

/* Compact density pass: preserve the tactile system while showing more useful
   content in each viewport. Interactive controls keep accessible tap heights. */
.site-shell { padding-bottom: 32px; }

.site-header {
    top: 8px;
    min-height: 60px;
    margin-top: 8px;
    padding: 6px 8px;
    border-radius: 18px;
}

.brand-icon { width: 34px; height: 34px; border-radius: 11px; }
.brand-word { font-size: 15px; }
.primary-nav { padding: 3px; }
.nav-link,
.nav-cta { min-height: 34px; padding: 7px 11px; }
.dashboard-nav,
.detail-grid > .sidebar { top: 82px; }

.breadcrumbs { padding: 9px 0 4px; }
.breadcrumbs a,
.breadcrumbs span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }

.hero {
    padding: clamp(34px, 4.8vw, 56px) clamp(14px, 2vw, 24px) clamp(38px, 5vw, 56px);
}

.hero-grid { gap: clamp(22px, 4vw, 48px); }

.hero h1,
.hero-copy h1 {
    font-size: clamp(44px, 5.8vw, 72px);
    line-height: .93;
}

.hero-copy > p:not(.eyebrow),
.hero > p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.55;
}

.hero-actions { margin-top: 20px; }
.hero-proof { margin-top: 16px; }
.hero-panel { padding: 16px; border-radius: 20px; }
.launch-card-main { min-height: 240px; padding: 14px; }
.launch-product { margin: 20px 0 14px; }
.launch-route span { min-height: 40px; padding: 7px 9px; }
.launch-card-float { width: min(70%, 220px); margin-top: -32px; padding: 10px 12px; }

.section { padding: clamp(30px, 4vw, 52px) 0; }
.section.compact-section { padding-block: 20px; }
.section-heading { gap: 16px; margin-bottom: 14px; }
.section-heading h1,
.section-heading h2 { font-size: clamp(26px, 3.2vw, 40px); }
.section-heading.compact { margin-bottom: 12px; }
.section-heading.compact h2 { font-size: clamp(23px, 2.5vw, 32px); }

.page-hero {
    max-width: 700px;
    padding: clamp(34px, 4.5vw, 50px) 0 22px;
}

.page-hero h1 {
    font-size: clamp(40px, 5.2vw, 64px);
    line-height: .94;
}

.page-hero > p:not(.eyebrow) { margin-top: 12px; font-size: 16px; }

.hero-panel,
.panel,
.form-card,
.price-card,
.filters,
.table-wrap,
.dashboard-nav,
.modal-panel,
.modal > dialog { border-radius: 20px; }

.panel { padding: 16px; }
.form-card { padding: 22px; gap: 11px; }
.form-card form { gap: 11px; }
.price-card { padding: 20px; }
.filters { margin-bottom: 16px; padding: 14px; }

.card-grid { gap: 10px; }
.product-card,
.release-card,
.category-card { gap: 10px; padding: 14px; border-radius: 16px; }
.release-card-body { gap: 7px; }
.category-card { min-height: 120px; }
.stat-card { padding: 14px; }
.metric { padding: 10px; }
.empty-state { gap: 6px; padding: 26px 16px; }
.empty-icon { width: 38px; height: 38px; margin-bottom: 5px; border-radius: 12px; }

.button.large { min-height: 48px; padding: 11px 18px; font-size: 14px; }

.filter-grid,
.form-grid { gap: 10px; }
.field { gap: 4px; }

.field input:not([type="checkbox"]):not([type="radio"]),
.field textarea,
.field select,
.filters input:not([type="checkbox"]):not([type="radio"]),
.filters select,
.form-card input:not([type="checkbox"]):not([type="radio"]),
.form-card textarea,
.form-card select {
    min-height: 44px;
    padding: 9px 11px;
}

.field textarea,
.form-card textarea { min-height: 110px; }

.filter-actions { gap: 8px 12px; margin-top: 10px; padding-top: 10px; }
.filter-actions .check-field { min-height: 32px; align-items: center; padding-block: 5px; }

.product-byline { width: auto; overflow: hidden; }
.product-byline > span:not(.logo-frame) {
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.check-list { gap: 6px; margin-top: 14px; }

.dashboard-shell { grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 18px 0 36px; }
.dashboard-nav { gap: 3px; padding: 7px; }
.dashboard-nav > a,
.dashboard-nav > button { min-height: 38px; padding: 7px 10px; }
.dashboard-columns { gap: 10px; }
.toolbar { margin-bottom: 14px; }
.toolbar h1,
.toolbar h2 { font-size: clamp(26px, 3vw, 36px); }
.table-wrap { border-radius: 18px; }
.data-table th,
.data-table td { padding: 10px 12px; }

.form-section { grid-template-columns: minmax(130px, .32fr) minmax(0, 1fr); gap: 18px; padding: 6px 0 18px; }
.form-section + .form-section,
.form-section.divided { padding-top: 18px; }
.choice-grid { gap: 6px; }
.choice-card { padding: 10px; }

.release-hero-media { margin-bottom: 20px; }
.video-link { margin-bottom: 20px; padding: 14px; }

.steps-grid { gap: 10px; }
.step-card { min-height: 220px; padding: 16px; }
.step-number { margin-bottom: 14px; }
.badge-preview,
.widget-preview { padding: clamp(20px, 3.5vw, 34px); }
.widget-preview { min-height: 240px; }

.pricing-grid { gap: 12px; margin-top: 14px; }
.price-card .check-list { gap: 6px; margin: 8px 0 18px; }
.faq-grid .panel { padding: 15px; }
.legal-copy { padding: clamp(20px, 3vw, 34px); }
.message-panel { padding: clamp(26px, 4.5vw, 44px); }

.auth-shell { min-height: 60vh; gap: 48px; padding: 24px 0 44px; }
.auth-intro h1 { font-size: clamp(36px, 4.2vw, 58px); }
.auth-intro > p:not(.eyebrow) { margin-top: 12px; }

.final-cta { gap: 22px; margin-top: 24px; padding: clamp(24px, 3.5vw, 36px); }
.site-footer { gap: 18px; margin-top: 24px; padding-top: 20px; }
.site-footer .shared-brand { margin-bottom: 7px; }

.release-card p,
.card-meta,
.metric span,
.metric small,
.fact-list dt,
.active-proof small { color: #68615c; }

.release-card-footer {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 7px 12px;
    margin-top: auto;
}

.release-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid currentColor;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
}

.release-card-link:hover { color: var(--ink); }
.release-card-actions .text-link { font-size: 11px; white-space: nowrap; }

/* Compact product profile: identity and decision facts first, releases second. */
.product-profile {
    display: grid;
    gap: 12px;
    margin: 12px 0;
    padding: 16px;
}

.product-profile-top {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.product-profile-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-profile .logo-lg { width: 64px; height: 64px; border-radius: 18px; }
.product-profile-copy { min-width: 0; }
.product-profile-status { margin-bottom: 5px; }

.product-profile h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(36px, 4.2vw, 54px);
    font-weight: 700;
    line-height: .94;
    letter-spacing: -.06em;
    overflow-wrap: anywhere;
    word-break: normal;
    text-wrap: balance;
}

.product-profile .tagline { margin: 5px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }

.product-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.product-category-links a {
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid #d9cef5;
    border-radius: 999px;
    background: #f7f2ff;
    color: #654398;
    font-size: 10.5px;
    font-weight: 700;
    text-decoration: none;
}

.product-category-links a:hover { border-color: var(--accent-soft); background: var(--accent-pale); color: var(--accent-dark); }

.product-profile-actions {
    max-width: 100%;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.product-glance {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
}

.product-glance > div {
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--paper-strong);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2px 0 #d6cec6;
}

.product-glance dt {
    color: #68615c;
    font: 760 9px/1.2 var(--font-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.product-glance dd {
    min-width: 0;
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.product-glance a { color: var(--accent-dark); text-decoration: none; }
.product-glance a:hover { text-decoration: underline; }

.product-about-card {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    margin: 0;
    padding: 16px;
}

.product-about-heading h2 {
    margin: 0;
    font-size: clamp(24px, 2.7vw, 32px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.product-about-content { min-width: 0; }
.product-about-copy { max-width: none; color: var(--ink-soft); }
.product-about-copy p { margin: 0; line-height: 1.65; }
.product-about-copy p + p { margin-top: 9px; }
.product-about-card .product-screenshot { max-width: 560px; max-height: 300px; margin: 12px 0 0; }

.section.product-updates { padding: 20px 0 0; }
.product-updates-heading { align-items: end; }

.product-release-total {
    flex: 0 0 auto;
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper-strong);
    color: #68615c;
    font-size: 11px;
    font-weight: 700;
}

.product-release-timeline {
    --timeline-date-width: 92px;
    --timeline-rail-width: 34px;
    position: relative;
    max-width: 1040px;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-release-timeline::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 20px;
    bottom: 20px;
    left: calc(var(--timeline-date-width) + (var(--timeline-rail-width) / 2));
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent) 0, var(--accent-soft) 18%, var(--line) 100%);
    transform: translateX(-50%);
}

.product-release-timeline-item {
    position: relative;
    z-index: 1;
    scroll-margin-top: 90px;
    min-width: 0;
    display: grid;
    grid-template-columns: var(--timeline-date-width) var(--timeline-rail-width) minmax(0, 1fr);
    align-items: start;
    margin: 0;
}

.product-release-timeline-item::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 16px;
    left: calc(var(--timeline-date-width) + (var(--timeline-rail-width) / 2));
    width: 12px;
    height: 12px;
    border: 3px solid var(--paper);
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--accent-soft);
    transform: translateX(-50%);
}

.product-release-timeline-item::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 22px;
    left: calc(var(--timeline-date-width) + (var(--timeline-rail-width) / 2) + 6px);
    width: calc((var(--timeline-rail-width) / 2) - 6px);
    height: 1px;
    background: var(--line-hi);
}

.product-release-timeline-item:first-child::before {
    background: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 0 0 5px var(--accent-pale);
}

.product-release-date {
    min-width: 0;
    display: grid;
    justify-items: end;
    gap: 0;
    padding: 10px 10px 0 0;
    color: var(--ink-soft);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
}

.product-release-date small {
    color: var(--quiet);
    font-size: 11px;
    font-weight: 600;
}

.product-release-timeline .release-card {
    grid-column: 3;
    min-width: 0;
    min-height: 116px;
    flex-direction: row;
    gap: 14px;
    padding: 14px 15px;
}

.product-release-timeline-item:nth-child(4n + 2) .release-card {
    background: linear-gradient(145deg, rgba(234, 118, 95, .07), transparent 52%), var(--surface);
}

.product-release-timeline-item:nth-child(4n + 3) .release-card {
    background: linear-gradient(145deg, rgba(49, 100, 244, .055), transparent 52%), var(--surface);
}

.product-release-timeline-item:nth-child(4n) .release-card {
    background: linear-gradient(145deg, rgba(117, 87, 214, .055), transparent 52%), var(--surface);
}

.product-release-timeline-item:target .release-card {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-pale), var(--shadow);
}

.product-release-timeline-item:target::before {
    background: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 0 0 5px var(--accent-pale);
}

.product-release-timeline .release-card-body { flex: 1 1 auto; }

.product-release-timeline .release-media {
    width: clamp(180px, 30%, 250px);
    min-height: 132px;
    flex: 0 0 clamp(180px, 30%, 250px);
    align-self: stretch;
    aspect-ratio: auto;
}

@media (max-width: 1020px) {
    .product-glance { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .site-header { min-height: 56px; padding: 6px; border-radius: 15px; }
    .nav-link,
    .nav-cta { min-height: 44px; padding: 9px 12px; }
    .dashboard-nav,
    .detail-grid > .sidebar { top: auto; }
    .dashboard-shell { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 14px 0 28px; }
    .dashboard-nav > a,
    .dashboard-nav > button { min-height: 44px; }
    .auth-shell { min-height: 0; gap: 20px; padding: 24px 0 36px; }
    .form-section { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .product-profile-top { align-items: stretch; flex-direction: column; gap: 13px; }
    .product-profile-actions { justify-content: flex-start; }
    .product-release-timeline {
        --timeline-date-width: 0px;
        --timeline-rail-width: 25px;
        max-width: none;
        gap: 10px;
    }
    .product-release-timeline::before { top: 9px; bottom: 9px; left: 10px; transform: none; }
    .product-release-timeline-item {
        grid-template-columns: var(--timeline-rail-width) minmax(0, 1fr);
        grid-template-rows: auto auto;
    }
    .product-release-timeline-item::before { top: 4px; left: 5px; width: 11px; height: 11px; transform: none; }
    .product-release-timeline-item::after { top: 9px; left: 16px; width: 9px; }
    .product-release-date {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        align-items: baseline;
        justify-content: flex-start;
        gap: 5px;
        padding: 0 0 7px;
    }
    .product-release-date small::before { content: "\00b7"; margin-right: 5px; color: var(--accent); }
    .product-release-timeline .release-card {
        grid-column: 2;
        grid-row: 2;
        min-height: 0;
        flex-direction: column;
    }
    .product-release-timeline .release-media {
        width: 100%;
        min-height: 0;
        flex-basis: auto;
        align-self: auto;
        aspect-ratio: 16 / 9;
    }
}

@media (min-width: 361px) and (max-width: 560px) {
    .filters .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 8px; }
}

@media (max-width: 620px) {
    .site-shell { padding-bottom: 26px; }
    .brand-icon { width: 34px; height: 34px; }
    .brand-word { font-size: 13px; }
    .nav-toggle { width: 44px; height: 44px; }
    .hero { padding: 26px 10px 32px; }
    .hero-grid { gap: 20px; }
    .hero h1,
    .hero-copy h1 { font-size: clamp(38px, 11.5vw, 46px); }
    .hero-copy > p:not(.eyebrow),
    .hero > p:not(.eyebrow) { font-size: 15px; }
    .hero-panel { padding: 12px; border-radius: 14px; }
    .launch-card-main { min-height: 220px; padding: 12px; }
    .launch-card-float { max-width: 205px; }

    .section { padding: 26px 0; }
    .section.compact-section { padding-block: 18px; }
    .section-heading h1,
    .section-heading h2 { font-size: clamp(25px, 7.5vw, 32px); }
    .section-heading.compact h2 { font-size: clamp(23px, 7vw, 29px); }
    .page-hero { padding: 24px 0 18px; }
    .page-hero h1 { font-size: clamp(36px, 10.5vw, 44px); }

    .hero-panel,
    .panel,
    .form-card,
    .price-card,
    .filters,
    .table-wrap,
    .dashboard-nav,
    .modal-panel,
    .modal > dialog { border-radius: 14px; }
    .panel { padding: 14px; }
    .form-card,
    .price-card { padding: 16px; }
    .product-card,
    .release-card,
    .category-card { padding: 12px; border-radius: 12px; }
    .category-card { min-height: 108px; }
    .empty-state { padding: 20px 12px; }
    .final-cta { margin-top: 16px; padding: 20px 16px; }
    .site-footer { gap: 14px; margin-top: 18px; padding-top: 16px; }

    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .category-grid .category-card { min-height: 108px; }

    .product-profile { gap: 11px; margin: 10px 0; padding: 14px; }
    .product-profile-main {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: center;
        gap: 8px 10px;
    }
    .product-profile .logo-lg { width: 58px; height: 58px; border-radius: 16px; }
    .product-profile-copy { display: contents; }
    .product-profile-status { grid-column: 2; align-self: center; margin: 0; }
    .product-profile h1 { font-size: clamp(28px, 9vw, 38px); line-height: .96; letter-spacing: -.05em; }
    .product-profile h1,
    .product-profile .tagline,
    .product-category-links { grid-column: 1 / -1; }
    .product-profile .tagline { margin-top: -2px; font-size: 13.5px; }
    .product-category-links { margin-top: 0; }
    .product-profile-actions { width: 100%; }
    .product-profile-actions .button { flex: 1 1 150px; }
    .product-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-top: 10px; }
    .product-glance > div { padding: 8px; }
    .product-about-card { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px; }
    .product-about-heading h2 { font-size: 25px; }
    .section.product-updates { padding: 18px 0 0; }
    .product-updates-heading { flex-direction: row; align-items: end; }
    .product-release-timeline .release-card { padding: 12px; }
}

@media (max-width: 360px) {
    .filters .filter-grid { grid-template-columns: minmax(0, 1fr); }
    .product-updates-heading { align-items: flex-start; flex-direction: column; }
    .product-profile-actions .button { flex-basis: 100%; }
    .product-glance-website dd { font-size: 10.5px; letter-spacing: -.025em; }
}

/* Readable proportional type scale. Keep the compact geometry above, while
   restoring the visual hierarchy and legibility of the DevelopChess system. */
:root {
    --type-micro: .75rem;
    --type-small: .8125rem;
    --type-ui: .9375rem;
    --type-body: 1rem;
    --type-lede: 1.0625rem;
    --type-card-heading: 1.0625rem;
}

html { font-size: clamp(16px, calc(15.5px + .1vw), 17px); }

body {
    font-size: var(--type-body);
    line-height: 1.6;
}

.brand-word { font-size: clamp(.9375rem, calc(.88rem + .2vw), 1rem); }

.nav-link,
.nav-cta,
.button,
button.button,
a.button,
input.button { font-size: var(--type-ui); }

.button.large { font-size: 1rem; }
.button.small { font-size: var(--type-small); }

.eyebrow,
.field > label,
.field > .field-label,
.field > span:first-child,
.status-pill,
.type-pill,
.source-pill,
.data-table th,
.product-glance dt { font-size: var(--type-micro); }

.field > label > span:first-child small,
.field > .field-label small,
.field > span:first-child small { font-size: 1em; }

.breadcrumbs,
.card-meta,
.product-card-foot,
.product-release-total,
.product-category-links a,
.release-card-link,
.site-footer,
.site-footer > small,
.fact-list dt,
.fact-list dd,
.metric span,
.metric small,
.help,
.error,
.field > small,
.field > .help,
.file-name,
.field-error,
.data-table td > small,
.price-card > h2 small,
.product-byline small,
.active-proof small,
.setup-progress span,
.choice-card small,
.notice-card p,
.key-list small,
.upgrade-note { font-size: var(--type-small); }

.text-link,
.product-byline,
.product-card-title small,
.category-card > small,
.streak-list small,
.launch-product small,
.launch-route span,
.launch-card-float small,
.streak-panel > p:not(.eyebrow),
.check-list,
.field-check,
.field label:has(> input[type="checkbox"]),
.field label:has(> input[type="radio"]),
.choice-card,
.choice-card strong,
.form-switch,
.fact-list dd,
.active-proof strong,
.step-card > p,
.faq-grid p,
.notice-card strong,
.form-section > div:first-child > p:not(.eyebrow),
.setup-card small { font-size: var(--type-ui); }

.rank-number { font-size: var(--type-micro); }

.product-card h2,
.product-card h3,
.release-card h2,
.release-card h3,
.panel h2,
.panel h3,
.product-card-title strong,
.category-card > strong,
.streak-list strong,
.launch-card-float strong,
.setup-card strong,
.faq-grid h3 { font-size: var(--type-card-heading); }

.product-card p,
.release-card p,
.category-card p,
.product-about-copy,
.price-card > p:not(.eyebrow),
.form-card > p,
.message-panel > p:not(.eyebrow) { font-size: var(--type-ui); }

.field input:not([type="checkbox"]):not([type="radio"]),
.field textarea,
.field select,
.filters input:not([type="checkbox"]):not([type="radio"]),
.filters select,
.form-card input:not([type="checkbox"]):not([type="radio"]),
.form-card textarea,
.form-card select,
.category-admin-table input:not([type="checkbox"]),
.category-admin-table textarea { font-size: .9375rem; }

.hero h1,
.hero-copy h1 {
    font-size: clamp(2.65rem, calc(2.05rem + 3vw), 5rem);
    line-height: .92;
}

.hero-copy > p:not(.eyebrow),
.hero > p:not(.eyebrow) {
    font-size: clamp(1rem, calc(.95rem + .2vw), var(--type-lede));
    line-height: 1.58;
}

.section-heading h1,
.section-heading h2 { font-size: clamp(1.8rem, calc(1.65rem + 1.5vw), 2.75rem); }

.section-heading.compact h2 { font-size: clamp(1.7rem, calc(1.5rem + 1.1vw), 2.25rem); }

.page-hero h1 {
    font-size: clamp(2.5rem, calc(2.15rem + 2.1vw), 4rem);
    line-height: .94;
}

.page-hero > p:not(.eyebrow) { font-size: clamp(1rem, calc(.95rem + .2vw), var(--type-lede)); }

.toolbar h1,
.toolbar h2 { font-size: clamp(1.8rem, calc(1.65rem + 1.2vw), 2.5rem); }

.auth-intro h1 { font-size: clamp(2.5rem, calc(2.15rem + 2.1vw), 4rem); }

.product-profile h1 { font-size: clamp(2rem, calc(1.7rem + 2vw), 3.5rem); }
.product-profile .tagline { font-size: .9375rem; line-height: 1.5; }
.product-glance dd { font-size: var(--type-ui); line-height: 1.4; }
.product-about-heading h2 { font-size: clamp(1.65rem, calc(1.5rem + .7vw), 2.15rem); }

.data-table { font-size: var(--type-ui); }
.dashboard-nav > a,
.dashboard-nav > button,
.admin-tabs a,
.admin-tabs button,
.pagination a,
.pagination span,
.copy-button { font-size: var(--type-small); }

.code-box pre,
.code-box > code { font-size: var(--type-small); }

@media (max-width: 760px) {
    .nav-link,
    .nav-cta { font-size: var(--type-ui); }
}

@media (max-width: 620px) {
    .field input:not([type="checkbox"]):not([type="radio"]),
    .field textarea,
    .field select,
    .filters input:not([type="checkbox"]):not([type="radio"]),
    .filters select,
    .form-card input:not([type="checkbox"]):not([type="radio"]),
    .form-card textarea,
    .form-card select { font-size: 16px; }
}
