:root {
  --ink: #172033;
  --muted: #667085;
  --paper: #f8f6f2;
  --white: #fff;
  --line: #dfe3dc;
  --navy: #14213d;
  --green: #c7662e;
  --mint: #f4d8bf;
  --lime: #f0c48d;
  --success: #2f7b62;
  --success-soft: #e4f3eb;
  --review: #a67c1b;
  --orange: #ef9d64;
  --red: #b94d45;
  --shadow: 0 18px 60px rgba(23, 42, 39, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.55 "DM Sans", sans-serif; }
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }

.topbar { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(28px, calc((100vw - 1180px)/2)); background: rgba(247,247,242,.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 800 20px "Manrope", sans-serif; letter-spacing: -.4px; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; color: var(--paper); background: var(--navy); border-radius: 9px 9px 9px 2px; font-size: 15px; }
.topbar-meta { color: var(--muted); font-size: 12px; letter-spacing: .03em; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; margin-right: 7px; box-shadow: 0 0 0 4px rgba(199,102,46,.12); }

.section-pad { padding: 96px max(28px, calc((100vw - 1180px)/2)); }
.hero { min-height: 650px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; background: radial-gradient(circle at 83% 30%, rgba(240,196,141,.42), transparent 21%), linear-gradient(135deg, #faf8f4 20%, #f1ede7 100%); }
.hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -90px; top: 80px; border: 1px solid rgba(18,60,57,.1); border-radius: 50%; box-shadow: 0 0 0 58px rgba(18,60,57,.025), 0 0 0 116px rgba(18,60,57,.018); }
.eyebrow, .panel-label, .card-kicker { color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.hero h1 { max-width: 960px; margin: 18px 0 24px; font: 700 clamp(44px, 6vw, 78px)/1.06 "Manrope", sans-serif; letter-spacing: -.055em; position: relative; z-index: 1; }
.hero h1 span { color: var(--green); }
.hero-copy { max-width: 690px; margin: 0; color: #566461; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; text-decoration: none; font-weight: 700; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--navy); box-shadow: 0 8px 24px rgba(18,60,57,.16); }
.button-ghost { border-color: #b9c2bc; background: rgba(255,255,255,.45); }
.hero-note { margin-top: 26px; color: #6e7976; font-size: 12px; }
.lock-icon { color: var(--green); margin-right: 8px; font-size: 9px; }

.workflow { padding-top: 72px; padding-bottom: 74px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.section-heading h2, .workspace h2 { margin: 8px 0 0; font: 700 34px/1.18 "Manrope", sans-serif; letter-spacing: -.035em; }
.time-chip { padding: 9px 13px; border-radius: 99px; background: #f6e5d6; color: #704421; font-size: 11px; }
.stepper { display: flex; align-items: center; margin-top: 48px; }
.step { min-width: 150px; padding: 0; text-align: left; border: 0; background: transparent; cursor: pointer; }
.step > span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #b7c0ba; border-radius: 50%; color: #7b8683; font-size: 11px; margin-bottom: 14px; }
.step strong, .step small { display: block; }
.step strong { font: 700 14px "Manrope", sans-serif; }
.step small { color: #8a9491; margin-top: 3px; }
.step.active > span, .step:hover > span { color: white; background: var(--navy); border-color: var(--navy); }
.step-line { flex: 1; height: 1px; background: var(--line); margin: -38px 18px 0; }

.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; }
.comparison { background: #f3efe9; border-bottom: 1px solid var(--line); }
.comparison-heading { align-items: center; }
.comparison-heading p { max-width: 720px; margin: 8px 0 0; color: var(--muted); }
.live-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; color: #69401f; background: #f8e5d5; border-radius: 99px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.live-chip i { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(199,102,46,.12); }
.ai-pipeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; margin: 36px 0 22px; }
.ai-pipeline > div { display: flex; align-items: center; gap: 13px; padding: 14px 16px; background: rgba(255,255,255,.72); border: 1px solid #dedbd6; border-radius: 9px; }
.ai-pipeline > div > span { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 31px; color: white; background: var(--navy); border-radius: 50%; font-size: 9px; }
.ai-pipeline p { margin: 0; }
.ai-pipeline strong, .ai-pipeline small { display: block; }
.ai-pipeline strong { font: 700 12px "Manrope", sans-serif; }
.ai-pipeline small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.ai-pipeline > b { color: var(--green); font-size: 18px; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-column { min-height: 470px; padding: 26px; background: white; border: 1px solid #dedbd6; border-radius: 12px; box-shadow: var(--shadow); }
.compare-column-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 20px; }
.input-label { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.compare-column h3 { margin: 5px 0 0; font: 700 20px "Manrope", sans-serif; letter-spacing: -.025em; }
.text-button { padding: 5px 0; color: var(--green); background: transparent; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-size: 10px; font-weight: 700; }
.evidence-stack { display: grid; gap: 9px; }
.evidence-stack > div { padding: 15px 16px; background: #f6f5f2; border-left: 3px solid var(--navy); }
.evidence-stack b { color: var(--navy); font-size: 10px; letter-spacing: .03em; }
.evidence-stack p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
#course-claims { width: 100%; height: 285px; resize: vertical; padding: 17px; color: var(--ink); background: #fbfaf8; border: 1px solid #d8d5d0; border-radius: 7px; font: 500 12px/1.75 "DM Sans", sans-serif; outline: none; }
#course-claims:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(199,102,46,.1); }
.field-help { margin: 8px 0 15px; color: var(--muted); font-size: 9px; }
.compare-button { width: 100%; }
.comparison-results { margin-top: 18px; min-height: 118px; background: white; border: 1px solid #dedbd6; border-radius: 12px; overflow: hidden; transition: opacity .2s ease; }
.comparison-results.is-running { opacity: .45; }
.results-placeholder { min-height: 118px; display: flex; justify-content: center; align-items: center; gap: 14px; color: var(--muted); text-align: left; }
.results-placeholder > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--green); background: #f8e5d5; border-radius: 50%; }
.results-placeholder p { margin: 0; font-size: 11px; }
.results-placeholder strong { color: var(--ink); }
.results-summary { display: grid; grid-template-columns: repeat(4,1fr); background: #dedbd6; gap: 1px; border-bottom: 1px solid #dedbd6; }
.results-summary > div { padding: 17px 20px; background: #f9f8f5; }
.results-summary span, .results-summary small { display: block; }
.results-summary span { font: 700 24px "Manrope", sans-serif; }
.results-summary small { color: var(--muted); font-size: 9px; }
.results-summary .summary-supported span { color: var(--success); }
.results-summary .summary-review span { color: var(--review); }
.results-summary .summary-blocked span { color: var(--red); }
.live-result { display: grid; grid-template-columns: 34px 1fr 100px; gap: 15px; align-items: start; padding: 18px 20px; border-top: 1px solid #ece9e4; }
.live-result:first-child { border-top: 0; }
.result-index { color: #9a9fa8; font-size: 9px; }
.live-result blockquote { margin: 0; font: 600 12px/1.5 "Manrope", sans-serif; }
.live-result p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.result-status { text-align: right; }
.result-status b, .result-status small { display: block; }
.result-status b { font-size: 9px; letter-spacing: .08em; }
.result-status small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.live-result.supported { border-left: 3px solid var(--success); }
.live-result.supported .result-status b { color: var(--success); }
.live-result.review { border-left: 3px solid var(--review); background: #fffdf6; }
.live-result.review .result-status b { color: var(--review); }
.live-result.blocked { border-left: 3px solid var(--red); background: #fffafa; }
.live-result.blocked .result-status b { color: var(--red); }
.demo-disclosure { display: grid; grid-template-columns: 145px 1fr; gap: 18px; margin-top: 16px; padding: 16px 18px; color: #5d6470; background: #e8eaf0; border-left: 3px solid var(--navy); font-size: 10px; }
.demo-disclosure strong { color: var(--navy); }
.demo-disclosure p { margin: 0; }

.workspace { background: #f8f8f4; }
.panel-label { margin-bottom: 32px; }
.source-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; }
.source-card, .boundary-card, .claim-inspector { background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.source-card { padding: 18px; }
.pdf-cover { min-height: 420px; padding: 31px; display: flex; flex-direction: column; background: #f2f3ee; border: 1px solid #dde0d7; position: relative; overflow: hidden; }
.pdf-cover::after { content: "T2"; position: absolute; right: -9px; bottom: -54px; color: rgba(199,102,46,.08); font: 800 160px "Manrope", sans-serif; }
.pdf-tag { align-self: start; padding: 5px 8px; color: white; background: var(--green); font-size: 9px; letter-spacing: .12em; }
.austrac-word { margin-top: 35px; color: var(--navy); font-weight: 700; letter-spacing: .17em; font-size: 12px; }
.cover-rule { width: 50px; height: 3px; background: var(--orange); margin: 24px 0; }
.pdf-cover strong { max-width: 270px; font: 700 28px/1.16 "Manrope", sans-serif; letter-spacing: -.04em; }
.pdf-cover small { max-width: 260px; margin-top: 9px; color: var(--muted); font-size: 14px; }
.cover-date { margin-top: auto; font-size: 11px; }
.source-meta { display: flex; justify-content: space-between; align-items: center; padding: 17px 4px 2px; font-size: 11px; }
.source-meta a { color: var(--green); font-weight: 700; }
.pill { display: inline-flex; align-items: center; padding: 6px 9px; border-radius: 99px; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.pill-green { color: var(--navy); background: #e9edf5; }
.pill-mint { color: #69401f; background: var(--mint); }
.boundary-card { padding: 40px; }
.boundary-card h3, .claim-inspector h3 { margin: 10px 0 12px; font: 700 26px/1.22 "Manrope", sans-serif; letter-spacing: -.03em; }
.boundary-card > p { max-width: 620px; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 34px; background: var(--line); border: 1px solid var(--line); }
.topic-grid div { min-height: 116px; display: grid; grid-template-columns: 44px 1fr; align-content: center; padding: 20px; background: var(--white); }
.topic-grid span { grid-row: span 2; color: var(--green); font-size: 11px; }
.topic-grid strong { font: 700 14px "Manrope", sans-serif; }
.topic-grid small { color: var(--muted); }
.boundary-alert { display: flex; gap: 15px; align-items: start; margin-top: 26px; padding: 17px 18px; background: #fff7ec; border-left: 3px solid var(--orange); }
.boundary-alert > span { display: grid; place-items: center; width: 22px; height: 22px; color: white; background: var(--orange); border-radius: 50%; font-weight: 700; font-size: 12px; }
.boundary-alert p { margin: 0; color: #6c6256; font-size: 12px; }

.workspace-tint { background: #f2eee8; }
.impact-heading { align-items: center; }
.impact-heading p, .qa-heading p { margin: 7px 0 0; color: var(--muted); }
.run-stamp { padding: 12px 16px; background: rgba(255,255,255,.68); border: 1px solid #d6ddd8; color: var(--success); border-radius: 9px; font-size: 11px; }
.run-stamp span { margin-right: 5px; }
.run-stamp small { margin-left: 18px; color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 37px; background: #dedbd6; border: 1px solid #dedbd6; border-radius: 10px; overflow: hidden; }
.metric { padding: 20px 24px; background: rgba(255,255,255,.7); }
.metric span { display: block; font: 700 28px "Manrope", sans-serif; }
.metric small { color: var(--muted); }
.impact-table { margin-top: 17px; background: var(--white); border: 1px solid #dedbd6; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.impact-row { width: 100%; display: grid; grid-template-columns: .7fr 1.45fr 2.05fr 2.15fr .55fr; gap: 18px; align-items: center; padding: 17px 20px; border: 0; border-top: 1px solid #e7ebe6; text-align: left; background: white; cursor: pointer; }
.impact-row:not(.table-head):hover { background: #fff9f4; }
.impact-row span { min-width: 0; font-size: 12px; }
.impact-row strong, .impact-row small { display: block; }
.impact-row small { margin-top: 4px; color: #8a9491; font-size: 10px; }
.table-head { border-top: 0; background: #f5f3ef; color: #737b8d; cursor: default; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.priority { display: inline-block; min-width: 54px; padding: 5px 8px; text-align: center; border-radius: 5px; text-transform: uppercase; font-size: 9px; letter-spacing: .07em; }
.priority.high { color: #9b452d; background: #ffede3; }
.priority.medium { color: var(--review); background: #f8efcf; }
.priority.blocked { color: #a53c37; background: #f9dfdc; }
.evidence-link { color: var(--green); font-size: 11px; }
.flagged { background: #fffafa; }
.table-hint { color: #7b8985; text-align: right; font-size: 10px; }

.qa-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 30px; }
.qa-heading { align-items: center; }
.score-ring { width: 84px; height: 84px; flex: 0 0 84px; display: grid; place-content: center; text-align: center; border: 7px solid var(--success-soft); border-right-color: var(--success); border-radius: 50%; }
.score-ring strong { font: 700 22px "Manrope", sans-serif; }
.score-ring small { color: var(--muted); font-size: 9px; }
.qa-list { margin-top: 31px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qa-item { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 13px; padding: 16px 18px; background: white; border-top: 1px solid var(--line); }
.qa-item:first-child { border-top: 0; }
.qa-item > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 700; }
.qa-item p { margin: 0; }
.qa-item strong, .qa-item small { display: block; }
.qa-item small { color: var(--muted); font-size: 10px; }
.qa-item > b { font-size: 9px; letter-spacing: .09em; }
.qa-item.passed > span { color: var(--success); background: var(--success-soft); }
.qa-item.passed > b { color: var(--success); }
.qa-item.failed { background: #fff8f7; }
.qa-item.failed > span { color: var(--red); background: #f6dfdc; }
.qa-item.failed > b { color: var(--red); }
.claim-inspector { padding: 31px; border-color: #edc7c2; box-shadow: none; }
.claim-inspector h3 { font-size: 14px; }
.claim-inspector blockquote, dialog blockquote { margin: 10px 0; padding: 16px; background: #fff6f4; border-left: 3px solid var(--red); font: 600 14px/1.5 "Manrope", sans-serif; }
.claim-inspector .source-quote { background: #f3f5f8; border-color: var(--navy); }
.match-line { display: flex; align-items: center; gap: 9px; margin: 21px 0; color: var(--red); }
.match-line span { flex: 1; height: 1px; background: #e9d6d3; }
.match-line small { font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.citation { color: var(--muted); font-size: 10px; }
.decision-box { display: flex; gap: 11px; margin-top: 22px; padding: 14px; background: #f8e5e2; color: #84413b; font-size: 11px; }
.decision-box p { margin: 0; }

.workspace-dark { color: white; background: var(--navy); }
.panel-label.light { color: var(--mint); }
.publish-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: center; }
.publish-copy h2 { margin-top: 20px; font-size: 41px; }
.publish-copy > p { color: #c8cfdd; font-size: 16px; }
.feature-list { padding: 0; margin: 28px 0; list-style: none; }
.feature-list li { margin: 10px 0; color: #e4e7ee; }
.feature-list span { margin-right: 9px; color: var(--mint); }
.publish-actions { display: flex; gap: 11px; }
.button-light { color: var(--navy); background: white; }
.button-outline-light { color: white; border-color: rgba(255,255,255,.4); }
.course-preview { border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: #f7f8f3; box-shadow: 0 30px 80px rgba(0,0,0,.28); overflow: hidden; transform: rotate(1deg); }
.preview-chrome { height: 43px; display: flex; align-items: center; padding: 0 15px; background: #e7e9e4; }
.preview-chrome i { width: 7px; height: 7px; border-radius: 50%; background: #b5bab4; margin-right: 5px; }
.preview-chrome small { margin-left: 15px; color: #707a76; font-size: 9px; }
.preview-body { min-height: 450px; padding: 40px 56px; color: var(--ink); background: linear-gradient(145deg, #fff, #f5f0ea); }
.lesson-count { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.preview-body h3 { max-width: 440px; margin: 13px 0 7px; font: 700 29px/1.18 "Manrope", sans-serif; letter-spacing: -.04em; }
.preview-body > p { color: var(--muted); }
.role-card { display: flex; align-items: center; gap: 15px; margin-top: 10px; padding: 13px 15px; background: white; border: 1px solid #dfe5dd; border-radius: 8px; }
.role-card span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #f8e5d5; color: var(--green); font-size: 9px; }
.role-card p { margin: 0; font-size: 11px; }
.preview-progress { height: 3px; margin-top: 28px; background: #dde3dc; }
.preview-progress span { display: block; width: 67%; height: 100%; background: var(--green); }

.reflection { text-align: center; background: var(--lime); }
.reflection .eyebrow { color: #74451f; }
.reflection blockquote { max-width: 860px; margin: 20px auto 15px; font: 700 clamp(30px, 4vw, 48px)/1.2 "Manrope", sans-serif; letter-spacing: -.045em; }
.reflection p { color: #714e35; }
footer { min-height: 80px; display: flex; justify-content: space-between; align-items: center; padding: 0 max(28px, calc((100vw - 1180px)/2)); color: #77817d; background: var(--paper); font-size: 11px; }

dialog { width: min(610px, calc(100% - 36px)); padding: 35px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); box-shadow: 0 25px 90px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(12,31,29,.62); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; right: 15px; top: 10px; border: 0; background: none; font-size: 27px; cursor: pointer; }
dialog h2 { margin: 8px 0 0; font: 700 25px "Manrope", sans-serif; }
dialog blockquote { margin: 20px 0; background: #f3f5f8; border-color: var(--navy); }

.analysis-running .metric span, .analysis-running .impact-row:not(.table-head) { opacity: .25; }
.analysis-running .run-stamp { animation: pulse 1s infinite alternate; }
@keyframes pulse { to { background: white; box-shadow: 0 0 0 7px rgba(199,102,46,.09); } }

@media (max-width: 900px) {
  .section-pad { padding: 70px 24px; }
  .source-layout, .qa-layout, .publish-layout { grid-template-columns: 1fr; }
  .stepper { overflow-x: auto; padding-bottom: 12px; }
  .step-line { min-width: 35px; }
  .impact-table { overflow-x: auto; }
  .impact-row { min-width: 930px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .publish-layout { gap: 45px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .ai-pipeline { grid-template-columns: 1fr; }
  .ai-pipeline > b { display: none; }
}

@media (max-width: 620px) {
  .topbar-meta { display: none; }
  .hero { min-height: 620px; }
  .hero h1 { font-size: 43px; }
  .hero-actions, .publish-actions, .section-heading { align-items: stretch; flex-direction: column; }
  .time-chip { align-self: start; }
  .source-layout { display: block; }
  .boundary-card { margin-top: 20px; padding: 25px; }
  .topic-grid { grid-template-columns: 1fr; }
  .compare-column { min-height: auto; padding: 20px; }
  .results-summary { grid-template-columns: 1fr 1fr; }
  .live-result { grid-template-columns: 28px 1fr; }
  .result-status { grid-column: 2; text-align: left; }
  .demo-disclosure { grid-template-columns: 1fr; gap: 5px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .publish-copy h2 { font-size: 34px; }
  .preview-body { padding: 32px 24px; }
  footer { flex-direction: column; justify-content: center; gap: 5px; }
}
