Image rights / copyright detection system: SQLite store, HTTP app, search integrations (Naver, Google Custom Search, Google Cloud Vision web detection), image analysis (fingerprints, face/person detection, evidence enrichment, risk scoring), an admin/review layer, governance and retention policies, batch jobs, and a browser-based operator GUI. This baseline incorporates a full code-review remediation pass (46 fixes; 358 tests passing). Highlights: CRITICAL - Prevent evidence cascade-delete during the schema-constraint migration by disabling FK enforcement around the table rebuild. Security - Sandbox served media (neutralize stored XSS from uploaded/collected SVGs) via CSP + nosniff on the untrusted media routes. - Strip embedded EXIF/GPS from external image derivatives before they are sent to third-party APIs. - Return a clean 404 (not an uncaught StopIteration) for PATCH on an unknown provider. Correctness - LLM-summary failures no longer add +30 to the risk score. - Decode only explicit JS escapes so Korean image URLs are not mangled. - Consume search quota only after a successful request. - Naver/Google adapters map responses inside the failure boundary, so a malformed response degrades to evidence instead of crashing enrichment. - Domain-aware provider attribution; face-box IoU de-duplication; count searches (not result items); per-box crop isolation; clamp evidence confidence and Google CSE num; real submittedEpoch; and more. Robustness - Offline LLM connect fast-fails (short connect timeout) so seed/reload requests are not stalled; full read timeout preserved for generation. - Malformed numeric env vars fall back to defaults instead of crashing startup. Performance - Per-submission evidence reads (no full-table scan per rescore), audit-log LIMIT, lazy active-store lookup, hoisted timestamps. Tests - ~24 regression tests added pinning the above fixes. Runtime data (data/, outputs/, *.sqlite3, *.log), secrets (.env), and node_modules are gitignored.
576 lines
9 KiB
CSS
576 lines
9 KiB
CSS
:root {
|
|
--paper: #f4f1ea;
|
|
--paper-soft: #fbfaf6;
|
|
--ink: #172124;
|
|
--muted: #4a5558;
|
|
--line: #cfc6b7;
|
|
--line-strong: #8b806f;
|
|
--teal: #2f6272;
|
|
--teal-dark: #234a56;
|
|
--gold: #d6a33a;
|
|
--gold-soft: #fff7df;
|
|
--green: #2f6d50;
|
|
--green-soft: #ecf8f0;
|
|
--red: #a63f35;
|
|
--red-soft: #fff0ed;
|
|
--dark: #26343a;
|
|
--white: #ffffff;
|
|
--shadow: 0 22px 60px rgba(35, 42, 39, 0.15);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--paper);
|
|
color: var(--ink);
|
|
font-family: "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
|
|
letter-spacing: 0;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
.site-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
display: grid;
|
|
grid-template-columns: minmax(210px, 1fr) auto auto;
|
|
align-items: center;
|
|
gap: 24px;
|
|
min-height: 72px;
|
|
padding: 12px 34px;
|
|
background: rgba(244, 241, 234, 0.94);
|
|
border-bottom: 1px solid var(--line);
|
|
backdrop-filter: blur(16px);
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.brand-mark {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 8px;
|
|
background: var(--gold);
|
|
color: #182225;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.brand strong,
|
|
.brand small {
|
|
display: block;
|
|
}
|
|
|
|
.brand strong {
|
|
font-size: 17px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.brand small {
|
|
margin-top: 3px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.top-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.top-nav a,
|
|
.console-link,
|
|
.primary-action,
|
|
.secondary-action {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.top-nav a {
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.top-nav a:hover {
|
|
color: var(--ink);
|
|
}
|
|
|
|
.console-link,
|
|
.primary-action,
|
|
.secondary-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 40px;
|
|
padding: 0 16px;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.console-link,
|
|
.primary-action {
|
|
border: 1px solid var(--teal-dark);
|
|
background: var(--teal);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.secondary-action {
|
|
border: 1px solid var(--line);
|
|
background: var(--white);
|
|
color: var(--ink);
|
|
}
|
|
|
|
.section-band {
|
|
position: relative;
|
|
padding: 86px clamp(24px, 5vw, 72px);
|
|
}
|
|
|
|
.hero {
|
|
display: grid;
|
|
grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1fr);
|
|
gap: 44px;
|
|
align-items: center;
|
|
min-height: calc(100vh - 72px);
|
|
padding-top: 58px;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 14px;
|
|
color: var(--teal);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
letter-spacing: 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
p {
|
|
margin-top: 0;
|
|
word-break: keep-all;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.hero-copy,
|
|
.hero-visual,
|
|
.proof-grid > *,
|
|
.split-proof > *,
|
|
.value-bridge > *,
|
|
.metric-rail > * {
|
|
min-width: 0;
|
|
}
|
|
|
|
h1 {
|
|
max-width: 760px;
|
|
margin-bottom: 24px;
|
|
font-size: clamp(39px, 4.8vw, 60px);
|
|
line-height: 1.01;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
h2 {
|
|
max-width: 960px;
|
|
margin-bottom: 18px;
|
|
font-size: clamp(32px, 4.5vw, 54px);
|
|
line-height: 1.05;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
h3 {
|
|
margin-bottom: 10px;
|
|
font-size: 18px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.lead,
|
|
.section-heading p,
|
|
.closing-line {
|
|
max-width: 760px;
|
|
color: var(--muted);
|
|
font-size: 19px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.hero-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-top: 34px;
|
|
}
|
|
|
|
.hero-visual,
|
|
.product-shot {
|
|
margin: 0;
|
|
}
|
|
|
|
.hero-visual img,
|
|
.product-shot img,
|
|
.diagram-shell img {
|
|
width: 100%;
|
|
border: 1px solid var(--line);
|
|
background: var(--white);
|
|
}
|
|
|
|
.hero-visual img {
|
|
min-height: 420px;
|
|
object-fit: cover;
|
|
object-position: left top;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
figcaption {
|
|
margin-top: 12px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.metric-rail {
|
|
grid-column: 1 / -1;
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 1px;
|
|
width: 100%;
|
|
margin-top: 8px;
|
|
border: 1px solid var(--line);
|
|
background: var(--line);
|
|
}
|
|
|
|
.metric-rail div {
|
|
min-height: 116px;
|
|
padding: 22px;
|
|
background: var(--paper-soft);
|
|
}
|
|
|
|
.metric-rail strong {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
color: var(--teal);
|
|
font-size: 42px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.metric-rail span {
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.narrative {
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.section-heading {
|
|
display: grid;
|
|
gap: 4px;
|
|
margin-bottom: 38px;
|
|
}
|
|
|
|
.diagram-shell {
|
|
padding: 16px;
|
|
border: 1px solid var(--line);
|
|
background: var(--white);
|
|
box-shadow: 0 12px 36px rgba(35, 42, 39, 0.08);
|
|
}
|
|
|
|
.diagram-shell img {
|
|
border: 0;
|
|
}
|
|
|
|
.mermaid-source {
|
|
margin-top: 16px;
|
|
border-top: 1px solid var(--line);
|
|
color: var(--muted);
|
|
}
|
|
|
|
.mermaid-source summary {
|
|
cursor: pointer;
|
|
padding: 16px 0;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.mermaid-source pre {
|
|
overflow: auto;
|
|
margin: 0 0 10px;
|
|
padding: 18px;
|
|
background: #26343a;
|
|
color: #f8f4ec;
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.proof-section {
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.proof-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.7fr);
|
|
gap: 38px;
|
|
align-items: start;
|
|
}
|
|
|
|
.proof-grid.reverse {
|
|
grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr);
|
|
}
|
|
|
|
.product-shot img {
|
|
box-shadow: 0 18px 46px rgba(35, 42, 39, 0.12);
|
|
}
|
|
|
|
.proof-notes,
|
|
.boundary-list,
|
|
.status-model,
|
|
.value-bridge {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.proof-notes article,
|
|
.boundary-list article,
|
|
.status-model article,
|
|
.value-bridge article {
|
|
padding: 18px;
|
|
border-left: 3px solid var(--teal);
|
|
background: var(--paper-soft);
|
|
}
|
|
|
|
.proof-notes p,
|
|
.boundary-list p,
|
|
.status-model p,
|
|
.value-bridge p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.split-proof {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
|
|
gap: 38px;
|
|
align-items: start;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.split-proof .section-heading {
|
|
grid-column: 1 / -1;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.boundary-list article {
|
|
border-color: var(--gold);
|
|
}
|
|
|
|
.boundary-list span {
|
|
display: inline-flex;
|
|
margin-bottom: 8px;
|
|
color: var(--teal);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.boundary-list strong,
|
|
.status-model strong,
|
|
.value-bridge strong {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.status-model article {
|
|
border-left-width: 0;
|
|
border-top: 4px solid var(--gold);
|
|
}
|
|
|
|
.status-model .confirmed {
|
|
border-top-color: var(--green);
|
|
background: var(--green-soft);
|
|
}
|
|
|
|
.status-model .excluded {
|
|
border-top-color: var(--red);
|
|
background: var(--red-soft);
|
|
}
|
|
|
|
.governance .boundary-list article:nth-child(2) {
|
|
border-color: var(--red);
|
|
}
|
|
|
|
.governance .boundary-list article:nth-child(3) {
|
|
border-color: var(--green);
|
|
}
|
|
|
|
.closing {
|
|
border-top: 1px solid var(--line);
|
|
padding-bottom: 120px;
|
|
}
|
|
|
|
.closing h2 {
|
|
max-width: 940px;
|
|
}
|
|
|
|
.value-bridge {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
margin: 44px 0;
|
|
}
|
|
|
|
.value-bridge article {
|
|
min-height: 172px;
|
|
border-left: 0;
|
|
border-top: 4px solid var(--teal);
|
|
}
|
|
|
|
.value-bridge article:nth-child(2) {
|
|
border-top-color: var(--gold);
|
|
background: var(--gold-soft);
|
|
}
|
|
|
|
.value-bridge article:nth-child(3) {
|
|
border-top-color: var(--green);
|
|
background: var(--green-soft);
|
|
}
|
|
|
|
.closing-line {
|
|
max-width: 1040px;
|
|
padding: 28px 34px;
|
|
background: var(--dark);
|
|
color: #f8f4ec;
|
|
font-size: 24px;
|
|
font-weight: 900;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.reveal {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
transition: opacity 520ms ease, transform 520ms ease;
|
|
}
|
|
|
|
.reveal.visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.product-shot img,
|
|
.hero-visual img,
|
|
.diagram-shell {
|
|
transition: transform 220ms ease, box-shadow 220ms ease;
|
|
}
|
|
|
|
.product-shot:hover img,
|
|
.hero-visual:hover img,
|
|
.diagram-shell:hover {
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.site-header {
|
|
grid-template-columns: 1fr auto;
|
|
}
|
|
|
|
.top-nav {
|
|
display: none;
|
|
}
|
|
|
|
.hero,
|
|
.proof-grid,
|
|
.proof-grid.reverse,
|
|
.split-proof {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.metric-rail,
|
|
.value-bridge {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.hero-visual img {
|
|
min-height: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.site-header {
|
|
padding: 10px 16px;
|
|
}
|
|
|
|
.console-link {
|
|
display: none;
|
|
}
|
|
|
|
.section-band {
|
|
padding: 58px 18px;
|
|
}
|
|
|
|
.hero {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: calc(100vw - 36px);
|
|
max-width: calc(100vw - 36px);
|
|
}
|
|
|
|
.hero-copy,
|
|
.hero-visual {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(31px, 8.6vw, 34px);
|
|
line-height: 1.08;
|
|
max-width: 100%;
|
|
word-break: keep-all;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
h2 {
|
|
font-size: clamp(28px, 8vw, 31px);
|
|
line-height: 1.12;
|
|
max-width: 100%;
|
|
word-break: break-all;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.lead,
|
|
.section-heading p {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.metric-rail,
|
|
.value-bridge {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.diagram-shell {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.diagram-shell img {
|
|
min-width: 760px;
|
|
}
|
|
}
|