:root {
  --brand: #8f2d7f;
  --brand-dark: #6e1f62;
  --brand-soft: #f6ebf4;
  --brand-tint: #fbf6fa;
  --ink: #1c1430;
  --ink-2: #4a4260;
  --muted: #6f6885;
  --line: #e7e1ee;
  --bg: #ffffff;
  --accent: #1f9d8f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 20, 48, .06), 0 8px 24px rgba(28, 20, 48, .07);
  --max: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 68px; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--ink-2); font-weight: 550; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { width: 22px; height: 22px; margin: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 650; font-size: .98rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s, color .15s;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(143, 45, 127, .28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-soft); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--brand-tint); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: .9rem;
}
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.center { text-align: center; margin-inline: auto; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(143, 45, 127, .13), transparent 60%),
    radial-gradient(700px 380px at -5% 110%, rgba(31, 157, 143, .10), transparent 60%),
    #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); max-width: 580px; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.2rem; }
.hero-sub { color: var(--muted); font-size: .95rem; }
.hero-sub a { font-weight: 650; }
.brand-line { font-style: italic; color: var(--brand); font-weight: 600; }

.stack { display: grid; gap: .9rem; }
.stack-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.3rem; box-shadow: var(--shadow); display: flex; gap: 1rem; align-items: flex-start;
}
.stack-card:nth-child(2) { margin-left: 1.5rem; }
.stack-card:nth-child(3) { margin-left: 3rem; }
.stack-card .ico { flex: none; }
.stack-card h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.stack-card p { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.45; }
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.ico svg { width: 22px; height: 22px; }
.ico.teal { background: #e3f5f2; color: var(--accent); }

/* Cards & grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card h3 { margin-top: 1rem; }
.card > p { color: var(--ink-2); }
.card .btn { margin-top: auto; align-self: flex-start; }
.tick-list { margin: .5rem 0 1.5rem; display: grid; gap: .55rem; }
.tick-list li { position: relative; padding-left: 1.7rem; color: var(--ink-2); font-size: .97rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.7 2.7L12 5.5' fill='none' stroke='%238f2d7f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .65rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark);
}
.tag.teal { background: #e3f5f2; color: #136f65; }
.card > .tag { align-self: flex-start; }

/* Pictures */
.card-img { width: 100%; height: auto; aspect-ratio: 600 / 340; object-fit: cover; border-radius: 10px; margin-bottom: 1.2rem; }
.media-img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-row { align-items: center; }
.rec-text { max-width: 900px; margin: 0 auto 2rem; text-align: center; }
.rec-text p:last-child { margin-bottom: 0; }
.about-body p { color: var(--ink-2); font-size: 1.05rem; }
.about-top {
  text-align: center;
  background:
    radial-gradient(800px 360px at 85% -20%, rgba(143, 45, 127, .12), transparent 60%),
    radial-gradient(600px 320px at 0% 120%, rgba(31, 157, 143, .10), transparent 60%),
    linear-gradient(180deg, var(--brand-tint), #fff);
}
.about-top .lead { margin-inline: auto; }
.about-top .hero-ctas { justify-content: center; margin: 1.8rem 0 0; }
.card-link { margin-top: auto; font-weight: 650; }

/* Journey steps (Discover / Match / Improve / Connect) */
.mini-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1rem 0 1.5rem; }
.mini-steps div { background: var(--brand-tint); border-radius: 10px; padding: .75rem .9rem; font-size: .88rem; color: var(--ink-2); line-height: 1.4; }
.mini-steps strong { display: block; color: var(--ink); font-size: .95rem; }

/* Job network flow */
.flow { display: flex; align-items: stretch; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.flow-node {
  flex: 1 1 150px; max-width: 210px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1rem; text-align: center; box-shadow: var(--shadow);
}
.flow-node strong { display: block; font-size: .98rem; margin-bottom: .2rem; }
.flow-node span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; }
.flow-node.hl { background: var(--brand); border-color: var(--brand); color: #fff; }
.flow-node.hl span { color: rgba(255, 255, 255, .85); }
.flow-arrow { align-self: center; color: var(--brand); font-size: 1.4rem; font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.source-pill {
  display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem;
}
.source-pill h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.source-pill p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* AI Tabs V2 - 2 Column Layout */
.ai-tabs-v2 { }
.ai-tab-buttons { display: flex; gap: 2rem; margin-bottom: 2rem; border-bottom: 2px solid var(--line); }
.ai-tab-btn { background: none; border: none; padding: 1rem 0; font-weight: 650; font-size: 1.1rem; color: var(--ink-2); cursor: pointer; display: flex; align-items: center; gap: 0.8rem; position: relative; transition: color .2s; }
.ai-tab-btn:hover { color: var(--brand); }
.ai-tab-btn.active { color: var(--brand); }
.ai-tab-btn.active::after { content: ""; position: absolute; bottom: -2px; left: 0; right: 0; height: 3px; background: var(--brand); }
.ai-tab-content-v2 { display: none; }
.ai-tab-content-v2.active { display: block; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.ai-tab-header { margin-bottom: 1.5rem; }
.ai-tab-header h3 { margin: 0 0 0.4rem; font-size: 1.4rem; color: var(--ink); font-weight: 700; }
.ai-tab-header p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.ai-layout-2col { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 2rem; align-items: stretch; }
.ai-left { display: flex; }
.ai-visual-v2 { flex: 1; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); overflow: hidden; background: var(--brand-tint); padding: 1rem; }
.ai-visual-v2 img { width: 100%; height: auto; display: block; border-radius: 10px; }
.ai-right { display: flex; }
.ai-features-3col { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ai-feature-group { background: var(--brand-tint); border-radius: 12px; padding: 1.4rem; }
.ai-feature-group .feature-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.ai-feature-group h4 { margin: 0 0 1rem; font-size: 1.05rem; color: var(--brand); font-weight: 700; line-height: 1.3; }
.ai-feature-group ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.ai-feature-group li { color: var(--ink-2); font-size: 0.92rem; line-height: 1.4; }
.ai-feature-group li::before { content: "✓ "; color: var(--brand); font-weight: 700; margin-right: 0.4rem; }
.ai-cta { display: flex; justify-content: center; margin-top: 2rem; }
@media (max-width: 1020px) { .ai-layout-2col { grid-template-columns: 1fr; gap: 2rem; } .ai-features-3col { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .ai-tab-buttons { flex-wrap: wrap; } .ai-features-3col { grid-template-columns: 1fr; } }

/* AI two-column */
.ai-col h3 { display: flex; align-items: center; gap: .7rem; margin-top: 0; font-size: 1.35rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.1rem; counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; margin-bottom: .8rem;
}
.step h3 { font-size: 1rem; margin-bottom: .3rem; }
.step p { font-size: .88rem; color: var(--ink-2); margin: 0; line-height: 1.45; }

/* Engagement levels */
.level { position: relative; }
.level .num { font-size: 2.6rem; font-weight: 800; color: var(--brand-soft); line-height: 1; -webkit-text-stroke: 1.5px var(--brand); }
.level dl { margin: 1rem 0 0; display: grid; gap: .8rem; }
.level dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.level dd { margin: .1rem 0 0; color: var(--ink-2); font-size: .95rem; }
.level.featured { border: 2px solid var(--brand); }

/* Recruitment process */
.timeline { display: grid; gap: 0; position: relative; max-width: 760px; }
.timeline li { position: relative; padding: 0 0 1.4rem 3rem; color: var(--ink-2); }
.timeline li::before {
  content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline li .dot {
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--brand);
  color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center;
}
.timeline li strong { display: block; color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }

/* Trust */
.trust-item { display: flex; gap: 1rem; align-items: flex-start; }
.trust-item h3 { font-size: 1.05rem; margin: 0 0 .25rem; }
.trust-item p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand) 55%, #b0449d);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; max-width: 640px; margin-inline: auto; }
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: 1.8rem; }

/* Footer */
.site-footer { background: var(--ink); color: #cfc8de; padding: 3.5rem 0 2rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { background: #fff; border-radius: 10px; padding: .5rem .8rem; display: inline-block; margin-bottom: 1rem; }
.footer-logo img { height: 34px; width: auto; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer a { color: #cfc8de; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; color: #9d94b3; }

/* Inner pages */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); background: linear-gradient(180deg, var(--brand-tint), #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.page-hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 700px; }
.notice {
  display: flex; gap: .8rem; align-items: flex-start; background: #fff8e6; border: 1px solid #f1deaa;
  color: #6b5413; border-radius: 12px; padding: .9rem 1.1rem; font-size: .93rem; margin: 1.5rem 0 0; max-width: 700px;
}
.notice svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
label, legend { font-weight: 600; font-size: .9rem; color: var(--ink); }
.req { color: var(--brand); }
input, select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: .7rem .85rem; width: 100%;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(143, 45, 127, .15); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.form-status { margin-top: 1rem; font-size: .93rem; color: var(--ink-2); min-height: 1.4em; }
.form-status.ok { color: #136f65; }
.form-status.err { color: #b3261e; }
.aside-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.aside-list li:last-child { border: 0; }
.aside-list strong { display: block; }
.aside-list span { color: var(--ink-2); font-size: .93rem; }
.phase-list { display: grid; gap: .6rem; }
.phase-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .7rem 1rem; font-size: .93rem; }
.phase-list .tag { white-space: nowrap; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .stack-card:nth-child(n) { margin-left: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-actions .btn { display: none; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .split, .form-grid { grid-template-columns: 1fr; }
  .steps, .grid-4, .mini-steps { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); flex-basis: 100%; text-align: center; }
  .flow-node { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn, .cta-row .btn { flex: 1 1 100%; }
}

/* Job board */
.page-narrow { max-width: 760px; }
.board-section { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.filters { display: grid; grid-template-columns: 2fr 1.3fr 1fr 1fr auto; gap: .8rem; align-items: end; margin-bottom: 1.5rem; }
.result-count { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }
.job-list { display: grid; gap: 1rem; }
.job-card {
  display: flex; gap: 1.2rem; justify-content: space-between; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow);
}
.job-card h3 { margin: 0 0 .15rem; font-size: 1.15rem; }
.job-card h3 a { color: var(--ink); }
.job-card h3 a:hover { color: var(--brand); }
.job-co { color: var(--ink-2); font-weight: 600; font-size: .95rem; margin: 0 0 .6rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
.job-snippet { color: var(--ink-2); font-size: .93rem; margin: 0; }
.chip {
  display: inline-block; font-size: .78rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px;
  background: var(--brand-tint); border: 1px solid var(--line); color: var(--ink-2);
}
.chip.skill { background: var(--brand-soft); border-color: transparent; color: var(--brand-dark); }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); }
.badge.open, .badge.live, .badge.shortlisted, .badge.hired { background: #e3f5f2; color: #136f65; }
.badge.closed, .badge.expired, .badge.rejected { background: #f3e9e9; color: #8a2a2a; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; gap: 1rem; }
.pager span { color: var(--muted); font-size: .93rem; }
.empty { text-align: center; color: var(--ink-2); padding: 2.5rem 1rem; background: var(--brand-tint); border: 1px dashed var(--line); border-radius: var(--radius); }
.job-detail { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.job-body { white-space: pre-line; color: var(--ink-2); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.side-card h3 { margin-top: 0; font-size: 1.05rem; }
.side-card + .side-card { margin-top: 1rem; }
.kv { display: grid; gap: .6rem; margin: 0; }
.kv dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 0; color: var(--ink-2); }
.role-choice { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.role-choice label {
  display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: .9rem 1rem; cursor: pointer; font-weight: 400; color: var(--ink-2); font-size: .9rem;
}
.role-choice label strong { display: block; color: var(--ink); font-size: 1rem; }
.role-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role-choice label:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px rgba(143, 45, 127, .12); }
.role-choice label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.row-head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.row-head h2 { margin: 0; font-size: 1.5rem; }
.row-card {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.4rem;
}
.row-card h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.row-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.applicant { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.applicant h3 { margin: 0; }
.applicant-head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; margin-bottom: .8rem; }
.applicant-head select { width: auto; padding: .45rem .7rem; }
.applicant .kv { grid-template-columns: repeat(2, 1fr); margin-top: 1rem; }
.applicant blockquote { margin: 1rem 0 0; padding: .8rem 1rem; background: var(--brand-tint); border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; white-space: pre-line; color: var(--ink-2); font-size: .93rem; }
.stack-gap { display: grid; gap: 1rem; }
.ai-out { margin-top: 1rem; color: var(--ink-2); font-size: .95rem; }
.ai-out:empty { display: none; }
.ai-out h4 { margin: 1rem 0 .3rem; font-size: 1rem; color: var(--ink); }
.ai-out p { margin: 0 0 .6rem; }
.ai-out ul { margin: 0 0 .8rem; padding-left: 1.2rem; }
.ai-out small { color: var(--muted); }
.form-card + .form-card { margin-top: 1.5rem; }
.price { font-size: 1.8rem; font-weight: 800; margin: .3rem 0 1rem; color: var(--ink); }
.price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.cv-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.cv-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: start; }
.cv-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1rem; }
.cv-block h3 { margin: 0 0 .8rem; font-size: 1.05rem; }
.cv-entry { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.cv-entry:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.cv-sheet { background: #fff; color: #1b1b1b; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 2rem 2.2rem; font-size: .92rem; line-height: 1.5; position: sticky; top: 1rem; }
.cv-name { font-size: 1.6rem; font-weight: 800; }
.cv-headline { margin: .1rem 0 .3rem; font-size: 1rem; color: var(--brand-dark); font-weight: 600; }
.cv-contact { margin: 0 0 .8rem; color: #444; font-size: .85rem; }
.cv-sheet h3 { margin: 1rem 0 .4rem; padding-bottom: .2rem; border-bottom: 1.5px solid var(--brand); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-dark); }
.cv-sheet p { margin: 0 0 .4rem; }
.cv-sheet ul { margin: .2rem 0 .5rem; padding-left: 1.1rem; }
.cv-item-head { display: flex; justify-content: space-between; gap: 1rem; }
.cv-item-head span:last-child { color: #555; white-space: nowrap; }
@media (max-width: 1020px) { .cv-layout { grid-template-columns: 1fr; } .cv-sheet { position: static; } }
@media print {
  body * { visibility: hidden; }
  .cv-sheet, .cv-sheet * { visibility: visible; }
  .cv-sheet { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; padding: 0; }
  @page { margin: 14mm; }
}
/* Signed-in pages show nothing until the server has confirmed the visitor is signed in. */
body[data-private]:not(.authed) main { visibility: hidden; }
[hidden] { display: none !important; }
@media (max-width: 1020px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .job-detail { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .filters, .role-choice, .applicant .kv { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; }
}
