@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Poppins:wght@500;600;700;800&display=swap');

:root {
    --navy: #0d1b2a;
    --navy-2: #14273d;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-light: #dbeafe;
    --green: #10b981;
    --green-dark: #047857;
    --green-light: #d1fae5;
    --purple: #6b3df4;
    --purple-light: #ede9fe;
    --yellow: #f59e0b;
    --yellow-light: #fef3c7;
    --red: #ef4444;
    --red-light: #fee2e2;
    --bg: #f0f4f8;
    --card: #ffffff;
    --surface: #f8fafc;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --text: #0d1b2a;
    --text-2: #475569;
    --muted: #64748b;
    --muted-2: #94a3b8;
    --display: 'Poppins', sans-serif;
    --body: 'Inter', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .07);
    --shadow-hover: 0 8px 30px rgba(37, 99, 235, .12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: var(--blue-dark);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--text);
    font-family: var(--display);
    line-height: 1.25;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
}

.brand:hover {
    color: var(--navy);
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--green));
    box-shadow: 0 3px 10px rgba(37, 99, 235, .28);
    font-family: var(--display);
    font-size: 13px;
    font-weight: 800;
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-name {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
}

.brand-name strong {
    color: var(--green);
}

.brand-copy small {
    color: var(--muted-2);
    font-size: 9px;
    line-height: 1.2;
}

.brand-copy small b {
    color: var(--blue);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a,
.nav-link-button {
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 7px 0 5px;
    color: var(--muted);
    background: transparent;
    font-family: var(--display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active,
.nav-link-button:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.main-nav form {
    margin: 0;
}

.main-nav .nav-cta {
    border: 0;
    border-radius: 8px;
    padding: 9px 14px;
    color: #fff;
    background: var(--blue);
}

.main-nav .nav-cta:hover {
    color: #fff;
    background: var(--blue-dark);
}

.nav-toggle {
    width: 42px;
    height: 40px;
    display: none;
    place-content: center;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    background: var(--navy);
}

.hero {
    overflow: hidden;
    padding: 84px 0 76px;
    background:
        radial-gradient(circle at 12% 15%, rgba(37, 99, 235, .13), transparent 30rem),
        radial-gradient(circle at 88% 30%, rgba(16, 185, 129, .12), transparent 28rem),
        linear-gradient(180deg, #f7faff 0%, var(--bg) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 64px;
    align-items: center;
}

.eyebrow,
.section-heading > span,
.cta-card > div > span {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    border-radius: 999px;
    padding: 5px 11px;
    color: var(--blue);
    background: var(--blue-light);
    font-family: var(--display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(42px, 5.8vw, 70px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.05;
}

.hero h1 em {
    color: var(--green);
    font-style: normal;
}

.hero-copy > p {
    max-width: 670px;
    margin: 23px 0 0;
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions,
.form-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.hero-actions {
    margin-top: 30px;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 18px;
    font-family: var(--display);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #fff;
    background: var(--blue);
}

.button-primary:hover {
    color: #fff;
    background: var(--blue-dark);
    box-shadow: 0 6px 18px rgba(37, 99, 235, .25);
}

.button-secondary {
    border-color: var(--border-strong);
    color: var(--text-2);
    background: #fff;
}

.button-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

.button-success {
    color: #fff;
    background: var(--green);
}

.button-success:hover {
    color: #fff;
    background: var(--green-dark);
}

.button-danger {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.button-danger:hover {
    color: #991b1b;
    background: var(--red-light);
}

.button-small {
    min-height: 34px;
    padding: 0 12px;
    font-size: 10px;
}

.button-block {
    width: 100%;
}

.hero-note {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
}

.hero-note span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.profile-preview-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .13);
}

.preview-profile-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.preview-avatar,
.avatar {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    font-family: var(--display);
    font-size: 13px;
    font-weight: 800;
}

.avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    font-size: 11px;
}

.preview-profile-header div {
    display: grid;
    gap: 2px;
}

.preview-profile-header strong {
    font-family: var(--display);
    font-size: 14px;
}

.preview-profile-header div span {
    color: var(--muted);
    font-size: 11px;
}

.preview-completion {
    padding: 20px 0 16px;
}

.preview-completion > div:first-child,
.progress-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 11px;
}

.preview-completion strong {
    color: var(--green-dark);
    font-family: var(--display);
}

.progress {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--border);
}

.progress > span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--green));
}

