/* =====================================================================
   Yebo Hire — public marketing site
   Spec: docs/superpowers/specs/2026-09-28-yebo-hire-public-site-design.md
   Palette: Option A — black + Yebo Blue. Two brand colours, cool neutrals.
   No build step. Edit this file directly.
   ===================================================================== */

/* Self-hosted so the page has no render-blocking third-party font chain.
   Latin + latin-ext subsets only (the site is English). Regenerate by
   refetching the Google Fonts css2 URL in the site README. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens ---------------------------------------------------------- */
:root {
  --paper:      #FFFFFF;
  --paper-2:    #F5F7FA;
  --paper-3:    #EBEFF4;
  --ink:        #0B0B0C;
  --slate:      #55585F;
  --mist:       #6C7079;
  --line:       rgba(11,11,12,.10);
  --blue:       #0070FF;
  --blue-ink:   #0057D9;
  --blue-deep:  #0047B3;
  --blue-tint:  #E8F1FF;
  --on-accent:  #FFFFFF;

  --wrap:   1120px;
  --narrow:  720px;
  --gutter:   24px;
  --pad:     112px;
  --radius:   10px;
  --speed:   180ms;
  --ease: cubic-bezier(.2,.6,.3,1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:     #0B0B0C;
    --paper-2:   #141517;
    --paper-3:   #1C1E22;
    --ink:       #F4F5F7;
    --slate:     #B4B7BE;
    --mist:      #8E929A;
    --line:      rgba(255,255,255,.12);
    --blue:      #3D8BFF;
    --blue-ink:  #5B9BFF;
    --blue-deep: #7FB1FF;
    --blue-tint: #0F1C33;
    --on-accent: #0B0B0C;
  }
}

/* Ink grounds (hero, closing, footer) are black in BOTH themes, so they
   re-declare the tokens rather than special-casing every child. */
.ink {
  --paper:   #0B0B0C;
  --paper-2: #141517;
  --paper-3: #1C1E22;
  --ink:     #FFFFFF;
  --slate:   #B4B7BE;
  --mist:    #9296A0;
  --line:    rgba(255,255,255,.14);
  --blue:    #3D8BFF;
  background: #0B0B0C;
  color: #FFFFFF;
}

/* --- Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }

::selection { background: var(--blue-ink); color: #FFF; }
:root { accent-color: var(--blue-ink); caret-color: var(--blue-ink); }

:focus-visible {
  outline: 3px solid var(--blue-ink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Type ------------------------------------------------------------ */
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.1; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
p  { margin: 0; max-width: 66ch; }

.sprite { position: absolute; }
.lede-spaced { margin-top: 24px; }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--slate); max-width: 62ch; }

/* Mono marker — sentence case, no tracking, no uppercase (house ban). */
.marker {
  font: 500 12.5px/1.4 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--mist);
  letter-spacing: 0;
  margin: 0 0 14px;
}
.cap {
  font: 500 12.5px/1.5 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--mist);
  margin: 12px 0 0;
  letter-spacing: 0;
}

a { color: var(--blue-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }

/* --- Layout ---------------------------------------------------------- */
.wrap   { width: 100%; max-width: var(--wrap);   margin-inline: auto; padding-inline: var(--gutter); }
.narrow { width: 100%; max-width: var(--narrow); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--pad); }
.alt { background: var(--paper-2); }

@media (max-width: 720px) { :root { --pad: 72px; } }
@media (max-width: 480px) { :root { --gutter: 16px; } }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue-ink); color: #FFF; padding: 12px 18px; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* The honeypot field the contact route reads (`company_website`). Moved out of
   view rather than `display:none`, because the simplest bots skip what is
   display-none and fill what is merely off-screen — which is the whole point.
   No human reaches it: aria-hidden on the wrapper, tabindex -1 on the input. */
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* --- Header ---------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);            /* opaque — no blur, no glass */
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 19px; height: auto; }
.brand .sub {
  font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em;
  padding-left: 10px; border-left: 1px solid var(--line);
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--slate); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color var(--speed) var(--ease); }
.nav a:not(.btn):hover { color: var(--ink); }
/* Under 640px the anchors go and the CTA stays — otherwise the nav sets a
   min-width wider than the viewport and the whole page scrolls sideways. */
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .nav { gap: 0; }
}

/* --- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: var(--radius);
  font: 600 .975rem/1 Inter, sans-serif; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease);
}
.btn-1 { background: var(--blue-ink); color: var(--on-accent); }
.btn-1:hover { background: var(--blue-deep); color: var(--on-accent); }
.btn-2 { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-2:hover { background: var(--ink); color: var(--paper); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Hero ------------------------------------------------------------ */
.hero { padding-block: 88px 0; border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 15ch; }
/* The approved H1 is three sentences. The first carries the hero; the other
   two step down inside the same heading so the copy survives intact. */
