/* PhotoForge Suite website — dark studio palette; PhotoForge blue + ForgePress violet. */
:root {
    /* Mirrors the app's Dark theme tokens (src/forgeui/core/theme.h). */
    --bg: #0E1116;            /* surface.window */
    --bg-raise: #151A21;      /* surface.panel */
    --bg-card: #151A21;       /* surface.panel */
    --bg-card-hover: #1C222B; /* surface.section */
    --bg-input: #232A34;      /* surface.control */
    --bg-raised: #2C3440;     /* surface.raised */
    --line: #323B47;          /* border.subtle */
    --line-strong: #4A5666;   /* border.strong */
    --line-soft: #2C3440;     /* divider */
    --brand: #2680EB;         /* accent.default — interactive */
    --brand-bright: #3090FF;  /* accent.hover */
    --brand-press: #1F6FCC;   /* accent.press */
    --brand-soft: rgba(38, 128, 235, 0.14);
    --identity: #7E57F2;      /* brand.identity — suite mark */
    --identity-bright: #9270FF;
    --identity-press: #6A45D8;
    --identity-soft: rgba(126, 87, 242, 0.14);
    --accent: var(--brand);   /* per-product tint, overridden inline */
    --grad: linear-gradient(120deg, var(--brand), var(--identity));
    --text: #E6EAF0;          /* text.primary */
    --text-dim: #A0A7B4;      /* text.secondary */
    --text-off: #6B7688;      /* text.disabled */
    --text-bright: #FFFFFF;
    --green: #40C060;
    --red: #FF4444;
    --amber: #E0A030;
    --font-display: 'Space Grotesk', 'Inter', 'Segoe UI', sans-serif;
    --font-ui: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --radius: 8px;
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    background-image:
        radial-gradient(ellipse 60% 40% at 10% -5%, rgba(38, 128, 235, 0.10), transparent),
        radial-gradient(ellipse 50% 35% at 95% 0%, rgba(126, 87, 242, 0.09), transparent);
    background-repeat: no-repeat;
    color: var(--text);
    font: 16px/1.65 var(--font-body);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-bright); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--text-bright); line-height: 1.15; font-family: var(--font-display); letter-spacing: -0.01em; }
code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 0.9em; background: var(--bg-raise); border: 1px solid var(--line-soft); padding: 1px 5px; border-radius: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--text-dim); }
.small { font-size: 0.875rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.icon { flex: none; vertical-align: -0.2em; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: 6px; border: 1px solid transparent;
    background: var(--brand); color: #fff;
    font: 600 0.95rem/1 var(--font-ui); letter-spacing: 0.01em;
    text-decoration: none; cursor: pointer; transition: box-shadow 0.15s, filter 0.15s, transform 0.15s;
}
.btn:hover { color: #fff; background: var(--brand-bright); box-shadow: 0 6px 24px rgba(38, 128, 235, 0.3); }
.btn:active { background: var(--brand-press); transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text-bright); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-card); border-color: var(--brand); box-shadow: none; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; border-radius: 5px; }
.btn-block { width: 100%; }
.btn-danger { background: transparent; border-color: var(--red); color: #ff8a8a; }
.btn-danger:hover { background: rgba(255, 68, 68, 0.12); color: #ffb3b3; box-shadow: none; }
.btn-disabled { background: var(--bg-raise); color: var(--text-dim); border-color: var(--line); cursor: default; }
.btn-disabled:hover { filter: none; box-shadow: none; color: var(--text-dim); }
.btn-meta { opacity: 0.75; font-weight: 500; }
.link-arrow { font: 600 0.95rem var(--font-ui); text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: ' →'; }
.eyebrow { font: 600 0.78rem var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.eyebrow a { color: inherit; text-decoration: none; }
.tag { display: inline-block; font: 600 0.72rem var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-bright); border: 1px solid rgba(38, 128, 235, 0.35); vertical-align: middle; }
.chip { display: inline-block; font: 500 0.82rem var(--font-ui); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-raise); margin: 3px 2px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); display: inline-block; flex: none; }

