/* JobClip website. Tokens mirror docs/DESIGN.md section 0.1 (light palette).
   Flat surfaces and hairline borders only: no gradients, shadows or glows. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); }

:root {
  --page: #EEEEEB;
  --surface: #FFFFFF;
  --field: #F4F4F2;
  --line: #DADAD6;
  --ink: #16181D;
  --slate: #555A62;
  --cta: #1F4A86;
  --on-cta: #FFFFFF;
  --cta-soft: #E9EEF6;
  --brand: #14213D;
  --on-brand: #FFFFFF;
  --on-brand-soft: #C9D3E8;
  --brand-line: #3A4A6B;
  --brand-bright: #9DB9E8;
  --bad: #B42318;
  --bad-soft: #FCEBE9;
  --good: #1A7A44;
  --good-soft: #E7F4EC;
  --nut: #F2B705;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --r-control: 10px; --r-card: 14px;
  --head: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.6 var(--body); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 4.5vw, 2.15rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
h1, h2 { text-wrap: balance; }
p { margin: 0 0 var(--s4); }
a { color: var(--cta); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 var(--s4); }
.skip { position: absolute; left: -999px; top: var(--s2); background: var(--surface); color: var(--ink); padding: var(--s2) var(--s3); border-radius: var(--r-control); }
.skip:focus { left: var(--s2); z-index: 10; }

/* Logo: the clipboard mark and the wordmark with the hex-nut "o". */
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.lockup .mark { width: 38px; height: 38px; flex: none; }
.wordmark { font-family: var(--head); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.045em; line-height: 1; color: var(--brand); white-space: nowrap; }
.wordmark .nut { display: inline-block; width: 0.58em; height: 0.56em; margin: 0 0.02em; vertical-align: baseline; }
.wordmark .nut .hex { fill: var(--nut); }
.wordmark .nut .hole { fill: var(--hole, var(--page)); }
.wordmark .clip { color: var(--cta); }
.on-brand .wordmark { color: var(--on-brand); --hole: var(--brand); }
.on-brand .wordmark .clip { color: var(--brand-bright); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; flex-wrap: wrap; }
.top nav { display: flex; gap: var(--s5); flex-wrap: wrap; font-size: 0.95rem; font-weight: 500; }
.top nav a { color: inherit; text-decoration: none; padding: var(--s2) 0; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.on-brand { background: var(--brand); color: var(--on-brand); }
.plain-top { background: var(--surface); border-bottom: 1px solid var(--line); }

/* Home page top bar: white, logo left, links and one button right. */
.bar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 68px; }
.bar nav { display: flex; align-items: center; gap: var(--s5); font-size: 0.95rem; font-weight: 500; }
.bar nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.bar nav a:not(.btn):hover { color: var(--cta); }
.btn-sm { min-height: 40px; padding: 0 var(--s4); font-size: 0.92rem; }

/* Hero: a real photo on one side, the navy text panel on the other. */
.hero { display: grid; grid-template-columns: 1fr; background: var(--brand); color: var(--on-brand); padding: 0; }
.hero-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #2A3550; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-text { padding: var(--s6) var(--s4) var(--s7); }
.hero .where { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-bright); margin: 0 0 var(--s4); }
.hero h1 { font-size: clamp(2.3rem, 7.5vw, 3.5rem); line-height: 1.05; }
.hero .lede { font-size: 1.12rem; max-width: 32rem; color: var(--on-brand-soft); margin: var(--s5) 0 var(--s6); }
.actions { display: flex; gap: var(--s5); flex-wrap: wrap; align-items: center; }
.btn-light { background: var(--on-brand); color: var(--brand); }
.btn-light:hover { background: var(--cta-soft); }
.text-link { color: var(--on-brand); font-weight: 600; text-underline-offset: 5px; }

/* Trades: one quiet line of names, no chips or icons. */
.trades-strip { padding: var(--s5) 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.trades-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-family: var(--head); font-weight: 700; font-size: 0.98rem; color: var(--slate); }

