/* HacknetAI: one stylesheet. :root is the dark theme, [data-theme="light"] the light one.
   theme.js picks it: the visitor's own choice from the header button if they made one,
   otherwise their device's light/dark setting.

   The look: "the highlighter and the lamp". A job search is marked-up paper, so a marker
   stroke is the brand device: mint for jobEasy, yellow for Lumen, pink for the bundle.
   --accent is each product's text-safe colour; --mark is its marker fill, always with
   --on-mark ink on top. Dark mode is deep ink blue, light mode is cool copy paper.
   Type: Archivo at normal width with 18px body text (chosen for readability over extra-wide
   headlines); Newsreader only inside the document mockups. */

:root {
  --bg: #0e1424;
  --bg-2: #111a2e;
  --surface: #151f35;
  --surface-2: #1b2741;
  --border: #26324d;
  --border-strong: #3a4866;
  --text: #edf0f6;
  --muted: #9ba6bf;
  --primary: #edf0f6;           /* neutral buttons and brand chrome: paper on ink */
  --primary-ink: #0e1424;
  --pen: #93abff;               /* ballpoint blue: links and focus outside a product */
  --lumen: #ffd84a;
  --lumen-mark: #ffe15a;
  --jobeasy: #5fe3cd;
  --jobeasy-mark: #6ee7d2;
  --bundle: #ff9ebb;
  --bundle-mark: #ff9ebb;
  --on-mark: #131a2c;
  --ok: #4ade80;
  --danger: #ff7a7a;
  --accent: var(--pen);
  --mark: var(--lumen-mark);
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: var(--font);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f5f6f8;
  --bg-2: #eceff3;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --border: #dadfe7;
  --border-strong: #c2c9d5;
  --text: #131a2c;
  --muted: #535d73;
  --primary: #131a2c;
  --primary-ink: #ffffff;
  --pen: #2747c9;
  --lumen: #846200;
  --lumen-mark: #ffe15a;
  --jobeasy: #0a7466;
  --jobeasy-mark: #7debd8;
  --bundle: #b2305f;
  --bundle-mark: #ffb3ca;
  --ok: #16883f;
  --danger: #c62828;
  --shadow: 0 18px 40px -22px rgba(19, 26, 44, .28);
  color-scheme: light;
}