.preview-skills,
.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.preview-skills span,
.skill-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    color: #4338ca;
    background: var(--purple-light);
    font-family: var(--display);
    font-size: 10px;
    font-weight: 600;
}

.preview-match {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    align-items: center;
    margin-top: 19px;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 13px;
    background: #f0fdf4;
}

.match-score {
    min-width: 62px;
    color: var(--green-dark);
    font-family: var(--display);
    font-size: 23px;
    font-weight: 800;
}

.preview-match div {
    display: grid;
    gap: 2px;
}

.preview-match strong {
    font-family: var(--display);
    font-size: 12px;
}

.preview-match div span {
    color: var(--muted);
    font-size: 10px;
}

.divider {
    height: 1px;
    background: var(--border);
}

.section {
    padding: 66px 0;
}

.section-heading {
    max-width: 790px;
    margin-bottom: 32px;
}

.section-heading h2,
.cta-card h2 {
    margin: 0;
    font-size: clamp(27px, 3.6vw, 43px);
    letter-spacing: -.025em;
}

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

.feature-card {
    min-height: 225px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    background: var(--card);
    box-shadow: var(--shadow);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

.feature-card:hover {
    border-color: #bfdbfe;
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.feature-number {
    display: inline-flex;
    border-radius: 8px;
    padding: 5px 9px;
    color: var(--blue);
    background: var(--blue-light);
    font-family: var(--display);
    font-size: 11px;
    font-weight: 700;
}

.feature-card:nth-child(2) .feature-number {
    color: #6d28d9;
    background: var(--purple-light);
}

.feature-card:nth-child(3) .feature-number {
    color: var(--green-dark);
    background: var(--green-light);
}

.feature-card h3 {
    margin: 46px 0 9px;
    font-size: 19px;
}

.feature-card p,
.trust-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.trust-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: start;
}

.trust-grid h2 {
    margin: 0;
    font-size: clamp(29px, 4vw, 47px);
    letter-spacing: -.03em;
}

.trust-copy {
    display: grid;
    gap: 17px;
    border-left: 4px solid var(--blue);
    border-radius: 4px;
    padding: 8px 0 8px 24px;
}

.cta-section {
    padding: 0 0 66px;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 34px;
    background:
        radial-gradient(circle at 0 50%, rgba(37, 99, 235, .11), transparent 45%),
        var(--card);
    box-shadow: var(--shadow);
}

.site-footer {
    border-top: 1px solid var(--border);
    color: var(--muted);
    background: var(--card);
    font-size: 11px;
}

.footer-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.app-main {
    width: min(1180px, calc(100% - 40px));
    min-height: calc(100vh - 137px);
    margin: 0 auto;
    padding: 32px 0 54px;
}

.app-main-narrow {
    width: min(820px, calc(100% - 40px));
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.page-title span {
    display: block;
    margin-bottom: 5px;
    color: var(--blue);
    font-family: var(--display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.page-title h1 {
    margin: 0;
    font-size: clamp(25px, 4vw, 34px);
}

.page-title p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.card,
.panel,
.auth-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
}

.card,
.panel {
    padding: 23px;
}

.panel + .panel {
    margin-top: 18px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.panel-header h2,
.panel-header h3 {
    margin: 0;
    font-size: 18px;
}

.panel-header p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.stat-card {
    min-height: 128px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 19px;
    background: var(--card);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    border-radius: 12px;
    color: var(--blue);
    background: var(--blue-light);
    font-family: var(--display);
    font-weight: 800;
}

.stat-icon.green {
    color: var(--green-dark);
    background: var(--green-light);
}

.stat-icon.purple {
    color: #6d28d9;
    background: var(--purple-light);
}

.stat-icon.yellow {
    color: #92400e;
    background: var(--yellow-light);
}

.stat-content strong {
    display: block;
    font-family: var(--display);
    font-size: 27px;
    line-height: 1;
}

.stat-content span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.form-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
    min-width: 0;
}

.field-full {
    grid-column: 1 / -1;
}

.field label,
.field-label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-2);
    font-family: var(--display);
    font-size: 11px;
    font-weight: 600;
}

.field label .required {
    color: var(--red);
}

.field input[type='text'],
.field input[type='email'],
.field input[type='password'],
.field input[type='tel'],
.field input[type='url'],
.field input[type='number'],
.field input[type='date'],
.field input[type='search'],
.field select,
.field textarea,
.filter-form input,
.filter-form select {
    width: 100%;
    min-height: 46px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0 13px;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}

.field textarea {
    min-height: 112px;
    padding-top: 11px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.filter-form input:focus,
.filter-form select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .11);
}