/* How it works: two numbered columns next to one real app screen. */
.how { padding: var(--s8) 0; }
.how h2 { margin-bottom: var(--s6); }
.how-grid { display: grid; gap: var(--s7); grid-template-columns: 1fr; }
.cols { display: grid; gap: var(--s7); grid-template-columns: 1fr; }
.cols h3 { font-size: 1.2rem; padding-bottom: var(--s3); border-bottom: 1.5px solid var(--ink); margin-bottom: var(--s2); }
.numbered { list-style: none; counter-reset: n; margin: 0; padding: 0; }
.numbered li { counter-increment: n; position: relative; padding: var(--s4) 0 var(--s4) 44px; border-bottom: 1px solid var(--line); color: var(--slate); }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: var(--s4); font: 800 1.35rem/1.2 var(--head); color: var(--cta); }
.numbered b { display: block; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1.05rem; margin-bottom: 2px; }
.phone-fig { margin: 0; justify-self: center; width: min(72vw, 290px); }
.phone { background: #0B1222; border-radius: 40px; padding: 9px; }
.phone img { display: block; width: 100%; height: auto; border-radius: 31px; }
.phone-fig figcaption { font-size: 0.82rem; color: var(--slate); text-align: center; margin-top: var(--s3); }

/* What it costs: a plain comparison table. */
.costs { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s8) 0; }
.costs h2 { margin-bottom: var(--s5); }
.costs table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.costs th, .costs td { text-align: left; vertical-align: top; padding: var(--s4) var(--s3) var(--s4) 0; border-bottom: 1px solid var(--line); }
.costs thead th { font: 700 0.85rem/1.2 var(--head); text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); border-bottom: 1.5px solid var(--ink); }
.costs thead th:nth-child(2) { color: var(--cta); }
.costs tbody th { font-weight: 600; width: 34%; }
.costs tbody td:nth-child(2) { font-weight: 600; color: var(--ink); }
.costs tbody td:nth-child(3) { color: var(--slate); }
.costs .note { margin: var(--s5) 0 0; max-width: 44rem; color: var(--slate); font-size: 0.95rem; }

/* FAQ */
.faq { padding: var(--s8) 0; }
.faq-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
.qa { border-top: 1.5px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: var(--s4) 36px var(--s4) 0; position: relative; font: 700 1.08rem/1.35 var(--head); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: var(--s4); font: 500 1.4rem/1 var(--body); color: var(--cta); }
.qa details[open] summary::after { content: "\2212"; }
.qa p { color: var(--slate); margin: 0 0 var(--s4); max-width: 42rem; }

/* Section heads */
.section-head { max-width: 40rem; margin-bottom: var(--s6); }
.section-head h2 { margin-bottom: var(--s3); }
.section-head p { color: var(--slate); margin: 0; }
.join { padding: var(--s8) 0; border-top: 1px solid var(--line); }

/* Buttons: one filled button per area; the other path is outlined. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--s5); border-radius: var(--r-control); font: 700 1rem/1 var(--head); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-fill { background: var(--cta); color: var(--on-cta); }
.btn-fill:hover { background: #193D70; }
.on-brand .btn-fill { background: var(--on-brand); color: var(--brand); }
.on-brand .btn-fill:hover { background: var(--cta-soft); }
.btn-line { background: transparent; color: var(--cta); border-color: var(--cta); }
.btn-line:hover { background: var(--cta-soft); }
.on-brand .btn-line { color: var(--on-brand); border-color: var(--on-brand-soft); }
.on-brand .btn-line:hover { background: var(--brand-line); }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* Sections */
section { padding: var(--s7) 0; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* The two paths */
.paths { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s5); scroll-margin-top: var(--s5); }
.card > h2 { margin-bottom: var(--s3); }
.card .lead { font-weight: 500; }
.rule { background: var(--cta-soft); border-radius: var(--r-control); padding: var(--s4); margin: 0 0 var(--s5); font-size: 0.95rem; }
.rule h3 { font-size: 1rem; margin-bottom: var(--s2); }
.rule ul { margin: 0; padding-left: 1.2em; }
.rule li { margin-bottom: var(--s1); }
.rule li:last-child { margin-bottom: 0; }

