:root {
  color-scheme: light;
  --paper: #f4f5ef;
  --surface: #ffffff;
  --ink: #192a26;
  --muted: #687772;
  --line: #dbe1da;
  --teal: #08745f;
  --teal-deep: #075946;
  --teal-pale: #e4f1ec;
  --amber: #9b5b12;
  --amber-pale: #fcf2e2;
  --red: #ad4136;
  --red-pale: #f9ebe8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); min-width: 320px; }
a { color: inherit; }
button, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid #60b6a2; outline-offset: 3px; }
[hidden] { display: none !important; }
.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; top: -48px; left: 16px; z-index: 10; background: var(--ink); color: white; padding: 12px 16px; }
.skip-link:focus { top: 12px; }

.topbar, main, .footer { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { position: relative; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.brand-mark span { width: 7px; height: 22px; border: 2px solid var(--teal); border-radius: 7px; transform: skew(-16deg); }
.brand-mark i { width: 5px; height: 5px; position: absolute; left: 12px; top: 12px; background: #d08b3a; border-radius: 50%; }
.brand-name { display: flex; flex-direction: column; font-size: 12px; font-weight: 780; line-height: 1.02; letter-spacing: -.035em; }
.brand-name span { font-weight: 500; color: #55716a; }
.privacy-pill { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #d9e7df; border-radius: 999px; background: #edf4ef; color: #3d6e5d; font-size: 11px; font-weight: 600; letter-spacing: .01em; }
.privacy-dot { width: 7px; height: 7px; border-radius: 50%; background: #179573; box-shadow: 0 0 0 3px #d8ece2; }
.top-link { text-decoration: none; color: #53645f; font-size: 12px; }
.top-link span, .text-link span { margin-left: 5px; color: var(--teal); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 72px; align-items: end; padding: 68px 0 46px; }
.eyebrow, .section-label, .examples-label { margin: 0; color: #667670; font-size: 9px; line-height: 1.3; font-weight: 750; letter-spacing: .14em; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow-line { width: 22px; height: 1px; background: var(--teal); }
h1 { margin: 19px 0 14px; font-size: clamp(42px, 6.1vw, 68px); line-height: .98; letter-spacing: -.065em; font-weight: 640; }
h1 em, .how-title h2 em { font-family: var(--serif); color: var(--teal); font-weight: 400; letter-spacing: -.045em; }
.hero-intro { max-width: 535px; margin: 0; font-size: 15px; line-height: 1.66; color: #5e6c67; }
.hero-note { position: relative; padding: 16px 0 4px 17px; margin-bottom: 4px; border-left: 1px solid #c7d7cf; }
.note-mark { position: absolute; left: -10px; top: 18px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid #a8c5b8; color: var(--teal); font-family: var(--serif); font-style: italic; font-size: 12px; }
.hero-note p { margin: 0; max-width: 205px; font-family: var(--serif); font-size: 14px; line-height: 1.5; color: #55645f; }

.workspace { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(270px, .8fr); gap: 54px; align-items: start; padding: 0 0 72px; }
.section-label { display: flex; align-items: center; gap: 10px; color: #75817c; }
.section-label > span { color: var(--teal); font-size: 9px; }
.input-card { margin-top: 12px; background: var(--surface); border: 1px solid #dce3dc; border-radius: 12px; box-shadow: 0 12px 35px rgba(35, 57, 48, .045); overflow: hidden; }
textarea { display: block; width: 100%; min-height: 210px; resize: vertical; padding: 21px 22px 16px; border: 0; background: transparent; color: var(--ink); font-size: 14px; line-height: 1.65; outline: none; }
textarea::placeholder { color: #a2ada7; }
textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #78b9a3; }
.input-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 22px 16px; color: #82908a; font-size: 10px; }
.input-meta > span:first-child { color: #668077; }
.tiny-lock { margin-right: 4px; color: var(--teal); font-size: 14px; vertical-align: -1px; }
.input-actions { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-top: 1px solid #edf0eb; background: #fcfcfa; }
.button { min-height: 42px; border: 0; border-radius: 7px; transition: background .16s ease, transform .16s ease, color .16s ease; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 17px; background: var(--teal); color: white; font-size: 12px; font-weight: 650; }
.button-primary:hover:not(:disabled) { background: var(--teal-deep); }
.button-arrow { font-size: 15px; }
.button-quiet { padding: 0 13px; background: transparent; color: #66756f; font-size: 11px; }
.button-quiet:hover:not(:disabled) { background: #f0f2ee; }
.examples-block { margin-top: 18px; }
.examples-label { font-size: 8px; color: #7b8781; }
.example-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.example-chip { padding: 8px 10px; border: 1px solid #dce2db; border-radius: 6px; background: transparent; color: #53645e; font-size: 10px; transition: border-color .15s, background .15s; }
.example-chip span { margin-left: 3px; color: var(--teal); }
.example-chip:hover { border-color: #95b9a9; background: #edf4ef; }
.example-disclaimer { margin: 9px 0 0; max-width: 470px; color: #8b9691; font-size: 10px; line-height: 1.5; }

.side-column { padding-top: 0; }
.sidebar-section { padding: 21px 0 23px; border-top: 1px solid #d2dbd4; }
.safety-panel { padding-top: 0; border-top: 0; }
.safety-panel h2 { max-width: 275px; margin: 14px 0 17px; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; letter-spacing: -.03em; }
.safety-list { display: flex; flex-direction: column; gap: 0; margin: 0 0 17px; padding: 0; list-style: none; }
.safety-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid #e1e6df; }
.safety-list li > span { padding-top: 2px; color: #8b9b92; font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.safety-list p { margin: 0; color: #5e6c67; font-size: 11px; line-height: 1.55; }
.text-link { display: inline-block; color: var(--teal-deep); font-size: 10px; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.evidence-panel { padding-bottom: 21px; }
.evidence-number { margin: 12px 0 2px; color: var(--teal); font-family: var(--serif); font-size: 41px; line-height: 1; letter-spacing: -.055em; }
.evidence-number span { font-size: 23px; }
.evidence-copy { margin: 6px 0 10px; max-width: 275px; color: #707e78; font-size: 10px; line-height: 1.55; }
.emergency-panel { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 17px 13px; border: 1px solid #e5ddcf; border-radius: 8px; background: #f8f4eb; }
.emergency-mark { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #bd8746; border-radius: 50%; color: #946126; font-size: 11px; font-weight: 700; }
.emergency-panel strong { display: block; margin: 0 0 6px; color: #564936; font-family: var(--serif); font-size: 14px; font-weight: 500; line-height: 1.3; }
.emergency-panel p { margin: 0 0 8px; color: #6e6251; font-size: 10px; line-height: 1.55; }

.results { margin-top: 37px; padding: 21px; border: 1px solid #dce3dc; border-left: 3px solid var(--teal); border-radius: 9px; background: #fff; animation: rise-in .24s ease both; }
.results.risk-high { border-left-color: var(--red); }
.results.risk-caution { border-left-color: #bd7c26; }
.results.risk-none { border-left-color: var(--teal); }
.results-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.results-heading h2 { margin: 10px 0 0; max-width: 360px; font-size: 24px; line-height: 1.15; letter-spacing: -.045em; font-weight: 630; }
.risk-badge { display: inline-block; margin-top: 2px; padding: 6px 8px; border-radius: 4px; background: var(--amber-pale); color: var(--amber); font-size: 8px; font-weight: 760; letter-spacing: .06em; text-align: center; }
.risk-high .risk-badge { background: var(--red-pale); color: var(--red); }
.risk-none .risk-badge { background: var(--teal-pale); color: var(--teal-deep); }
.result-summary { margin: 11px 0 15px; color: #62716b; font-size: 11px; line-height: 1.6; }
.finding-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.finding-item { display: grid; grid-template-columns: 24px 1fr; gap: 9px; padding: 12px 0; border-top: 1px solid #edf0eb; }
.finding-symbol { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--red-pale); color: var(--red); font-size: 11px; font-weight: 750; }
.finding-item-caution .finding-symbol { background: var(--amber-pale); color: var(--amber); }
.finding-item-clear .finding-symbol { background: var(--teal-pale); color: var(--teal-deep); }
.finding-copy strong { display: block; color: #354740; font-size: 11px; line-height: 1.4; }
.finding-copy p { margin: 4px 0 0; color: #718079; font-size: 10px; line-height: 1.55; }
.next-step { display: grid; grid-template-columns: 21px 1fr; gap: 9px; margin-top: 10px; padding: 13px; border-radius: 6px; background: #f0f4f0; }
.next-step-icon { color: var(--teal); font-size: 15px; }
.next-step strong { color: #40584e; font-size: 10px; }
.next-step ul { margin: 6px 0 0; padding-left: 15px; color: #65746e; font-size: 10px; line-height: 1.55; }
.next-step li + li { margin-top: 4px; }

.how-section { display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 80px; row-gap: 23px; padding: 38px 0 42px; border-top: 1px solid #cfd8d0; }
.how-title h2 { margin: 13px 0 0; font-size: 31px; line-height: 1.13; letter-spacing: -.05em; font-weight: 620; }
.how-copy { padding-top: 4px; }
.how-copy p { margin: 0; color: #65736d; font-size: 12px; line-height: 1.7; }
.how-copy p + p { margin-top: 11px; }
.how-footnote { display: flex; grid-column: 1 / -1; gap: 10px; align-items: start; padding-top: 14px; border-top: 1px solid #dce2db; color: #77837d; font-size: 10px; line-height: 1.55; }
.footnote-mark { color: var(--teal); font-size: 14px; }
.footer { display: flex; align-items: center; justify-content: space-between; min-height: 72px; border-top: 1px solid #d2dbd4; }
.brand-footer .brand-mark { transform: scale(.82); transform-origin: left center; }
.brand-footer .brand-name { font-size: 10px; }
.footer > p { color: #7a8781; font-family: var(--serif); font-size: 12px; font-style: italic; }
.footer-up { color: #61716a; font-size: 10px; text-decoration: none; }
.noscript-banner { position: fixed; inset: auto 12px 12px; z-index: 20; padding: 14px; border: 1px solid #e3c796; border-radius: 8px; background: #fff7e8; color: #634c2c; font-size: 13px; }

@keyframes rise-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 820px) {
  .topbar, main, .footer { width: min(100% - 44px, 650px); }
  .hero { grid-template-columns: 1fr 200px; gap: 30px; padding-top: 55px; }
  .workspace { grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr); gap: 28px; }
  .how-section { column-gap: 40px; }
  .results { padding: 17px; }
  .results-heading { flex-direction: column; }
  .risk-badge { margin-top: 0; }
}
@media (max-width: 640px) {
  .topbar, main, .footer { width: calc(100% - 36px); }
  .topbar { height: 66px; }
  .privacy-pill { padding: 7px 9px; font-size: 9px; }
  .top-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding: 45px 0 30px; }
  h1 { margin-top: 16px; font-size: clamp(40px, 11vw, 54px); }
  .hero-intro { font-size: 14px; }
  .hero-note { max-width: 360px; margin-left: 10px; padding-top: 10px; }
  .hero-note p { max-width: none; font-size: 13px; }
  .workspace { grid-template-columns: 1fr; gap: 39px; padding-bottom: 51px; }
  textarea { min-height: 185px; padding: 18px 16px 14px; font-size: 14px; }
  .input-meta { align-items: flex-start; padding: 0 16px 13px; font-size: 9px; }
  .input-actions { padding: 12px; }
  .button-primary { flex: 1; justify-content: space-between; padding-inline: 14px; font-size: 11px; }
  .example-chip { font-size: 9px; }
  .side-column { display: grid; grid-template-columns: 1fr; gap: 0; }
  .safety-panel { padding-top: 0; }
  .safety-panel h2 { max-width: 350px; font-size: 23px; }
  .safety-list p { font-size: 12px; }
  .evidence-panel { padding-block: 19px; }
  .evidence-copy { max-width: 400px; font-size: 11px; }
  .emergency-panel p { font-size: 11px; }
  .results { margin-top: 30px; padding: 17px; }
  .results-heading { flex-direction: row; }
  .results-heading h2 { font-size: 21px; }
  .risk-badge { max-width: 112px; font-size: 7px; }
  .how-section { grid-template-columns: 1fr; gap: 17px; padding: 30px 0; }
  .how-title h2 { font-size: 28px; }
  .how-copy { padding-top: 0; }
  .how-copy p { font-size: 12px; }
  .how-footnote { grid-column: auto; }
  .footer { min-height: 65px; }
  .footer > p { max-width: 128px; text-align: center; font-size: 10px; }
}
@media (max-width: 380px) {
  .privacy-pill { max-width: 152px; font-size: 8px; }
  .brand { gap: 6px; }
  .brand-name { font-size: 10px; }
  .results-heading { flex-direction: column; }
  .risk-badge { max-width: none; }
}
