/* Public Features/Docs/Compare/legal pages: same engraved-ledger identity as landing.css
   (ink / paper / gold / seal, Outfit), static - no scroll set-pieces. */
/* Doubled selector: careers.css is injected in the body after this sheet, and its .dns-careers
   defaults (teal) would otherwise win at equal specificity. */
.dns-careers.sb-careers {
    --dns-c-accent: #9c4034;
    --dns-c-accent-ink: #f7f3ea;
    --dns-c-text: #141816;
    --dns-c-muted: #5c574e;
    --dns-c-card: #fbf8f1;
    --dns-c-page: #f3eee4;
    --dns-c-line: rgba(20,24,22,.14);
    --dns-c-tint: rgba(196,162,101,.2);
    --dns-c-hero-bg: radial-gradient(900px 380px at 80% 0%, #24302a, #141816 60%);
    --dns-c-hero-fg: #f7f3ea;
    --dns-c-font: Outfit, 'Segoe UI', system-ui, sans-serif;
    --dns-c-display: Outfit, 'Segoe UI', system-ui, sans-serif;
    --dns-c-radius: 4px;
}
.sb-landing {
    --ink: #141816; --paper: #f3eee4; --gold: #c4a265; --seal: #9c4034; --muted: #5c574e;
    margin: 0; font-family: Outfit, 'Segoe UI', system-ui, sans-serif; background: var(--paper); color: var(--ink);
}
.sb-landing * { box-sizing: border-box; }
.sb-landing h1, .sb-landing h2, .sb-landing h3, .sb-nav-brand {
    font-family: Outfit, 'Segoe UI', system-ui, sans-serif; font-weight: 560; letter-spacing: -0.03em;
}
html, body { overflow-x: clip; }

.sb-nav {
    position: sticky; top: 0; z-index: 20; background: var(--paper);
    border-bottom: 1px solid rgba(20,24,22,.08);
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 14px 28px;
}
.sb-nav-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.15rem; }
.sb-mark { width: 34px; height: 34px; flex-shrink: 0; }
.sb-nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.sb-nav-links a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; }
.sb-nav-links a:hover { color: var(--seal); }
.sb-signin-btn {
    background: var(--ink); color: var(--paper) !important; border-radius: 999px; padding: 10px 18px;
    font-weight: 600; font-size: .88rem; text-decoration: none; transition: opacity .15s;
}
.sb-signin-btn:hover { opacity: .85; }

.sb-page-header {
    position: relative; overflow: hidden; text-align: center; color: var(--paper); padding: 72px 28px 64px;
    background: radial-gradient(900px 380px at 80% 0%, #24302a, var(--ink) 60%);
}
.sb-page-header::after {
    content: ""; position: absolute; left: 50%; bottom: -60%; width: 60%; height: 100%; transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(196,162,101,.3), transparent 70%); pointer-events: none;
}
.sb-page-header > * { position: relative; z-index: 1; }
.sb-page-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 14px; color: #f7f3ea; }
.sb-page-header p { font-size: clamp(.95rem, 2vw, 1.1rem); color: rgba(243,238,228,.8); max-width: 640px; margin: 0 auto; line-height: 1.6; }

.sb-body { padding: 56px 28px; max-width: 1100px; margin: 0 auto; }
.sb-category-title {
    font-family: Outfit, 'Segoe UI', system-ui, sans-serif; font-size: 1.3rem; font-weight: 560; color: var(--ink);
    margin: 40px 0 20px; padding-bottom: 8px; border-bottom: 1px solid var(--gold);
}
.sb-category-title:first-child { margin-top: 0; }
.sb-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sb-item-card {
    background: #fbf8f1; border-radius: 4px; padding: 24px; height: 100%;
    border: 1px solid rgba(20,24,22,.14); border-top: 3px solid var(--gold);
    box-shadow: 0 1px 0 rgba(20,24,22,.05);
    text-decoration: none; color: inherit; display: block;
}
.sb-item-card:hover { box-shadow: 0 6px 18px rgba(20,24,22,.14); text-decoration: none; color: inherit; }
.sb-item-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.sb-item-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin: 0; }
.sb-flagship-badge {
    display: inline-block; background: rgba(156,64,52,.1); color: var(--seal);
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    border-radius: 4px; padding: 2px 8px; margin-bottom: 8px;
}

.sb-screenshot { margin-bottom: 32px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.18); border: 1px solid #e2e2ea; }
.sb-screenshot img { display: block; width: 100%; height: auto; }

.sb-detail-section { margin-bottom: 32px; }
.sb-detail-section h2 { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.sb-detail-section p { font-size: 0.95rem; color: var(--muted); line-height: 1.75; }
.sb-benefit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sb-benefit-list li {
    background: rgba(196,162,101,.22); border-radius: 8px; padding: 12px 16px;
    font-size: 0.9rem; color: var(--ink); font-weight: 600;
}
.sb-meta-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.sb-meta-table td { padding: 10px 0; border-bottom: 1px solid #eee; vertical-align: top; }
.sb-meta-table td:first-child { font-weight: 700; color: var(--ink); width: 180px; }
.sb-related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.sb-related-links a {
    background: white; border: 1px solid rgba(20,24,22,.25); border-radius: 999px;
    padding: 6px 16px; font-size: 0.85rem; color: var(--ink); text-decoration: none;
}
.sb-related-links a:hover { background: rgba(196,162,101,.22); }
.sb-hero-btn {
    display: inline-block; background: var(--gold); color: var(--ink) !important;
    padding: 12px 36px; border-radius: 999px;
    font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: opacity .15s;
}
.sb-hero-btn:hover { opacity: 0.9; }
.sb-cta-btn {
    display: inline-block; background: var(--ink); color: white !important;
    padding: 12px 36px; border-radius: 999px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: background .15s;
}
.sb-cta-btn:hover { background: #2a332e; }
.sb-notfound { text-align: center; padding: 96px 32px; }
.sb-compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: #fbf8f1; border: 1px solid rgba(20,24,22,.14); }
.sb-compare th, .sb-compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #eee; vertical-align: top; }
.sb-compare th { background: rgba(196,162,101,.22); color: var(--ink); font-weight: 700; }
.sb-compare td:first-child { font-weight: 700; color: var(--ink); width: 160px; }
@media (max-width: 700px) {
    .sb-compare, .sb-compare thead, .sb-compare tbody, .sb-compare tr, .sb-compare th, .sb-compare td { display: block; width: 100%; }
    .sb-compare thead { display: none; }
    .sb-compare tr { margin-bottom: 16px; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
    .sb-compare td:first-child { width: auto; background: rgba(196,162,101,.22); }
}

footer.sb-footer { background: #101412; color: #b7b1a6; padding: 40px 32px 24px; font-size: 0.875rem; text-align: center; }
footer.sb-footer a { color: #b7b1a6; }
footer.sb-footer a:hover { color: var(--gold); }
.sb-body a:not([class]) { color: var(--seal); }
