:root {
    --bg: #0d1117;
    --bg-card: #161b22;
    --bg-input: #21262d;
    --border: #30363d;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #58a6ff;
    --accent-hover: #79b8ff;
    --success: #3fb950;
    --danger: #f85149;
    --warning: #d29922;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

/* NAV */
nav {
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

nav .logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

nav .logo span { color: var(--text); }

nav a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.875rem;
    transition: color 0.2s;
}

nav a:not(.btn):hover { color: var(--text); }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
    background: transparent;
    color: var(--accent);
    border-color: var(--border);
}

.btn-ghost:hover { background: var(--bg-input); }

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-block { width: 100%; }

/* CARDS */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
}

/* FORMS */
.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(88,166,255,0.15);
}

.form-group .hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-group .error {
    font-size: 0.75rem;
    color: var(--danger);
    margin-top: 4px;
}

/* ALERTS */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.alert-success {
    background: rgba(63,185,80,0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(248,81,73,0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.alert-info {
    background: rgba(88,166,255,0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
}

/* LAYOUT */
.page-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    padding: 24px;
}

.page-center .card {
    width: 100%;
    max-width: 440px;
}

.page-center .card h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.page-center .card p.sub {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.page-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    transition: border-color 0.2s;
}

.product-card:hover { border-color: var(--accent); }

.product-card h3 { font-size: 1.1rem; margin-bottom: 8px; }

.product-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.product-card .price.free { color: var(--success); }

.product-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.muted {
    color: var(--text-muted);
}

.portfolio-head {
    max-width: 780px;
    margin-bottom: 28px;
}

.portfolio-head h1,
.product-detail-hero h1,
.launcher-feature h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.portfolio-head p,
.product-detail-hero p,
.launcher-feature p {
    color: var(--text-muted);
    max-width: 760px;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.launcher-feature {
    background: linear-gradient(135deg, rgba(88,166,255,0.18), rgba(63,185,80,0.1));
    border: 1px solid rgba(88,166,255,0.35);
    border-radius: 8px;
    padding: 28px;
    margin: 24px 0 32px;
}

.tier-pill {
    display: inline-block;
    background: rgba(63,185,80,0.14);
    color: var(--success);
    border: 1px solid rgba(63,185,80,0.4);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.meta-row span,
.card-topline span {
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 3px 9px;
}

.card-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section-title h2,
.detail-grid .card h2,
.screenshots h2 {
    font-size: 1.1rem;
}

.portfolio-category {
    margin-top: 28px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: 24px;
    margin-top: 24px;
}

.long-text {
    color: var(--text-muted);
    white-space: pre-line;
}

.screenshots {
    margin-top: 28px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.screenshot {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    min-height: 160px;
}

.screenshot img {
    display: block;
    width: 100%;
    min-height: 160px;
    object-fit: cover;
}

.screenshot figcaption {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 10px 12px;
}

.screenshot.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    padding: 24px;
}

.download-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.download-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
}

.download-row span {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 2px;
}

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

/* DASHBOARD GRID */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.dashboard-grid .card h2 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.profile-info dt {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-info dd {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

/* PRODUCT LIST (dashboard) */
.product-list { list-style: none; }

.product-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.product-list li:last-child { border-bottom: none; }

.product-list .name { font-weight: 600; }

.product-list .status {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(63,185,80,0.1);
    color: var(--success);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 32px 24px;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
    margin-top: 48px;
}

/* DROPDOWN NAV */
.nav-right { display: flex; align-items: center; gap: 12px; }

.user-menu {
    position: relative;
    display: inline-block;
}

.user-menu .username {
    color: var(--text-muted);
    font-size: 0.875rem;
    cursor: pointer;
}

.dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    min-width: 180px;
    padding: 4px 0;
    margin-top: 8px;
}

.dropdown.show { display: block; }

.dropdown a {
    display: block;
    padding: 8px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.875rem;
}

.dropdown a:hover { background: var(--bg-input); }

.dropdown .divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    nav .hide-mobile { display: none; }
    .download-row { align-items: flex-start; flex-direction: column; }
}

/* HERO (landing) */
.hero {
    text-align: center;
    padding: 80px 24px;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 16px; }

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero .actions { display: flex; gap: 12px; justify-content: center; }

/* ============================================================
   Public Dynamoras portfolio v2
   ============================================================ */
:root {
    --page-bg: #f6f7f9;
    --panel: #ffffff;
    --panel-soft: #eef2f6;
    --ink: #111827;
    --ink-soft: #4b5563;
    --ink-muted: #6b7280;
    --line: #d8dee7;
    --line-strong: #b9c2cf;
    --brand: #0f766e;
    --brand-dark: #115e59;
    --brand-soft: #d7f5ef;
    --blue: #2563eb;
    --blue-soft: #dbeafe;
    --ok: #15803d;
    --warning-soft: #fef3c7;
    --shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}

.page-shell {
    background: var(--page-bg);
    color: var(--ink);
}

.site-nav {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    padding: 0 24px;
}

.nav-inner {
    max-width: 1060px;
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
}

.brand-text {
    font-size: 1.05rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:not(.btn) {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.92rem;
    padding: 8px 10px;
    border-radius: 6px;
}

.nav-links a:not(.btn):hover,
.nav-links a.active {
    color: var(--ink);
    background: var(--panel-soft);
}

.lang-switch {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    margin-left: 4px;
}

.lang-switch button {
    border: 0;
    background: #fff;
    color: var(--ink-muted);
    padding: 8px 9px;
    font-weight: 700;
    cursor: pointer;
}

.lang-switch button.active {
    background: var(--ink);
    color: #fff;
}

.btn {
    border-radius: 6px;
    padding: 9px 16px;
}

.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-dark);
}

.btn-secondary,
.btn-ghost {
    background: #fff;
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn-secondary:hover,
.btn-ghost:hover {
    background: var(--panel-soft);
}

.hero {
    max-width: 1060px;
    margin: 32px auto 0;
    padding: 36px;
    text-align: left;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
}

.hero-home,
.launcher-page-hero,
.product-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
    align-items: center;
    gap: 32px;
}

.compact-hero {
    display: block;
    padding-bottom: 34px;
}

.hero h1 {
    color: var(--ink);
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1.05;
    letter-spacing: 0;
    margin: 0 0 18px;
}

.compact-hero h1,
.launcher-page-hero h1,
.product-detail-hero h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.hero-text,
.hero p {
    color: var(--ink-soft);
    font-size: 1rem;
    max-width: 680px;
    margin: 0 0 24px;
}

.eyebrow {
    color: var(--brand);
    letter-spacing: 0;
}

.hero-actions,
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.signal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.signal-row span,
.meta-row span,
.card-topline span,
.tier-pill {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    background: rgba(255,255,255,0.74);
    font-size: 0.78rem;
    padding: 5px 10px;
}

.tier-pill {
    color: var(--ok);
    background: #ecfdf3;
    border-color: #bbf7d0;
    font-weight: 800;
}

.ecosystem-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.ecosystem-panel.slim {
    align-self: stretch;
}

.panel-header {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: #f9fafb;
    border-bottom: 1px solid var(--line);
}

.panel-header span {
    color: var(--ink);
    font-weight: 800;
}

.panel-header strong {
    color: var(--brand);
    background: var(--brand-soft);
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.82rem;
}

.panel-body {
    display: grid;
    gap: 0;
}

.panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
}

.panel-row:last-child {
    border-bottom: 0;
}

.panel-row span {
    color: var(--ink-muted);
}

.panel-row strong {
    color: var(--ink);
    text-align: right;
}

.content-band {
    max-width: 1060px;
    margin: 0 auto;
    padding: 24px 0;
}

.section-heading {
    margin: 8px 0 18px;
}

.section-heading h2 {
    color: var(--ink);
    font-size: 1.35rem;
}

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

.process-grid article,
.surface,
.product-card,
.launcher-hero-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.process-grid article,
.surface,
.product-card {
    padding: 22px;
}

.process-grid h3,
.product-card h3,
.surface h2 {
    color: var(--ink);
    margin-bottom: 8px;
}

.process-grid p,
.product-card p,
.surface p,
.long-text {
    color: var(--ink-soft);
}

.portfolio-layout {
    padding-top: 24px;
}

.launcher-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 24px;
    padding: 30px;
    background: #fff;
}

.launcher-copy h2 {
    color: var(--ink);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
    margin-bottom: 12px;
}

.launcher-copy p {
    color: var(--ink-soft);
}

.portfolio-category {
    margin-top: 26px;
}

.portfolio-category h3 {
    color: var(--ink);
    margin-bottom: 12px;
}

.product-card {
    min-height: 220px;
    color: inherit;
}

.product-card:hover {
    border-color: var(--brand);
    transform: translateY(-1px);
}

.two-column,
.detail-area {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 18px;
}

.profile-info {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 10px 14px;
}

.profile-info dt {
    color: var(--ink-muted);
    text-transform: none;
    letter-spacing: 0;
}

.profile-info dd {
    color: var(--ink);
    margin: 0;
}

.download-row {
    background: #fff;
    border-color: var(--line);
}

.download-row strong {
    color: var(--ink);
}

.download-row span,
.muted {
    color: var(--ink-muted);
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.site-footer {
    max-width: 1060px;
    margin: 28px auto 0;
    padding: 26px 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--ink-muted);
    border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
    .nav-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero-home,
    .launcher-page-hero,
    .product-detail-hero,
    .launcher-hero-card,
    .two-column,
    .detail-area,
    .process-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        margin: 18px 16px 0;
        padding: 24px;
    }

    .content-band {
        padding: 18px 16px;
    }

    .ecosystem-panel {
        min-height: 180px;
    }

    .profile-info {
        grid-template-columns: 1fr;
    }

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

/* ============================================================
   Public Dynamoras platform design v3
   ============================================================ */
:root {
    --platform-bg: #f3f5f8;
    --platform-ink: #121821;
    --platform-soft: #4e5968;
    --platform-muted: #77808e;
    --platform-panel: #ffffff;
    --platform-panel-alt: #f9fafc;
    --platform-line: #dce2ea;
    --platform-line-strong: #c3ccd8;
    --platform-dark: #171c24;
    --platform-dark-soft: #252c36;
    --platform-accent: #13786f;
    --platform-accent-dark: #0f5f59;
    --platform-blue: #2b67d1;
    --platform-gold: #9a6b12;
}

body.page-shell {
    background: var(--platform-bg);
    color: var(--platform-ink);
}

.page-shell main {
    width: 100%;
}

.hero,
.content-band,
.site-footer {
    width: min(1120px, calc(100% - 48px));
    max-width: none;
}

.hero {
    margin: 28px auto 0;
    padding: 42px;
    border: 1px solid var(--platform-line);
    border-radius: 8px;
    background: var(--platform-panel);
    box-shadow: 0 14px 34px rgba(18, 24, 33, 0.06);
}

.store-hero {
    min-height: 260px;
}

.hero h1 {
    color: var(--platform-ink);
    font-size: clamp(2.35rem, 4vw, 4.2rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0;
    margin: 0 0 18px;
}

.hero-text,
.hero p,
.launcher-copy p,
.surface p,
.product-row-main p,
.long-text {
    color: var(--platform-soft);
    font-size: 1rem;
    line-height: 1.72;
}

.eyebrow,
.section-kicker,
.category-label {
    color: var(--platform-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-kicker,
.category-label {
    margin: 0 0 14px;
}

.content-band {
    margin: 0 auto;
    padding: 28px 0;
}

.btn {
    border-radius: 6px;
    padding: 10px 17px;
    line-height: 1.2;
}

.btn-primary {
    background: var(--platform-accent);
    border-color: var(--platform-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--platform-accent-dark);
}

.btn-secondary,
.btn-ghost {
    background: #fff;
    border-color: var(--platform-line-strong);
    color: var(--platform-ink);
}

.btn-secondary:hover,
.btn-ghost:hover {
    background: var(--platform-panel-alt);
}

.signal-row,
.meta-row {
    gap: 8px;
}

.signal-row span,
.meta-row span,
.tier-pill,
.product-row-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid var(--platform-line);
    border-radius: 999px;
    background: #fff;
    color: var(--platform-soft);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    white-space: nowrap;
}

.tier-pill {
    color: var(--platform-accent);
    background: #eaf8f5;
    border-color: #bde7df;
    margin-bottom: 14px;
}

.ecosystem-panel,
.surface,
.process-grid article,
.launcher-hero-card,
.product-row,
.product-identity,
.screenshot {
    border: 1px solid var(--platform-line);
    border-radius: 8px;
    background: var(--platform-panel);
    box-shadow: 0 10px 26px rgba(18, 24, 33, 0.045);
}

.ecosystem-panel {
    overflow: hidden;
}

.panel-header {
    min-height: 64px;
    background: var(--platform-dark);
    color: #fff;
    border-bottom: 0;
}

.panel-header span {
    color: #fff;
}

.panel-header strong {
    color: #dff8f4;
    background: rgba(19, 120, 111, 0.28);
    border-color: rgba(189, 231, 223, 0.32);
}

.panel-row {
    min-height: 56px;
}

.panel-row span {
    color: var(--platform-muted);
}

.panel-row strong {
    color: var(--platform-ink);
}

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

.process-grid article,
.surface {
    padding: 26px;
}

.process-grid h3,
.surface h2 {
    color: var(--platform-ink);
    font-size: 1.02rem;
    line-height: 1.35;
}

.portfolio-layout {
    display: grid;
    gap: 26px;
}

.launcher-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 30px;
    padding: 34px;
}

.launcher-copy h2 {
    color: var(--platform-ink);
    font-size: clamp(2rem, 3.6vw, 3.35rem);
    line-height: 1.04;
    letter-spacing: 0;
    margin: 0 0 16px;
}

.portfolio-category {
    margin: 0;
}

.product-listing {
    display: grid;
    gap: 12px;
}

.product-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) minmax(260px, 0.42fr);
    align-items: center;
    gap: 22px;
    min-height: 132px;
    padding: 20px 22px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.product-row:hover {
    border-color: var(--platform-accent);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(18, 24, 33, 0.07);
}

.product-thumb,
.product-identity-mark {
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--platform-dark);
    color: #fff;
    font-weight: 800;
}

