:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;
    --dark: #0f172a;
    --bg: #f4f7fb;
    --white: #ffffff;
    --text: #334155;
    --muted: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --border: #e2e8f0;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.04);
    --radius: 16px;
    --sidebar: 248px;
    --font: Inter, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    overflow-x: clip;
}
img, video, iframe { max-width: 100%; }
img { display: block; }
a { color: var(--primary); text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--dark); letter-spacing: -0.03em; margin: 0 0 0.4em; }
p { margin: 0 0 0.8em; }

.skip {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--dark);
    color: white;
    padding: 8px 12px;
    z-index: 20;
}
.skip:focus { left: 12px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--dark); font-weight: 800; letter-spacing: -0.04em; }
.logo-mark {
    width: 32px; height: 32px; border-radius: 10px;
    background: var(--primary);
    color: white; display: grid; place-items: center;
}
.logo-mark svg { display: block; }
.logo.on-dark { color: white; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid transparent; border-radius: 10px; min-height: 40px;
    padding: 0 14px; font-weight: 700; cursor: pointer; background: transparent; color: var(--dark);
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: white; border-color: var(--border); }
.btn-secondary:hover { border-color: #cbd5e1; }
.btn-ghost { color: var(--text); }
.btn-danger { background: #fef2f2; color: var(--danger); }
.btn.is-on { color: var(--primary); background: #eff6ff; }
button.card { width: 100%; text-align: left; cursor: pointer; background: white; }
.btn-sm { min-height: 32px; padding: 0 10px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.55; pointer-events: none; }

.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 18px; }
.card-title { font-size: 16px; margin-bottom: 12px; }
.stack { display: grid; gap: 16px; }
.stack-sm { display: grid; gap: 8px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; color: var(--muted); }
.page-head { margin-bottom: 18px; }
.page-title { font-size: 28px; font-weight: 800; }
.page-sub { color: var(--muted); margin: 0; }

.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field span, .label { font-size: 13px; font-weight: 700; color: var(--dark); }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="number"], input[type="date"], input[type="search"], textarea, select {
    width: 100%; border: 1px solid var(--border); background: white; border-radius: 10px;
    padding: 10px 12px; outline: none;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.help { font-size: 12px; color: var(--muted); }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.alert { border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; border: 1px solid transparent; }
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-info, .callout { background: #eff6ff; color: #1e3a8a; border-color: #bfdbfe; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.alert ul { margin: 0; padding-left: 18px; }

.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; background: #f1f5f9; color: var(--dark); }
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-purple { background: #ede9fe; color: #6d28d9; }
.badge-green { background: #d1fae5; color: #047857; }
.badge-red { background: #fee2e2; color: #b91c1c; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: #eff6ff; color: #1d4ed8; border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 650; }

.avatar, .logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #e2e8f0; }
.logo-img { border-radius: 12px; }
.avatar-lg { width: 96px; height: 96px; border: 4px solid white; }
.avatar-sm { width: 32px; height: 32px; }
.avatar-wrap { position: relative; display: inline-flex; }
.presence { position: absolute; right: 0; bottom: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--success); border: 2px solid white; }

.cover {
    height: 180px; border-radius: 16px 16px 0 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.28) 100%),
        linear-gradient(180deg, #1e3a8a 0%, #3b82f6 46%, #fb923c 100%);
}
.cover.has-image { background-size: cover; background-position: center; }
.profile-head { padding: 0 20px 20px; }
.identity { display: flex; gap: 16px; align-items: flex-end; }
.identity .avatar-lg,
.identity .logo-img.avatar-lg { margin-top: -48px; flex-shrink: 0; }
.profile-head .page-title { font-size: 26px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.stat strong { display: block; font-size: 22px; color: var(--dark); }
.stat span { color: var(--muted); font-size: 13px; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { border: 1px solid var(--border); background: white; border-radius: 999px; padding: 6px 12px; color: var(--text); font-weight: 700; font-size: 14px; }
.tab.is-active { background: var(--dark); color: white; border-color: var(--dark); }

.empty { padding: 28px; text-align: center; color: var(--muted); }
.list { display: grid; gap: 12px; }

.post-body { white-space: pre-wrap; }
.media { border-radius: 12px; margin-top: 10px; width: 100%; max-height: 420px; object-fit: cover; }
.video-card { display: block; margin-top: 10px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.post-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.post-actions form { margin: 0; }
.share-box { margin-top: 10px; }
.nested { margin-top: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: #f8fafc; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

.stars { color: #cbd5e1; letter-spacing: 1px; }
.star.is-on { color: #f59e0b; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bar { flex: 1; background: #dbeafe; border-radius: 8px 8px 0 0; min-height: 6px; position: relative; }
.bar span { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted); }
.bar-label { display: flex; gap: 8px; }
.bar-label span { flex: 1; text-align: center; font-size: 12px; color: var(--muted); }

.msg-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; min-height: 68vh; }
.msg-list { display: grid; gap: 8px; align-content: start; }
.thread { display: flex; flex-direction: column; gap: 10px; max-height: 58vh; overflow: auto; padding: 8px; }
.bubble { max-width: min(78%, 560px); background: #f1f5f9; border: 0; border-radius: 16px; padding: 10px 12px; }
.bubble.mine { margin-left: auto; background: var(--primary); color: white; }
.bubble.mine .tiny, .bubble.mine a { color: rgba(255,255,255,.85); }
.msg-list a.is-active { background: #eff6ff; }
.bubble p { margin: 0; white-space: pre-wrap; }

.pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 18px 0; flex-wrap: wrap; }
.page-link { display: block; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; background: white; color: var(--text); }
.page-item.active .page-link { background: var(--primary); color: white; border-color: var(--primary); }
.page-item.disabled .page-link { opacity: 0.45; }

.site-header, .site-footer { background: white; border-bottom: 1px solid var(--border); }
.site-footer { border-bottom: 0; border-top: 1px solid var(--border); margin-top: 40px; }
.nav-inner, .footer-inner, .wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.nav-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.nav-links { display: flex; gap: 16px; align-items: center; }
.nav-links a { color: var(--text); font-weight: 650; }
.hero { padding: 56px 0 24px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; font-weight: 800; }
.lede { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-panel { background: white; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.hero-panel header { display: flex; gap: 10px; align-items: center; padding: 14px; border-bottom: 1px solid var(--border); }
.mock-post { padding: 14px; border-bottom: 1px solid var(--border); }
.section { padding: 28px 0; }
.feature { padding: 18px; }
.feature h3 { font-size: 18px; }
.price { padding: 18px; display: flex; flex-direction: column; gap: 8px; min-height: 100%; }
.price.is-featured { border-color: #c4b5fd; box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12); }
.price .amount { font-size: 36px; font-weight: 800; color: var(--dark); letter-spacing: -0.04em; }
.price ul { margin: 0 0 12px; padding-left: 18px; color: var(--text); }
.price .btn { margin-top: auto; }

.shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
.sidebar {
    background: white; color: var(--text); padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow: auto;
    display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--border);
}
.side-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 16px 10px 6px; }
.side-link {
    display: flex; align-items: center; gap: 10px;
    color: #475569; border-radius: 12px; padding: 10px 12px; font-weight: 650;
}
.side-link svg { flex-shrink: 0; }
.side-link span:last-child { margin-left: auto; }
button.side-link { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; }
.side-link:hover { background: #f8fafc; color: var(--dark); }
.side-link.is-active { background: #eff6ff; color: var(--primary); }
.side-link button { all: unset; display: flex; align-items: center; gap: 10px; width: 100%; cursor: pointer; }
.count { background: var(--primary); color: white; border-radius: 999px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; font-size: 11px; padding: 0 5px; }
.side-foot { margin-top: auto; background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.side-foot a { color: var(--primary); font-weight: 700; }
.shell-main { min-width: 0; }
.topbar {
    position: sticky; top: 0; z-index: 5; background: rgba(248, 250, 252, 0.92); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); display: flex; gap: 12px; align-items: center; padding: 12px 20px;
}
.search { flex: 1; min-width: 0; display: flex; gap: 8px; }
.search input { background: white; min-width: 0; }
.icon-btn, .hamburger { flex-shrink: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: white; display: grid; place-items: center; position: relative; color: var(--dark); }
.icon-btn .count { position: absolute; top: -6px; right: -6px; }
.menu { position: relative; }
.menu-panel {
    display: none; position: absolute; right: 0; top: calc(100% + 8px); background: white; border: 1px solid var(--border);
    border-radius: 12px; min-width: 200px; box-shadow: var(--shadow); padding: 8px; z-index: 6;
}
.menu.is-open .menu-panel { display: grid; }
.menu-panel a, .menu-panel button { text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 8px; color: var(--text); cursor: pointer; }
.menu-panel a:hover, .menu-panel button:hover { background: #f1f5f9; }
.content { padding: 22px 20px 48px; width: min(1080px, 100%); }
.hamburger { display: none; }
.backdrop { display: none; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: white; }
.auth-aside {
    background: linear-gradient(165deg, #3b82f6 0%, #2563eb 48%, #1d4ed8 100%);
    color: white; margin: 16px; border-radius: 28px; padding: 40px;
    display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.auth-aside h1 { color: white; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.auth-aside p { color: rgba(255,255,255,0.92); }
.auth-main { display: grid; place-items: center; padding: 32px 20px; }
.auth-card { width: min(420px, 100%); background: transparent; border: 0; box-shadow: none; padding: 0; }
.auth-center { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: var(--bg); }
.center-card { width: min(440px, 100%); text-align: center; padding: 36px 28px; }
.icon-blob { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: #eff6ff; color: var(--primary); }
.icon-blob.green { background: #ecfdf5; color: var(--success); }
.quote { background: rgba(255,255,255,0.14); border-radius: 16px; padding: 18px; }
.aside-stat { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,0.12); border-radius: 14px; padding: 12px 14px; }
.aside-stat strong { color: white; font-size: 18px; display: block; }
.hero-stage { position: relative; min-height: 420px; }
.float-card {
    position: absolute; background: white; border-radius: 18px; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    padding: 12px; display: flex; gap: 10px; align-items: center; width: min(240px, 70%);
}
.float-card img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.float-0 { top: 24px; right: 18%; }
.float-1 { top: 150px; right: 0; }
.float-2 { top: 280px; right: 22%; }
.trust { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; color: #94a3b8; font-weight: 800; letter-spacing: -0.03em; }
.jobs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 16px; align-items: start; }
.filter-list { display: grid; gap: 8px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 6px 12px; border-radius: 999px; background: white; border: 1px solid var(--border); color: var(--text); font-weight: 700; font-size: 13px; }
.tabs a.is-active { background: var(--primary); color: white; border-color: transparent; }
.social-btn { background: white; }
.demo-box { background: #f8fafc; border: 1px dashed var(--border); border-radius: 12px; padding: 12px; margin-top: 14px; font-size: 13px; }
.cv { width: min(820px, 100%); margin: 24px auto; background: white; padding: 40px; }
.cv h1 { font-size: 34px; }
.cv section { margin-top: 22px; }
.no-print { margin: 16px auto; width: min(820px, 100%); display: flex; justify-content: space-between; }

.report summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.comment { padding-top: 10px; border-top: 1px solid var(--border); margin-top: 10px; }

@media (max-width: 980px) {
    .hero, .auth-shell, .grid-main, .grid-4, .grid-3, .grid-2, .msg-layout, .form-row, .jobs-layout { grid-template-columns: 1fr; }
    .hero-stage { min-height: 0; display: grid; gap: 10px; }
    .float-card { position: static; width: 100%; }
    .auth-aside { margin: 0; border-radius: 0; min-height: 280px; }
    .identity { flex-direction: column; align-items: flex-start; }
    .profile-head .page-title { font-size: 22px; }
    .shell { grid-template-columns: 1fr; }
    .sidebar { position: fixed; z-index: 20; transform: translateX(-105%); transition: 0.2s transform; width: min(84vw, 300px); }
    .shell.is-open .sidebar { transform: none; }
    .shell.is-open .backdrop { display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); z-index: 15; }
    .hamburger { display: grid; }
    .nav-links { display: none; }
    .spread { flex-wrap: wrap; align-items: flex-start; }
    .topbar { flex-wrap: wrap; }
    .topbar .hamburger { order: 1; }
    .topbar .icon-btn, .topbar .menu { order: 2; }
    .topbar .search { order: 3; flex: 1 0 100%; }
    .stats { grid-template-columns: 1fr 1fr; }
    .site-header { position: sticky; top: 0; z-index: 30; }
    .nav-inner { position: relative; flex-wrap: wrap; }
    .site-header .hamburger { margin-left: auto; }
    .site-header .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
        flex-direction: column; align-items: stretch; gap: 0; background: white;
        padding: 8px 16px 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    }
    .site-header.is-open .nav-links { display: flex; }
    .site-header .nav-links a { padding: 12px 4px; }
    .content, .is-product .content { width: 100%; padding-left: 12px; padding-right: 12px; }
    .card, .bubble, .post-body, td { overflow-wrap: anywhere; }
    table { min-width: 560px; }
}

@media print {
    .no-print { display: none !important; }
    body { background: white; }
    .cv { margin: 0; box-shadow: none; }
}

.is-product { background: #f3f6fb; }
.is-product .topbar {
    background: #fff;
    height: 72px;
    padding: 0 28px;
    border-bottom: 1px solid #e8eef6;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.is-product .search {
    height: 44px;
    max-width: 520px;
    background: #f4f7fb;
    border: 1px solid #e7edf5;
    border-radius: 999px;
    padding: 0 14px;
    align-items: center;
    gap: 8px;
}
.is-product .search input { border: 0; background: transparent; height: 40px; padding: 0; box-shadow: none; }
.is-product .search input:focus { box-shadow: none; }
.product-logo { margin-right: 8px; }
.icon-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.icon-nav a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #64748b; position: relative; }
.icon-nav a:hover, .icon-nav a.is-active { background: #eff6ff; color: #2563eb; }
.icon-nav .count { position: absolute; top: 2px; right: 0; }
.avatar-btn { border: 0; background: transparent; padding: 0; cursor: pointer; border-radius: 50%; }
.is-product .content { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 72px; }
.cover-city { height: 228px; background: #1d4ed8 url("../brand/skyline.svg") center/cover no-repeat; }
.cover-office { height: 228px; background: #38bdf8 url("../brand/tower.svg") center/cover no-repeat; }
.profile-sheet { overflow: hidden; border: 0; box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06); }
.profile-meta { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; padding: 0 28px 22px; }
.profile-stats { display: flex; gap: 28px; padding-bottom: 8px; }
.profile-stats strong { display: block; font-size: 20px; color: var(--dark); letter-spacing: -0.04em; }
.suggest { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--border); }
.suggest form { margin: 0; }
.job-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; }
.job-row h3 { font-size: 16px; margin: 0; }
.feature-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #eff6ff; color: #2563eb; margin-bottom: 12px; }
.demo-user { width: 100%; text-align: left; border: 1px solid var(--border); background: white; border-radius: 12px; padding: 10px 12px; margin-top: 8px; cursor: pointer; display: grid; }
.demo-user:hover { border-color: #93c5fd; background: #f8fbff; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-row .stat { padding: 18px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04); }
.stat-row .stat strong { font-size: 28px; letter-spacing: -0.04em; }
.notice-row { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; }
.notice-ico { width: 42px; height: 42px; border-radius: 50%; background: #eff6ff; color: #2563eb; display: grid; place-items: center; flex-shrink: 0; font-weight: 800; }
.composer { display: flex; gap: 10px; align-items: flex-end; }
.composer textarea { min-height: 52px; border-radius: 16px; }
.auth-card input, .center-card input { min-height: 48px; border-radius: 12px; }
.hero h1 { letter-spacing: -0.05em; }
.card { box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04); }

@media (min-width: 981px) {
    .is-product .shell { display: block; }
    .is-product .sidebar { display: none; }
    .is-product .hamburger { display: none; }
}
@media (max-width: 980px) {
    .icon-nav { display: none; }
    .profile-meta { display: block; }
    .stat-row { grid-template-columns: 1fr 1fr; }
    .job-row { grid-template-columns: 52px minmax(0, 1fr); }
    .profile-meta { align-items: flex-start; padding: 0 16px 18px; }
    .job-row { grid-template-columns: 52px minmax(0, 1fr); }
}
