/* Witness Match: clean, trustworthy, mobile-first. No build step. */
:root {
  --ink: #1b2f50;
  --ink-2: #3a4a63;
  --muted: #6b7486;
  --line: #e8e2d6;
  --bg: #f6f2ea;
  --card: #ffffff;
  --navy: #1b2f50;
  --navy-dark: #12223b;
  --brand: #1b2f50;
  --brand-dark: #12223b;
  --brand-soft: #eef1f6;
  --brand-ring: rgba(27, 47, 80, .18);
  --gold: #d1a24c;
  --gold-hover: #c4943d;
  --gold-dark: #8a6420;
  --gold-soft: #faf1de;
  --gold-ring: rgba(209, 162, 76, .35);
  --ok: #1d7a4a;
  --ok-bg: #e3f3e9;
  --money: #1b2f50;
  --wait: #8a5a00;
  --wait-bg: #fdf0d5;
  --danger: #b93a2e;
  --danger-bg: #fbeceb;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(27, 47, 80, .04), 0 4px 14px rgba(27, 47, 80, .05);
  --shadow-lg: 0 2px 6px rgba(27, 47, 80, .06), 0 20px 44px rgba(27, 47, 80, .14);
  --tap: 52px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
h1, h2, h3 { letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: 1.75rem; line-height: 1.15; margin: .4rem 0 .8rem; font-weight: 800; }
h2 { font-size: 1.15rem; margin: 1.8rem 0 .7rem; font-weight: 750; }
h3 { font-size: 1.05rem; margin: .6rem 0 .3rem; }
.card h2, .section { margin-top: 0; }
.section { color: var(--ink); }
h2.section { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 1rem; color: var(--brand); }
.lede { font-size: 1.05rem; color: var(--muted); margin-top: 0; }
.small { font-size: .9rem; color: var(--muted); }
.center { text-align: center; }
.empty { color: var(--muted); padding: 1rem; text-align: center; background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--radius); margin: 0 0 1rem; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1rem; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.brand { color: var(--ink); text-decoration: none; font-weight: 800; display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; letter-spacing: -.01em; }
.logo { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--navy); color: var(--gold); box-shadow: 0 2px 6px var(--brand-ring), inset 0 0 0 1.5px rgba(201,162,63,.55); }
.toplink { color: var(--ink); font-weight: 650; padding: .55rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; background: #fff; }
.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; color: var(--ink); font-weight: 650; padding: .55rem .95rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
}
.menu summary::-webkit-details-marker { display: none; }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: .4rem; display: grid;
}
.menu nav a, .menu nav .linklike {
  display: block; padding: .8rem .9rem; color: var(--ink); text-decoration: none; border-radius: 10px;
  font: inherit; font-weight: 550; text-align: left; width: 100%; background: none; border: 0; cursor: pointer;
}
.menu nav a:hover, .menu nav .linklike:hover { background: var(--bg); }
.menu nav form { border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .3rem; }

.wrap { max-width: 560px; margin: 0 auto; padding: 1.1rem 1rem 3rem; }
.foot { text-align: center; padding: 1.5rem 1rem 2.5rem; font-size: .85rem; color: var(--muted); }
.foot a { color: var(--muted); }
.foot-brand { font-weight: 700; color: var(--ink-2); }