.product-thumb {
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
}

.product-row-main h3 {
    color: var(--platform-ink);
    font-size: 1.08rem;
    line-height: 1.3;
    margin: 0 0 6px;
}

.product-row-main p {
    display: -webkit-box;
    min-height: 3.4em;
    max-width: 680px;
    margin: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-row-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.product-detail-page {
    padding-top: 0;
}

.product-detail-hero {
    width: 100%;
    margin-top: 28px;
}

.product-identity {
    align-self: stretch;
    display: grid;
    grid-template-rows: 120px 1fr;
    overflow: hidden;
}

.product-identity-mark {
    border-radius: 0;
    background: linear-gradient(135deg, var(--platform-dark), var(--platform-dark-soft));
    font-size: 3rem;
}

.product-identity dl {
    display: grid;
    grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1fr);
    gap: 0;
    margin: 0;
}

.product-identity dt,
.product-identity dd {
    min-height: 48px;
    margin: 0;
    padding: 13px 16px;
    border-top: 1px solid var(--platform-line);
}

.product-identity dt {
    color: var(--platform-muted);
}

.product-identity dd {
    color: var(--platform-ink);
    font-weight: 700;
    text-align: right;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 18px;
    margin-top: 18px;
}

.product-description,
.product-data {
    min-height: 230px;
}