/* Forms */
.field { margin-bottom: var(--s4); }
.field label, .field .label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: var(--s1); }
.field .opt { font-weight: 400; color: var(--slate); }
.field .hint { font-size: 0.875rem; color: var(--slate); margin: var(--s1) 0 0; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: 48px; padding: var(--s3) var(--s3); font: 400 16px/1.4 var(--body); color: var(--ink);
  background: var(--field); border: 1px solid var(--line); border-radius: var(--r-control); appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555A62' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea { min-height: 112px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--cta); outline-offset: 1px; border-color: var(--cta); }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: 0.95rem; margin: var(--s2) 0 var(--s5); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--cta); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { margin-bottom: var(--s4); min-height: 0; }
.form-error { background: var(--bad-soft); color: var(--bad); border-radius: var(--r-control); padding: var(--s3) var(--s4); margin-bottom: var(--s4); font-size: 0.95rem; }
.form-error:empty { display: none; }
.done { background: var(--good-soft); border-radius: var(--r-control); padding: var(--s5); }
.done h3 { color: var(--good); margin-bottom: var(--s2); }
.done p:last-child { margin-bottom: 0; }
.notice { background: var(--cta-soft); border-radius: var(--r-control); padding: var(--s4); }
form .btn { width: 100%; }

/* Plain note and footer */
.honest { max-width: 40rem; }
.honest h2 { margin-bottom: var(--s3); }
.honest p { color: var(--slate); }
footer { border-top: 1px solid var(--line); padding: var(--s6) 0 var(--s7); font-size: 0.95rem; color: var(--slate); }
footer .cols { display: flex; flex-wrap: wrap; gap: var(--s5) var(--s7); justify-content: space-between; align-items: flex-start; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
footer a { color: var(--ink); }
footer .lockup .wordmark { font-size: 1.3rem; }
footer .lockup .mark { width: 30px; height: 30px; }
footer p { margin: var(--s4) 0 0; max-width: 34rem; }

/* Document pages: legal, support, delete account */
.doc { padding: var(--s6) 0 var(--s8); max-width: 46rem; }
.doc h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin: var(--s4) 0 var(--s5); }
.doc h2 { margin: var(--s7) 0 var(--s3); font-size: clamp(1.35rem, 3.6vw, 1.7rem); }
.doc h3 { margin: var(--s5) 0 var(--s2); }
.doc ul, .doc ol { padding-left: 1.4em; margin: 0 0 var(--s4); }
.doc li { margin-bottom: var(--s2); }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }
.doc blockquote { margin: 0 0 var(--s4); padding: var(--s3) var(--s4); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--cta); border-radius: var(--r-control); font-size: 0.95rem; }
.doc blockquote p:last-child { margin-bottom: 0; }
.doc code { font: 500 0.9em ui-monospace, Menlo, monospace; background: var(--field); padding: 0.1em 0.35em; border-radius: 6px; }
.doc .table-wrap { overflow-x: auto; margin: 0 0 var(--s4); border: 1px solid var(--line); border-radius: var(--r-control); background: var(--surface); }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.9rem; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); }
.doc th { font-family: var(--head); font-weight: 700; background: var(--field); }
.doc tr:last-child td { border-bottom: 0; }
.draft-banner { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-control); padding: var(--s4); margin-bottom: var(--s5); font-size: 0.95rem; }
.draft-banner strong { font-family: var(--head); }
.doc .card { margin: var(--s5) 0; }

@media (min-width: 760px) {
  .wrap { padding: 0 var(--s5); }
  .cols { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .faq-grid { grid-template-columns: 16rem 1fr; gap: var(--s7); }
  .paths { grid-template-columns: 1fr 1fr; align-items: start; }
  .card { padding: var(--s6); }
  form .btn { width: auto; min-width: 220px; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 600px; }
  .hero-photo { order: 2; aspect-ratio: auto; }
  .hero-text { order: 1; align-self: center; padding: var(--s8) var(--s7) var(--s8) max(var(--s5), calc((100vw - 1060px) / 2 + var(--s5))); }
  .how-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: var(--s8); align-items: start; }
  .phone-fig { margin-top: 70px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Clipboard mark: navy board on light pages, white board on the navy band. */
.mark .board { fill: var(--brand); }
.mark .clipbar { fill: #4A5468; }
.mark .line { fill: #FFFFFF; }
.on-brand .mark .board { fill: #FFFFFF; }
.on-brand .mark .clipbar { fill: #B8C0CC; }
.on-brand .mark .line { fill: var(--brand); }

.check.tight { margin: 0 0 var(--s2); }
.field label.check { display: flex; font-weight: 400; font-size: 1rem; margin-bottom: var(--s2); }
.field label.check input { margin-top: 3px; }

@media (max-width: 380px) {
  .card { padding: var(--s5) var(--s4); }
  .btn { padding: 0 var(--s4); }
}

/* Phones: the top bar keeps the logo and the one button. */
@media (max-width: 759px) {
  .bar nav a:not(.btn) { display: none; }
}

/* One sign-up form per page, centred in a narrower column. */
.wrap.narrow { max-width: 680px; }