.accent-lumen { --accent: var(--lumen); --mark: var(--lumen-mark); }
.accent-jobeasy { --accent: var(--jobeasy); --mark: var(--jobeasy-mark); }
.accent-bundle { --accent: var(--bundle); --mark: var(--bundle-mark); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.6 var(--font);   /* readers do best with larger screen text, up to about 18px */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 750; letter-spacing: -.022em; line-height: 1.05; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
/* Keep running text to a comfortable line length. */
.prose p, .prose li, .legal p, .legal li { max-width: 68ch; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
/* Links inside running text get a marker-coloured underline, so they read as links without shouting. */
p a:not(.btn), li a:not(.btn), td a:not(.btn), .hint a {
  text-decoration: underline; text-decoration-thickness: .1em; text-underline-offset: .2em;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
p a:not(.btn):hover, li a:not(.btn):hover { text-decoration-color: var(--accent); }
img { max-width: 100%; }
::selection { background: var(--mark); color: var(--on-mark); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding-block: 72px; scroll-margin-top: 72px; }
.section-title { margin-bottom: 36px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.section-title-sm { font-size: 1.15rem; margin-bottom: 14px; }
.section.page-head { padding-bottom: 8px; }
.muted { color: var(--muted); }
.small { font-size: .94rem; }
.inline { display: inline; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* A marker stroke behind text. Slightly uneven ends, like a real highlighter. */
mark, .hl {
  color: var(--on-mark); background: none; padding: 0 .16em; margin: 0 -.04em;
  background-image: linear-gradient(100deg, transparent .1em, var(--mark) .22em, var(--mark) calc(100% - .2em), transparent calc(100% - .06em));
  background-repeat: no-repeat; background-size: 100% 84%; background-position: 0 60%;
  border-radius: .18em .42em .3em .5em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 800 1.18rem var(--display); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand b {
  color: var(--on-mark); font-weight: 800; padding: 0 .16em 0 .12em; margin-left: .06em;
  background: var(--lumen-mark); border-radius: .2em .45em .32em .5em;
}
.nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.nav-spacer { flex: 1; }
.nav-link { color: var(--muted); font-weight: 500; font-size: .96rem; }
.nav-link:hover { color: var(--text); text-decoration: none; }
.nav-lumen:hover { color: var(--lumen); }
.nav-jobeasy:hover { color: var(--jobeasy); }
.nav-toggle, .nav-burger { display: none; }

/* The full nav (5 links + account) needs ~1000px; below that, the menu button. */
@media (max-width: 1020px) {
  .nav-burger { display: flex; flex-direction: column; gap: 5px; margin-left: auto; cursor: pointer; padding: 8px; }
  .nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 18px;
    background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-link { padding: 10px 4px; font-size: 1.02rem; }
  .nav-spacer { display: none; }
  .nav .btn, .nav form, .nav form .btn { width: 100%; }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  font: 650 .97rem var(--font); cursor: pointer; transition: background-color .12s, border-color .12s, box-shadow .12s;
  text-decoration: none; white-space: nowrap; color: var(--text);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 86%, var(--bg)); }
/* Product buttons are the marker itself. */
.btn-accent { background: var(--mark); color: var(--on-mark); }
.btn-accent:hover { box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .07); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 84px 0 88px; border-bottom: 1px solid var(--border); }
.hero-inner { position: relative; z-index: 1; max-width: 860px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero-grid .lead { max-width: 560px; }
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.5rem); margin-bottom: 22px; }
.hero-product h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
.hero-note { margin: 22px 0 0; color: var(--muted); font-size: .9rem; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 600; color: var(--muted); }
.kicker b { color: var(--on-mark); background: var(--mark); padding: 1px 10px; border-radius: 6px; font-weight: 700; }
.eyebrow { font-size: .95rem; font-weight: 600; color: var(--accent); margin-bottom: .6em; }
.lead { font-size: clamp(1.06rem, 1.9vw, 1.24rem); color: var(--muted); max-width: 680px; line-height: 1.55; }

/* ---- the desk: a CV with marker highlights, and Lumen's overlay over its corner (home hero) ---- */
.desk { position: relative; min-height: 470px; }
.sheet {
  position: absolute; left: 0; top: 6px; width: 80%; padding: 30px 32px 34px;
  background: #fcfcfa; color: #1d2436; border-radius: 4px; border: 1px solid #e3e6ec;
  font: 400 .98rem/1.55 var(--serif); transform: rotate(-1.6deg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 30px 60px -28px rgba(4, 8, 20, .55);
}
.sheet-name { font: 800 1.45rem/1.1 var(--font); letter-spacing: -.02em; margin: 0; }
.sheet-role { font: 500 .86rem var(--font); color: #5a6378; margin: 4px 0 16px; }
.desk .sheet-name, .desk .sheet-role { padding-right: 64px; }
.sheet-h { font: 700 .78rem var(--font); color: #5a6378; margin: 0 0 6px; padding-top: 12px; border-top: 1px solid #e5e8ee; }
.sheet ul { list-style: none; padding: 0; margin: 0 0 6px; }
.sheet li { margin: 0 0 8px; padding-left: 14px; position: relative; }
.sheet li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: #9aa2b4; }
.sheet mark { --mark: var(--jobeasy-mark); }
.sheet-score {
  position: absolute; right: -14px; top: 22px; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: #131a2c; color: #fff; font: 800 1.35rem/1 var(--font); text-align: center;
  border: 3px solid var(--jobeasy-mark); transform: rotate(6deg);
}
.sheet-score small { display: block; font: 600 .62rem/1.2 var(--font); color: var(--jobeasy-mark); margin-top: 3px; letter-spacing: 0; }

/* Lumen's overlay: always the dark app window, in both themes. */
.overlay {
  position: absolute; right: 0; bottom: 0; width: 66%; padding: 14px 16px 16px; border-radius: 14px;
  background: rgba(13, 19, 34, .94); color: #edf0f6; border: 1px solid rgba(255, 255, 255, .1);
  font: 400 .9rem/1.5 var(--font); backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .7);
}
.ov-bar { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: #9ba6bf; margin-bottom: 10px; }
.ov-bar b { color: #edf0f6; font-weight: 700; }
.ov-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lumen-mark); box-shadow: 0 0 0 4px rgba(255, 225, 90, .18); }
.ov-q { margin: 0 0 10px; color: #c6cddd; }
.ov-q b { display: block; font-size: .74rem; color: #9ba6bf; font-weight: 600; }
.ov-panel { padding: 10px 12px; border-radius: 9px; background: rgba(255, 255, 255, .05); border-left: 3px solid var(--lumen-mark); }
.ov-panel + .ov-panel { margin-top: 8px; border-left-color: rgba(255, 225, 90, .45); }
.ov-panel b { display: block; font-size: .74rem; color: var(--lumen-mark); font-weight: 700; margin-bottom: 2px; }
.ov-panel p { margin: 0; }
.ov-panel p + p { margin-top: 4px; }

/* One load sequence: the CV gets highlighted, then Lumen answers. */
@media (prefers-reduced-motion: no-preference) {
  .desk mark { animation: hl-in .5s cubic-bezier(.3, .7, .3, 1) both; animation-delay: calc(.35s + var(--i, 0) * .32s); }
  .desk .sheet-score { animation: pop-in .45s cubic-bezier(.2, 1.4, .4, 1) 1.45s both; }
  .desk .overlay { animation: rise-in .6s cubic-bezier(.2, .8, .3, 1) 1.7s both; }
  .desk .ov-panel p { animation: fade-in .5s ease-out both; animation-delay: calc(2.25s + var(--i, 0) * .35s); }
}
@keyframes hl-in { from { background-size: 0% 84%; } to { background-size: 100% 84%; } }
@keyframes pop-in { from { opacity: 0; transform: rotate(6deg) scale(.6); } to { opacity: 1; transform: rotate(6deg) scale(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---- product mockups (product page heroes) ---- */
.mock { position: relative; }
.mock .overlay { position: relative; width: 100%; right: auto; bottom: auto; padding: 16px 18px 18px; }
.mock .ov-panels { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }
.mock .ov-panel + .ov-panel { margin-top: 0; }
/* A real screenshot in a hero: same stage as the guide's pictures, but not a zoom target. */
/* Product heroes: copy above, the real app full width below it, so its text is readable. */
.hero-stack { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.hero-stack .hero-copy { max-width: 820px; }
.hero-real { margin: 0; }
.hero-real figcaption a { font-weight: 600; }
.plan-explain { max-width: 72ch; margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .mock mark { animation: hl-in .5s cubic-bezier(.3, .7, .3, 1) both; animation-delay: calc(.3s + var(--i, 0) * .3s); }
  .mock .ov-panel p { animation: fade-in .5s ease-out both; animation-delay: calc(.5s + var(--i, 0) * .4s); }
}

/* ---- cards and pills ---- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
:root[data-theme="light"] .card { box-shadow: 0 1px 2px rgba(19, 26, 44, .05); }
.pill {
  display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .76rem; font-weight: 600; line-height: 1.5;
  border: 1px solid var(--border-strong); color: var(--muted); background: transparent; white-space: nowrap;
}
.pill-accent { color: var(--on-mark); background: var(--mark); border-color: transparent; }
.pill-ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }

/* ---- home: the two apps as two steps of one search ---- */
.journey { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 20px; background: var(--surface); overflow: hidden; }
.app-panel { position: relative; display: flex; flex-direction: column; padding: 40px 40px 36px; }
.app-panel + .app-panel { border-left: 1px solid var(--border); }
.app-step { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 22px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.app-step > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.step-dot { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mark); color: var(--on-mark); font-weight: 800; font-size: .85rem; }
.app-name { display: inline; align-self: flex-start; font-size: clamp(2.3rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; margin: 0;
  background: linear-gradient(var(--mark), var(--mark)) 0 88% / 100% .26em no-repeat; padding: 0 .04em; }
.app-name a { color: var(--text); }
.app-name a:hover { text-decoration: none; }
.app-tagline { font-size: 1.14rem; margin: 18px 0 6px; max-width: 30em; }
.app-foot { margin-top: auto; padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.from { color: var(--muted); }
.from b { color: var(--text); font-size: 1.1rem; }

.ticks { list-style: none; padding: 0; margin: 8px 0 0; }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .52em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* ---- steps: a real sequence, drawn as a timeline ---- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { position: relative; padding-top: 58px; }
.steps li::before { content: ""; position: absolute; left: 0; right: -32px; top: 19px; height: 2px; background: var(--border); }
.steps li:last-child::before { right: 0; background: linear-gradient(90deg, var(--border), transparent); }
.step-n {
  position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--border-strong); color: var(--text); font: 800 1rem var(--font);
}
.steps li:first-child .step-n { background: var(--mark); border-color: var(--mark); color: var(--on-mark); }
.steps h3 { font-size: 1.2rem; }
.steps p { margin: 0; max-width: 30em; }

/* ---- features: a quiet ruled list, not a wall of cards ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.feature { padding: 22px 0 26px; border-top: 1px solid var(--border); }
.feature h3 { font-size: 1.14rem; margin-bottom: .4em; }
.feature h3::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .5em; border-radius: 2px; background: var(--mark); vertical-align: .06em; }
.feature p { margin: 0; }

/* ---- plans ---- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px; }
.plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan { display: flex; flex-direction: column; padding: 28px; }
.plan h3 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.plan-blurb { margin: 4px 0 0; }
.plan-featured { border: 2px solid var(--accent); padding: 27px; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan .ticks { margin-bottom: 22px; flex: 1; padding-top: 14px; border-top: 1px solid var(--border); }
.price { margin: 18px 0 6px; }
.price b { font: 800 2.7rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); margin-left: 4px; }
.saving { margin: 0 0 12px; font-size: .86rem; color: var(--accent); font-weight: 600; }
.btn.is-disabled { opacity: .6; cursor: default; }
.plan-foot { margin-top: 16px; }

/* Monthly / Yearly switch: radios + sibling selectors, no script needed. */
.bill-m, .bill-y { position: absolute; opacity: 0; pointer-events: none; }
.bill-switch {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 22px;
  border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface);
}
.bill-switch label {
  flex-direction: row; align-items: center; gap: 8px; cursor: pointer;
  padding: 8px 16px; border-radius: 8px; color: var(--muted); font-weight: 600;
}
.bill-switch .save { font-size: .74rem; color: var(--accent); font-weight: 700; }
.bill-m:checked ~ .bill-switch .lbl-m,
.bill-y:checked ~ .bill-switch .lbl-y { background: var(--mark); color: var(--on-mark); }
.bill-y:checked ~ .bill-switch .lbl-y .save { color: var(--on-mark); }
.bill-m:focus-visible ~ .bill-switch .lbl-m,
.bill-y:focus-visible ~ .bill-switch .lbl-y { outline: 2px solid var(--accent); outline-offset: 2px; }
.bill-m:checked ~ .plans .y-only,
.bill-y:checked ~ .plans .m-only { display: none; }

.bundle-teaser {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); color: var(--text);
  border: 1px dashed var(--border-strong); background: transparent;
}
.bundle-teaser:hover { text-decoration: none; border-style: solid; border-color: var(--accent); }
.bundle-teaser b { color: var(--on-mark); background: var(--mark); padding: 0 .3em; border-radius: .2em .4em .3em .45em; }
.bundle-go { color: var(--accent); font-weight: 700; white-space: nowrap; }
.pricing-row-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.pricing-row-head h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.025em;
  background: linear-gradient(var(--mark), var(--mark)) 0 88% / 100% .26em no-repeat; padding: 0 .04em; }
.pricing-row-head p { margin: 0; }
.pricing-row-head .pill { align-self: center; }
.reqs { margin-top: 18px; }

.waitlist { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; margin-top: 20px; }
.waitlist h3 { margin-top: 10px; font-size: 1.25rem; }
.waitlist-form { display: flex; flex-direction: column; gap: 10px; }

/* ---- forms ---- */
.auth { display: grid; place-items: center; padding: 64px 16px 80px; }
.auth-card { width: min(460px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 34px; }
.auth-card h1 { font-size: 2rem; margin: 0; }
.auth-card p { margin: 0; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
label.check input { margin-top: 4px; width: 17px; height: 17px; flex: none; accent-color: var(--text); }
.consents { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.consents .consent-all { padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.consent-box { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); }
.consent-box h2 { font-size: 1.05rem; margin: 0; }
input[type=email], input[type=password], input[type=text] {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--text); font: 1rem var(--font);
}
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.hint { color: var(--muted); font-weight: 400; font-size: .82rem; }
.error { color: var(--danger); margin: 0; }
.notice {
  margin: 16px 0 0; padding: 12px 16px; border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
}

/* ---- account ---- */
.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.app-card { display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--mark); }
.app-card h3 { color: var(--text); margin: 0; font-size: 1.5rem; font-weight: 800; }
.app-card-head { display: flex; justify-content: space-between; align-items: center; }
.app-card .btn { margin-top: auto; }
.account-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 0; }
.account-lower form.card { display: flex; flex-direction: column; gap: 12px; }
.account-lower div.card { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* two-step login */
.twostep { display: flex; flex-direction: column; gap: 18px; padding-top: 0; }
.twostep > * { max-width: 820px; }
.twostep-setup { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: start; }
.twostep-form { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.twostep .card + .card, .twostep-form + .twostep-form { margin-top: 4px; }
.qr { background: #fff; padding: 10px; border-radius: 10px; width: max-content; line-height: 0; }
/* Whole-pixel modules: at 125%/150% display scaling, anti-aliased seams between rows stop phones reading it */
.qr svg { shape-rendering: crispEdges; display: block; }
.setup-key { font-size: 1rem; letter-spacing: .06em; word-break: break-all; }
.recovery-codes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 28px; }
.recovery-codes code { font-size: 1.05rem; letter-spacing: .05em; }
@media (max-width: 760px) { .twostep-setup { grid-template-columns: 1fr; } }
.pill-row { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.app-card .btn-row .btn { margin-top: 0; }
.sub-list { list-style: none; padding: 0; margin: 0 0 14px; }
.sub-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }

/* ---- faq / legal ---- */
.faq-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 48px; align-items: start; }
.faq-split .section-title { margin: 0; position: sticky; top: 96px; }
.faq { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--border); }
.faq-split .faq { max-width: none; margin: 0; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--border-strong); font-weight: 500; line-height: 1; color: var(--muted); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 10px 0 0; max-width: 62ch; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin-top: 1.6em; }
.draft-banner { display: inline-block; padding: 6px 12px; border-radius: 8px; background: var(--lumen-mark); color: var(--on-mark); font-size: .85rem; font-weight: 700; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--border); margin-top: 56px; padding: 48px 0 28px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid p { max-width: 34em; margin-top: 12px; }
.footer-grid h4 { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.footer-grid a:not(.brand) { display: block; color: var(--text); margin: 6px 0; }
.footer-base { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .desk { max-width: 560px; }
}
@media (max-width: 900px) {
  .feature-grid, .plans-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .section { padding-block: 52px; }
  .hero { padding: 52px 0 56px; }
  h1, .hero h1 { }
  .journey, .steps, .feature-grid, .plans, .plans-3, .account-grid, .account-lower, .waitlist, .footer-grid, .faq-split { grid-template-columns: 1fr; }
  .app-panel { padding: 28px 22px; }
  .app-panel + .app-panel { border-left: 0; border-top: 1px solid var(--border); }
  .steps { gap: 0; }
  .steps li { padding: 0 0 28px 58px; }
  .steps li::before, .steps li:last-child::before { left: 19px; right: auto; top: 40px; bottom: 0; width: 2px; height: auto; background: var(--border); }
  .steps li:last-child::before { display: none; }
  .faq-split { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .faq-split .section-title { position: static; }
  .desk { min-height: 0; display: flex; flex-direction: column; }
  .sheet { position: relative; width: 94%; padding: 22px 22px 24px; font-size: .92rem; }
  .sheet-score { width: 70px; height: 70px; font-size: 1.1rem; right: -8px; top: 14px; }
  .overlay { position: relative; width: 90%; align-self: flex-end; margin-top: -36px; }
  .desk .sheet-skills { display: none; }
  .mock .ov-panels { grid-template-columns: 1fr; }
  .auth-card { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after, .older-releases summary::after { transition: none; }
}

/* ---- dashboard ---- */
:root {
  /* Chart series colours: validated (scripts/validate_palette.js) per mode, not auto-flipped. */
  --viz-jobeasy: #1aa898;
  --viz-lumen: #bb8424;
  --status-warning: #e8a33d;
  --status-critical: #ff7a7a;
}
/* Light theme chart colours: validated separately against the light surface. */
:root[data-theme="light"] { --viz-jobeasy: #0f8f80; --viz-lumen: #b7860b; --status-warning: #9a5b00; --status-critical: #c62828; }
.accent-jobeasy { --viz: var(--viz-jobeasy); }
.accent-lumen { --viz: var(--viz-lumen); }

.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.dash-head p { margin: 0; }
.dash-plans { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.dash-grid-wide { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); padding-bottom: 24px; align-items: start; }
.dash-grid h2 { font-size: 1.2rem; margin: 0; }

.meter-card { display: flex; flex-direction: column; gap: 12px; border-top: 4px solid var(--mark); border-radius: 0 0 var(--radius) var(--radius); }
.meter-card-head { display: flex; justify-content: space-between; align-items: center; }
.meter-card-head h2 { color: var(--text); font-size: 1.35rem; font-weight: 800; }
.meter-period { margin: 0; }
.meters { display: flex; flex-direction: column; gap: 14px; }
.meter-row { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; }
.meter-track { height: 8px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.meter-fill { height: 100%; background: var(--viz); border-radius: 99px; min-width: 0; }
.meter-warn .meter-fill { background: var(--status-warning); }
.meter-full .meter-fill { background: var(--status-critical); }
.meter-note { margin: 6px 0 0; font-size: .82rem; font-weight: 600; }
.status-warning { color: var(--status-warning); }
.status-critical { color: var(--status-critical); }

.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.chart-head p { margin: 2px 0 0; }
.legend { list-style: none; display: flex; gap: 14px; padding: 0; margin: 0; font-size: .85rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 6px; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.swatch-jobeasy { background: var(--viz-jobeasy); }
.swatch-lumen { background: var(--viz-lumen); }

.chart { position: relative; padding-left: 28px; }
.chart-grid { position: absolute; inset: 0 0 22px 28px; pointer-events: none; }
.chart-grid span {
  position: absolute; left: -28px; right: 0; transform: translateY(50%);
  font-size: .72rem; color: var(--muted); border-bottom: 1px dashed color-mix(in srgb, var(--border) 70%, transparent);
  line-height: 0; padding-bottom: 0;
}
.bars { position: relative; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); align-items: end; height: 170px; gap: 3px; }
.bar-col { height: 100%; display: flex; align-items: flex-end; cursor: default; border-radius: 4px 4px 0 0; }
.bar-col.is-hover { background: color-mix(in srgb, var(--text) 6%, transparent); }
.stack { width: 100%; display: flex; flex-direction: column; gap: 2px; min-height: 3px; }
.seg { min-height: 2px; }
.stack > .seg:first-child { border-radius: 4px 4px 0 0; }
.seg-jobeasy { background: var(--viz-jobeasy); }
.seg-lumen { background: var(--viz-lumen); }
.chart-x { display: flex; justify-content: space-between; margin-top: 6px; height: 16px; }
.chart-empty { position: absolute; left: 28px; right: 0; top: 70px; text-align: center; margin: 0; font-size: .9rem; }
.chart-tip {
  position: absolute; top: -8px; z-index: 2; min-width: 120px; padding: 8px 10px; pointer-events: none;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); font-size: .82rem;
}
.chart-tip div { display: flex; align-items: center; gap: 6px; }
.chart-table { margin-top: 14px; }
.chart-table summary { cursor: pointer; color: var(--muted); }
.chart-table table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .88rem; }
.chart-table th, .chart-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.chart-table th { color: var(--muted); font-weight: 500; }

.recent-card { display: flex; flex-direction: column; gap: 10px; }
.recent { list-style: none; padding: 0; margin: 0; }
.recent li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--border); }
.recent li:last-child { border-bottom: 0; }
.recent .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--viz); align-self: center; }
.recent-what { display: flex; flex-direction: column; font-size: .9rem; min-width: 0; }
.recent-what .muted { font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-when { white-space: nowrap; font-size: .78rem; }
.recent-foot { margin-top: auto; }

@media (max-width: 860px) {
  .dash-grid, .dash-grid-wide { grid-template-columns: 1fr; }
  .bars { gap: 2px; }
}

/* ---- app sign-in ---- */
.device-code { font: 700 2rem var(--display); letter-spacing: .12em; text-align: center; margin: 4px 0;
  padding: 14px; border-radius: 10px; border: 1px dashed var(--border); background: var(--bg-2); }
.activate-form { display: flex; flex-direction: column; gap: 12px; }
.activate-form input { text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.device-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ---- guide ---- */
.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-block: 48px; align-items: start; }
.guide-nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; }
.guide-nav-title { font: 600 .9rem var(--font); color: var(--muted); margin-bottom: 8px; }
.guide-nav a { color: var(--muted); padding: 7px 12px; border-radius: 8px; border-left: 2px solid transparent; }
.guide-nav a.sub { padding-left: 26px; font-size: .9rem; }
.guide-nav a:hover { color: var(--text); text-decoration: none; background: var(--surface); }
.guide-nav a[aria-current="page"] { color: var(--text); background: var(--surface); border-left-color: var(--accent); font-weight: 600; border-radius: 0 8px 8px 0; }
.guide-body { max-width: 760px; }
.prose h1 { margin-bottom: .3em; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; scroll-margin-top: 80px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose li > ul { margin-top: .4em; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0 16px; }
.prose code, .faq code { font: .88em ui-monospace, SFMono-Regular, Consolas, monospace; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
.prose pre { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; }
kbd { display: inline-block; min-width: 1.6em; padding: 1px 7px; text-align: center; font: 600 .78rem ui-monospace, Consolas, monospace;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; }
.callout { margin: 18px 0; padding: 14px 18px; border-radius: 0 10px 10px 0;
  border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.callout p { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.toc a { font-size: .85rem; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--border); color: var(--muted); }
.toc a:hover { color: var(--text); border-color: var(--accent); text-decoration: none; }
.guide-steps { list-style: none; padding: 0; counter-reset: step; margin: 28px 0 28px 17px; }
.guide-steps > li { counter-increment: step; position: relative; margin: 0; padding: 0 0 22px 36px; border-left: 1px solid var(--border); }
.guide-steps > li:last-child { border-left-color: transparent; }
.guide-steps > li::before { content: counter(step); position: absolute; left: -18px; top: -2px; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font: 700 1rem var(--display); color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, var(--bg)); }
.guide-steps h2 { font-size: 1.15rem; margin: 4px 0 8px; }
.guide-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.guide-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--radius); color: var(--text);
  border: 1px solid var(--border); border-top: 4px solid var(--mark); background: var(--surface); }
.guide-card:hover { text-decoration: none; border-color: var(--accent); }
.guide-card b { color: var(--text); font-size: 1.1rem; font-weight: 800; }
.guide-card span { color: var(--muted); font-size: .9rem; }
.guide-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .93rem; }
.guide-table th, .guide-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.guide-table th { color: var(--muted); font-weight: 500; }
.kbd-table td:first-child { white-space: nowrap; width: 1%; }

/* ---- guide tours: pictures of the real apps ---- */
.guide-body.wide { max-width: 940px; }
.tour .lead { max-width: 720px; }
.tour h2 { display: flex; align-items: center; gap: 12px; margin-top: 2.4em; }
.step-no { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  font: 700 .95rem var(--display); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
/* A picture sits on a soft stage, so a dark app window reads as a window in both themes. */
.shot { position: relative; margin: 22px 0; padding: clamp(10px, 2.2vw, 22px); border-radius: 18px; border: 1px solid var(--border);
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--bg-2)); }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; cursor: zoom-in;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .06); }
.shot img:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shot figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: .88rem; }
.hero-shot { margin-top: 26px; }
.shot-stack { display: grid; gap: 16px; }
.shot-stack .shot { margin: 0; }
/* Numbered pins on a picture, explained by the list beside it. --x / --y: percent of the picture, as plain
   numbers (a pinned figure has no caption, so the figure minus its padding is the picture). */
.shot { --pad: clamp(10px, 2.2vw, 22px); }
.pin { position: absolute; left: calc(var(--pad) + (100% - 2 * var(--pad)) * var(--x) / 100);
  top: calc(var(--pad) + (100% - 2 * var(--pad)) * var(--y) / 100); transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; pointer-events: none;
  font: 700 .8rem var(--font); color: var(--on-mark); background: var(--mark);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent), 0 4px 10px rgba(0, 0, 0, .45); }
.pin-list { list-style: none; counter-reset: pin; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.pin-list > li { counter-increment: pin; position: relative; margin: 0; padding-left: 38px; }
.pin-list > li::before { content: counter(pin); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font: 700 .76rem var(--font); color: var(--on-mark); background: var(--mark); }
.pin-list.wide { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.tour-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 30px; align-items: center; margin: 12px 0 8px; }
.tour-row.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.tour-row .shot { margin: 0; }
.tour-row .pin { width: 22px; height: 22px; font-size: .72rem; }
.tour-facts { list-style: none; padding: 0; margin: 20px 0 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tour-facts li { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  display: flex; flex-direction: column; gap: 2px; }
.tour-facts b { font-family: var(--display); color: var(--accent); }
.tour-facts span { color: var(--muted); font-size: .88rem; }
.before-after { display: grid; gap: 6px; justify-items: center; margin: 20px 0; }
.before-after .shot { margin: 0; width: 100%; }
.before-after .shot:first-child { max-width: 520px; }
.before-after figcaption { font-weight: 600; color: var(--text); }
.before-after .then { margin: 0; font-size: 1.4rem; line-height: 1; color: var(--accent); }
dialog.zoom { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1500px); max-height: 94vh; overflow: visible; }
dialog.zoom::backdrop { background: rgba(4, 6, 10, .86); }
dialog.zoom img { display: block; max-width: 100%; max-height: 92vh; width: auto; height: auto; border-radius: 12px; cursor: zoom-out;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.zoom-close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.2rem; line-height: 1; }
@media (max-width: 860px) {
  .tour-row, .tour-row.flip, .pin-list.wide { grid-template-columns: 1fr; }
  .tour-row.flip > .shot { order: 2; }
  .tour-facts { grid-template-columns: 1fr; }
  .pin { width: 22px; height: 22px; font-size: .72rem; }
  .zoom-close { top: 6px; right: 6px; }
}

/* ---- support ---- */
.support-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.support-tile { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: var(--radius); color: var(--text);
  border: 1px solid var(--border); background: var(--surface); }
.support-tile:hover { border-color: var(--text); text-decoration: none; }
.support-tile span { color: var(--muted); font-size: .88rem; }
.support-fixes .faq { max-width: none; margin: 0 0 8px; }
.support-fixes h3 { margin-top: 28px; font-size: 1.05rem; }
.support-fixes h3.accent-lumen, .support-fixes h3.accent-jobeasy { color: var(--accent); }
/* "Windows blocked the installer": drawn Explorer and Properties windows (_unblock.html). */
.unblock .pin-list { color: var(--text); font-size: .95rem; }
.unblock-shots { display: grid; gap: 14px; margin-top: 4px; }
.unblock .shot { margin: 0; }
.unblock svg { display: block; width: 100%; height: auto; border-radius: 10px; font-family: "Segoe UI", system-ui, sans-serif;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .06); }
.ub-mark { fill: var(--mark); opacity: .75; }
.ub-pin { fill: var(--mark); stroke: #131a2c; stroke-width: 1.5; }
.ub-pin-n { fill: #131a2c; font: 700 11px var(--font); }
.unblock-box { width: min(540px, 100%); margin-top: 22px; padding: 28px; }
.unblock-box h2 { font-size: 1.25rem; margin: 0; }
@media (min-width: 760px) { .support-fixes .unblock-shots { grid-template-columns: 1fr 1fr; align-items: start; } }
/* The download page: the fix sits beside the card, so it's seen next to the Download button. */
@media (min-width: 1040px) {
  .auth-download { grid-template-columns: 460px 540px; justify-content: center; align-items: start; gap: 24px; }
  .auth-download .unblock-box { margin-top: 0; }
  .auth-download .unblock-link { display: none; }
}
@media (max-width: 520px) { .unblock-box { padding: 20px 16px; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: start; }
.contact-form, .contact-done { display: flex; flex-direction: column; gap: 14px; }
.contact-done h3 { margin: 0; }
.contact-done p { margin: 0; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--text); font: 1rem var(--font);
}
textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
input:disabled { opacity: .7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- about ---- */


@media (max-width: 900px) {
  .guide { grid-template-columns: 1fr; gap: 20px; padding-block: 32px; }
  .guide-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .guide-nav-title { width: 100%; margin-bottom: 0; }
  .guide-nav a, .guide-nav a.sub { padding: 6px 12px; border: 1px solid var(--border); border-radius: 99px; font-size: .88rem; }
  .guide-nav a[aria-current="page"] { border-radius: 99px; border-color: var(--accent); }
  .support-quick { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .guide-cards, .contact-row { grid-template-columns: 1fr; }
}

.about-app { color: var(--text); }
.about-app:hover { text-decoration: none; background: var(--surface-2); }
.hero-about h1 { max-width: 15em; }
.contact-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 48px; align-items: start;
  padding: 40px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.contact-band .section-title { margin: 0; grid-row: span 2; }
.contact-band p { margin: 0; max-width: 40em; }
.contact-band .cta-row { margin: 0; }
@media (max-width: 760px) { .contact-band { grid-template-columns: 1fr; padding: 26px 22px; } }

/* ---- site banner (admin panel) ---- */
.site-banner { padding: 10px 0; font-size: .92rem; text-align: center; border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--primary) 14%, var(--bg)); }
.site-banner-warning { background: color-mix(in srgb, var(--lumen) 20%, var(--bg)); }
.nav-admin { color: var(--lumen); }

/* ---- admin panel ---- */
.admin { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; width: min(1320px, 100% - 32px);
  margin-inline: auto; padding-block: 32px 48px; align-items: start; }
.admin-nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; }
.admin-nav-title { font: 600 .78rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--lumen); margin-bottom: 8px; }
.admin-nav a { display: flex; justify-content: space-between; align-items: center; color: var(--muted); padding: 8px 12px; border-radius: 8px; }
.admin-nav a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.admin-nav a[aria-current="page"] { color: var(--text); background: var(--surface); font-weight: 600; }
.count { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 99px; font-size: .75rem; font-weight: 600;
  text-align: center; background: color-mix(in srgb, var(--primary) 25%, transparent); color: var(--text); }
.admin-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.admin-main h1 { font-size: 1.7rem; margin: 0; }
.admin-main h2 { font-size: 1.05rem; margin: 0 0 12px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.admin-head p { margin: 4px 0 0; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.admin-state { margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.kpi span { color: var(--muted); font-size: .85rem; }
.kpi b { font: 700 1.8rem var(--display); }
.kpi small { color: var(--muted); font-size: .78rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: .8rem; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td .muted.small { display: block; }
.admin-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.admin-table .pill { margin-left: 4px; }
.older-releases { margin-top: 14px; }
.older-releases summary { list-style: none; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.older-releases summary::-webkit-details-marker { display: none; }
.older-releases summary::after { content: "\25BE"; transition: transform .15s; }
.older-releases[open] summary::after { transform: rotate(180deg); }
.older-releases > p { margin: 10px 0 6px; }
.table-card { padding: 8px 12px; overflow-x: auto; }
/* Wide tables scroll inside their card on small screens instead of widening the page. */
.admin-main .card { min-width: 0; overflow-x: auto; }
.table-card h2 { padding: 10px 0 0; }
.row-open td:first-child { box-shadow: inset 3px 0 0 var(--primary); }
.admin-list { list-style: none; margin: 0; padding: 0; }
.admin-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.admin-list li:last-child { border-bottom: 0; }
.admin-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-filters input[type=search] { flex: 1; min-width: 220px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--text); font: .95rem var(--font); }
.admin-filters select, .admin-inline-form select, .admin-inline-form input { width: auto; padding: 8px 10px; font-size: .9rem; }
.admin-inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.admin-inline-form input[type=number] { width: 80px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--text); }
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-tabs a { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--border); color: var(--muted); font-size: .88rem; }
.admin-tabs a:hover { color: var(--text); text-decoration: none; }
.admin-tabs a[aria-current="page"] { color: var(--text); border-color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; }
.status-open { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 45%, transparent); }
.status-answered { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.status-closed { color: var(--muted); }
.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.support-layout > div, .support-layout > aside { display: flex; flex-direction: column; gap: 16px; }
.thread-msg p { margin: 0 0 8px; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.thread-reply { border-left: 3px solid var(--ok); border-radius: 0 var(--radius) var(--radius) 0; }
.thread-note { border-left: 3px solid var(--lumen); border-radius: 0 var(--radius) var(--radius) 0; background: color-mix(in srgb, var(--lumen) 6%, var(--surface)); }
.admin-reply { display: flex; flex-direction: column; gap: 12px; }
.admin-reply p { margin: 0; }
.settings-form { display: flex; flex-direction: column; gap: 16px; }
.settings-form .card { display: flex; flex-direction: column; gap: 14px; }
.switch-row { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; }
.switch-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); }
.switch-row > span { display: flex; flex-direction: column; gap: 2px; }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 35%, var(--border)); }
.delete-form label { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 400; }
.delete-form input[type=text] { width: 260px; padding: 8px 10px; }
.btn-danger { background: var(--danger); color: #fff; }

/* admin: grant access + monitor */
.grant-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grant-form textarea { width: 100%; resize: vertical; font: inherit; }
.monitor-title { font-size: 1.05rem; margin: 26px 0 12px; }
.health-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.health { padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.health p { margin: 0 0 4px; }
.health.state-bad { border-color: color-mix(in srgb, var(--status-critical) 55%, var(--border)); }
.health.state-warn { border-color: color-mix(in srgb, var(--status-warning) 55%, var(--border)); }
.health-name { display: flex; align-items: center; gap: 8px; }
.health-dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: var(--muted); }
.health-name .health-dot { margin-right: 0; }
.health-dot.state-ok { background: var(--ok); }
.health-dot.state-warn { background: var(--status-warning); }
.health-dot.state-bad { background: var(--status-critical); }
.health-dot.state-info { background: var(--primary); }
.attention li > span { display: flex; align-items: center; }
.attention li > a { white-space: nowrap; }
.seg-ok, .swatch-ok { background: var(--viz-jobeasy); }
.seg-fail, .swatch-fail { background: var(--status-critical); }
.seg-signup { background: var(--primary); }
@media (max-width: 760px) { .grant-row { grid-template-columns: 1fr; } }

@media (max-width: 1020px) {
  .admin { grid-template-columns: 1fr; gap: 16px; }
  .admin-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .admin-nav-title { width: 100%; margin: 0; }
  .admin-nav a { border: 1px solid var(--border); border-radius: 99px; padding: 6px 12px; gap: 6px; font-size: .88rem; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .admin-grid, .kpis { grid-template-columns: 1fr; }
}

.app-config h2 { color: var(--accent); margin: 0; }
.app-config h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 8px 0 0; }
.mono-input { font-family: ui-monospace, Consolas, monospace !important; font-size: .92rem !important; }

.model-field { display: flex; flex-direction: column; gap: 6px; }
.model-field > label { font-weight: 500; font-size: .92rem; }
.model-row { display: flex; gap: 8px; flex-wrap: wrap; }
.model-select { flex: 1 1 260px; min-width: 0; }
.model-field > .model-select { flex: none; } /* alone in a column, the 260px basis would become its height */
.effort-select { flex: 0 1 200px; }
.model-custom[hidden] { display: none; }

/* ---- theme switch ---- */
.theme-toggle {
  display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; flex: none;
  border: 1px solid var(--border-strong); border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer;
}
.theme-toggle:hover { color: var(--text); border-color: var(--text); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
@media (max-width: 1020px) {
  .theme-toggle { width: 100%; justify-content: flex-start; padding: 0 12px; grid-auto-flow: column; gap: 8px; }
  .theme-toggle::after { content: "Light mode"; font: 500 .95rem var(--font); }
  :root[data-theme="light"] .theme-toggle::after { content: "Dark mode"; }
}

.price-table input { min-width: 190px; padding: 8px 10px; }
.price-table td .muted.small { display: block; }
.stack-form { display: flex; flex-direction: column; gap: 12px; }
.beta-card { margin-bottom: 24px; }
.cur-switch { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: flex-end; align-items: center; margin: 0 0 22px; }
/* One row above the plans: Monthly / Yearly on the left, currency on the right. */
.billing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 16px; }
.billing > .bill-switch { order: 1; }
.billing > .cur-switch { order: 2; }
.billing > .plans { order: 3; flex: 1 1 100%; }
.billing > .plan-foot { order: 4; flex: 1 1 100%; }
.page-head + .section { padding-top: 32px; }
@media (max-width: 760px) {
  .billing > .cur-switch { justify-content: flex-start; margin-top: -8px; }
  .cur-switch a { padding: 10px 12px; }
  .bill-switch label { padding: 11px 16px; }
  .footer-grid a:not(.brand) { padding: 9px 0; margin: 0; }
  .guide-nav a, .guide-nav a.sub { padding: 10px 14px; }
}
.cur-switch a { color: var(--muted); text-decoration: none; padding: 3px 10px; border-radius: 8px; border: 1px solid transparent; }
.cur-switch a[aria-current="true"] { color: var(--text); border-color: var(--border); }

/* Lumen transcripts (dashboard list + one transcript) */
.transcripts-section { padding-top: 0; }
.transcripts-head h2 { font-size: 1.35rem; font-weight: 800; }
.transcripts-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.transcript-list { list-style: none; margin: 16px 0 0; padding: 0; }
.transcript-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.transcript-list a { display: flex; flex-direction: column; text-decoration: none; color: var(--text); min-width: 0; }
.transcripts-foot { margin-top: 14px; }
.transcript { display: flex; flex-direction: column; gap: 10px; padding-bottom: 48px; }
.t-line { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.t-who { font-weight: 600; margin-right: 4px; }
.t-me .t-who { color: var(--accent); }
.t-answers { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; }
.t-question { margin: 0; overflow-wrap: anywhere; }
.t-meta { margin: 0 0 4px; overflow-wrap: anywhere; }
.t-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.t-replaced summary { cursor: pointer; }
.t-replaced .t-text { margin-top: 6px; opacity: .75; }

/* Admin -> Prices: four amounts per row */
.price-table input.price-input { min-width: 0; width: 90px; }