.profile-info {
    grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1fr);
    gap: 0;
}

.profile-info dt,
.profile-info dd {
    min-height: 42px;
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid var(--platform-line);
}

.profile-info dd {
    color: var(--platform-ink);
    font-weight: 700;
    text-align: right;
}

.product-screens {
    margin-top: 22px;
}

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

.screenshot {
    aspect-ratio: 16 / 9;
    min-height: 0;
    overflow: hidden;
}

.screenshot img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.screenshot.placeholder {
    display: grid;
    place-items: center;
    background: repeating-linear-gradient(135deg, #f7f9fc, #f7f9fc 12px, #eef2f7 12px, #eef2f7 24px);
    color: var(--platform-muted);
    font-weight: 700;
}

.download-row {
    min-height: 72px;
    border-color: var(--platform-line);
}

@media (max-width: 900px) {
    .hero,
    .content-band,
    .site-footer {
        width: min(100% - 32px, 1120px);
    }

    .hero,
    .launcher-hero-card,
    .surface,
    .process-grid article {
        padding: 24px;
    }

    .hero-home,
    .launcher-page-hero,
    .product-detail-hero,
    .launcher-hero-card,
    .product-detail-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .product-row {
        grid-template-columns: 56px minmax(0, 1fr);
        min-height: 150px;
        align-items: start;
    }

    .product-thumb {
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
    }

    .product-row-meta {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .screenshot-grid.fixed {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hero,
    .content-band,
    .site-footer {
        width: min(100% - 24px, 1120px);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        text-align: center;
    }

    .product-identity dl,
    .profile-info {
        grid-template-columns: 1fr;
    }

    .product-identity dd,
    .profile-info dd {
        text-align: left;
        padding-top: 0;
    }
}
