:root {
  --navy: #10233f;
  --navy-soft: #304867;
  --muted: #6b7d94;
  --blue: #1265e7;
  --blue-strong: #084bb8;
  --cyan: #069bb8;
  --green: #08875c;
  --amber: #b76a0a;
  --red: #bd443b;
  --line: #d9e4f0;
  --line-soft: #e9f0f7;
  --page: #f4f8fd;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --shadow-lg: 0 28px 70px rgba(36, 67, 103, .13);
  --shadow-md: 0 14px 36px rgba(36, 67, 103, .09);
  --radius-xl: 30px;
  color-scheme: light;
  color: var(--navy);
  background: var(--page);
  font-family: "Avenir Next", Aptos, "Trebuchet MS", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden; background: linear-gradient(180deg, #f8fbff 0, #f3f7fc 52%, #fff 100%); }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.page-atmosphere { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.page-atmosphere span { position: absolute; border-radius: 999px; filter: blur(2px); }
.page-atmosphere span:nth-child(1) { top: -18rem; left: -8rem; width: 42rem; height: 42rem; background: radial-gradient(circle, rgba(29, 174, 204, .14), transparent 68%); }
.page-atmosphere span:nth-child(2) { top: 2rem; right: -14rem; width: 46rem; height: 46rem; background: radial-gradient(circle, rgba(35, 104, 221, .12), transparent 69%); }
.page-atmosphere span:nth-child(3) { top: 40rem; left: 34%; width: 28rem; height: 28rem; background: radial-gradient(circle, rgba(37, 199, 158, .07), transparent 68%); }

.site-header { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 68px; padding: 8px clamp(20px, 4.5vw, 76px); border-bottom: 1px solid rgba(207, 220, 235, .84); background: rgba(249, 252, 255, .9); backdrop-filter: blur(22px) saturate(145%); }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand-mark { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #c8daee; border-radius: 15px; background: linear-gradient(145deg, #fff, #eaf3fc); box-shadow: 0 8px 20px rgba(31, 83, 143, .12); }
.brand-mark img { width: 32px; height: 32px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 17px; font-weight: 800; letter-spacing: -.025em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.header-center { justify-self: center; }
.privacy-status, .secure-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d0e5db; border-radius: 999px; background: #f4fbf8; color: #2f6553; font-size: 11px; font-weight: 760; }
.privacy-status { padding: 9px 13px; }
.privacy-status i, .secure-chip i { width: 7px; height: 7px; border-radius: 50%; background: #13a46f; box-shadow: 0 0 0 5px rgba(19, 164, 111, .10); }
.site-header nav { display: flex; align-items: center; gap: 6px; justify-self: end; }
.nav-link, footer button { border: 0; background: transparent; cursor: pointer; }
.nav-link { padding: 10px 12px; color: #52667f; font-size: 13px; font-weight: 700; }
.nav-link:hover { color: var(--blue); }
.product-link, .primary-button, .product-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 13px; background: linear-gradient(135deg, #1670ef, #0b4dbd); color: #fff; box-shadow: 0 10px 24px rgba(18, 101, 231, .22); font-weight: 780; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.product-link { min-height: 42px; padding: 0 17px; font-size: 13px; }
.product-link:hover, .primary-button:hover, .product-cta a:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(18, 101, 231, .29); filter: saturate(1.08); }

main { width: min(1510px, calc(100% - 48px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(430px, .83fr); gap: clamp(46px, 6vw, 92px); align-items: center; min-height: 570px; padding: 44px clamp(6px, 3.6vw, 54px) 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(6, 155, 184, .10); }
.hero h1 { max-width: 830px; margin: 17px 0 18px; font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: clamp(44px, 4.65vw, 69px); line-height: 1.04; letter-spacing: -.045em; }
.hero h1 em, .product-cta h2 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 720px; margin: 0; color: #566c87; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; }

.confidence-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.confidence-list article { display: flex; align-items: flex-start; gap: 11px; min-width: 0; padding: 13px 12px; border: 1px solid rgba(214, 225, 237, .8); border-radius: 16px; background: rgba(255, 255, 255, .62); }
.confidence-list article > div { display: grid; min-width: 0; }
.confidence-list strong { color: #304965; font-size: 11px; }
.confidence-list small { margin-top: 3px; color: #7d8da1; font-size: 9.5px; line-height: 1.4; }
.line-icon { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border-radius: 11px; }
.line-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.line-icon.green { color: var(--green); background: #e8f7f1; }
.line-icon.blue { color: var(--blue); background: #eaf2ff; }
.line-icon.cyan { color: var(--cyan); background: #e7f8fb; }

.upload-shell { position: relative; width: 100%; max-width: 560px; justify-self: end; padding: 15px; border: 1px solid rgba(200, 216, 233, .88); border-radius: 28px; background: rgba(255, 255, 255, .87); box-shadow: var(--shadow-lg); backdrop-filter: blur(14px); }
.upload-heading { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; padding: 3px 4px 15px; }
.upload-heading > div { display: grid; }
.upload-heading strong { font-size: 13px; }
.upload-heading small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.step-number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 850; letter-spacing: .05em; }
.secure-chip { padding: 7px 10px; font-size: 9.5px; }
.upload-card { position: relative; display: grid; min-height: 292px; padding: 25px 28px 22px; place-items: center; align-content: center; overflow: hidden; border: 1.5px dashed #a8c4e3; border-radius: 21px; outline: 0; background: linear-gradient(155deg, #fbfdff 0%, #f0f6fd 100%); text-align: center; cursor: pointer; transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.upload-card::before { position: absolute; inset: 0; background: radial-gradient(circle at 50% -10%, rgba(30, 120, 237, .12), transparent 47%); content: ""; pointer-events: none; }
.upload-card:hover, .upload-card:focus-visible, .upload-card.is-dragging { border-color: var(--blue); background: linear-gradient(155deg, #fff, #eaf3ff); box-shadow: inset 0 0 0 3px rgba(18, 101, 231, .05); transform: translateY(-2px); }
.upload-card.is-processing { cursor: wait; }
.upload-visual { position: relative; width: 84px; height: 73px; margin-bottom: 7px; transform: scale(.91); }
.document-sheet { position: absolute; left: 10px; bottom: 6px; display: grid; gap: 6px; width: 61px; height: 72px; padding: 22px 14px 12px; border: 1px solid #bdd3eb; border-radius: 16px; background: #fff; box-shadow: 0 14px 28px rgba(46, 80, 119, .14); transform: rotate(-4deg); }
.document-sheet::before { position: absolute; top: -1px; right: -1px; width: 18px; height: 18px; border-bottom: 1px solid #bdd3eb; border-left: 1px solid #bdd3eb; border-radius: 0 15px 0 7px; background: #edf5ff; content: ""; }
.document-sheet i { height: 3px; border-radius: 99px; background: #d7e5f3; }
.document-sheet i:nth-child(2) { width: 78%; }
.upload-arrow { position: absolute; right: 3px; bottom: 3px; display: grid; width: 43px; height: 43px; place-items: center; border: 4px solid #f2f7fd; border-radius: 14px; background: linear-gradient(145deg, #1880ef, #0d55c4); color: #fff; box-shadow: 0 10px 20px rgba(18, 101, 231, .24); }
.upload-arrow svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.upload-card h2 { position: relative; margin: 4px 0 0; font-size: 20px; letter-spacing: -.035em; }
.upload-card > p { position: relative; margin: 6px 0 15px; color: var(--muted); font-size: 12px; }
.primary-button { position: relative; min-height: 49px; padding: 0 22px; }
.primary-button svg, .soft-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.primary-button.compact { min-height: 44px; padding: 0 17px; font-size: 12px; }
.primary-button:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.upload-card > small { position: relative; margin-top: 15px; color: #8494a9; font-size: 10px; font-weight: 650; }
.selected-file { position: relative; width: 100%; margin-top: 13px; padding: 9px 12px; overflow: hidden; border: 1px solid #cddff3; border-radius: 11px; background: #fff; color: #3a5676; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.upload-card.needs-consent { border-color: #e7b873; }
.authority-check { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; margin: 15px 5px 0; color: #53667e; font-size: 11.5px; line-height: 1.5; cursor: pointer; }
.authority-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check-control { display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid #afc3da; border-radius: 7px; background: #fff; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.check-control svg { width: 13px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.authority-check input:checked + .check-control { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 4px rgba(18, 101, 231, .10); }
.authority-check input:checked + .check-control svg { opacity: 1; }
.authority-check input:focus-visible + .check-control { box-shadow: 0 0 0 4px rgba(18, 101, 231, .14); }
.authority-check.is-required .check-control { border-color: #d38a29; box-shadow: 0 0 0 4px rgba(211, 138, 41, .10); }
.authority-check button { padding: 0; border: 0; background: transparent; color: var(--blue); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.privacy-note { display: flex; gap: 10px; align-items: center; margin: 11px 4px 1px; padding: 9px 11px; border-radius: 13px; background: #f0f9f5; color: #345e50; }
.privacy-note .line-icon { width: 31px; height: 31px; }
.privacy-note > div { display: grid; }
.privacy-note strong { font-size: 10.5px; }
.privacy-note small { margin-top: 2px; color: #6a837a; font-size: 9.5px; }

.how-it-works { display: grid; grid-template-columns: .7fr 1.3fr; gap: 54px; align-items: end; margin: 0 0 42px; padding: 22px clamp(20px, 4vw, 58px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.section-intro h2 { margin: 7px 0 0; font-family: "Iowan Old Style", Georgia, serif; font-size: 27px; letter-spacing: -.035em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps article { display: flex; gap: 11px; min-width: 0; padding: 8px 0; }
.steps article > span { color: #9eb0c3; font-size: 10px; font-weight: 850; }
.steps article > div { display: grid; }
.steps strong { font-size: 12px; }
.steps p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

.viewer-section { padding: 24px 0 58px; }
.viewer-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 19px; }
.viewer-identity { display: flex; gap: 15px; align-items: center; min-width: 0; }
.viewer-identity > div { min-width: 0; }
.package-emblem { display: grid; flex: 0 0 auto; width: 54px; height: 54px; place-items: center; border: 1px solid #c5daf1; border-radius: 17px; background: linear-gradient(145deg, #fff, #e9f3ff); color: var(--blue); box-shadow: var(--shadow-md); }
.package-emblem svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.viewer-heading h2 { max-width: 850px; margin: 8px 0 4px; overflow: hidden; font-size: clamp(27px, 2.8vw, 39px); letter-spacing: -.043em; text-overflow: ellipsis; white-space: nowrap; }
.viewer-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.viewer-actions { display: flex; gap: 9px; }
.soft-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #cadbed; border-radius: 13px; background: rgba(255,255,255,.9); color: #395570; font-size: 12px; font-weight: 750; cursor: pointer; }
.soft-button:hover { border-color: #93b9e6; background: #fff; color: var(--blue); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.metrics article { display: flex; align-items: center; gap: 11px; min-height: 72px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.88); box-shadow: 0 9px 24px rgba(36,67,103,.055); }
.metrics article > div { display: grid; min-width: 0; }
.metrics small { color: #7b8ba0; font-size: 9px; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.metrics strong { margin-top: 4px; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.metric-icon { display: grid; flex: 0 0 auto; width: 37px; height: 37px; place-items: center; border-radius: 12px; }
.metric-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.metric-icon.blue { color: var(--blue); background: #e9f1ff; }
.metric-icon.cyan { color: var(--cyan); background: #e4f7fb; }
.metric-icon.amber { color: var(--amber); background: #fff2dd; }
.metric-icon.green { color: var(--green); background: #e5f6ef; }

.workspace { display: grid; grid-template-columns: 286px minmax(440px, 1fr) 316px; min-height: 700px; overflow: hidden; border: 1px solid #cbdbea; border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-lg); }
.tree-panel, .preview-panel, .inspector-panel { min-width: 0; }
.tree-panel, .inspector-panel { background: var(--surface-soft); }
.tree-panel { border-right: 1px solid var(--line); }
.inspector-panel { border-left: 1px solid var(--line); }
.panel-title { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 13px 17px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.86); }
.panel-title > div { display: grid; min-width: 0; }
.panel-title span { font-size: 13px; font-weight: 820; }
.panel-title small { margin-top: 3px; overflow: hidden; color: #8190a3; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.panel-title > button { padding: 7px 9px; border: 1px solid #d1dfed; border-radius: 9px; background: #fff; color: #536980; font-size: 9px; font-weight: 780; cursor: pointer; }
.panel-title > button[aria-pressed="true"] { border-color: #a7c6ee; background: #eaf2ff; color: var(--blue); }
.tree { max-height: 632px; overflow: auto; padding: 11px; scrollbar-width: thin; scrollbar-color: #c5d5e7 transparent; }
.tree-group { margin-bottom: 8px; }
.tree-group-title { display: flex; align-items: center; justify-content: space-between; padding: 9px 8px 6px; color: #75869c; font-size: 9px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.tree-group-title span:last-child { color: #a0adbd; }
.tree-item { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; width: 100%; margin: 3px 0; padding: 9px; border: 1px solid transparent; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.tree-item:hover { background: #eef5fd; transform: translateX(2px); }
.tree-item.is-active { border-color: #b8d2f5; background: #eaf2ff; box-shadow: inset 3px 0 0 var(--blue); }
.file-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #e7eff8; color: #3e5f86; font-size: 9px; font-weight: 900; letter-spacing: -.02em; }
.file-icon.pdf { background: #ffe9e7; color: #bc4339; }
.file-icon.xml { background: #e6f6ef; color: #147c5a; }
.file-icon.sign { background: #fff0d8; color: #9d5d09; }
.file-icon.image { background: #e5f7fa; color: #057f96; }
.file-icon.office { background: #e9efff; color: #365bbd; }
.tree-item-text { display: grid; min-width: 0; }
.tree-item-text strong { overflow: hidden; color: #29435f; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tree-item-text small { margin-top: 3px; color: #8997a9; font-size: 9px; }

.preview-panel { display: flex; flex-direction: column; background: #edf2f7; }
.preview-title { background: rgba(255,255,255,.95); }
.page-tools { display: flex !important; align-items: center; gap: 6px; }
.page-tools[hidden] { display: none !important; }
.page-tools button { width: 30px; height: 30px; border: 1px solid #d0deec; border-radius: 8px; background: #fff; cursor: pointer; }
.page-tools button:disabled { opacity: .35; cursor: default; }
.page-tools span { min-width: 44px; color: #60728a; font-size: 10px; text-align: center; }
.preview-stage { display: grid; flex: 1; min-height: 632px; max-height: 780px; overflow: auto; padding: 24px; place-items: start center; background: linear-gradient(145deg, #f3f6fa, #e6edf4); scrollbar-width: thin; }
.empty-preview { align-self: center; max-width: 340px; color: #78899e; text-align: center; }
.preview-empty-icon { display: grid; width: 62px; height: 62px; margin: 0 auto 16px; place-items: center; border: 1px solid #d1dfed; border-radius: 19px; background: #fff; color: var(--blue); box-shadow: 0 12px 28px rgba(43,71,108,.10); }
.preview-empty-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.empty-preview strong { display: block; color: #425a75; font-size: 14px; }
.empty-preview p { margin: 8px 0 0; font-size: 11.5px; line-height: 1.55; }
.pdf-canvas { display: block; max-width: 100%; height: auto; border-radius: 2px; background: #fff; box-shadow: 0 18px 45px rgba(29,44,66,.20); }
.image-preview { max-width: 100%; max-height: 690px; border-radius: 8px; background: #fff; box-shadow: 0 18px 45px rgba(29,44,66,.17); object-fit: contain; }
.text-preview { width: min(100%, 900px); min-height: 100%; margin: 0; padding: 24px; overflow: auto; border: 1px solid #d9e4ef; border-radius: 10px; background: #fff; color: #263c55; box-shadow: 0 18px 45px rgba(29,44,66,.12); font: 11px/1.65 "SFMono-Regular", Consolas, monospace; white-space: pre-wrap; word-break: break-word; }
.file-message { align-self: center; width: min(100%, 470px); padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-md); text-align: center; }
.file-message .large-file-icon { display: grid; width: 62px; height: 62px; margin: 0 auto 16px; place-items: center; border-radius: 18px; background: #edf4fc; color: var(--blue); font-size: 15px; font-weight: 900; }
.file-message h3 { margin: 0; font-size: 17px; }
.file-message p { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.fingerprint { margin-top: 15px; padding: 11px; border-radius: 11px; background: #f3f7fb; color: #38526f; font: 10px/1.6 "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; }

.inspector-panel { max-height: 700px; overflow: auto; scrollbar-width: thin; }
.document-facts { display: grid; gap: 7px; padding: 13px; }
.fact { padding: 10px 11px; border: 1px solid #e0e8f1; border-radius: 12px; background: rgba(255,255,255,.88); }
.fact small { display: block; margin-bottom: 4px; color: #8492a4; font-size: 8.5px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.fact strong { display: block; color: #2b435e; font-size: 11px; line-height: 1.42; overflow-wrap: anywhere; }
.check-list { margin: 0 13px; padding: 12px 0; border-top: 1px solid var(--line); }
.check-item { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 9px; align-items: start; padding: 7px 0; }
.check-item > span { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 7px; background: #e5f6ef; color: var(--green); }
.check-item > span svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.check-item.is-warning > span { background: #fff0da; color: var(--amber); }
.check-item strong { display: block; color: #405772; font-size: 10.5px; }
.check-item small { display: block; margin-top: 2px; color: #8794a6; font-size: 9px; line-height: 1.4; }
.scope-note { display: flex; gap: 9px; margin: 0 13px 15px; padding: 12px; border-radius: 14px; background: #eaf3ff; color: #385877; }
.scope-note > div { min-width: 0; }
.scope-note strong { font-size: 10px; }
.scope-note p { margin: 4px 0 0; font-size: 9px; line-height: 1.5; }

.product-cta { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(38px, 6vw, 84px); align-items: center; margin: 0 0 48px; padding: clamp(34px, 4vw, 56px); overflow: hidden; border: 1px solid #c9dff4; border-radius: 31px; background: radial-gradient(circle at 100% 0, rgba(43, 144, 237, .16), transparent 34rem), linear-gradient(135deg, #f9fcff, #eaf4ff); box-shadow: var(--shadow-lg); }
.product-cta h2 { margin: 12px 0 14px; font-family: "Iowan Old Style", Georgia, serif; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.043em; }
.product-cta p { max-width: 620px; margin: 0; color: #5c718b; font-size: 14px; line-height: 1.65; }
.product-cta a { min-height: 50px; margin-top: 24px; padding: 0 21px; font-size: 12px; }
.product-window { overflow: hidden; border: 1px solid #bfd5eb; border-radius: 22px; background: #fff; box-shadow: 0 28px 55px rgba(36, 67, 103, .18); transform: perspective(900px) rotateY(-4deg) rotateX(2deg); }
.window-bar { display: flex; gap: 6px; align-items: center; height: 44px; padding: 0 14px; border-bottom: 1px solid #dce7f1; background: #f6f9fc; }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #b9cadb; }
.window-bar i:first-child { background: #40bd8a; }
.window-bar span { margin-left: 8px; color: #6e8095; font-size: 9px; font-weight: 700; }
.window-body { display: grid; grid-template-columns: 68px 1fr; min-height: 280px; }
.mini-sidebar { display: grid; align-content: start; gap: 12px; padding: 24px 18px; background: #123050; }
.mini-sidebar b { height: 6px; border-radius: 99px; background: rgba(255,255,255,.28); }
.mini-sidebar b:first-child { background: #6ee1ef; }
.mini-content { position: relative; padding: 28px; background: linear-gradient(145deg, #fbfdff, #eef5fc); }
.mini-content > span { display: block; width: 38%; height: 10px; margin-bottom: 9px; border-radius: 99px; background: #c3d5e7; }
.mini-content > span:nth-child(2) { width: 62%; height: 6px; background: #d8e4ef; }
.mini-content > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.mini-content > div i { height: 88px; border: 1px solid #d3e1ee; border-radius: 13px; background: #fff; box-shadow: 0 8px 18px rgba(36,67,103,.06); }
.mini-content strong { position: absolute; right: 26px; bottom: 23px; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: linear-gradient(145deg, #1877ed, #0b54c0); color: #fff; box-shadow: 0 12px 24px rgba(18,101,231,.25); }

footer { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; width: min(1510px, calc(100% - 48px)); margin: 0 auto; padding: 23px 0 34px; border-top: 1px solid var(--line); }
.footer-brand .brand-mark { width: 39px; height: 39px; border-radius: 12px; }
.footer-brand .brand-mark img { width: 27px; height: 27px; }
footer p { color: #7b899a; font-size: 10px; text-align: center; }
footer > div:last-child { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
footer a { padding: 8px; color: #48647f; font-size: 10px; font-weight: 700; }
footer a:hover { color: var(--blue); }
footer button { padding: 8px; color: #60738a; font-size: 10px; }
footer button:hover { color: var(--blue); }

.toast { position: fixed; z-index: 100; top: 88px; right: 22px; max-width: min(440px, calc(100vw - 30px)); padding: 13px 17px; border: 1px solid #bcd2e9; border-radius: 14px; background: #fff; color: #304c67; box-shadow: 0 18px 48px rgba(31,55,84,.19); font-size: 11.5px; font-weight: 700; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast.is-error { border-color: #efc0bb; color: #9d342d; }
.legal-dialog { position: relative; width: min(680px, calc(100vw - 30px)); max-height: min(760px, calc(100vh - 36px)); padding: 34px; overflow: auto; border: 1px solid #d5e2ef; border-radius: 23px; background: #fff; color: #344e69; box-shadow: 0 36px 100px rgba(15,35,65,.27); }
.legal-dialog::backdrop { background: rgba(22, 39, 61, .50); backdrop-filter: blur(7px); }
.legal-dialog form { position: absolute; top: 15px; right: 15px; }
.dialog-close { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #dbe5ef; border-radius: 11px; background: #f8fafc; cursor: pointer; font-size: 21px; }
.dialog-kicker { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.legal-dialog h2 { margin: 8px 0 17px; font-family: "Iowan Old Style", Georgia, serif; color: var(--navy); font-size: 30px; letter-spacing: -.035em; }
.legal-dialog p { margin: 11px 0; font-size: 12px; line-height: 1.72; }

@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-copy { animation: rise-in .55s ease both; }
.upload-shell { animation: rise-in .55s .10s ease both; }

@media (max-width: 1180px) {
  .header-center { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr minmax(390px, .86fr); gap: 46px; }
  .confidence-list { grid-template-columns: 1fr; gap: 8px; }
  .workspace { grid-template-columns: 260px minmax(400px, 1fr); }
  .inspector-panel { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr .8fr; max-height: none; border-top: 1px solid var(--line); border-left: 0; }
  .inspector-panel > .panel-title { grid-column: 1 / -1; }
  .document-facts { grid-template-columns: repeat(2, 1fr); }
  .check-list { border-top: 0; border-left: 1px solid var(--line); padding-left: 15px; }
  .scope-note { align-self: start; margin-top: 13px; }
}

@media (max-width: 900px) {
  .site-header { min-height: 64px; padding: 7px 17px; }
  .nav-link { display: none; }
  .product-link { min-height: 40px; padding: 0 13px; font-size: 11px; }
  main { width: min(100% - 28px, 760px); }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 42px 0 34px; }
  .hero h1 { font-size: clamp(47px, 11vw, 70px); }
  .confidence-list { grid-template-columns: repeat(3, 1fr); }
  .upload-shell { max-width: none; justify-self: stretch; }
  .how-it-works { grid-template-columns: 1fr; gap: 17px; margin-bottom: 34px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .workspace { grid-template-columns: 1fr; }
  .tree-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .tree { max-height: 300px; }
  .preview-stage { min-height: 530px; }
  .inspector-panel { grid-column: auto; grid-template-columns: 1fr; }
  .document-facts { grid-template-columns: repeat(2, 1fr); }
  .check-list { border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
  .product-cta { grid-template-columns: 1fr; }
  .product-window { transform: none; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 580px) {
  .brand-copy small { display: none; }
  .brand-mark { width: 41px; height: 41px; }
  .product-link span { display: none; }
  .hero { gap: 28px; padding-top: 31px; }
  .hero h1 { margin-top: 14px; font-size: 40px; }
  .hero-lead { font-size: 16px; }
  .confidence-list { grid-template-columns: 1fr; }
  .confidence-list small { font-size: 10px; }
  .upload-shell { padding: 12px; border-radius: 25px; }
  .upload-heading { grid-template-columns: auto 1fr; }
  .secure-chip { display: none; }
  .upload-card { min-height: 270px; padding: 21px 18px 19px; border-radius: 20px; }
  .upload-card h2 { font-size: 19px; }
  .how-it-works { padding: 21px 8px; }
  .steps { grid-template-columns: 1fr; gap: 2px; }
  .viewer-heading { align-items: stretch; flex-direction: column; }
  .viewer-identity { align-items: flex-start; }
  .viewer-heading h2 { white-space: normal; }
  .viewer-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .metrics { gap: 7px; }
  .metrics article { min-height: 67px; padding: 10px; }
  .metric-icon { width: 32px; height: 32px; }
  .metrics strong { font-size: 12px; }
  .workspace { border-radius: 20px; }
  .preview-stage { min-height: 420px; padding: 13px; }
  .document-facts { grid-template-columns: 1fr; }
  .product-cta { padding: 29px 21px; border-radius: 25px; }
  .product-cta h2 { font-size: 35px; }
  .window-body { min-height: 220px; }
  .mini-content > div i { height: 64px; }
  footer > div:last-child { flex-wrap: wrap; justify-content: center; }
  .legal-dialog { padding: 30px 21px 23px; border-radius: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
