:root {
  --red: #d71920;
  --red-dark: #aa1016;
  --red-soft: #fff0f1;
  --ink: #16181d;
  --muted: #686d77;
  --line: #e2e4e9;
  --surface: #ffffff;
  --background: #f5f6f8;
  --dark: #15171c;
  --success: #168557;
  font-family: Inter, "Noto Sans Thai", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; background: var(--background); color: var(--ink); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }

.topbar {
  height: 76px; padding: 0 max(26px, calc((100vw - 1480px) / 2)); display: flex; align-items: center;
  gap: 28px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-symbol { width: 42px; height: 42px; display: grid; place-items: center; background: var(--red); color: white; border-radius: 11px; font-size: 22px; font-weight: 900; font-style: italic; box-shadow: 0 8px 18px rgba(215,25,32,.2); }
.brand small { display: block; color: #777b83; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.brand strong { display: block; margin-top: 2px; font-size: 18px; }
nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
nav a { color: #555a64; font-size: 13px; font-weight: 700; transition: color .2s; }
nav a:hover { color: var(--red); }
.offline-badge { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #cde9dc; color: #147448; background: #f2fbf7; border-radius: 999px; padding: 7px 11px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.offline-badge i { width: 6px; height: 6px; border-radius: 50%; background: #20a66b; box-shadow: 0 0 0 4px rgba(32,166,107,.12); }

main { overflow: hidden; }
.hero {
  min-height: 570px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px;
  max-width: 1480px; margin: 0 auto; padding: 70px 38px 64px; position: relative;
}
.hero::before { content: ""; position: absolute; width: 660px; height: 660px; right: -250px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(215,25,32,.10), rgba(215,25,32,0) 66%); pointer-events: none; }
.kicker { margin: 0; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .17em; }
.hero h1 { margin: 14px 0 20px; font-size: clamp(40px, 4.8vw, 70px); letter-spacing: -.055em; line-height: 1.04; }
.hero h1 span { color: var(--red); }
.hero-lead { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.78; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 21px; border-radius: 10px; color: white; background: var(--red); font-size: 13px; font-weight: 800; box-shadow: 0 12px 24px rgba(215,25,32,.22); transition: transform .2s, background .2s; }
.primary-button:hover { transform: translateY(-2px); background: var(--red-dark); }
.trust-note { color: var(--muted); font-size: 12px; }
.trust-note b { color: var(--ink); }

.hero-visual { min-height: 390px; display: flex; align-items: center; justify-content: center; position: relative; }
.document-card { width: 280px; height: 330px; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 28px 64px rgba(30,34,44,.14); position: relative; }
.source-card { transform: rotate(-5deg) translateX(14px); z-index: 1; }
.data-card { transform: rotate(4deg) translateX(-10px); z-index: 3; }
.mini-window { display: flex; gap: 5px; padding-bottom: 10px; border-bottom: 1px solid #eceef1; }
.mini-window i { width: 6px; height: 6px; border-radius: 50%; background: #d9dbe0; }
.doc-label { display: block; margin: 12px 0 9px; color: #7c8089; font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.diagram-placeholder { height: 160px; background: #fafafa; border: 1px solid #eceef1; position: relative; overflow: hidden; }
.diagram-placeholder span { position: absolute; font-size: 8px; font-weight: 800; }
.diagram-placeholder span:nth-child(1) { left: 22px; top: 28px; }.diagram-placeholder span:nth-child(2) { right: 28px; top: 35px; }.diagram-placeholder span:nth-child(3) { left: 82px; bottom: 25px; }.diagram-placeholder span:nth-child(4) { right: 60px; bottom: 20px; }
.machine-shape { position: absolute; border: 2px solid #6e727a; border-radius: 42% 58% 45% 55%; transform: rotate(-18deg); }
.machine-shape.one { width: 88px; height: 74px; left: 43px; top: 43px; }.machine-shape.two { width: 75px; height: 90px; right: 38px; top: 39px; transform: rotate(23deg); }
.fake-lines { display: grid; gap: 9px; margin-top: 16px; }.fake-lines i { display: block; height: 5px; background: #e5e7ea; border-radius: 5px; }.fake-lines i:nth-child(2) { width: 78%; }.fake-lines i:nth-child(3) { width: 92%; }.fake-lines i:nth-child(4) { width: 60%; }
.flow-pulse { width: 54px; height: 54px; display: grid; place-items: center; z-index: 4; flex: 0 0 auto; color: white; background: var(--red); border: 6px solid var(--background); border-radius: 50%; font-size: 24px; font-weight: 900; box-shadow: 0 8px 22px rgba(215,25,32,.26); }
.data-row { display: grid; grid-template-columns: 35px 1fr 30px; gap: 5px; padding: 12px 4px; border-bottom: 1px solid #eceef1; align-items: center; font-size: 9px; }
.data-row:first-of-type { padding-top: 5px; color: #777b83; font-size: 7px; letter-spacing: .08em; }
.data-row code { color: var(--red-dark); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; }
.success-chip { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 10px; color: var(--success); background: #effaf5; border: 1px solid #cbe9dc; border-radius: 8px; text-align: center; font-size: 9px; font-weight: 800; }

.value-strip { max-width: 1404px; margin: 0 auto 70px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--dark); border-radius: 16px; color: white; overflow: hidden; }
.value-strip article { min-height: 96px; padding: 22px 26px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #303238; }
.value-strip article:last-child { border-right: 0; }.value-strip strong { font-size: 21px; }.value-strip span { margin-top: 5px; color: #9da2ad; font-size: 11px; }

.demo-section, .approach-section { max-width: 1480px; margin: 0 auto; padding: 48px 38px 90px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 24px; }
.section-intro h2 { margin: 7px 0 0; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.035em; }
.section-intro > p { max-width: 540px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.upload-stage { margin-bottom: 14px; padding: 9px; background: white; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 14px 40px rgba(24,28,36,.06); }
.upload-dropzone { min-height: 164px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 28px 32px; border: 1.5px dashed #c8cbd2; border-radius: 12px; background: linear-gradient(135deg, #fff, #fafbfc); transition: border-color .2s, background .2s, transform .2s; }
.upload-dropzone.dragging { border-color: var(--red); background: var(--red-soft); transform: scale(.997); }
.upload-icon { width: 68px; height: 78px; display: grid; place-items: end center; padding-bottom: 13px; position: relative; color: white; background: var(--red); border-radius: 8px 18px 8px 8px; font-size: 11px; font-weight: 900; letter-spacing: .08em; box-shadow: 0 12px 24px rgba(215,25,32,.22); }
.upload-icon::after { content: ""; width: 20px; height: 20px; position: absolute; right: 0; top: 0; background: #ff8589; clip-path: polygon(0 0,100% 100%,0 100%); }
.upload-copy small { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .14em; }.upload-copy h3 { margin: 6px 0 7px; font-size: 23px; }.upload-copy p { margin: 0; color: var(--muted); font-size: 11px; }.upload-copy code { color: var(--red-dark); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.choose-file-button { height: 48px; display: flex; align-items: center; gap: 17px; padding: 0 18px; border: 0; border-radius: 10px; color: white; background: var(--red); font-size: 12px; font-weight: 900; box-shadow: 0 12px 24px rgba(215,25,32,.2); }.choose-file-button i { font-size: 17px; font-style: normal; }.choose-file-button:hover { background: var(--red-dark); transform: translateY(-1px); }
.upload-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; padding: 10px 12px 3px; color: #48705e; font-size: 9px; font-weight: 800; }
.upload-stage.has-file { padding: 5px; box-shadow: none; }.upload-stage.has-file .upload-dropzone { min-height: 74px; padding: 12px 16px; grid-template-columns: auto 1fr auto; }.upload-stage.has-file .upload-icon { width: 40px; height: 44px; padding-bottom: 7px; border-radius: 6px 11px 6px 6px; font-size: 7px; }.upload-stage.has-file .upload-copy h3 { margin: 3px 0 0; font-size: 14px; }.upload-stage.has-file .upload-copy p, .upload-stage.has-file .upload-trust { display: none; }.upload-stage.has-file .choose-file-button { height: 38px; }
.selected-file-bar { min-height: 59px; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 12px; padding: 9px 13px; background: #1a1c21; color: white; border-radius: 13px; }
.selected-file-bar > div:first-child { min-width: 0; display: flex; align-items: center; gap: 10px; }.selected-file-bar small { display: block; color: #9297a2; font-size: 7px; font-weight: 900; letter-spacing: .14em; }.selected-file-bar strong { display: block; overflow: hidden; margin-top: 3px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.file-status-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #30c17c; box-shadow: 0 0 0 5px rgba(48,193,124,.13); }
.selected-file-bar .control-meta span { background: #292c33; color: #ccd0d7; }.selected-file-bar > button { height: 35px; padding: 0 12px; border: 1px solid #424650; border-radius: 8px; color: #eef0f3; background: #272a31; font-size: 9px; font-weight: 800; }
.demo-controls { display: grid; grid-template-columns: auto minmax(340px, 1fr) auto auto; align-items: center; gap: 12px; padding: 13px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 35px rgba(24,28,36,.05); }
.demo-controls label { padding-left: 4px; color: #70757e; font-size: 11px; font-weight: 800; }
.demo-controls select { height: 43px; padding: 0 38px 0 12px; border: 1px solid #cfd2d8; border-radius: 9px; background: white; color: var(--ink); font-weight: 700; }
.control-meta { display: flex; align-items: center; gap: 8px; }.control-meta span { padding: 7px 9px; border-radius: 7px; background: #f3f4f6; color: #666b75; font-size: 10px; font-weight: 700; }
#runDemo { height: 43px; display: flex; align-items: center; gap: 16px; padding: 0 17px; border: 0; border-radius: 9px; background: var(--red); color: white; font-size: 12px; font-weight: 800; }
#runDemo i { font-style: normal; font-size: 17px; transition: transform .2s; }#runDemo:hover i { transform: translateX(3px); }#runDemo.running { opacity: .65; cursor: wait; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 13px 0; }
.metric-grid article { min-height: 86px; padding: 14px 17px; background: white; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 3px 12px; }
.metric-grid small { color: #777c86; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }.metric-grid strong { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 22px; }.metric-grid span { color: #9a9ea7; font-size: 10px; }
.demo-workspace { min-height: 670px; display: grid; grid-template-columns: minmax(390px, .88fr) minmax(690px, 1.42fr); gap: 13px; }
.demo-workspace.refreshing { animation: workspacePulse .45s ease-out; }@keyframes workspacePulse { 0% { opacity: .45; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }
.panel { background: white; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; box-shadow: 0 12px 38px rgba(24,28,36,.05); }
.panel-header { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 15px; border-bottom: 1px solid var(--line); }
.panel-header > div { display: flex; align-items: center; gap: 10px; }.panel-header small { display: block; color: #8a8f98; font-size: 8px; font-weight: 900; letter-spacing: .12em; }.panel-header h3 { margin: 3px 0 0; font-size: 15px; }
.panel-step { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #202329; color: white; font-size: 11px; font-weight: 900; }.panel-step.red { background: var(--red); }
.subtle-link { padding: 7px 9px; border-radius: 7px; color: #696e77; background: #f4f5f7; font-size: 10px; font-weight: 700; }.subtle-link:hover { color: var(--red); }
.pdf-header-actions { display: flex !important; align-items: center; gap: 8px !important; }.pdf-header-actions > span { max-width: 145px; overflow: hidden; color: #8a8f98; font-size: 8px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.pdf-canvas-shell { width: 100%; height: 558px; position: relative; overflow: auto; background: #d9dce1; scroll-behavior: smooth; }
.pdf-canvas-stage { min-width: 100%; min-height: 100%; width: max-content; position: relative; display: grid; place-items: start center; padding: 12px; }
#pdfCanvas { display: block; background: white; box-shadow: 0 8px 24px rgba(20,23,29,.16); }
.pdf-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #747983; background: #e5e7ea; font-size: 10px; font-weight: 800; }.pdf-loading.error { padding: 30px; color: #9b1c21; text-align: center; }
.evidence-highlight { position: absolute; z-index: 4; min-width: 24px; min-height: 20px; border: 3px solid var(--red); border-radius: 4px; background: rgba(255,224,63,.28); box-shadow: 0 0 0 4px rgba(215,25,32,.16), 0 8px 24px rgba(215,25,32,.28); pointer-events: none; animation: evidencePulse 1.15s ease-out 2; }.evidence-highlight span { position: absolute; left: -3px; bottom: calc(100% + 6px); padding: 5px 7px; border-radius: 5px; color: white; background: var(--red); font-size: 7px; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
@keyframes evidencePulse { 0%,100% { transform: scale(1); } 45% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(215,25,32,.08), 0 8px 24px rgba(215,25,32,.3); } }
.pdf-navigation { height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; border-top: 1px solid var(--line); background: white; }.pdf-navigation button { min-width: 32px; height: 28px; padding: 0 9px; border: 1px solid #d7d9de; border-radius: 7px; color: #555a64; background: white; font-size: 8px; font-weight: 900; }.pdf-navigation button:disabled { opacity: .35; cursor: default; }.pdf-navigation span { min-width: 90px; color: #717680; font-size: 8px; font-weight: 900; text-align: center; }
.result-header { align-items: center; }.search-box { width: min(330px, 48%); height: 37px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #f7f8f9; border: 1px solid #e0e2e6; border-radius: 8px; }.search-box span { color: #818690; font-size: 18px; }.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11px; }
.json-button { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid #d8dae0; border-radius: 8px; color: #343840; background: white; font-size: 9px; font-weight: 900; }.json-button span { color: var(--red); font: 900 11px ui-monospace, SFMono-Regular, Menlo, monospace; }.json-button:hover { border-color: var(--red); color: var(--red); }
.table-toolbar { min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 13px; border-bottom: 1px solid var(--line); }.table-toolbar p { margin: 0; color: #7a7f88; font-size: 9px; }.table-toolbar code { color: var(--red-dark); background: var(--red-soft); padding: 2px 4px; border-radius: 3px; }.table-toolbar > div { display: flex; align-items: center; gap: 10px; }.table-toolbar button { padding: 5px 8px; border: 1px solid #dedfe3; border-radius: 6px; color: #6c717a; background: white; font-size: 8px; font-weight: 800; }.table-toolbar span { color: #979ba3; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.tabs { height: 47px; display: flex; align-items: end; gap: 2px; padding: 0 13px; border-bottom: 1px solid var(--line); }.tab { height: 38px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #757a84; font-size: 11px; font-weight: 800; }.tab.active { color: var(--red); border-bottom-color: var(--red); }.tabs > span { margin: 0 0 12px auto; color: #979ba3; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.table-scroller { height: 510px; overflow: auto; }table { width: 100%; border-collapse: collapse; font-size: 11px; }th { position: sticky; top: 0; z-index: 3; padding: 10px; background: #f7f8f9; border-bottom: 1px solid var(--line); color: #686d77; font-size: 8px; text-align: left; text-transform: uppercase; letter-spacing: .07em; }.column-search-row th { top: 31px; z-index: 2; padding: 6px; background: #f0f2f4; }.column-filter { width: 100%; min-width: 65px; height: 28px; padding: 0 7px; border: 1px solid #d4d7dc; border-radius: 6px; outline: 0; background: white; color: #333740; font-size: 8px; }.column-filter:focus { border-color: var(--red); box-shadow: 0 0 0 2px rgba(215,25,32,.08); }.column-filter::placeholder { color: #a2a6ae; }td { padding: 10px; border-bottom: 1px solid #eceef1; vertical-align: top; line-height: 1.45; }tbody tr:hover td { background: #fffafa; }tbody tr.evidence-selected td { background: #fff4f4; }tbody tr.evidence-selected td:first-child { box-shadow: inset 3px 0 0 var(--red); }td code { color: var(--red-dark); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 900; white-space: nowrap; }td em { display: block; margin-top: 3px; color: #a26a00; font-size: 7px; font-style: normal; font-weight: 900; text-transform: uppercase; }.description-cell { min-width: 190px; }.description-cell strong, .description-cell small { display: block; }.description-cell strong { font-weight: 600; }.description-cell small { margin-top: 3px; color: #7e838d; font-size: 9px; }.qty-cell { white-space: nowrap; }.applicability-cell { max-width: 210px; color: #5f646e; font-size: 9px; }.evidence-chip { display: inline-block; padding: 5px 7px; border: 1px solid #d7d9de; background: #f2f3f5; border-radius: 6px; color: #626771; font-size: 8px; font-weight: 800; white-space: nowrap; text-align: left; }.evidence-chip:hover, .evidence-chip:focus { border-color: var(--red); color: var(--red); background: var(--red-soft); outline: 0; }.evidence-chip small { display: block; margin-top: 2px; color: #999da5; }.empty-state { height: 150px; color: #8a8f98; text-align: center; vertical-align: middle; }.pagination { height: 44px; display: flex; align-items: center; justify-content: center; gap: 12px; border-top: 1px solid var(--line); }.pagination button { min-width: 82px; height: 28px; border: 1px solid #d9dbe0; border-radius: 7px; color: #555a64; background: white; font-size: 8px; font-weight: 900; }.pagination button:disabled { opacity: .35; cursor: default; }.pagination span { min-width: 110px; color: #7f848d; font-size: 8px; font-weight: 800; text-align: center; }.metric-loading strong { color: var(--red); letter-spacing: .12em; animation: loadingPulse 1s infinite; }@keyframes loadingPulse { 50% { opacity: .3; } }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }.modal-backdrop { position: absolute; inset: 0; background: rgba(9,10,13,.72); backdrop-filter: blur(7px); }.modal-card { width: min(980px, 96vw); height: min(760px, 88vh); display: grid; grid-template-rows: auto auto 1fr; position: relative; overflow: hidden; background: #17191e; border: 1px solid #393d46; border-radius: 16px; box-shadow: 0 30px 90px rgba(0,0,0,.4); }.modal-card header { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 13px 17px; color: white; border-bottom: 1px solid #33363e; }.modal-card header small { color: #e2666a; font-size: 8px; font-weight: 900; letter-spacing: .14em; }.modal-card h2 { margin: 4px 0 0; font-size: 18px; }.modal-card header button { width: 36px; height: 36px; border: 1px solid #444851; border-radius: 8px; color: #c8cbd1; background: #262930; font-size: 21px; }.modal-actions { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 8px 17px; color: #858b96; border-bottom: 1px solid #2e3138; font-size: 9px; }.modal-actions button { padding: 7px 10px; border: 1px solid #a71a20; border-radius: 7px; color: #ffbdc0; background: #42191c; font-size: 9px; font-weight: 900; }.modal-card pre { margin: 0; padding: 18px; overflow: auto; color: #d9e0ea; font: 10px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; tab-size: 2; }
.parser-notes { margin-top: 12px; padding: 13px 16px; background: #fff9e9; border: 1px solid #edd58b; border-radius: 10px; color: #67510f; font-size: 11px; }.parser-notes ul { margin: 6px 0 0; padding-left: 18px; }

.coverage-section { padding: 80px max(38px, calc((100vw - 1404px) / 2)) 88px; background: var(--dark); color: white; }.section-intro.light > p { color: #9da2ac; }.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }.coverage-grid article { min-height: 260px; padding: 24px; background: #1d2026; border: 1px solid #30333a; border-radius: 14px; position: relative; overflow: hidden; }.coverage-grid article::after { content: ""; position: absolute; width: 120px; height: 120px; right: -45px; top: -45px; border-radius: 50%; background: rgba(215,25,32,.08); }.coverage-grid article > span { display: inline-grid; min-width: 46px; height: 46px; padding: 0 10px; place-items: center; background: var(--red); border-radius: 10px; font-size: 12px; font-weight: 900; }.coverage-grid h3 { margin: 34px 0 9px; font-size: 20px; }.coverage-grid p { margin: 0; color: #aeb2bb; font-size: 12px; line-height: 1.7; }.coverage-grid b { position: absolute; left: 24px; bottom: 22px; color: #f5a1a4; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; }.process-grid article { min-height: 200px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 13px; }.process-grid article > span { width: 30px; height: 30px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); border-radius: 8px; font-size: 11px; font-weight: 900; }.process-grid h3 { margin: 30px 0 8px; font-size: 17px; }.process-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.closing-card { margin-top: 14px; padding: 32px 35px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: linear-gradient(135deg, var(--red), #b30e14); color: white; border-radius: 16px; box-shadow: 0 18px 35px rgba(215,25,32,.18); }.closing-card small { font-size: 9px; font-weight: 900; letter-spacing: .15em; opacity: .75; }.closing-card h2 { margin: 6px 0 6px; font-size: 26px; }.closing-card p { margin: 0; color: #ffdadd; font-size: 12px; }.closing-card a { flex: 0 0 auto; padding: 11px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; font-size: 11px; font-weight: 800; }

footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px max(38px, calc((100vw - 1404px) / 2)); background: white; border-top: 1px solid var(--line); }.footer-brand .brand-symbol { width: 34px; height: 34px; font-size: 18px; border-radius: 9px; }.footer-brand strong { font-size: 14px; }footer p { color: #8b9099; font-size: 10px; }

@media (max-width: 1150px) {
  .hero { gap: 25px; }.document-card { width: 230px; height: 305px; }.demo-workspace { grid-template-columns: 1fr; }.pdf-panel { min-height: 670px; }.coverage-grid { grid-template-columns: repeat(2, 1fr); }.process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .topbar { padding: 0 16px; }.topbar nav { display: none; }.offline-badge { margin-left: auto; }.hero { grid-template-columns: 1fr; padding: 55px 22px; }.hero-visual { min-height: 350px; }.value-strip { margin: 0 14px 55px; grid-template-columns: repeat(2, 1fr); }.value-strip article:nth-child(2) { border-right: 0; }.demo-section, .approach-section { padding-left: 16px; padding-right: 16px; }.section-intro { display: block; }.section-intro > p { margin-top: 12px; }.upload-dropzone { grid-template-columns: auto 1fr; padding: 22px; }.upload-dropzone .choose-file-button { grid-column: 1 / -1; justify-content: center; }.upload-stage.has-file .upload-dropzone { grid-template-columns: auto 1fr auto; }.upload-stage.has-file .choose-file-button { grid-column: auto; }.selected-file-bar { grid-template-columns: 1fr auto; }.selected-file-bar .control-meta { display: none; }.demo-controls { grid-template-columns: 1fr; }.demo-controls label { padding: 0; }.control-meta { flex-wrap: wrap; }.metric-grid { grid-template-columns: repeat(2, 1fr); }.coverage-section { padding-left: 16px; padding-right: 16px; }.process-grid { grid-template-columns: repeat(2, 1fr); }.closing-card { align-items: flex-start; flex-direction: column; }footer { padding: 24px 16px; }
}
@media (max-width: 520px) {
  .brand small { display: none; }.offline-badge { font-size: 8px; }.hero h1 { font-size: 38px; }.hero-visual { transform: scale(.78); margin: -30px -80px; }.document-card { width: 220px; }.value-strip { grid-template-columns: 1fr; }.value-strip article { border-right: 0; border-bottom: 1px solid #303238; }.coverage-grid, .process-grid, .metric-grid { grid-template-columns: 1fr; }.upload-dropzone, .upload-stage.has-file .upload-dropzone { grid-template-columns: 1fr; text-align: center; }.upload-icon { margin: 0 auto; }.upload-stage.has-file .choose-file-button { grid-column: 1; }.selected-file-bar { grid-template-columns: 1fr; }.selected-file-bar > button { width: 100%; }.result-header { height: auto; align-items: flex-start; flex-direction: column; padding: 12px; }.json-button { width: 100%; justify-content: center; }.table-toolbar { align-items: flex-start; flex-direction: column; }.search-box { width: 100%; }.panel-header { min-height: 68px; }.table-scroller { overflow-x: auto; }table { min-width: 820px; }.modal { padding: 9px; }.modal-card { width: 100%; height: 94vh; }footer { align-items: flex-start; flex-direction: column; }
}
