/* =========================================================
   WORKxU — site styles
   Layout: editorial single column on warm white, broken by
   full-bleed black bands. Lime is used as a fill (chips,
   buttons, highlights), never as text on a light background.
   To change brand colours or fonts, edit the tokens below.
   ========================================================= */

:root {
  --ink: #0F0F0D;          /* black */
  --ink-soft: #1C1C19;     /* raised black surfaces */
  --paper: #F7F5EF;        /* warm white */
  --paper-deep: #ECE9DF;   /* warm white, one step darker */
  --field: #FFFEFA;        /* form fields */
  --lime: #C9FF3B;         /* electric lime accent */
  --muted: #5C5A53;        /* secondary text on warm white */
  --muted-on-ink: #A9A79E; /* secondary text on black */
  --line: #D6D2C6;
  --line-on-ink: #34342F;
  --error: #B42318;

  --font-display: "Archivo", "Arial Black", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --maxw: 1200px;
  --gutter: 20px;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) { :root { --gutter: 40px; } }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--ink); padding: .6em 1em; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-ink :focus-visible { outline-color: var(--lime); }

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.on-ink .eyebrow { color: var(--muted-on-ink); }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.025em;
  line-height: .98;
}
.h1 { font-size: clamp(2.6rem, 7.2vw, 5.75rem); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.15; letter-spacing: -0.01em; }

.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.5; max-width: 38em; }
.body-copy { max-width: 36em; color: var(--muted); }
.on-ink .body-copy { color: var(--muted-on-ink); }
.body-copy p + p { margin-top: 1em; }

/* The lime chip: the × in the wordmark and the U in "Power of U" */
.chip {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  padding: 0 .08em;
  margin: 0 .03em;
  line-height: 1;
}

/* ---------- Wordmark / logo ---------- */

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.logo .chip { padding: .04em .1em .06em; font-weight: 800; }

.wordmark {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(3.2rem, 12.5vw, 10.5rem);
  letter-spacing: -0.04em;
  line-height: .86;
  white-space: nowrap;
}
.wordmark .chip { padding: 0 .06em .04em; font-weight: 700; }

/* ---------- Buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px;
  padding: .85em 1.5em;
  border: 2px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-lime:hover { background: var(--paper); border-color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-soft); color: var(--lime); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.on-ink .btn-outline { color: var(--paper); border-color: var(--line-on-ink); }
.on-ink .btn-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-sm { min-height: 42px; padding: .6em 1.1em; font-size: .92rem; }

/* ---------- Header ---------- */

body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 60;
  height: env(safe-area-inset-top, 0px); background: var(--paper);
}

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .98rem;
  padding-block: 4px;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 5px;
  text-underline-offset: 6px;
}
.menu-toggle {
  display: none;
  align-items: center; gap: 8px;
  min-height: 42px; padding: .5em .9em;
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 2px;
  font: 600 .92rem var(--font-body); cursor: pointer;
}
.menu-toggle .bars { display: inline-grid; gap: 4px; }
.menu-toggle .bars span { display: block; width: 16px; height: 2px; background: currentColor; }