.h1-rest {
  display: block; margin-top: .5em; max-width: 30ch;
  font-size: .46em; line-height: 1.2; font-weight: 700;
  letter-spacing: -.02em; color: var(--slate);
}
.hero .lede { margin-top: 24px; }
.hero .btns { margin-top: 34px; }

/* Proof band — four labelled facts, not a metric template. */
.proof {
  margin-top: 60px; border-top: 2px solid var(--blue);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 24px;
}
.proof div { margin: 0; }
.proof dt {
  font: 500 12.5px/1.4 "JetBrains Mono", ui-monospace, Menlo, monospace;
  color: var(--mist); margin-bottom: 6px;
}
.proof dd { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.35; letter-spacing: -.01em; }
@media (max-width: 900px) { .proof { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 420px) { .proof { grid-template-columns: 1fr; } }

/* Hero composition: laptop mat with the phone capture overlapping. */
.hero-visual { position: relative; margin-top: 72px; padding-bottom: 72px; }
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.shot img { width: 100%; }
.hero-laptop { width: 100%; }
.hero-phone {
  position: absolute; left: 0; bottom: 18px; width: 22%; max-width: 190px;
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}
.hero-visual .cap { position: absolute; right: 0; bottom: 26px; margin: 0; text-align: right; }

@media (max-width: 768px) {
  .hero-visual { padding-bottom: 0; }
  .hero-phone { position: static; width: 58%; max-width: 260px; margin-top: 18px; box-shadow: none; }
  .hero-visual .cap { position: static; text-align: left; margin-top: 14px; }
}

/* --- Two-column prose (beat 2) --------------------------------------- */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 44px; }
.cols2 h3 { margin-bottom: 14px; }
.cols2 ul { margin: 0; padding-left: 1.1em; color: var(--slate); }
.cols2 li { margin-bottom: 10px; }
.close-line { margin-top: 48px; font-size: 1.1rem; font-weight: 500; max-width: 68ch; }
@media (max-width: 760px) { .cols2 { grid-template-columns: 1fr; gap: 36px; } }

/* --- Feature blocks (beat 3) ----------------------------------------- */
.feat { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 64px; align-items: center; margin-top: 72px; }
.feat.flip { grid-template-columns: minmax(0,1.14fr) minmax(0,.86fr); }
.feat:first-of-type { margin-top: 44px; }
.feat h3 { margin-bottom: 12px; }
.feat p { color: var(--slate); }
.feat-fig { margin: 0; }
.feat.flip .feat-txt { order: 2; }
@media (max-width: 1023px) {
  .feat { grid-template-columns: 1fr; gap: 28px; }
  .feat.flip .feat-txt { order: 0; }
}

/* Full-width bands — blocks 4 and 5 differ from each other and from the
   alternating blocks, which is how the "no identical card grids" ban holds. */
