/* ============================================================
   Workingplace HR — styles
   Design system: "Momentum" — ink navy + electric blue + coral
   ============================================================ */

/* ---------- Metric-matched fallbacks (reduce CLS on font swap) ---------- */
@font-face {
  font-family: "Inter Fallback"; src: local("Arial");
  ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%;
}
@font-face {
  font-family: "Grotesk Fallback"; src: local("Arial");
  ascent-override: 95.79%; descent-override: 26.90%; line-gap-override: 0%; size-adjust: 99.65%;
}

/* ---------- Tokens ---------- */
:root {
  --paper:      #F7F5F0;
  --paper-2:    #FFFFFF;
  --ink:        #0E1526;
  --ink-soft:   #1A2438;
  --muted:      #5A6478;
  --line:       #E4E0D6;
  --line-2:     rgba(14,21,38,0.10);

  --blue:       #2E5BFF;
  --blue-dark:  #1E42C9;
  --blue-tint:  #EAF0FF;
  --coral:      #FF6B4A;
  --coral-tint: #FFEDE7;
  --coral-deep: #C43D18;  /* AA: white text on coral tiles */
  --green:      #10B981;
  --green-ink:  #067A50;  /* AA: green text on white / white text on green tiles */

  --shadow-sm:  0 1px 2px rgba(14,21,38,0.06), 0 2px 8px rgba(14,21,38,0.05);
  --shadow-md:  0 8px 24px rgba(14,21,38,0.10);
  --shadow-lg:  0 24px 60px rgba(14,21,38,0.16);

  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  28px;

  --container:  1200px;
  --gutter:     clamp(16px, 4vw, 40px);

  --font-display: "Space Grotesk", "Grotesk Fallback", system-ui, sans-serif;
  --font-body:    "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--coral); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.6vw, 50px); line-height: 1.06; letter-spacing: -0.02em;
  margin-top: 16px;
}
.section-head p { color: var(--muted); font-size: clamp(16px, 2vw, 19px); margin-top: 16px; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(46,91,255,.28); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(46,91,255,.36); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,240,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
  object-fit: cover; display: block;
  box-shadow: 0 4px 12px rgba(46,91,255,.35);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: .3s; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(48px, 7vw, 96px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.hero-pill b { color: var(--green-ink); font-weight: 700; }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 6.6vw, 76px); line-height: 1.02; letter-spacing: -0.03em;
  margin-top: 22px;
}
.hero h1 .accent { color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.14em; background: var(--coral); opacity: .55; border-radius: 3px; z-index: -1; }
.hero-sub { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); margin-top: 22px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { margin-top: 34px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--paper); margin-left: -12px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: #fff;
}
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust .stars { color: #F5A623; letter-spacing: 2px; }

/* Hero visual — stacked cards */
.hero-visual { position: relative; }
.hero-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 22px;
}
.hero-card .hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-card .hc-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.hero-card .hc-badge { font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-tint); padding: 5px 10px; border-radius: 999px; }
.hc-row { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-top: 1px solid var(--line); }
.hc-logo { width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 15px; }
.hc-meta { flex: 1; min-width: 0; }
.hc-meta strong { display: block; font-size: 14.5px; font-weight: 600; }
.hc-meta span { font-size: 12.5px; color: var(--muted); }
.hc-pay { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--green-ink); white-space: nowrap; }
.hero-float {
  position: absolute; background: var(--ink); color: #fff; border-radius: var(--radius-sm);
  padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
}
.hero-float .num { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1; }
.hero-float .lbl { font-size: 12px; color: rgba(255,255,255,.7); }
.hero-float.f1 { top: -22px; right: -14px; }
.hero-float.f2 { bottom: -26px; left: -20px; background: var(--coral-deep); }

/* ---------- Marquee / logos ---------- */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.logos .container { padding-block: 30px; }
.logos p { text-align: center; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; font-weight: 500; }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 60px); }
.logos-row span { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 2.4vw, 24px); color: var(--muted); letter-spacing: -0.02em; transition: color .2s; }
.logos-row span:hover { color: var(--ink); }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 32px); }
.stat { }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 5.5vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.stat .num b { color: var(--blue); font-weight: 600; }
.stat .lbl { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* ---------- Services / two-audience ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 28px); }
.duo-card {
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  position: relative; overflow: hidden; border: 1px solid var(--line);
}
.duo-card.employers { background: var(--ink); color: #fff; }
.duo-card.candidates { background: var(--paper-2); }
.duo-card h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; }
.duo-card > p { margin-top: 14px; font-size: 16px; }
.duo-card.employers > p { color: rgba(255,255,255,.72); }
.duo-card.candidates > p { color: var(--muted); }
.duo-list { margin-top: 26px; display: grid; gap: 14px; }
.duo-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; }
.duo-list .ic { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; margin-top: 1px; }
.employers .duo-list .ic { background: rgba(255,255,255,.12); }
.candidates .duo-list .ic { background: var(--blue-tint); }
.duo-list .ic svg { width: 14px; height: 14px; }
.employers .duo-list .ic svg { stroke: var(--coral); }
.candidates .duo-list .ic svg { stroke: var(--blue); }
.duo-card .btn { margin-top: 30px; }