.field input[readonly] {
    color: var(--muted);
    background: var(--surface);
}

.field-help {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--text-2);
    font-size: 12px;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--blue);
}

.form-section {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
    border-bottom: 0;
}

.form-section-title {
    margin-bottom: 15px;
}

.form-section-title h2 {
    margin: 0 0 3px;
    font-size: 17px;
}

.form-section-title p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 76px !important;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    border: 0;
    padding: 4px;
    color: var(--blue);
    background: transparent;
    font-size: 10px;
    transform: translateY(-50%);
}

.alert {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 17px;
    border: 1px solid;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 12px;
}

.alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.alert button {
    border: 0;
    color: inherit;
    background: transparent;
    font-size: 19px;
    line-height: 1;
}

.alert-success {
    border-color: #bbf7d0;
    color: #065f46;
    background: #f0fdf4;
}

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

.alert-warning {
    border-color: #fde68a;
    color: #92400e;
    background: #fffbeb;
}

.alert-info {
    border-color: #bfdbfe;
    color: #1e40af;
    background: #eff6ff;
}

.auth-page-main {
    min-height: calc(100vh - 137px);
    display: grid;
    place-items: center;
    padding: 42px 20px;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, .12), transparent 28rem),
        radial-gradient(circle at 85% 30%, rgba(16, 185, 129, .11), transparent 25rem),
        var(--bg);
}

.auth-shell {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 58px;
    align-items: center;
}

.auth-brand h1 {
    margin: 13px 0 14px;
    font-size: clamp(35px, 5vw, 57px);
    letter-spacing: -.035em;
}

.auth-brand p {
    max-width: 530px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.auth-card {
    padding: 28px;
}

.auth-card h2 {
    margin: 0 0 5px;
    font-size: 23px;
}

.auth-card > p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 12px;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 16px;
    font-size: 11px;
}

.auth-note {
    margin-top: 18px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    color: var(--muted);
    font-size: 10px;
    text-align: center;
}

.filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(150px, .35fr)) auto;
    gap: 10px;
    margin-bottom: 18px;
}