.band {
  margin-top: 72px; border-radius: 12px; padding: 44px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.band-preopen { border: 1px solid var(--ink); background: var(--paper); }
.band-boost   { border: 1px solid var(--blue-ink); background: var(--blue-tint); }
.band h3 { margin-bottom: 12px; }
.band p { color: var(--slate); }
.band .pull { margin-top: 16px; font-weight: 700; color: var(--ink); font-size: 1.1rem; }
@media (max-width: 1023px) { .band { grid-template-columns: 1fr; gap: 28px; padding: 28px; } }

/* --- Role row (beat 4) ----------------------------------------------- */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; }
.roles > div { padding: 0 24px; border-left: 1px solid var(--line); }
.roles > div:first-child { padding-left: 0; border-left: 0; }
.roles h3 { font-size: 1.05rem; margin-bottom: 10px; }
.roles p { color: var(--slate); font-size: .95rem; }
.roles-fig { margin: 56px 0 0; }
@media (max-width: 900px) {
  .roles { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .roles > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .roles { grid-template-columns: 1fr; gap: 26px; }
  .roles > div { padding-left: 0; border-left: 0; }
}

/* --- Setup steps + trust + candour (beat 6) -------------------------- */
.steps { counter-reset: s; margin: 44px 0 0; padding: 0; display: grid; gap: 4px; }
.steps li { list-style: none; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  counter-increment: s; content: counter(s);
  font: 700 1.05rem/44px Inter, sans-serif; text-align: center;
  border: 1px solid var(--line); border-radius: 50%; height: 44px; color: var(--ink);
}
.steps p { color: var(--slate); padding-top: 9px; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; }
.trust dt { font: 500 12.5px/1.4 "JetBrains Mono", ui-monospace, Menlo, monospace; color: var(--mist); margin-bottom: 8px; }
.trust dd { margin: 0; font-size: .97rem; line-height: 1.5; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

.candour { margin-top: 64px; border: 1px solid var(--ink); border-radius: 12px; padding: 32px; }
.candour h3 { font: 500 12.5px/1.4 "JetBrains Mono", ui-monospace, Menlo, monospace; color: var(--mist); letter-spacing: 0; margin-bottom: 16px; }
.candour ul { margin: 0; padding-left: 1.1em; }
.candour li { margin-bottom: 8px; color: var(--slate); }
.candour li::marker { content: "▪  "; color: var(--ink); }

/* --- Closing + footer ------------------------------------------------ */
.closing { text-align: center; }
.closing .mark { height: 96px; width: auto; margin: 0 auto 32px; }
.closing h2 { margin-inline: auto; max-width: 16ch; }
.closing .lede { margin-inline: auto; max-width: 48ch; }
.closing .lede { margin-top: 20px; }
.closing .btns { margin-top: 32px; justify-content: center; }

.foot { border-top: 1px solid var(--line); padding-block: 40px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; color: var(--slate); font-size: .93rem; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #FFF; text-decoration: none; }
.foot-brand svg { width: 17px; height: auto; }
.foot-brand .sub { font-weight: 700; padding-left: 10px; border-left: 1px solid var(--line); }
.foot a { color: var(--slate); }
.foot a:hover { color: #FFF; }
.foot .spacer { margin-left: auto; }
@media (max-width: 680px) { .foot .spacer { margin-left: 0; } }

/* --- Motion ---------------------------------------------------------- */
/* One entrance, on the hero composition, from a visible resting state. */
@media (prefers-reduced-motion: no-preference) {
  /* Transform only — never opacity. If the animation never runs the
     composition is still fully visible, just unmoved. */
  .rise { animation: rise 400ms var(--ease) both; }
  @keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
}

/* --- Chuck's notes, 2026-10-02 ----------------------------------------- */
/* Measured results: outcomes, each with its method, above the spec band. */
.results { margin-top: 60px; }
.results ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.results li { border-top: 2px solid var(--blue); padding-top: 20px; }
.results b { display: block; font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; margin-bottom: 12px; }
.results li > p:not(.cap) { font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
.results + .proof { margin-top: 44px; border-top-width: 1px; border-top-color: var(--line); }
@media (max-width: 900px) { .results ul { grid-template-columns: 1fr; gap: 24px; } }

/* The first customer's switch, straight after "Why now". */
.story { margin-top: 56px; padding-left: 24px; border-left: 3px solid var(--ink); max-width: 62ch; }
.story p:not(.marker) { font-size: 1.35rem; line-height: 1.45; font-weight: 600; letter-spacing: -.01em; }

/* Demo form: three fields, replaces the mailto CTAs. */
.demo { margin: 36px auto 0; max-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.demo .field { display: grid; gap: 6px; }
.demo .field:first-child { grid-column: 1 / -1; }
.demo label { font-weight: 600; font-size: .95rem; }
.demo input { height: 48px; padding: 0 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper-2); border: 1.5px solid var(--mist); border-radius: 8px; }
.demo input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.demo .btn { grid-column: 1 / -1; justify-self: center; margin-top: 8px; }
.demo .btn:disabled { opacity: .6; cursor: progress; }
.demo-status { grid-column: 1 / -1; text-align: center; color: var(--slate); min-height: 1.6em; margin-inline: auto; }
.demo-status a { color: var(--ink); }
@media (max-width: 520px) { .demo { grid-template-columns: 1fr; } }


/* Demo form: the privacy notice at the point of collection, and the fallback
   block shown when a mailto hand-off cannot be confirmed. Both sit inside
   .ink, which redefines the colour tokens, so these inherit the dark palette. */
.demo-privacy { grid-column: 1 / -1; margin: -2px auto 0; max-width: 46ch; text-align: center; font-size: .86rem; color: var(--slate); }
.demo-privacy a { color: var(--ink); text-underline-offset: 2px; }
.demo-fallback { margin: 10px auto; padding: 12px 14px; max-width: 42ch; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: .92rem; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; }
.demo-addr { color: var(--ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: .95rem; }


/* Legal pages (/privacy/, /terms/). Long-form reading, same tokens as the site. */
.legal { padding: calc(var(--pad) * .55) 0 var(--pad); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 20px; }
.legal h2 { font-size: 1.12rem; line-height: 1.3; margin: 34px 0 10px; }
.legal p { margin: 0 0 14px; color: var(--slate); max-width: 68ch; }
.legal p strong, .legal li strong { color: var(--ink); }
.legal ul { margin: 0 0 14px; padding-left: 1.15em; color: var(--slate); max-width: 68ch; }
.legal li { margin: 0 0 6px; }
.legal a { color: var(--blue-ink); }
.legal-draft { padding: 12px 14px; margin: 0 0 26px; background: var(--blue-tint); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; color: var(--ink); font-size: .92rem; }
/* The effective date, carried over from the canonical text by build-legal.py. */
.legal-effective { margin: -18px 0 22px; color: var(--slate); font-size: .88rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: .92rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--slate); }
.legal th { color: var(--ink); font-weight: 650; white-space: nowrap; }
.legal .narrow { overflow-x: auto; }
.brand-text { font-weight: 700; letter-spacing: -.01em; text-decoration: none; color: inherit; }
@media (max-width: 640px) { .legal th, .legal td { padding: 8px 8px; } .legal th { white-space: normal; } }