/* Cards */
.card { background: var(--card); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin: 0 0 1rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
.link-card { display: block; text-decoration: none; color: inherit; transition: transform .12s ease, box-shadow .12s ease; }
.link-card:hover { box-shadow: var(--shadow-lg); }
.link-card:active { transform: scale(.99); }
.flash { background: var(--brand-soft); color: var(--brand-dark); border-radius: var(--radius-sm); padding: .85rem 1rem; margin-bottom: 1rem; font-weight: 600; border: 1px solid #cddcf2; }

/* Buttons */
.btn {
  display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; min-height: var(--tap);
  padding: .7rem 1.1rem; border-radius: 14px; font: inherit; font-weight: 700; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; margin: .5rem 0; text-align: center; transition: background .12s ease, transform .08s ease;
}
.btn:active { transform: scale(.985); }
.btn-lg { min-height: 58px; font-size: 1.05rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px var(--brand-ring); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-secondary:hover { border-color: #cfd6e0; }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f2c9c5; }
.btn-small { min-height: 40px; width: auto; display: inline-flex; padding: .3rem 1rem; font-size: .9rem; }
.stack { display: grid; gap: .1rem; margin: 1.3rem 0 .8rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.row2 > form .btn, .row2 > .btn { margin: .3rem 0; }
.row-city { display: grid; grid-template-columns: 1fr 5.5rem; gap: .6rem; }
.row-city .opt { display: none; }
.text-link { font-weight: 700; text-decoration: none; }

/* Forms */
.form { margin-bottom: 1.5rem; }
.field { margin: 0 0 1.05rem; border: 0; padding: 0; min-width: 0; }
label, legend { display: block; font-weight: 650; margin-bottom: .35rem; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
.hint { margin: -.15rem 0 .45rem; font-size: .88rem; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date],
input[type=time], input:not([type]), select, textarea {
  width: 100%; min-height: var(--tap); padding: .7rem .9rem; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #d6dce5; border-radius: var(--radius-sm); appearance: none; -webkit-appearance: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.has-error input, .has-error select { border-color: var(--danger); }
.error { color: var(--danger); font-size: .92rem; margin: .3rem 0 0; font-weight: 600; }
.error.banner, .card.error { background: var(--danger-bg); padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1px solid #f6d3d0; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 550; padding: .55rem 0; min-height: 44px; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; flex: none; accent-color: var(--brand); }
.consent { font-size: .86rem; color: var(--muted); font-weight: 400; background: var(--bg); border-radius: var(--radius-sm); padding: .75rem .85rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { margin: 0; font-weight: 600; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-grid; place-items: center; min-width: 58px; min-height: 46px; padding: 0 .75rem;
  border: 1.5px solid #d6dce5; border-radius: 999px; background: #fff; cursor: pointer; transition: all .12s ease;
}
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 3px 10px var(--brand-ring); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px var(--brand-ring); }

/* Jobs */
.job { display: grid; gap: .25rem; }
.job-top { display: flex; justify-content: space-between; align-items: center; }
.job-when { font-weight: 750; font-size: 1.1rem; }
.job-fee { font-weight: 800; color: var(--money); font-size: 1.15rem; }
.job-fee .small { font-weight: 450; }
.job-where { color: var(--ink-2); }
.job.big .job-when { font-size: 1.4rem; line-height: 1.3; }
.job.big .job-fee { font-size: 1.6rem; }
.pill { display: inline-block; font-size: .74rem; font-weight: 750; padding: .2rem .65rem; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-wait { background: var(--wait-bg); color: var(--wait); }
.pill-muted { background: #eef1f5; color: var(--muted); }
.status-card { position: relative; overflow: hidden; }
.status-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.status-card.on::before { background: var(--ok); }
.status-card.off::before { background: var(--gold); }
.status-card p { margin-top: 0; }
.accepted { border: 1.5px solid #bfe3cf; background: linear-gradient(180deg, var(--ok-bg), #fff 70%); }
.waiting { position: relative; overflow: hidden; }
.waiting::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--gold); }
.big-name { font-size: 1.45rem; font-weight: 800; margin: .2rem 0; letter-spacing: -.01em; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.danger-zone { border-color: #f6d3d0; }

.list { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card .list { border: 0; box-shadow: none; border-radius: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.card .list li { padding-left: 0; padding-right: 0; }
.list li:last-child { border-bottom: 0; }
.list li.stacked { display: block; }
.list li.removed { opacity: .55; }
.list pre { white-space: pre-wrap; margin: .3rem 0 0; font-family: inherit; }
details > summary { cursor: pointer; list-style: none; }
details > summary h2 { display: inline; }
details > summary::-webkit-details-marker { display: none; }

/* Landing */
.hero { padding: .8rem 0 .5rem; position: relative; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--gold-dark); background: var(--gold-soft); border: 1px solid #f0e2b6; padding: .3rem .75rem; border-radius: 999px; margin: 0 0 .4rem; }
.hero h1 { font-size: 2.15rem; line-height: 1.08; letter-spacing: -.035em; }
.ticks { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.ticks li { display: flex; align-items: center; gap: .4rem; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2747' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero-art { margin: 1.8rem 0 .4rem; display: flex; justify-content: center; position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 10% 6% -4%; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 40%, #dce8f8 0%, rgba(220,232,248,0) 70%); }
.phone { position: relative; width: 270px; background: #fff; border-radius: 34px; padding: 26px 14px 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.phone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 76px; height: 8px; border-radius: 999px; background: #e7ebf1; }
.sms { background: #eef1f5; border-radius: 18px 18px 18px 6px; padding: .6rem .8rem; font-size: .82rem; line-height: 1.4; color: var(--ink); }
.sms-from { font-weight: 750; font-size: .72rem; color: var(--muted); margin-bottom: .1rem; }
.job-mini { margin-top: .75rem; border: 1px solid var(--line); border-radius: 16px; padding: .75rem; box-shadow: var(--shadow); }
.job-mini-top { display: flex; justify-content: space-between; font-weight: 750; font-size: .92rem; }
.job-mini-fee { color: var(--money); }
.job-mini-where { font-size: .8rem; color: var(--muted); margin: .1rem 0 .55rem; }
.job-mini-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.job-mini-btns span { display: grid; place-items: center; height: 34px; border-radius: 10px; font-size: .8rem; font-weight: 700; }
.mini-accept { background: var(--brand); color: #fff; }
.mini-decline { border: 1.5px solid var(--line); color: var(--ink-2); }
.toast { margin-top: .75rem; display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 650; color: var(--ok); background: var(--ok-bg); border-radius: 12px; padding: .55rem .7rem; }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(21,122,79,.18); }

.section-title { font-size: 1.35rem; margin: 2.2rem 0 1rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.steps li { display: flex; gap: .9rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.steps p { margin: .15rem 0 0; color: var(--muted); font-size: .95rem; }
.step-num { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; box-shadow: inset 0 0 0 1.5px rgba(201,162,63,.5); }
.audience { display: grid; gap: .8rem; margin: 1.6rem 0 0; }
.card-feature { padding: 1.3rem; }
.card-feature p { color: var(--muted); margin: .2rem 0 .8rem; }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-dark); }
.privacy-note { display: flex; gap: .9rem; align-items: flex-start; margin-top: .8rem; }
.privacy-note p { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
.prose h2 { margin-top: 1rem; font-size: 1.05rem; }
.prose h2:first-child { margin-top: 0; }

@media (min-width: 700px) {
  .wrap { padding-top: 2rem; }
  .hero h1 { font-size: 2.7rem; }
  .audience { grid-template-columns: 1fr 1fr; }
}

/* ===== Navy / gold / ivory theme overrides ===== */
.topbar { background: var(--navy); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: .7rem 1rem; }
.brand { color: #fff; gap: .7rem; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-size: 1.12rem; font-weight: 750; color: #fff; letter-spacing: -.01em; }
.brand-tag { font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; }
.logo { width: 40px; height: 40px; border-radius: 11px; background: var(--gold); color: var(--navy); box-shadow: none; }
.toplink { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.menu summary { background: transparent; border: 0; color: #fff; padding: .4rem; display: grid; place-items: center; }
.menu nav a, .menu nav .linklike { color: var(--ink); }

h1, h2, h3 { color: var(--navy); }
.page-title { font-size: 1.6rem; margin: .6rem 0 .25rem; font-weight: 750; letter-spacing: -.02em; }
.page-sub { color: var(--muted); margin: 0 0 1rem; font-size: .98rem; }

.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 3px 10px var(--gold-ring); }
.btn-primary:hover { background: var(--gold-hover); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn .ic { flex: none; }

a { color: var(--navy); }
.text-link { color: var(--gold-dark); }
.flash { background: var(--gold-soft); color: var(--gold-dark); border-color: #efdcb2; }

input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-ring); }
.check input { accent-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: none; }
.consent { background: #fbf8f2; border: 1px solid var(--line); }

/* stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: .5rem 0 0; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .95rem; display: grid; gap: .1rem; }
.stat-label { font-size: .85rem; color: var(--muted); }
.stat-num { font-size: 1.45rem; font-weight: 750; color: var(--navy); letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* section header */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 1.5rem 0 .65rem; }
.section-head h2 { margin: 0; font-size: 1.12rem; font-weight: 700; }
.view-all { font-size: .9rem; color: var(--gold-dark); text-decoration: none; font-weight: 600; }

/* request card */
.req-card { padding: 1rem 1rem .9rem; display: grid; gap: .55rem; }
.req-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .2rem; }
.req-fee { font-size: 1.2rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.req-line { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); }
.req-line .ic { color: var(--gold); flex: none; margin-top: .2rem; }
.req-line.req-when { font-size: 1.08rem; font-weight: 600; color: var(--navy); }
.req-line.muted { color: var(--muted); font-size: .95rem; }
.req-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; border-top: 1px solid var(--line); padding-top: .85rem; margin-top: .35rem; }
.req-actions.single { grid-template-columns: 1fr; }
.req-actions .btn, .req-actions form .btn { margin: 0; min-height: 46px; font-size: .95rem; }
.pill { text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 600; padding: .2rem .65rem; border-radius: 8px; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-wait { background: var(--gold-soft); color: var(--gold-dark); }

.status-card.on::before { background: var(--ok); }
.status-card.off::before { background: var(--gold); }
.status-actions { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.status-actions .btn { margin: 0; }
.waiting::before { background: var(--gold); }
.accepted { border-color: #c9e3d3; background: linear-gradient(180deg, var(--ok-bg), #fff 70%); }
.empty { background: transparent; border-color: #ddd5c4; }
.list li a { text-decoration: none; font-weight: 550; }

/* landing */
.eyebrow { color: var(--gold-dark); background: var(--gold-soft); border: 1px solid #efdcb2; }
.ticks li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2f50' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.hero-art::before { background: radial-gradient(60% 60% at 50% 40%, #efe2c4 0%, rgba(239,226,196,0) 70%); }
.mini-accept { background: var(--gold); color: var(--navy); }
.toast { color: var(--ok); background: var(--ok-bg); }
.toast-dot { background: var(--ok); }
.step-num { background: var(--navy); color: var(--gold); }
.feature-icon { background: var(--gold-soft); color: var(--gold-dark); }
.job-fee, .job-mini-fee { color: var(--navy); }
.foot a { color: var(--muted); text-decoration: none; }
.req-actions .btn { white-space: nowrap; padding-left: .6rem; padding-right: .6rem; }
.stats { margin-top: .2rem; }

/* role switch */
.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin: .2rem 0 .9rem; box-shadow: var(--shadow); }
.role-switch a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; border-radius: 10px; font-weight: 650; font-size: .95rem; color: var(--ink-2); text-decoration: none; }
.role-switch a .ic { color: var(--gold); }
.role-switch a.on { background: var(--navy); color: #fff; }
.role-switch a.on .ic { color: var(--gold); }
