@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Newsreader:opsz,wght@6..72,500&display=swap";:root{color:#22231f;font-synthesis:none;text-rendering:optimizelegibility;--ink:#22231f;--muted:#77766f;--line:#d9d5cc;--accent:#16823a;--surface:#fffefb;--page:#f7f5f0;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f7f5f0;font-family:DM Sans,system-ui,sans-serif}:root[data-theme=dark]{--ink:#f3f4ef;--muted:#a8aaa3;--line:#3b3e38;--surface:#22241f;--page:#171915;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{background:var(--page);min-width:320px}body{min-width:320px;min-height:100vh;color:var(--ink);background:var(--page);margin:0;transition:color .18s,background .18s}button,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.app-shell{grid-template-rows:auto 1fr auto;min-height:100svh;padding:32px 44px 26px;display:grid}.site-header{justify-content:space-between;align-items:center;display:flex}.wordmark{color:var(--ink);letter-spacing:-.04em;font-size:20px;font-weight:600;text-decoration:none}.wordmark span{color:var(--accent)}.site-footer p{color:var(--muted);letter-spacing:.01em;margin:0;font-size:12px}.header-actions{align-items:center;gap:12px;display:flex}.theme-toggle{color:var(--ink);cursor:pointer;background:0 0;border:0}.theme-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;width:18px}.theme-toggle{background:color-mix(in srgb, var(--ink) 14%, transparent);border:1px solid var(--line);border-radius:999px;width:50px;height:28px;padding:3px;position:relative}.theme-toggle-thumb{width:20px;height:20px;color:var(--ink);background:var(--surface);border-radius:50%;place-items:center;transition:transform .18s;display:grid;transform:translate(0);box-shadow:0 1px 4px #00000024}[data-theme=dark] .theme-toggle-thumb{transform:translate(20px)}.theme-toggle-thumb svg{width:12px}.main-content{justify-content:center;padding:clamp(80px,14vh,148px) 0 72px;display:flex}.question-section{width:min(100%,700px)}h1{text-align:center;letter-spacing:-.045em;max-width:100%;margin:0;font-family:Newsreader,Georgia,serif;font-size:clamp(54px,7vw,80px);font-weight:500;line-height:.98}h1 span{color:var(--accent)}.intro{color:var(--muted);text-align:center;margin:10px 0 34px;font-size:16px}.question-form{background:var(--surface);border:1px solid var(--line);border-radius:18px;transition:border-color .18s,box-shadow .18s,transform .18s;overflow:hidden;box-shadow:0 18px 50px #27241b12}.question-form:focus-within{border-color:#a9a49a;transform:translateY(-1px);box-shadow:0 22px 58px #27241b1a}.question-form textarea{resize:none;width:100%;min-height:120px;color:var(--ink);background:0 0;border:0;outline:0;padding:24px 24px 10px;font-size:18px;line-height:1.55;display:block}.question-form textarea::placeholder{color:#aaa79f}.question-form textarea:disabled{opacity:.72}.form-footer{justify-content:space-between;align-items:center;gap:20px;min-height:62px;padding:8px 12px 12px 24px;display:flex}.keyboard-hint{color:#99968f;font-size:11px}.form-footer button{color:#fff;background:var(--ink);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;padding:0;transition:background .16s,transform .16s,opacity .16s;display:grid}.form-footer button:hover:not(:disabled){background:var(--accent);transform:translateY(-1px)}.form-footer button:focus-visible,.error-state button:focus-visible,.copy-button:focus-visible,.answer-text a:focus-visible,.sources a:focus-visible,.theme-toggle:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 28%, transparent);outline-offset:3px}.form-footer button:disabled{cursor:not-allowed;opacity:.3}.form-footer svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:20px}.response-region{min-height:24px;margin-top:42px}.answer-card{scroll-margin-top:24px;animation:.38s both reveal}.answer-card:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 24%, transparent);outline-offset:8px;border-radius:4px}.answer-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.copy-button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:1px solid #0000;padding:3px 0;font-size:11px;font-weight:500}.copy-button:hover{color:var(--ink);border-bottom-color:var(--line)}.answer-label,.sources h2{color:var(--muted);letter-spacing:.14em;text-transform:uppercase;margin:0;font-size:10px;font-weight:600}.answer-text{color:var(--ink);letter-spacing:-.015em;margin-top:13px;font-family:Newsreader,Georgia,serif;font-size:clamp(24px,3.2vw,30px);line-height:1.35}.answer-text>:first-child{margin-top:0}.answer-text>:last-child{margin-bottom:0}.answer-text p{margin:0 0 .8em}.answer-text h1,.answer-text h2,.answer-text h3{text-align:left;letter-spacing:.01em;margin:1.25em 0 .45em;font-family:DM Sans,system-ui,sans-serif;font-size:.62em;font-weight:600;line-height:1.35}.answer-text ul,.answer-text ol{margin:.55em 0 .9em;padding-left:1.25em}.answer-text li{margin:.28em 0;padding-left:.15em}.answer-text a{color:var(--accent);text-underline-offset:.14em;text-decoration-thickness:1px}.answer-text code{background:color-mix(in srgb, var(--ink) 8%, transparent);border-radius:4px;padding:.1em .28em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.72em}.answer-text blockquote{color:var(--muted);border-left:2px solid var(--accent);margin:.9em 0;padding-left:.8em}.sources{border-top:1px solid var(--line);margin-top:30px;padding-top:22px}.sources ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 0;padding:0;list-style:none;display:grid}.sources a{min-width:0;color:var(--ink);border:1px solid var(--line);background:#fffefba6;border-radius:10px;align-items:center;gap:11px;padding:12px 14px;text-decoration:none;transition:background .16s,border-color .16s;display:flex}.sources a:hover{background:var(--surface);border-color:#bbb6ac}.sources svg{fill:none;width:16px;stroke:var(--accent);stroke-linecap:round;stroke-width:1.25px;flex:none}.sources a>span{flex-direction:column;gap:2px;min-width:0;display:flex}.sources strong,.sources small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sources strong{font-size:12px;font-weight:500}.sources small{color:var(--muted);font-size:10px}.loading-state{color:var(--muted);align-items:center;gap:5px;display:flex}.loading-state span{background:var(--accent);border-radius:50%;width:5px;height:5px;animation:1.1s ease-in-out infinite pulse}.loading-state span:nth-child(2){animation-delay:.12s}.loading-state span:nth-child(3){animation-delay:.24s}.loading-state p{margin:0 0 0 7px;font-size:12px}.error-state{color:#7a3426;background:#f5e8e2;border:1px solid #ead1c6;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;padding:15px 17px;font-size:13px;display:flex}.error-state p{margin:0}.error-state button{color:inherit;cursor:pointer;background:0 0;border:0;border-bottom:1px solid;flex:none;padding:0;font-size:12px;font-weight:600}.spinner{border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:17px;height:17px;animation:.7s linear infinite spin}.site-footer{text-align:center}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.preview-page{width:min(100% - 40px,780px);margin:0 auto;padding:64px 0}.preview-header{justify-content:space-between;align-items:flex-start;gap:32px;display:flex}.preview-header h1{text-align:left;margin-top:6px;font-size:clamp(40px,6vw,64px)}.preview-header p:not(.preview-kicker){color:var(--muted);margin:12px 0 0}.preview-kicker{color:var(--accent);letter-spacing:.14em;text-transform:uppercase;margin:0;font-size:10px;font-weight:600}.preview-header a{color:var(--ink);flex:none;font-size:13px}.preview-controls{flex-wrap:wrap;gap:8px;margin-top:42px;display:flex}.preview-controls button{color:var(--muted);border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:999px;padding:8px 13px}.preview-controls button[aria-pressed=true]{color:var(--surface);background:var(--ink);border-color:var(--ink)}.preview-controls button:focus-visible,.preview-header a:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 28%, transparent);outline-offset:3px}.preview-canvas{background:color-mix(in srgb, var(--surface) 55%, transparent);border:1px dashed var(--line);border-radius:16px;min-height:180px;margin-top:24px;padding:32px}@keyframes reveal{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,70%,to{opacity:.25;transform:scale(.8)}35%{opacity:1;transform:scale(1)}}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=640px){.app-shell{padding:24px 20px 20px}.main-content{padding-top:18vh}.question-form textarea{min-height:110px;padding:20px 19px 8px;font-size:16px}.form-footer{padding:6px 9px 9px 19px}.keyboard-hint{max-width:160px;line-height:1.35}.response-region{margin-top:34px}.sources ul{grid-template-columns:1fr}.preview-page{padding-top:36px}.preview-header{flex-direction:column-reverse;gap:24px}.preview-canvas{padding:24px 20px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