/* Notices */
.notice { padding: 12px 16px; border-radius: 10px; margin: 16px 0; border: 1px solid; }
.notice-ok { background: rgba(64, 192, 96, 0.1); border-color: rgba(64, 192, 96, 0.4); color: #7ddc95; }
.notice-warn { background: rgba(224, 160, 48, 0.1); border-color: rgba(224, 160, 48, 0.4); color: #f0c46a; }
.flash-wrap { padding-top: 8px; }

/* Announcement + header */
.announce { background: var(--identity); color: #fff; font: 500 0.88rem var(--font-ui); text-align: center; padding: 8px 0; }
.announce a { color: #fff; font-weight: 700; }
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(14, 17, 22, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-name { font: 700 1.08rem/1.2 var(--font-display); color: var(--text-bright); white-space: nowrap; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.site-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav > ul > li > a { display: block; padding: 8px 12px; color: var(--text); text-decoration: none; font: 500 0.95rem var(--font-ui); border-radius: 8px; }
.site-nav > ul > li > a:hover, .site-nav li.active > a { color: var(--text-bright); background: var(--bg-card); }
.sub-toggle { display: none; }
.sub {
    position: absolute; top: 100%; left: 0; min-width: 270px; list-style: none; margin: 8px 0 0; padding: 8px;
    background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.sub::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; color: var(--text-bright); text-decoration: none; font: 600 0.95rem var(--font-ui); }
.sub a .mark { flex: none; }
.sub a small { display: block; font-weight: 400; color: var(--text-dim); font-size: 0.8rem; }
.sub a:hover, .sub a[aria-current] { background: var(--bg-card-hover); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; background: var(--text-bright); margin: 0 auto; position: relative; transition: transform 0.2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed; inset: 68px 0 0 0; background: var(--bg); flex-direction: column; align-items: stretch;
        padding: 16px var(--gutter) 32px; overflow-y: auto; gap: 16px;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    }
    .site-nav.open { opacity: 1; visibility: visible; transform: none; }
    .site-nav > ul { flex-direction: column; }
    .site-nav > ul > li > a { font-size: 1.1rem; padding: 12px; }
    .has-sub { display: flex; flex-wrap: wrap; }
    .has-sub > a { flex: 1; }
    .sub-toggle { display: block; width: 48px; background: none; border: 0; color: var(--text); cursor: pointer; }
    .sub-toggle::after { content: '▾'; }
    .sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; margin: 0 0 8px; }
    .has-sub.open > .sub { display: block; }
    .has-sub:hover > .sub { display: none; }
    .has-sub.open:hover > .sub { display: block; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding-top: 24px; }
.section-alt { background: linear-gradient(180deg, rgba(21, 26, 33, 0.7), rgba(21, 26, 33, 0.25)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 12px; }
.section-head p.muted { font-size: 1.08rem; margin: 0; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.page-head { padding: clamp(48px, 7vw, 88px) 0 24px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 14px; }
.page-head-image { position: relative; background: linear-gradient(180deg, rgba(14, 17, 22, 0.55), var(--bg)), var(--head-image) center / cover no-repeat; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--text); max-width: 640px; }
.lead-strong { font-size: 1.2rem; color: var(--text-bright); font-weight: 600; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); margin: 18px 0 20px; line-height: 1.04; letter-spacing: -0.025em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.platforms { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.platforms .icon:not(:first-child) { margin-left: 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-card); text-decoration: none; color: var(--text-bright); font: 500 0.88rem var(--font-ui); }
.pill:hover { border-color: var(--brand); color: #fff; }
.hero-art { position: relative; min-height: 340px; }
.hero-shot { position: relative; }
.hero-shot-1 { width: 88%; z-index: 1; transform: rotate(-1.5deg); }
.hero-shot-2 { width: 78%; margin: -34% 0 0 auto; z-index: 2; transform: rotate(1.5deg); }
.hero-shot .shot figcaption { display: none; }
.hero-product .hero-art { min-height: 0; }
.product-id { display: flex; align-items: center; gap: 16px; }
.product-id img { border-radius: 14px; box-shadow: 0 8px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.product-id h1 { margin: 0; }
.product-id .eyebrow { margin: 0; }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { min-height: 0; }
}

/* Screenshots and the drawn placeholder */
.shot { margin: 0; }
.shot-frame { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-raise); box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.shot-frame { transition: transform 0.2s, border-color 0.2s; }
a.shot-frame:hover { transform: translateY(-3px); border-color: var(--accent); }
.shot figcaption { padding: 12px 2px 0; font-size: 0.92rem; }
.shot figcaption strong { color: var(--text-bright); display: block; }
.shot figcaption span { color: var(--text-dim); }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.shot-grid > [hidden] { display: none; }
.mock { display: flex; flex-direction: column; background: var(--bg); }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: #0A0D11; border-bottom: 1px solid var(--line-soft); font: 500 0.68rem var(--font-ui); color: var(--text-dim); }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.mock-bar span { margin-left: 8px; }
.mock-body { flex: 1; display: grid; grid-template-columns: 34px 1fr 22%; min-height: 0; }
.mock-tools { display: flex; flex-direction: column; gap: 7px; padding: 10px 8px; border-right: 1px solid var(--line-soft); background: var(--bg-raise); }
.mock-tools b { display: block; height: 16px; border-radius: 4px; background: var(--bg-input); }
.mock-tools b:nth-child(2) { background: var(--accent); opacity: 0.85; }
.mock-panels { border-left: 1px solid var(--line-soft); background: var(--bg-raise); padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.mock-panels p { margin: 0; height: 16px; border-radius: 4px; background: var(--bg-input); }
.mock-panels p.on { background: color-mix(in srgb, var(--accent) 40%, var(--bg-input)); }
.mock-canvas { position: relative; display: flex; align-items: center; justify-content: center; gap: 6%; padding: 6%; background: repeating-conic-gradient(#161b22 0 25%, #12161c 0 50%) 0 0 / 18px 18px; overflow: hidden; }
.mock-art { position: relative; width: 78%; aspect-ratio: 4 / 3; border-radius: 6px; background: linear-gradient(160deg, #1b2f55, #3b2266 60%, #6d2f5f); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); overflow: hidden; }
.mock-art .orb { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; left: 14%; top: 18%; background: radial-gradient(circle at 35% 35%, #ffd8a8, #f97316 55%, #9a3412); }
.mock-art .ring { position: absolute; width: 46%; aspect-ratio: 1; right: 8%; bottom: -12%; border-radius: 50%; border: 6px solid var(--accent); opacity: 0.85; }
.mock-art .path { position: absolute; left: 8%; right: 8%; bottom: 20%; height: 2px; background: #fff; transform: rotate(-12deg); box-shadow: 0 0 0 1px rgba(38, 128, 235, 0.6); }
.mock-art .path::before, .mock-art .path::after { content: ''; position: absolute; top: -4px; width: 8px; height: 8px; background: #fff; border: 2px solid var(--pf); }
.mock-art .path::before { left: 0; }
.mock-art .path::after { right: 0; }
.mock-page { width: 36%; aspect-ratio: 8.5 / 11; background: #f4f1ea; border-radius: 2px; padding: 7% 7%; display: flex; flex-direction: column; gap: 5%; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.mock-page em { display: block; height: 9%; width: 70%; background: #1f2937; border-radius: 1px; }
.mock-page s, .mock-page u { display: block; text-decoration: none; }
.mock-page s { height: 3.5%; background: #9aa3b2; border-radius: 1px; }
.mock-page s.short { width: 60%; }
.mock-page u { height: 26%; background: linear-gradient(135deg, var(--accent), #f472b6); border-radius: 2px; }
.mock-page u.tall { height: 42%; }

/* Product cards */
.product-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.product-card {
    position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px; border-radius: 18px; text-decoration: none; color: var(--text);
    background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, var(--bg-card)), var(--bg-card) 55%);
    border: 1px solid var(--line); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; overflow: hidden;
}
.product-card::after { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent); }
.product-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 20px 50px color-mix(in srgb, var(--accent) 18%, transparent); color: var(--text); }
.product-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.product-card-head img { border-radius: 13px; }
.product-card h3 { font-size: 1.7rem; margin: 0 0 2px; }
.product-card-head .eyebrow { margin: 0; }
.product-tagline { font: 600 1.15rem var(--font-ui); color: var(--text-bright); margin: 0; }
.product-card .link-arrow { margin-top: auto; padding-top: 12px; color: var(--accent); }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.checks li { display: flex; gap: 8px; align-items: center; color: var(--text-bright); font-size: 0.95rem; }
.checks .icon { color: var(--accent); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.feature-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.feature { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.feature h3 { font-size: 1.12rem; margin: 10px 0 4px; }
.feature p { margin: 0; color: var(--text-dim); font-size: 0.95rem; }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.feature-icon-sm { width: 34px; height: 34px; border-radius: 9px; }
.feature-product { margin-top: auto; padding-top: 12px; font: 600 0.85rem var(--font-ui); text-decoration: none; color: var(--accent); }
.feature-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px 40px; }
.feature-group h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); font-family: var(--font-ui); margin: 0 0 12px; }
.feature-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.feature-group li { display: flex; gap: 14px; align-items: flex-start; }
.feature-group li strong { color: var(--text-bright); }
.feature-group li p { margin: 2px 0 0; font-size: 0.94rem; }
.formats { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.formats > .muted { margin-right: 8px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 32px; }
.pillars h3 { margin: 14px 0 6px; font-size: 1.1rem; }
.pillars p { margin: 0; }

/* Cross-sell */
.crosssell { display: flex; align-items: center; gap: 24px; padding: 28px 32px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 16%, var(--bg-card)), var(--bg-card)); text-decoration: none; color: var(--text); }
.crosssell:hover { border-color: var(--accent); color: var(--text); }
.crosssell img { border-radius: 13px; }
.crosssell h2 { font-size: 1.35rem; margin: 0 0 6px; }
.crosssell p { margin: 0; }
.crosssell .link-arrow { margin-left: auto; color: var(--accent); }
@media (max-width: 700px) { .crosssell { flex-direction: column; align-items: flex-start; } .crosssell .link-arrow { margin: 0; } }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.quote { margin: 0; padding: 26px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 16px; font-size: 1.08rem; color: var(--text-bright); }
.quote blockquote::before { content: '“'; font: 700 2.4rem/0 var(--font-display); color: var(--accent); vertical-align: -0.45em; margin-right: 4px; }
.quote figcaption { font-size: 0.92rem; }

/* News */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.post-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.post-card-image { display: block; margin: -22px -22px 18px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 9; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 { font-size: 1.2rem; margin: 0 0 8px; }
.post-card h3 a { color: var(--text-bright); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p.muted { margin: 0; font-size: 0.95rem; }
.post-image { border-radius: var(--radius); margin-bottom: 28px; border: 1px solid var(--line); }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }

/* Prose (Markdown bodies) */
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 0.6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 0.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--text-bright); }
.prose img { border-radius: 10px; border: 1px solid var(--line); }
.prose pre { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose .product-cards, .prose .feature-grid, .prose .shot-grid, .prose .post-grid, .prose .download-cards { margin: 2em 0; font-size: 1rem; }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.prose th { color: var(--text-bright); background: var(--bg-card); }
.block-button { margin: 1.8em 0; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details, .release { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary, .release summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; position: relative; font: 600 1.02rem var(--font-ui); color: var(--text-bright); }
.faq summary::-webkit-details-marker, .release summary::-webkit-details-marker { display: none; }
.faq summary::after, .release summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); transition: transform 0.2s; }
.faq details[open] summary::after, .release[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .prose, .release .prose { padding: 0 20px 6px; font-size: 1rem; }
.faq-group { font-size: 1.3rem; margin: 40px 0 16px; color: var(--accent); }
.faq-group:first-child { margin-top: 0; }

/* Download */
.download-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.download-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: border-color 0.2s; }
.download-card h3 { margin: 8px 0 0; font-size: 1.3rem; }
.download-card .btn { margin: 12px 0 4px; }
.download-card.recommended { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 20px 50px rgba(38, 128, 235, 0.15); }
.download-card.recommended::before { content: 'Recommended for you'; font: 600 0.7rem var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-bright); }
.download-icon { color: var(--text-bright); }
.panel-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 3vw, 36px); }
.release-notes { margin-top: 32px; }
.release-notes h2 { margin-top: 0; }
.checksums summary { cursor: pointer; color: var(--text-dim); font-size: 0.9rem; }
.checksums pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--bg-input); border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: 0.8rem; }
.requirements, .releases { margin-top: 56px; }
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.req-grid h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0 0 6px; }
.req-grid p { margin: 0; font-size: 0.94rem; }
.release-list { display: grid; gap: 10px; }
.release summary { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.release summary .small { margin-left: auto; }
.release > .small { padding: 0 20px 16px; display: flex; gap: 16px; }

/* Gallery filter */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; color: var(--text); padding: 8px 16px; border-radius: 9px; cursor: pointer; font: 600 0.9rem var(--font-ui); }
.tabs button[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-bright); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(14, 17, 22, 0.94); padding: 24px; }
.lightbox img { max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox p { text-align: center; color: var(--text-bright); margin: 12px 0 0; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-card); color: var(--text-bright); font-size: 1.4rem; cursor: pointer; }

/* Forms */
.form label, .signup-form label:not(.sr-only):not(.hp) { display: flex; flex-direction: column; gap: 6px; font: 600 0.9rem var(--font-ui); color: var(--text-dim); margin-bottom: 16px; }
.form input, .form select, .form textarea, .signup-form input, .signup-form select {
    width: 100%; font: 400 1rem var(--font-body); color: var(--text-bright);
    background: var(--bg-input); border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px;
}
.form input:focus, .form select:focus, .form textarea:focus, .signup-form input:focus, .signup-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-side { display: grid; gap: 28px; }
.contact-side h3 { margin: 12px 0 6px; font-size: 1.1rem; }
.contact-side p { margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Sign-up */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; margin: clamp(40px, 6vw, 72px) 0; padding: clamp(24px, 4vw, 40px); border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(120deg, var(--brand-soft), var(--identity-soft)); }
.signup h2 { margin: 0 0 6px; font-size: 1.5rem; }
.signup p { margin: 0; }
.signup-form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-form input[type="email"] { flex: 2 1 220px; width: auto; }
.signup-form select { flex: 1 1 140px; width: auto; }
@media (max-width: 800px) { .signup { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); background: #0A0D11; padding: 56px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid h2 { font: 600 0.78rem var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin: 6px 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid ul a { color: var(--text); text-decoration: none; }
.footer-grid ul a:hover { color: var(--text-bright); }
.footer-brand p { max-width: 320px; }
.social { display: flex; gap: 16px; flex-wrap: wrap; }
.social a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; }
.social a:hover { color: var(--text-bright); }
.footer-base { border-top: 1px solid var(--line-soft); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-base p { margin: 0; }
.footer-slogan { font: 600 1rem var(--font-display); color: var(--identity-bright); }
.footer-slogan span { color: var(--text-dim); font-weight: 500; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Error */
.error-page { padding-bottom: 96px; }
.error-code { font: 700 clamp(4rem, 12vw, 7rem)/1 var(--font-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 8px; }
.error-page .lead { margin-left: auto; margin-right: auto; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Suite + product marks (drawn hexagons; see product_mark() / suite_mark()) */
.mark { flex: none; display: block; }
img.mark { border-radius: 22%; }
.mark-suite { filter: drop-shadow(0 4px 14px rgba(126, 87, 242, 0.35)); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-tag { font: 500 0.72rem/1.3 var(--font-ui); color: var(--identity-bright); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .brand-tag { display: none; } }
.product-card-head .mark, .product-id .mark, .crosssell .mark { filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent)); }
.product-id img { box-shadow: none; }

/* Release status pills */
.status { display: inline-block; font: 600 0.66rem/1 var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; font-style: normal; padding: 4px 7px; border-radius: 4px; vertical-align: 0.35em; border: 1px solid; }
.status-beta { color: var(--brand-bright); border-color: rgba(38, 128, 235, 0.45); background: var(--brand-soft); }
.status-coming_soon { color: var(--amber); border-color: rgba(224, 160, 48, 0.45); background: rgba(224, 160, 48, 0.1); }
.product-card h3 .status { font-size: 0.62rem; }
.product-card.is-soon { border-style: dashed; }

/* Three or more products: tighter cards in a wider grid */
.product-cards-many { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.product-cards-many .product-card { padding: 24px; }
.product-cards-many .product-card h3 { font-size: 1.4rem; }

/* Document-viewer placeholder (PDF-style apps) */
.mock-doc { width: 44%; position: relative; }
.mock-doc .mark-note { position: absolute; right: -10%; top: 30%; width: 26%; height: 14%; background: #ffd66b; border-radius: 2px; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35); }
.mock-doc .mark-sign { display: block; height: 7%; width: 45%; margin-top: auto; border-bottom: 2px solid var(--accent); }
.mock-doc s:nth-of-type(2) { background: color-mix(in srgb, var(--accent) 45%, #9aa3b2); }

/* Hero headline: one phrase per line, last phrase in the brand gradient */
.hero-title span { display: block; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }

/* Product sites: link back to the suite */
.suite-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text-dim); text-decoration: none; font: 500 0.88rem var(--font-ui); padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; }
.suite-link:hover { color: var(--text-bright); border-color: var(--identity); }
.footer-slogan a { color: inherit; text-decoration: none; }

/* Coming-soon pill on the home page */
.dot-soon { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
