@font-face { font-family: Inter; src: url("/inter-variable.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
  --ink: #000000;
  --paper: #f8f8f6;
  --teal: #008188;
  --action: #00676d;
  --coral: #f25543;
  --muted: #585e5e;
  --line: #d4dbd9;
  --surface: #ffffff;
  --tint: #e7f1ef;
  --error: #9b2821;
  --radius: 8px;
  --body: Inter, system-ui, "Segoe UI", Arial, sans-serif;
  --display: var(--body);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); }
[hidden] { display: none !important; }
a { color: var(--action); }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }
.skip { position: fixed; z-index: 10; top: -90px; left: 20px; padding: 12px; background: var(--surface); }
.skip:focus { top: 12px; }
.masthead, main, .site-footer { max-width: 1240px; margin: auto; padding-left: 48px; padding-right: 48px; }
.masthead { padding-top: 30px; padding-bottom: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.wordmark { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); font-size: 23px; font-weight: 800; letter-spacing: .07em; }
.wordmark img { object-fit: contain; width: 48px; height: auto; background: var(--ink); }
#intake-view { max-width: 760px; margin-inline: auto; }
.hero { padding: 28px 0 22px; }
.hero .eyebrow { margin-bottom: 12px; }
.hero .headline-ending { white-space: nowrap; }
.hero h1 { text-wrap: balance; font-size: clamp(32px, 5vw, 54px); letter-spacing: -.04em; margin-bottom: 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 800; color: var(--action); margin: 0 0 20px; }
h1 { font: 800 clamp(46px, 5.7vw, 76px)/1.03 var(--display); letter-spacing: -3.5px; margin: 0 0 25px; }
h1 em { color: var(--action); font-style: normal; }
.intro { max-width: 590px; font-size: clamp(16px, 2vw, 18px); line-height: 1.5; color: var(--muted); margin: 0; }
.button { display: inline-flex; gap: 30px; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; font-weight: 750; min-height: 50px; border-radius: var(--radius); border: 1px solid transparent; padding: 12px 22px; transition: background .15s, transform .15s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.primary { background: var(--action); color: var(--surface); }
.primary:hover:not(:disabled) { background: var(--ink); }
.secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.secondary:hover:not(:disabled) { background: var(--tint); }
.quiet { font-size: 12px; color: var(--muted); line-height: 1.6; }
fieldset { border: 0; padding: 0 0 25px; margin: 0 0 25px; border-bottom: 1px solid var(--line); min-width: 0; }
legend { font-size: 19px; font-weight: 750; padding: 0; margin-bottom: 22px; letter-spacing: -.4px; }
.step-number { color: var(--action); font-size: 13px; margin-right: 10px; }
.field { margin-bottom: 18px; min-width: 0; }
label { display: block; font-size: 12px; font-weight: 750; margin-bottom: 7px; }
.required { color: var(--muted); font-size: 10px; font-weight: 400; margin-left: 6px; }
input, select, textarea { width: 100%; min-height: 47px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: var(--surface); color: var(--ink); font-size: 14px; }
input:hover, select:hover { border-color: var(--muted); }
input[aria-invalid="true"] { border-color: var(--error); }
input::placeholder { color: var(--muted); opacity: .8; font-size: 12px; }
textarea { min-height: 140px; }
.resize-none { resize: none; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-help { font-size: 12px; color: var(--muted); margin: -7px 0 20px; }
.tool-row { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 14px; }
.tool-top { display: flex; gap: 14px; align-items: center; }
.tool-top .field { flex: 1; margin-bottom: 8px; }
.remove-tool { background: none; border: 0; color: var(--muted); font-size: 11px; min-height: 44px; padding: 8px; }
.remove-tool:hover { color: var(--error); text-decoration: underline; }
.remove-tool:disabled { visibility: hidden; }
summary { font-size: 12px; color: var(--action); padding: 8px 0; }
details[open] summary { margin-bottom: 12px; }
.form-footer { margin-bottom: 60px; }
.form-footer .quiet { max-width: 470px; margin-top: 16px; }
.notice { padding: 15px 18px; border-radius: var(--radius); margin-bottom: 24px; font-size: 14px; }
.error { color: var(--error); border: 1px solid var(--error); background: var(--surface); }
.site-footer { border-top: 1px solid var(--line); margin-top: 35px; padding-top: 25px; padding-bottom: 28px; display: flex; gap: 20px; justify-content: space-between; font-size: 11px; color: var(--muted); }
.result-view { max-width: 850px; margin: 40px auto 80px; }
.result-view h1 { font-size: clamp(38px, 5vw, 60px); margin-top: 15px; }
.text-button { background: none; border: 0; padding: 10px 0; color: var(--action); text-decoration: underline; min-height: 44px; font-size: 13px; }
.result-view > .eyebrow { margin-top: 35px; }
.status-panel { background: var(--tint); padding: 25px; border-radius: var(--radius); font-size: 16px; margin: 25px 0 10px; }
#request-reference { overflow-wrap: anywhere; margin-bottom: 20px; }
#report { margin-top: 45px; }
.report-header { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
h2 { font-size: 25px; letter-spacing: -.6px; }
h3 { font-size: 17px; }
.report-summary { font-size: 18px; }
.finding { border-top: 1px solid var(--line); padding: 20px 0; }
.finding p { color: var(--muted); font-size: 14px; margin: 8px 0; }
.finding h3 { margin: 0; }
.sources { margin-top: 30px; padding: 14px 0; border-top: 1px solid var(--line); }
.source { display: block; padding: 10px 0; font-size: 12px; overflow-wrap: anywhere; }
.conversation { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.message { margin: 15px 0; border-left: 3px solid var(--teal); padding: 5px 20px; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
li { overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .masthead { flex-wrap: wrap; row-gap: 8px; }
  .masthead, main, .site-footer { padding-left: 24px; padding-right: 24px; }
  .hero { padding-top: 12px; }
  h1 { letter-spacing: -2px; }
  .wordmark { font-size: 20px; }
  .wordmark-detail { display: none; }
}
@media (max-width: 460px) {
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .tool-row { padding: 14px; }
  .tool-top { gap: 4px; }
  .tool-name::placeholder { font-size: 10px; }
  .site-footer { display: block; }
  .site-footer span { display: block; margin-bottom: 8px; }
  .report-header { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

#solution-picker > label { display: block; margin-top: 1rem; }
#solution-picker > .text-button { margin: 0.75rem 0; }
#solution-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 6px; }
.solution-choice { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: white; cursor: pointer; }
.solution-choice:has(:checked) { border-color: var(--teal); background: var(--tint); }
.solution-choice input { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; accent-color: var(--action); }
#letters { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 12px; }
#letters button { padding: 4px 8px; border: 0; background: var(--tint); color: var(--action); }
#letters button:disabled { background: transparent; color: var(--muted); cursor: default; }

.catalog-controls { position: sticky; top: 0; z-index: 2; padding: 8px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.catalog-controls .text-button { margin: 6px 12px 6px 0; }
.catalog-controls #letters { margin-bottom: 0; }
.goal-choice { margin-bottom: 8px; }
#workflow-other { min-height: 80px; }

.goal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 14px; }
.goal-grid .goal-choice { margin: 0; }
#expand-solutions { margin: 0; min-height: 44px; padding: 8px 12px; }
#add-tool { margin: 6px 0; overflow-wrap: anywhere; }
@media (max-width: 540px) { .goal-grid { grid-template-columns: 1fr; } }

.system-search {
  display: flex;
  align-items: center;
  padding: 0 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.system-search:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.system-search input { flex: 1; min-width: 0; padding: 6px 0; border: 0; outline: none; background: transparent; }
.system-search:has(#add-tool:not([hidden])) input { field-sizing: content; flex: 0 1 auto; width: auto; }
.system-search #add-tool { flex: none; min-height: 32px; margin: 0 0 0 5px; padding: 4px 8px; font-size: 13px; }
.system-search .search-fill { flex: 1; align-self: stretch; margin: 0; cursor: text; }
.system-search:has(#add-tool[hidden]) .search-fill { display: none; }

#delivery { margin: 1rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
#delivery h2 { margin: 0 0 .4rem; }
#delivery-address, #delivery-hint, #email-hint { overflow-wrap: anywhere; }
#delivery-address { font-size: 1.15rem; }
#delivery-form { max-width: 28rem; }
#delivery-form button { margin-top: .5rem; }
#delivery-status:empty { display: none; }

.version-guide { margin: 12px 0; border-inline-start: 3px solid #a85216; padding: 4px 0 4px 12px; }
.version-guide .quiet { margin: 5px 0 0; }

.version-guide .module-choices { border: 0; margin: 0; padding: 0; }
.module-choices div { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 13rem),1fr)); gap: .4rem; }
.module-choices label { display: flex; align-items: center; gap: .4rem; }
.module-choices input { width: auto; flex: none; }
.version-guide [hidden] { display: none; }