/* ---------- Jobs / vacancies ---------- */
.jobs-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.jobs-search {
  flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px;
}
.jobs-search svg { width: 18px; height: 18px; stroke: var(--muted); flex: 0 0 auto; }
.jobs-search input { border: none; background: none; outline: none; flex: 1; font: inherit; font-size: 15px; color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-display); font-size: 13.5px; font-weight: 500;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper-2); color: var(--ink-soft); transition: .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.jobs-list { display: grid; gap: 14px; }
.job {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.job:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.job-logo { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 18px; flex: 0 0 auto; }
.job-body { min-width: 0; }
.job-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.job-company { color: var(--muted); font-size: 14px; margin-top: 2px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.job-tag { font-size: 12.5px; font-weight: 500; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.job-tag svg { width: 13px; height: 13px; stroke: var(--muted); }
.job-tag.remote { color: var(--green-ink); background: rgba(6,122,80,.08); border-color: rgba(6,122,80,.28); }
.job-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.job-pay { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.job-pay span { display: block; font-size: 12px; color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.job-apply { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.job:hover .job-apply { gap: 11px; }
.job-apply svg { width: 15px; height: 15px; }
.jobs-empty { text-align: center; padding: 48px; color: var(--muted); display: none; }
.jobs-more { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 28px); counter-reset: step; }
.step { position: relative; }
.step .n { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--blue); background: var(--blue-tint); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.step p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.quote .stars { color: #F5A623; letter-spacing: 2px; font-size: 15px; }
.quote p { margin-top: 16px; font-size: 16px; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.quote .who strong { display: block; font-size: 14.5px; }
.quote .who span { font-size: 13px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% -20%, rgba(46,91,255,.35), transparent), radial-gradient(500px 260px at 10% 120%, rgba(255,107,74,.28), transparent); }
.cta-band > * { position: relative; }
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4.4vw, 48px); line-height: 1.06; letter-spacing: -0.02em; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 16px; font-size: 18px; max-width: 52ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-info h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1.06; }
.contact-info > p { color: var(--muted); margin-top: 16px; font-size: 17px; }
.contact-details { margin-top: 30px; display: grid; gap: 18px; }
.contact-details li { display: flex; align-items: center; gap: 14px; }
.contact-details .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-tint); display: grid; place-items: center; flex: 0 0 auto; }
.contact-details .ic svg { width: 20px; height: 20px; stroke: var(--blue); }
.contact-details strong { display: block; font-family: var(--font-display); font-size: 15px; }
.contact-details span, .contact-details a { color: var(--muted); font-size: 14.5px; }
.contact-details a:hover { color: var(--blue); }

/* Contact panel — direct channels, no form */
.contact-panel { display: grid; gap: 14px; }
.channel-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.channel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.cc-ic { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; }
.cc-ic svg { width: 24px; height: 24px; }
.cc-ic.emp { background: var(--ink); } .cc-ic.emp svg { stroke: #fff; }
.cc-ic.cand { background: var(--blue-tint); } .cc-ic.cand svg { stroke: var(--blue); }
.cc-ic.call { background: var(--coral-tint); } .cc-ic.call svg { stroke: var(--coral-deep); }
.cc-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cc-body strong { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.cc-desc { color: var(--muted); font-size: 14.5px; }
.cc-go { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--blue); transition: gap .2s; word-break: break-word; }
.cc-go svg { width: 15px; height: 15px; flex: 0 0 auto; }
.channel-card:hover .cc-go { gap: 11px; }
.contact-reply { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 14px; color: var(--muted); }
.contact-reply .rdot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.18); flex: 0 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding-block: clamp(48px, 6vw, 72px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 14.5px; margin-top: 16px; max-width: 34ch; }
.footer-col h3 { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.8); font-size: 14.5px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--coral); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { color: rgba(255,255,255,.5); font-size: 13.5px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.6); font-size: 13.5px; }
.footer-legal a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 560px; margin-inline: auto;
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-lg);
  display: none;
}
.cookie[data-show="true"] { display: block; }
.cookie h4 { font-family: var(--font-display); font-size: 17px; margin-bottom: 8px; }
.cookie p { font-size: 14px; color: rgba(255,255,255,.72); }
.cookie p a { color: var(--coral); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-actions .btn { padding: 11px 18px; font-size: 14px; }
.cookie .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.cookie .btn-ghost:hover { border-color: #fff; }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 820px; }
.legal-page .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal-page h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 5vw, 48px); letter-spacing: -0.02em; }
.legal-page h2 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-top: 40px; margin-bottom: 12px; }
.legal-page h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-top: 24px; margin-bottom: 8px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 16px; }
.legal-page ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.legal-page a { color: var(--blue); text-decoration: underline; }
.legal-page .table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.legal-page table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.legal-page thead th { background: var(--paper); text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--ink); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.legal-page tbody td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.legal-page tbody tr:last-child td { border-bottom: none; }
.legal-page tbody td:first-child { font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-family: var(--font-display); font-weight: 500; font-size: 15px; margin-bottom: 28px; }
.back-link svg { width: 16px; height: 16px; }

/* ---------- 404 ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-family: var(--font-display); font-weight: 600; font-size: clamp(90px, 18vw, 180px); line-height: 1; letter-spacing: -0.04em; color: var(--blue); }
.error-page h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 4vw, 40px); margin-top: 8px; }
.error-page p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.error-page .hero-actions { justify-content: center; margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-top: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .duo { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .quotes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .nav-links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper-2); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 8px 0;
  }
  .site-header.menu-open .nav-links a { padding: 14px var(--gutter); }
  .job { grid-template-columns: auto 1fr; }
  .job-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 2px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .stats-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-float.f1 { right: 0; } .hero-float.f2 { left: 0; }
}
