/* Konnect sign-off. System fonts only: no third-party requests from a page that records personal data. */
:root {
  --bg: #f6f5f8; --surface: #ffffff; --sunk: #efedf3; --ink: #1e1b26; --muted: #5e5a6b; --line: #dcd8e3;
  --accent: #8b2f7f; --accent-soft: #f3e6f1; --agree: #23704f; --agree-soft: #e3f2ea;
  --decline: #a3561a; --decline-soft: #f8ece2; --info-soft: #e9eef8; --focus: #6b4bd6;
  --f-doc: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --f-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16141b; --surface: #1f1c26; --sunk: #26222f; --ink: #ece9f2; --muted: #a8a2b6; --line: #383246;
    --accent: #e08ad3; --accent-soft: #3a2337; --agree: #6fd3a4; --agree-soft: #17332a;
    --decline: #f0a46b; --decline-soft: #3a2618; --info-soft: #222a3a; --focus: #a993ff; color-scheme: dark;
  }
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f-ui) }
.wrap { max-width: 760px; margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-right)) 56px max(16px, env(safe-area-inset-left)); display: grid; gap: 22px }
a { color: var(--accent) }
h1 { font: 600 clamp(22px, 4vw, 28px)/1.25 var(--f-doc); margin: 0; text-wrap: balance }
p { margin: 0 }
.mono { font-family: var(--f-mono); font-size: .9em }
.brandline { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap }
.brand { font: 600 18px/1 var(--f-doc) } .brand em { font-style: normal; color: var(--accent) }
.steps { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--muted) }
.steps span { padding: 5px 10px; border-radius: 99px; background: var(--sunk) }
.steps span.on { background: var(--accent-soft); color: var(--accent); font-weight: 600 }
.steps span.done { color: var(--agree) }
.stack { display: grid; gap: 18px }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 12px }
.contrib { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 16px; font-size: 15px }
.contrib div { display: grid; min-width: 0 } .contrib small { color: var(--muted); font-size: 12.5px } .contrib b { overflow-wrap: anywhere }
details summary { cursor: pointer; font-weight: 600; color: var(--accent) }
ol.commits { margin: 10px 0 0; padding-left: 22px; font-size: 14px; max-height: 320px; overflow: auto }
ol.commits li { margin-bottom: 4px; overflow-wrap: anywhere }
.agreement { background: var(--sunk); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 10px; font-family: var(--f-doc) }
.agreement-text { margin-top: 10px; font: 15px/1.7 var(--f-doc) }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0 }
.q { font: 600 19px/1.35 var(--f-doc); margin-bottom: 10px; padding: 0 }
.legend, .field label { font-weight: 600; font-size: 15px }
.field { display: grid; gap: 6px; min-width: 0 }
.hint { color: var(--muted); font-size: 14px }
.optional { font-weight: 400; color: var(--muted) }
.choices { display: grid; gap: 10px }
.choice { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; cursor: pointer; background: var(--surface) }
.choice input { margin-top: 4px; accent-color: var(--accent) }
.choice > span > strong { display: block } .choice > span > span { color: var(--muted); font-size: 14px }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft) }
.choice.yes:has(input:checked) { border-color: var(--agree); background: var(--agree-soft) }
.choice.no:has(input:checked) { border-color: var(--decline); background: var(--decline-soft) }
input[type=text], input[type=email], textarea, select {
  width: 100%; font: 16px/1.4 var(--f-ui); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 12px }
textarea { min-height: 96px; resize: vertical }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start }
.check input { margin-top: 5px; accent-color: var(--accent) }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; align-items: start }
.tags { display: flex; flex-wrap: wrap; gap: 8px }
.tags label { display: inline-flex; gap: 6px; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: 14px; font-weight: 400; cursor: pointer }
.tags label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft) }
.tags input { accent-color: var(--accent) }
.part { display: grid; gap: 14px }
/* The form script hides the parts that do not apply; a display rule above must not undo that. */
[hidden] { display: none !important }
.terms-list { margin: 0; padding-left: 20px; display: grid; gap: 6px }
.join-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between }
button, .button { font: 600 15px/1 var(--f-ui); border-radius: 8px; padding: 12px 18px; cursor: pointer; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; display: inline-block }
button.primary, .button.primary { background: var(--accent); border-color: var(--accent); color: var(--surface) }
button.decline { background: var(--decline); border-color: var(--decline); color: var(--surface) }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px }
.choice:has(input:focus-visible) { outline: 2.5px solid var(--focus); outline-offset: 2px }
.err { color: var(--decline); font-size: 14px; font-weight: 600 }
.notice { border-left: 3px solid var(--decline); background: var(--decline-soft); padding: 12px 14px; border-radius: 0 8px 8px 0 }
.notice.good { border-left-color: var(--agree); background: var(--agree-soft) }
.notice.info { border-left-color: var(--accent); background: var(--info-soft) }
.notice ul { margin: 6px 0 0 }
.privacy { color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 14px }
/* tracker */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px }
.fig { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; display: grid }
.fig b { font: 600 24px/1.1 var(--f-doc); font-variant-numeric: tabular-nums } .fig span { color: var(--muted); font-size: 13px }
.tablebox { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius) }
table { border-collapse: collapse; width: 100%; font-size: 14px }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top }
th { font-size: 12.5px; color: var(--muted); font-weight: 600; white-space: nowrap }
td.num { font-variant-numeric: tabular-nums; text-align: right }
.pill { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: var(--sunk); white-space: nowrap }
tr.st-signed .pill { background: var(--agree-soft); color: var(--agree) }
tr.st-declined .pill { background: var(--decline-soft); color: var(--decline) }
@media (min-width: 1000px) { body:has(table) .wrap { max-width: 1180px } }
