/* Kania Laurell Design Collective · client portal
   Look: the discovery deck. Light grey ground, rounded panels, charcoal cards,
   thin wide uppercase headings, pill buttons with a sage arrow dot. */
:root {
  --ground: #E6E6E2;
  --panel: #F4F4F1;
  --card: #1E2120;
  --ink: #1B1D1C;
  --body: #4B4E4B;
  --muted: #6E726E;
  --line: #CFD0CA;
  --sage: #CFDCD2;
  --sage-deep: #5E7F68;
  --on-dark: #F1F1EC;
  --on-dark-muted: #BFC3BF;
  --warn: #A2462E;
  --display: 'Unbounded', 'Arial Black', Arial, sans-serif;
  --text: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.5px; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(30px, 5.4vw, 54px); line-height: 1.06; }
h2 { font-size: clamp(22px, 3.4vw, 32px); line-height: 1.15; }
h3 { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.25; }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }

.wrap { max-width: 920px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: var(--ground); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.brand span { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.navpills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.pill, .pill-on { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 40px; padding: 5px 14px; text-decoration: none; border: 1px solid var(--ink); white-space: nowrap; }
.pill { color: var(--ink); background: transparent; }
.pill-on { color: var(--on-dark); background: var(--ink); }

/* progress */
.prog { display: flex; flex-direction: column; gap: 8px; padding-block: 12px 14px; }
.bar { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 4px; transition: width .35s ease; }
.prog-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.prog-row .label { font-weight: 700; }
.prog-row .count { color: var(--muted); display: flex; gap: 14px; align-items: center; font-variant-numeric: tabular-nums; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--ink); text-decoration: underline; cursor: pointer; }
.linkbtn.armed { color: var(--warn); font-weight: 700; }

main { padding-block: 32px 80px; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--sage-deep); }
.lede { font-size: 18px; color: var(--body); max-width: 64ch; }
.prose { color: var(--body); max-width: 66ch; display: flex; flex-direction: column; gap: 12px; }

/* panels and cards */
.panel { background: var(--panel); border-radius: 28px; padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.dark { background: var(--card); color: var(--on-dark-muted); border-radius: 28px; padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.dark h2, .dark h3 { color: var(--on-dark); }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mini { background: var(--panel); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.mini .n { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.mini p { color: var(--body); font-size: 15px; }
.mini em { color: var(--sage-deep); font-style: italic; font-size: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: var(--on-dark); border: 0; border-radius: 40px; padding: 7px 7px 7px 22px; font: inherit; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.btn .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--sage); color: var(--ink); display: grid; place-items: center; font-size: 16px; letter-spacing: 0; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 10px 20px; }
.btn.sage { background: var(--sage); color: var(--ink); }
.btn.sage .dot { background: var(--ink); color: var(--sage); }
.btn:disabled { opacity: .45; cursor: default; }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* fields */
.sec-head { display: flex; flex-direction: column; gap: 6px; }
.sub-t { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > .lbl { font-weight: 700; font-size: 15px; }
.req { color: var(--warn); }
.help { font-size: 14px; color: var(--muted); }
.err { font-size: 13px; color: var(--warn); font-weight: 600; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #FBFBF9; border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; }
textarea { min-height: 104px; resize: vertical; }
.invalid input, .invalid textarea, .invalid select { border-color: var(--warn); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-block; border: 1px solid var(--line); background: #FBFBF9; border-radius: 40px; padding: 8px 15px; font-size: 14px; font-weight: 600; cursor: pointer; }
.opt input:checked + span { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--sage-deep); outline-offset: 2px; }
.files input[type=file] { font: inherit; font-size: 14px; max-width: 100%; }
.file-list { font-size: 14px; color: var(--muted); }
.rep { display: flex; flex-direction: column; gap: 12px; }
.rep-item { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: #FBFBF9; }
.rep-item .full, .rep-h { grid-column: 1 / -1; }
.rep-h { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; }
@media (max-width: 640px) { .rep-item { grid-template-columns: 1fr; } }
.small { padding: 6px 14px; font-size: 11px; }
.ack { display: flex; flex-direction: column; gap: 10px; }
.ack label { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--body); }
.ack input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.note { background: var(--sage); border-radius: 18px; padding: 14px 18px; font-size: 15px; color: var(--ink); }
.status { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.status.bad { color: var(--warn); font-weight: 600; }

/* hub list */
.list { display: flex; flex-direction: column; gap: 12px; }
.row { background: var(--panel); border-radius: 22px; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; }
.row h3 { font-size: 17px; }
.row p { font-size: 14px; color: var(--body); }
.row .right { display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } .row .right { justify-content: flex-start; } }
.chip { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 40px; padding: 4px 10px; background: var(--ground); color: var(--body); white-space: nowrap; }
.chip.done { background: var(--sage); color: var(--ink); }
.chip.go { background: var(--ink); color: var(--on-dark); }
.chip.wait { background: transparent; border: 1px dashed var(--muted); }

/* flow line */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.flow div { background: var(--panel); border-radius: 18px; padding: 14px; font-size: 14px; color: var(--body); }
.flow b { display: block; font-family: var(--display); font-weight: 300; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 720px) { .flow { grid-template-columns: 1fr 1fr; } }

footer.foot { padding-block: 24px 40px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.sel { user-select: all; font-weight: 700; color: var(--ink); }
[hidden] { display: none !important; }

/* intake pacing */
#form { display: flex; flex-direction: column; gap: 40px; }
.welcome { display: flex; flex-direction: column; gap: 56px; }
.w-head { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.w-head .chip { font-size: 12px; padding: 6px 14px; background: var(--panel); color: var(--sage-deep); }
.w-intro { gap: 18px; }
.trio { gap: 20px; }
.mini { padding: 26px; gap: 12px; }
.dark { gap: 16px; padding: clamp(24px, 4.5vw, 44px); }
.welcome > .actions { margin-top: -8px; }
.panel { gap: 30px; }
.grid2 { gap: 24px 20px; }
.opts { gap: 10px; }
.field.other { margin-top: 6px; }
.sub-t { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