.filter-form input,
.filter-form select {
    min-height: 42px;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.data-table th {
    padding: 10px 12px;
    border-bottom: 2px solid var(--border);
    color: var(--muted);
    background: var(--surface);
    font-family: var(--display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .07em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: #f8fbff;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.person-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.person-cell strong,
.person-cell span {
    display: block;
}

.person-cell span {
    color: var(--muted);
    font-size: 10px;
}

.status-badge,
.tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-family: var(--display);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.status-success {
    color: #065f46;
    background: var(--green-light);
}

.status-warning {
    color: #92400e;
    background: var(--yellow-light);
}

.status-info {
    color: #1e40af;
    background: var(--blue-light);
}

.status-muted {
    color: #475569;
    background: #e2e8f0;
}

.status-danger {
    color: #991b1b;
    background: var(--red-light);
}

.empty-state {
    min-height: 210px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius);
    padding: 28px;
    color: var(--muted);
    background: var(--surface);
    text-align: center;
}

.empty-state strong {
    color: var(--text);
    font-family: var(--display);
    font-size: 17px;
}

.empty-state p {
    max-width: 520px;
    margin: 0;
    font-size: 12px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.job-card {
    display: grid;
    gap: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    color: var(--text);
    background: var(--card);
    box-shadow: var(--shadow);
    transition: transform .18s, border-color .18s, box-shadow .18s;
}

.job-card:hover {
    border-color: #bfdbfe;
    color: var(--text);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.job-card h2,
.job-card h3 {
    margin: 0 0 3px;
    font-size: 17px;
}

.job-card .company {
    color: var(--muted);
    font-size: 11px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.job-meta span {
    border-radius: 999px;
    padding: 4px 8px;
    color: var(--text-2);
    background: var(--surface);
    font-size: 9px;
}

.job-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.score-badge {
    min-width: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 8px;
    color: var(--green-dark);
    background: var(--green-light);
    font-family: var(--display);
    font-size: 17px;
    font-weight: 800;
}

.score-medium {
    color: #92400e;
    background: var(--yellow-light);
}

.score-low {
    color: #475569;
    background: #e2e8f0;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 18px;
}

.detail-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.detail-list div {
    padding-bottom: 11px;
    border-bottom: 1px solid var(--border);
}

.detail-list div:last-child {
    border-bottom: 0;
}

.detail-list dt {
    color: var(--muted);
    font-size: 10px;
}

.detail-list dd {
    margin: 3px 0 0;
    font-size: 12px;
    font-weight: 600;
}

.text-content {
    color: var(--text-2);
    font-size: 13px;
    white-space: pre-line;
}

.match-breakdown {
    display: grid;
    gap: 10px;
}

.match-factor {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 9px;
    font-size: 11px;
}

.match-factor span {
    color: var(--muted);
}

.match-factor strong {
    font-family: var(--display);
}

.upload-box {
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 18px;
    background: var(--surface);
}

.upload-box input[type='file'] {
    width: 100%;
}

.upload-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
    border-radius: 8px;
    padding: 12px;
    background: var(--green-light);
    font-size: 11px;
}

.mono {
    font-family: var(--mono);
}

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

.text-right {
    text-align: right;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }

@media (max-width: 960px) {
    .hero-grid,
    .auth-shell,
    .dashboard-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .profile-preview-card {
        max-width: 640px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 180px;
    }

    .feature-card h3 {
        margin-top: 28px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .container,
    .app-main,
    .app-main-narrow {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 62px;
    }

    .nav-toggle {
        display: grid;
    }

    .main-nav {
        position: absolute;
        top: 62px;
        right: 12px;
        left: 12px;
        display: none;
        align-items: stretch;
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 12px;
        background: #fff;
        box-shadow: var(--shadow);
        flex-direction: column;
        gap: 5px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a,
    .nav-link-button,
    .main-nav .nav-cta {
        width: 100%;
        display: block;
        border: 0;
        border-radius: 7px;
        padding: 10px 11px;
        text-align: left;
    }

    .main-nav a:hover,
    .nav-link-button:hover,
    .main-nav a.active {
        background: var(--blue-light);
    }

    .hero {
        padding: 58px 0 52px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 56px);
    }

    .section {
        padding: 50px 0;
    }

    .cta-card,
    .footer-inner,
    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner {
        justify-content: center;
        padding: 17px 0;
    }

    .auth-page-main {
        padding: 28px 12px;
    }

    .auth-brand {
        display: none;
    }

    .form-grid,
    .form-grid-three,
    .filter-form,
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .preview-profile-header {
        grid-template-columns: auto 1fr;
    }

    .preview-profile-header > .status-badge {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .panel,
    .card,
    .auth-card {
        padding: 18px;
    }
}
