* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.frame { width: min(1180px, 100%); margin-inline: auto; padding-inline: clamp(18px, 4vw, 52px); }
.skip { position: absolute; transform: translateY(-120%); padding: 12px; color: white; background: #193e32; z-index: 2; }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid #79572e; outline-offset: 3px; }
 .hero { border-bottom: 1px solid var(--line); }
 .editor-heading, .outcome { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 44px); }
.hero .overline { color: var(--accent); font: 700 11px/1.5 Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 12px; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.12; font-weight: 500; }
.hero h1 { font-size: clamp(48px, 7vw, 80px); letter-spacing: -.045em; }
main h2 { font-size: clamp(28px, 2.8vw, 38px); }
h3 { font-size: 23px; }
p { color: var(--muted); margin: 8px 0 18px; }
.hero > p:not(.overline) { max-width: 690px; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; margin: 15px 0 0; }
.workbench { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; margin-block: 26px 42px; align-items: start; }
.panel { padding: clamp(16px, 2.5vw, 30px); border: 1px solid var(--line); border-radius: 5px; min-width: 0; background: var(--panel); }
.report { background: #f2f3ec; border-top: 3px solid #476653; }
.controls, .links { display: flex; flex-wrap: wrap; gap: 8px; }
button, .file-control { font: 600 13px/1.4 Arial, sans-serif; min-height: 40px; border: 1px solid #bec8ba; border-radius: 4px; padding: 9px 12px; color: #274532; cursor: pointer; background: var(--panel); }
button:hover, .file-control:hover { background: #eef2e8; border-color: #789078; }
button:disabled { opacity: .6; cursor: wait; }
.primary { min-height: 44px; background: #193e32; color: white; border-color: #193e32; padding: 11px 18px; }
.primary:hover { background: #2e5548; }
.primary span { margin-left: 8px; }
.hint { color: #526259; font-size: 13px; line-height: 1.55; }
.editor-heading { margin: 20px 0 8px; }
.editor-heading > label:first-child { font-weight: 650; }
.file-control { position: relative; display: inline-flex; align-items: center; }
.file-control input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-control:focus-within { outline: 3px solid #79572e; outline-offset: 3px; }
textarea { display: block; width: 100%; min-height: 185px; color: #203c32; border: 1px solid #9dac9d; background: #fafbf7; border-radius: 3px; padding: 14px; resize: vertical; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; }
textarea::placeholder { color: #677769; }
textarea[aria-invalid="true"] { border-color: #9c442f; }
.feedback, #export-feedback { margin-bottom: 0; }
.feedback:empty, #export-feedback:empty { margin: 0; }
.feedback { font-size: 14px; }
.outcome { flex-wrap: wrap; justify-content: flex-start; gap: 10px; margin: 17px 0 12px; }
.outcome strong { padding: 3px 10px; border-radius: 3px; font-size: 14px; color: #22583a; background: #dce9db; }
.outcome .failed { background: #f2dcd3; color: #802e1b; }
.outcome span, #company-brief { font-size: 14px; }
#step-results details { border-top: 1px solid var(--line); padding: 10px 0; font-size: 14px; }
#step-results summary { cursor: pointer; font-weight: 650; overflow-wrap: anywhere; }
#step-results ul { margin: 8px 0; padding-left: 22px; }
#step-results li { margin-top: 6px; overflow-wrap: anywhere; }
.brief-heading { margin: 16px 0 8px; }
#company-brief { white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px 14px; background: var(--panel); border-left: 3px solid #97a58f; line-height: 1.6; }
.report-actions { margin-top: 16px; }
.next-steps { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 60px); padding: 24px 0 42px; border-top: 1px solid var(--line); }
.next-steps h2 { font-size: 26px; }
.links { column-gap: 18px; }
.links a, .interest { font-size: 14px; font-weight: 600; color: #254a39; }
@media (max-width: 800px) {
  .workbench, .next-steps { grid-template-columns: 1fr; }
  .workbench { gap: 16px; margin-block: 20px 28px; }
}
@media (max-width: 460px) {
  textarea { font-size: 16px; }
}

.run-controls { display: flex; flex-wrap: wrap; gap: 9px 14px; align-items: center; }

.schedule-link { display: inline-block; margin-top: 14px; color: #254a39; font-weight: 600; }
.export-example { margin-top: clamp(22px, 4vw, 36px); }
.export-example p { max-width: 72ch; }
.export-example .export-example-links { margin: 12px 0 0; }
.schedule-demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 42px); margin-bottom: 36px; }
.schedule-inbox { border-left: 1px solid var(--line); padding-left: clamp(18px, 3vw, 32px); }
.schedule-inbox ol { list-style: none; margin: 0; padding: 0; }
.schedule-inbox li { padding: 9px 12px; margin-top: 8px; background: var(--panel); border-left: 3px solid var(--line); }
.schedule-inbox li[data-notification="alert"] { border-color: #a2492d; }
.schedule-inbox li[data-notification="recovery"] { border-color: #39745a; }
.schedule-inbox time { margin-left: 8px; }
.schedule-inbox li p { margin: 2px 0 0; }
@media (max-width: 800px) {
  .schedule-demo { grid-template-columns: 1fr; }
  .schedule-inbox { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
}
