:root{color-scheme:light;--navy:#0e2740;--navy-soft:#1b3e5f;--ink:#172b3d;--muted:#596774;--paper:#f5f3ed;--card:#fffefa;--line:#dcdedb;--brass:#936b2b;--brass-light:#dbb66c;--teal:#16605f;--brick:#98392c;--focus:#197983;--hubspot-orange:#ff4800}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{min-width:280px;background:var(--paper);scroll-behavior:smooth}
body{margin:0;color:var(--ink);font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit}
button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}
button,a,summary{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:not-allowed}
a{color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex="-1"]:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
p,h1,h2,h3{margin:0}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:16px;top:-100px;z-index:20;background:#fff;padding:10px 15px}
.skip-link:focus{top:12px}
.site-header{background:var(--navy);color:#fff;border-bottom:3px solid var(--brass-light)}
.header-inner{max-width:1248px;padding:22px 36px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:20px}
.brand{text-decoration:none;display:flex;align-items:center;gap:12px}
.brand-mark{display:grid;grid-auto-flow:column;align-items:center;gap:1px;width:42px;height:42px;border:1px solid #547086;border-radius:3px;justify-content:center;font:18px Georgia,serif;letter-spacing:-1px}
.brand-mark span{color:var(--brass-light);margin:0 1px;font-weight:bold}
.brand-name{font-size:21px;letter-spacing:-.65px;font-weight:650;line-height:1.2}
.brand-company{display:block;color:#b9c9d5;font-size:8px;font-weight:500;letter-spacing:1.8px;margin-top:5px}
.header-status{display:flex;align-items:center;gap:18px;font-size:11px}
.connection-status{color:#c3d3df;display:flex;align-items:center;gap:7px}
.connection-status::before{content:"";width:6px;height:6px;display:block;border-radius:50%;background:#a7b4bf}
.connection-status[data-state="ready"]::before{background:#8fc3ac}
.connection-status[data-state="error"]::before{background:#f1b18d}
.page{max-width:1248px;margin:0 auto;padding:0 36px}
.eyebrow,.step-label,.preview-bar,.page-footer{font-family:ui-monospace,"Cascadia Code",Consolas,monospace}
.eyebrow{text-transform:uppercase;letter-spacing:1.6px;color:var(--brass);font-size:10px;font-weight:650;margin-bottom:10px}
h1{font-size:clamp(29px,3.5vw,40px);letter-spacing:-1.35px;line-height:1.15;font-weight:650}
#input-view{padding-top:32px}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:30px;align-items:start}
.form-card{background:var(--card);padding:25px 27px 23px;border:1px solid var(--line);border-radius:7px;box-shadow:0 5px 20px #15263b05}
fieldset{padding:0;margin:0;border:0;min-width:0}
.card-heading{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:18px}
.step-label{display:block;font-size:9px;letter-spacing:1px;color:var(--brass);font-weight:550;margin-bottom:6px}
h2,.card-heading h1{font-size:19px;font-weight:650;letter-spacing:-.45px;line-height:1.35}
textarea{display:block;width:100%;resize:vertical;min-height:310px;max-height:900px;border:1px solid #bdc7cb;border-radius:4px;background:#fff;padding:17px;color:var(--ink);font-family:ui-monospace,"Cascadia Code",Consolas,monospace;font-size:12px;line-height:1.75;transition:border-color .15s}
textarea::placeholder{color:#77848d;opacity:1;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:13px;line-height:1.8}
textarea:focus{border-color:var(--focus)}
textarea[aria-invalid="true"]{border-color:var(--brick)}
.transcript-meta{display:flex;justify-content:space-between;gap:12px;margin-top:9px;color:var(--muted);font-size:10px;line-height:1.5}
#file-label{min-width:0;overflow-wrap:anywhere}
#transcript-count{white-space:nowrap;font-variant-numeric:tabular-nums}
#transcript-count.over-limit{color:var(--brick);font-weight:650}
.field-hint{display:block;margin-top:9px;color:var(--muted);font-size:11px;line-height:1.65;font-weight:400}
.call-details{margin-top:21px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.call-details summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 0;font-size:12px;font-weight:650;list-style:none}
.call-details summary::-webkit-details-marker{display:none}
.optional{margin-left:7px;color:var(--muted);font-size:10px;font-weight:400}
.details-icon{font-weight:400;font-size:20px;line-height:1;transition:transform .15s}
.call-details[open] .details-icon{transform:rotate(45deg)}
.details-content{padding-bottom:19px}
.details-content>.field-hint{margin-top:0;margin-bottom:14px}
.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.field-label{font-size:11px;font-weight:600;display:flex;flex-direction:column;gap:6px;min-width:0}
.field-label input{width:100%;min-width:0;border:1px solid #c7ced0;border-radius:3px;background:#fff;padding:9px 11px;color:var(--ink);font-size:12px;height:39px}
.field-label input::placeholder{color:#7a858d;opacity:1;font-weight:400}
.full-width{grid-column:1/-1}
.field-label .field-hint{margin-top:0}
.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid transparent;border-radius:4px;min-height:43px;padding:11px 17px;text-decoration:none;font-size:12px;font-weight:600;line-height:1.4;transition:background .15s,border-color .15s;white-space:normal;text-align:center}
.primary-button{background:var(--navy);color:#fff}
.primary-button:hover:not(:disabled){background:var(--navy-soft)}
.primary-button:disabled{background:#dce1e3;color:#6d7a83}
.primary-button>span{font-size:17px;line-height:1;font-weight:400}
.secondary-button{border-color:#c7ced0;background:transparent;color:var(--navy)}
.secondary-button:hover:not(:disabled){background:#edece7;border-color:#8f9ca4}
.small-button{min-height:35px;padding:8px 11px;font-size:11px;gap:7px;white-space:nowrap}
.small-button svg{width:15px;height:15px}
.text-button{background:transparent;border:0;color:var(--muted);padding:9px 5px;font-size:11px;text-decoration:underline;text-underline-offset:3px}
.text-button:hover:not(:disabled){color:var(--navy)}
.text-button:disabled{opacity:.5}
.submit-row{display:flex;align-items:center;gap:18px;margin-top:24px}
.guide{padding-top:3px}
.guide-top{border-bottom:1px solid #d5d9d7;padding-bottom:19px}
.guide-top h2{font:25px/1.2 Georgia,"Times New Roman",serif;letter-spacing:-.7px;margin:10px 0 11px;max-width:270px}
.guide-top>p:last-child{color:var(--muted);font-size:12px;line-height:1.75;max-width:270px}
.deliverables{list-style:none;padding:0;margin:24px 0}
.deliverables li{display:flex;align-items:start;gap:12px;margin-bottom:22px}
.deliverable-number{font:10px/1.5 ui-monospace,Consolas,monospace;border:1px solid #cdd4d3;min-width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:var(--teal);flex:none}
.deliverables h3{font-size:12px;font-weight:600;line-height:1.5;padding-top:3px;margin-bottom:5px}
.deliverables p{font-size:11px;line-height:1.75;color:var(--muted)}
.privacy-note{display:flex;align-items:start;gap:11px;padding:18px 15px;background:#e9eeea;border:1px solid #d8e2da;border-radius:4px;color:var(--teal)}
.privacy-note svg{width:19px;height:19px;margin-top:1px}
.privacy-note h3{font-size:11px;line-height:1.6;margin-bottom:6px;font-weight:650}
.privacy-note p{color:#405d58;font-size:11px;line-height:1.7}
.demo-banner,.connection-error,.form-error{border:1px solid #dbb793;border-radius:4px;background:#fff0df;color:#704b27;font-size:12px;line-height:1.6;padding:13px 17px;overflow-wrap:anywhere}
.demo-banner{margin-top:22px}
.connection-error{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.connection-error .text-button{color:inherit;flex:none}
.form-error{margin-top:18px;background:#f9eae6;border-color:#e4b9ac;color:#85382c}
.pending-panel{display:flex;align-items:start;gap:13px;padding:15px;background:#eaf0f3;color:var(--navy);border:1px solid #d3dfe5;border-radius:4px;margin-top:20px;font-size:12px}
.pending-panel strong{font-weight:600}
.pending-panel p{font-size:11px;color:#4c6677;margin-top:4px;line-height:1.6}
.spinner{width:18px;height:18px;flex:none;border:2px solid #aebfca;border-top-color:var(--navy);border-radius:50%;animation:spin 1s linear infinite;margin-top:2px}
@keyframes spin{to{transform:rotate(360deg)}}
.page-footer{border-top:1px solid #d8ddda;margin-top:39px;padding:20px 0 26px;color:#637079;display:flex;justify-content:space-between;gap:15px;font-size:8px;letter-spacing:.7px}
.footer-dot{color:var(--brass);margin:0 7px}
.result-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:38px 0 27px}
.result-heading h1{font-size:clamp(25px,3vw,34px);letter-spacing:-1px}
.result-heading p:last-child{margin-top:12px;color:var(--muted);font-size:12px}
.result-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;flex:none}
.result-actions .primary-button svg{width:17px;height:17px}
.preview-bar{display:flex;justify-content:space-between;gap:15px;background:#e7e9e5;color:var(--muted);border:1px solid #cdd4d2;border-bottom:0;border-radius:5px 5px 0 0;padding:10px 15px;font-size:9px;letter-spacing:.7px}
#report-preview{display:block;width:100%;height:78vh;min-height:550px;border:1px solid #cdd4d2;background:#fff}
.noscript-message{max-width:750px;margin:30px auto;padding:20px;background:#fff0df;color:#704b27}
@media(min-width:1250px){.workspace{gap:36px;grid-template-columns:minmax(0,1fr) 314px}.form-card{padding:28px 30px 25px}}
@media(max-width:1000px){.header-inner{padding:20px 26px}.page{padding:0 26px}.workspace{grid-template-columns:minmax(0,1fr) 264px;gap:24px}.form-card{padding:22px}.result-heading{align-items:start}.result-actions{flex-direction:column;align-items:stretch}.guide-top h2{font-size:24px}}
@media(max-width:800px){.workspace{grid-template-columns:1fr}.guide{display:grid;grid-template-columns:1fr 1fr;gap:20px}.guide-top{border-bottom:0}.deliverables{margin:0;grid-column:2;grid-row:1/4}.deliverables li{margin-bottom:18px}.privacy-note{grid-column:1}.guide-top h2,.guide-top>p:last-child{max-width:none}.page-footer{margin-top:28px}.result-heading{display:block}.result-actions{flex-direction:row;justify-content:flex-start;margin-top:20px}}
@media(max-width:520px){.header-inner{padding:17px 18px;gap:12px}.brand-name{font-size:19px}.brand-mark{width:36px;height:36px;font-size:16px}.brand{gap:9px}.header-status{flex-direction:column;align-items:flex-end;gap:6px}.connection-status{font-size:9px}.page{padding:0 17px}.eyebrow{font-size:9px;letter-spacing:1.3px}h1{font-size:30px;letter-spacing:-1px}.form-card{padding:18px 16px}.card-heading{gap:10px;align-items:end;margin-bottom:15px}h2,.card-heading h1{font-size:17px}.step-label{font-size:8px;letter-spacing:.6px}.small-button{font-size:10px;padding:8px;gap:5px}textarea{min-height:300px;padding:13px;font-size:11px}.transcript-meta{flex-wrap:wrap;gap:4px;font-size:9px}#transcript-count{margin-left:auto}.field-hint{font-size:10px}.details-grid{grid-template-columns:1fr}.submit-row{gap:8px;flex-wrap:wrap;margin-top:22px}.submit-row .primary-button{flex:1;white-space:nowrap;font-size:11px;padding:12px 10px;gap:9px}.text-button{font-size:10px}.guide{display:block;padding:3px 2px}.guide-top{padding-bottom:18px;border-bottom:1px solid #d5d9d7}.guide-top h2{font-size:25px;max-width:250px}.deliverables{margin:21px 0}.deliverables li{margin-bottom:20px}.privacy-note{padding:16px}.page-footer{flex-direction:column;gap:8px;font-size:8px;line-height:1.5}.connection-error{display:block;font-size:11px}.connection-error .text-button{margin-top:5px}.demo-banner{font-size:11px;padding:12px}.result-heading{padding:29px 0 23px}.result-actions{display:grid;grid-template-columns:1fr;gap:8px}.result-actions .primary-button,.result-actions .secondary-button{min-height:43px}.preview-bar{padding:9px;font-size:8px;flex-wrap:wrap;gap:4px}#report-preview{min-height:500px;height:75vh}.result-heading h1{font-size:28px}.result-heading p:last-child{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
.login-card { max-width: 520px; margin: 3rem auto; display: grid; gap: 1.25rem; }
#logout-button { color: #f4f0e8; }
.hubspot-field { margin-top: 1.5rem; padding: 16px; border: 1px solid var(--hubspot-orange); border-left-width: 4px; border-radius: 6px; background: #fff6f1; }
.hubspot-field-heading { display: flex; align-items: center; gap: 10px; color: var(--hubspot-orange); font-size: 20px; font-weight: 700; line-height: 1.35; }
.hubspot-logo { width: 28px; height: 29px; fill: var(--hubspot-orange); stroke: none; }
.hubspot-field .optional { margin-left: 0; }
.hubspot-field input { height: 44px; border-color: var(--hubspot-orange); font-size: 13px; }
.hubspot-field input:focus-visible { outline-color: var(--hubspot-orange); }
.hubspot-save-status { padding: 1rem 1.25rem; margin-bottom: 1.5rem; border: 1px solid #b8cfc6; border-radius: 8px; background: #f1f8f4; }
.hubspot-save-status p { margin: 0 0 .5rem; }
.hubspot-save-status[data-state=unknown] { background: #fff4e5; border-color: #d4ad73; }
#hubspot-contact-link { color: var(--hubspot-orange); font-size: 20px; font-weight: 700; text-underline-offset: 4px; }
#hubspot-contact-link:hover { color: #c63800; }