@media (max-width: 759px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 20px max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a:not(.btn) { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .js .site-nav .btn { margin-top: 16px; min-height: 52px; }
  html:not(.js) .site-nav { gap: 16px; flex-wrap: wrap; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-deep { background: var(--paper-deep); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 48rem; }

.split {
  display: grid; gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
}
.split > * { min-width: 0; }

/* ---------- Home: hero ---------- */

.hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3.5rem, 7vw, 6rem); }
.hero-inner { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.hero-title { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.tagline {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 100%;
  font-size: clamp(1.5rem, 3.6vw, 2.75rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.tagline .pow {
  font-size: .68em;
  vertical-align: .55em;
  line-height: 1;
  padding: .06em .16em .1em;
}

.hero-body {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line-on-ink);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
}
@media (min-width: 900px) {
  .hero-body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.hero-body > * { min-width: 0; }
.hero-copy { display: grid; gap: 20px; align-content: start; }
.hero-copy .h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* Definition list explaining × and U */
.defs { display: grid; gap: 0; margin: 0; align-content: start; }
.defs > div {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 16px; align-items: baseline;
  padding-block: 16px; border-bottom: 1px solid var(--line-on-ink);
}
.defs > div:first-child { padding-top: 0; }
.defs dt {
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%;
  font-size: 2rem; line-height: 1; color: var(--lime);
}
.defs dd { margin: 0; color: var(--muted-on-ink); }
.defs dd strong { color: var(--paper); font-weight: 600; }

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden;
  background: var(--lime); color: var(--ink);
  border-block: 2px solid var(--ink);
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display); font-weight: 800; font-stretch: 125%;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem); text-transform: uppercase; letter-spacing: -0.01em;
  padding: .7em 0; white-space: nowrap;
}
.ticker-track b { font-weight: 500; padding-inline: .7em; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Steps (a real sequence, so numbered) ---------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0;
  grid-template-columns: minmax(0, 1fr);
  border-top: 2px solid var(--ink);
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li {
  display: grid; gap: 14px; align-content: start;
  padding: 26px 24px 30px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1040px) {
  .steps li { border-bottom: 0; padding-right: 28px; }
  .steps li + li { border-left: 1px solid var(--line); padding-left: 24px; }
}
.step-num {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500;
  justify-self: start; background: var(--lime); padding: .25em .55em;
}
.steps p { color: var(--muted); }

/* ---------- Audience cards ---------- */

.audience { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  display: grid; gap: 18px; align-content: start;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 2px;
}
.card-lime { background: var(--lime); color: var(--ink); }
.card-lime .eyebrow { color: var(--ink); }
.card-ink { background: var(--ink); color: var(--paper); }
.card p { max-width: 30em; }
.card-ink p { color: var(--muted-on-ink); }
.card .btn { justify-self: start; margin-top: 8px; }

/* ---------- Closing CTA band ---------- */

.cta-band { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .cta-band { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}
.cta-band .h1 { font-size: clamp(2.4rem, 6.4vw, 5rem); }
.cta-band .h1 em { font-style: normal; color: var(--lime); }

/* ---------- Page heroes (About, Contact) ---------- */

.page-hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero-inner { display: grid; gap: 22px; max-width: 60rem; }

/* ---------- About: formula ---------- */

.formula {
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(3rem, 12vw, 9.5rem); line-height: .9; letter-spacing: -0.04em;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.formula .chip { padding: 0 .06em .04em; font-weight: 700; }
.terms { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.term {
  display: grid; gap: 14px; align-content: start;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line-on-ink); background: var(--ink-soft);
}
.term-symbol {
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%;
  font-size: 3rem; line-height: 1; color: var(--lime);
}
.term p { color: var(--muted-on-ink); }
.meaning {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; gap: 18px; max-width: 46rem;
}

/* ---------- About: principles ---------- */

.principles { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.principle {
  display: grid; gap: 12px 40px;
  grid-template-columns: minmax(0, 1fr);
  padding-block: 28px; border-bottom: 1px solid var(--line);
}
@media (min-width: 820px) { .principle { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.principle p { color: var(--muted); max-width: 36em; }

/* ---------- Contact ---------- */

.invites { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .invites { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.invites .card { scroll-margin-top: 90px; }

.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.contact-grid > * { min-width: 0; }

.form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85em 1em;
  background: var(--field);
  color: var(--ink);
  border: 1.5px solid #B9B4A6;
  border-radius: 2px;
  font: inherit; font-size: 1rem;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 2.6em;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--error); }

fieldset.field { border: 0; margin: 0; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: .55em 1.1em;
  border: 1.5px solid #B9B4A6; border-radius: 999px;
  background: var(--field); cursor: pointer; font-weight: 500;
}
.pill input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.pill:has(input:checked) { background: var(--lime); border-color: var(--ink); }
.pill:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; font-size: .95rem; color: var(--muted); }
.consent input { accent-color: var(--ink); width: 20px; height: 20px; margin: 2px 0 0; }

.form-status {
  padding: 16px 18px; border-left: 4px solid var(--ink);
  background: var(--paper-deep); font-size: .98rem;
}
.form-status.is-success { border-left-color: var(--ink); background: var(--lime); }
.form-status.is-error { border-left-color: var(--error); }

.aside { display: grid; gap: 28px; align-content: start; }
.aside-block { display: grid; gap: 10px; padding-top: 20px; border-top: 2px solid var(--ink); }
.aside-block p { color: var(--muted); }
.email-link {
  font-family: var(--font-display); font-weight: 700; font-stretch: 105%;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -0.01em;
  text-decoration: underline; text-decoration-color: var(--lime);
  text-decoration-thickness: 5px; text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a {
  display: inline-flex; min-height: 42px; align-items: center; padding: .4em .9em;
  border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .92rem;
}
.social a:hover { background: var(--ink); color: var(--paper); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .footer-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); } }
.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-brand .logo { font-size: clamp(2rem, 5vw, 3rem); }
.footer-brand p { color: var(--muted-on-ink); }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; color: var(--paper); }
.footer-col a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.footer-base {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 20px;
  border-top: 1px solid var(--line-on-ink);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .88rem; color: var(--muted-on-ink);
}
.footer-base a { color: var(--muted-on-ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Long-form text (privacy notice) ---------- */

.prose { max-width: calc(46rem + 2 * var(--gutter)); margin-inline: 0; }
.prose h2 {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -0.015em; line-height: 1.15;
  margin: 2.6rem 0 .9rem; padding-top: 1.4rem; border-top: 2px solid var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: .35rem; }
.prose li::marker { color: var(--muted); }
.prose a { text-decoration-color: var(--ink); text-underline-offset: 3px; }
.prose .updated { margin-top: 2.5rem; font-family: var(--font-mono); font-size: .85rem; color: var(--muted); }

.table-scroll { overflow-x: auto; margin: 0 0 1.25rem; }
.prose table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: .97rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .8rem 1rem .8rem 0; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.prose td:last-child { color: var(--muted); }
