Spaces:
Running on Zero
Running on Zero
Download static/app.css from RajTheBuilder/ReturnGuard: direct link, hf CLI and curl.
- Browser
- Download file 46.4 kB
-
https://huggingface.co/spaces/RajTheBuilder/ReturnGuard/resolve/main/static/app.css
- Command line
-
hf download hf://spaces/RajTheBuilder/ReturnGuard/static/app.css
-
curl -L -o app.css https://huggingface.co/spaces/RajTheBuilder/ReturnGuard/resolve/main/static/app.css
46.4 kB
| /* ReturnGuard UI | |
| Type: Geist (UI and headings), Geist Mono (IDs and numbers only) | |
| Colour: neutral zinc greys, one indigo brand colour, semantic verdict colours */ | |
| :root { | |
| --bg: #FAFAFA; | |
| --bg-2: #F4F4F5; | |
| --surface: #FFFFFF; | |
| --surface-2: #F4F4F5; | |
| --surface-3: #E4E4E7; | |
| --border: #E4E4E7; | |
| --border-strong: #D4D4D8; | |
| --text: #09090B; | |
| --text-2: #52525B; | |
| --text-3: #8B8B95; | |
| --accent: #4F46E5; | |
| --accent-strong: #4338CA; | |
| --accent-soft: rgba(79, 70, 229, 0.08); | |
| --accent-ring: rgba(79, 70, 229, 0.22); | |
| --btn: #4F46E5; | |
| --btn-hover: #4338CA; | |
| --teal: #0D9488; | |
| --teal-soft: rgba(13, 148, 136, 0.09); | |
| --ok: #15803D; | |
| --ok-soft: rgba(22, 163, 74, 0.10); | |
| --warn: #B45309; | |
| --warn-soft: rgba(217, 119, 6, 0.11); | |
| --bad: #DC2626; | |
| --bad-soft: rgba(220, 38, 38, 0.09); | |
| --shadow-sm: 0 1px 2px rgba(9, 9, 11, 0.05); | |
| --shadow: 0 1px 2px rgba(9, 9, 11, 0.04), 0 8px 24px -6px rgba(9, 9, 11, 0.08); | |
| --shadow-lg: 0 24px 60px -16px rgba(9, 9, 11, 0.18); | |
| --ink: #09090B; | |
| --on-ink: #FAFAFA; | |
| --font-display: 'Geist', ui-sans-serif, system-ui, sans-serif; | |
| --font-body: 'Geist', ui-sans-serif, system-ui, sans-serif; | |
| --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace; | |
| --radius: 14px; | |
| --radius-sm: 10px; | |
| --max-w: 1160px; | |
| --nav-h: 64px; | |
| /* animation scene */ | |
| --sky-top: #EEF0FF; | |
| --sky-bottom: #F8F8FF; | |
| --ground: #E8E8EF; | |
| --house: #FFFFFF; | |
| --house-trim: #D6D6E4; | |
| --skin: #E8B98F; | |
| --agent-shirt: #4F46E5; | |
| --customer-shirt: #0D9488; | |
| --trousers: #3F3F55; | |
| color-scheme: light; | |
| } | |
| [data-theme="dark"] { | |
| --bg: #09090B; | |
| --bg-2: #0F0F12; | |
| --surface: #111114; | |
| --surface-2: #18181B; | |
| --surface-3: #27272A; | |
| --border: #232327; | |
| --border-strong: #34343A; | |
| --text: #FAFAFA; | |
| --text-2: #A1A1AA; | |
| --text-3: #71717A; | |
| --accent: #818CF8; | |
| --accent-strong: #6366F1; | |
| --accent-soft: rgba(129, 140, 248, 0.12); | |
| --accent-ring: rgba(129, 140, 248, 0.3); | |
| --btn: #5B5BF0; | |
| --btn-hover: #4F46E5; | |
| --teal: #2DD4BF; | |
| --teal-soft: rgba(45, 212, 191, 0.12); | |
| --ok: #4ADE80; | |
| --ok-soft: rgba(74, 222, 128, 0.12); | |
| --warn: #FBBF24; | |
| --warn-soft: rgba(251, 191, 36, 0.13); | |
| --bad: #F87171; | |
| --bad-soft: rgba(248, 113, 113, 0.13); | |
| --shadow-sm: none; | |
| --shadow: 0 0 0 1px rgba(255, 255, 255, 0.02); | |
| --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6); | |
| --ink: #FAFAFA; | |
| --on-ink: #09090B; | |
| --sky-top: #14142B; | |
| --sky-bottom: #1B1A33; | |
| --ground: #19192A; | |
| --house: #23233A; | |
| --house-trim: #33335A; | |
| --agent-shirt: #6366F1; | |
| --customer-shirt: #14B8A6; | |
| --trousers: #2A2D44; | |
| color-scheme: dark; | |
| } | |
| /* ββ base βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } | |
| html { scroll-behavior: smooth; } | |
| body { | |
| font-family: var(--font-body); background: var(--bg); color: var(--text); | |
| font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; | |
| min-height: 100vh; font-feature-settings: "ss01", "cv11"; | |
| } | |
| a { color: inherit; text-decoration: none; } | |
| button, input, select { font: inherit; color: inherit; } | |
| button { cursor: pointer; border: none; background: none; } | |
| img { max-width: 100%; display: block; } | |
| .mono { font-family: var(--font-mono); font-feature-settings: normal; } | |
| .muted { color: var(--text-2); } | |
| .dim { color: var(--text-3); } | |
| .hidden { display: none ; } | |
| :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; } | |
| ::selection { background: var(--accent-soft); } | |
| .wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; } | |
| .page { display: none; padding: calc(var(--nav-h) + 48px) 0 96px; animation: page-in .3s ease; } | |
| .page.active { display: block; } | |
| @keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } } | |
| .eyebrow { display: inline-block; font-size: 13.5px; font-weight: 500; color: var(--accent); letter-spacing: 0; } | |
| h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 600; } | |
| .h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.045em; line-height: 1.02; font-weight: 600; } | |
| .h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; margin: 10px 0 14px; } | |
| .h3 { font-size: 18px; letter-spacing: -0.015em; } | |
| .lead { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 600px; letter-spacing: -0.005em; } | |
| .section { padding: 88px 0; } | |
| .section-head { margin-bottom: 40px; max-width: 720px; } | |
| .grad { color: var(--accent); } | |
| /* ββ nav ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .nav { position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50; | |
| background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(160%) blur(16px); | |
| border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent); } | |
| .nav-inner { max-width: var(--max-w); margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; gap: 28px; } | |
| .brand { display: flex; align-items: center; gap: 9px; font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; } | |
| .brand-mark { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); } | |
| .brand-mark svg { width: 15px; height: 15px; } | |
| .nav-links { display: flex; gap: 2px; } | |
| .nav-links a { padding: 7px 11px; border-radius: 8px; color: var(--text-2); font-size: 14px; font-weight: 450; transition: color .15s, background .15s; } | |
| .nav-links a:hover { color: var(--text); } | |
| .nav-links a.active { color: var(--text); font-weight: 500; background: var(--surface-2); } | |
| .nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; } | |
| .icon-btn { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--text-2); transition: .15s; } | |
| .icon-btn:hover { color: var(--text); background: var(--surface-2); } | |
| .menu-btn { display: none; } | |
| .mobile-nav { display: none; } | |
| .nav-account.signed-in { font-family: var(--font-mono); font-size: 12.5px; } | |
| /* ββ buttons & forms βββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; | |
| font-weight: 500; font-size: 14.5px; letter-spacing: -0.01em; transition: background .15s, border-color .15s, box-shadow .15s, color .15s; | |
| border: 1px solid transparent; white-space: nowrap; } | |
| .btn-primary { background: var(--btn); color: #fff; box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.14); } | |
| .btn-primary:hover { background: var(--btn-hover); } | |
| .btn-dark { background: var(--ink); color: var(--on-ink); } | |
| .btn-dark:hover { opacity: .9; } | |
| .btn-ghost { border-color: var(--border-strong); color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); } | |
| .btn-ghost:hover { background: var(--surface-2); } | |
| .btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 8px; } | |
| .btn:disabled { opacity: .55; cursor: not-allowed; } | |
| .btn-row { display: flex; gap: 10px; flex-wrap: wrap; } | |
| .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); } | |
| .card-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); margin-bottom: 14px; } | |
| .form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 20px; } | |
| .field label { display: block; font-size: 13.5px; font-weight: 500; color: var(--text); margin-bottom: 6px; } | |
| .field input, .field select { width: 100%; height: 42px; padding: 0 13px; border-radius: 10px; background: var(--surface); | |
| border: 1px solid var(--border-strong); outline: none; transition: border-color .15s, box-shadow .15s; font-size: 14.5px; | |
| box-shadow: var(--shadow-sm); } | |
| .field input::placeholder { color: var(--text-3); } | |
| .field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); } | |
| .field .hint { font-size: 12.5px; color: var(--text-3); margin-top: 6px; } | |
| .upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; } | |
| .upload { position: relative; aspect-ratio: 4 / 3; border: 1px dashed var(--border-strong); border-radius: 12px; overflow: hidden; | |
| display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; | |
| background: var(--bg); transition: .15s; text-align: center; padding: 10px; } | |
| .upload:hover, .upload.drag { border-color: var(--accent); background: var(--accent-soft); } | |
| .upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; } | |
| .upload .u-label { font-size: 14px; font-weight: 500; color: var(--text); } | |
| .upload .u-hint { font-size: 12.5px; color: var(--text-3); } | |
| .upload img.preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } | |
| .upload.has-file .u-tag { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 500; | |
| background: rgba(9,9,11,.72); color: #fff; } | |
| .sample-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; padding: 10px 12px; | |
| border-radius: 12px; background: var(--bg); border: 1px solid var(--border); } | |
| .sample-bar span { font-size: 13.5px; color: var(--text-2); margin-right: 2px; } | |
| .sample-btn { height: 30px; padding: 0 11px; border-radius: 8px; font-size: 13px; font-weight: 500; background: var(--surface); | |
| border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); } | |
| .sample-btn:hover { border-color: var(--accent); color: var(--accent); } | |
| /* ββ toast & overlay βββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 12px); opacity: 0; z-index: 60; | |
| padding: 11px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; pointer-events: none; transition: .22s; | |
| background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); } | |
| .toast.show { opacity: 1; transform: translate(-50%, 0); } | |
| .toast.error { background: var(--bad); color: #fff; } | |
| .toast.success { background: var(--ink); color: var(--on-ink); } | |
| .busy { position: fixed; inset: 0; z-index: 70; display: none; place-items: center; background: color-mix(in srgb, var(--bg) 70%, transparent); | |
| backdrop-filter: blur(6px); } | |
| .busy.show { display: grid; } | |
| .busy-card { text-align: center; padding: 32px 40px; max-width: 420px; } | |
| .spinner { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--surface-3); border-top-color: var(--accent); | |
| animation: spin .75s linear infinite; margin: 0 auto 18px; } | |
| @keyframes spin { to { transform: rotate(360deg); } } | |
| /* ββ hero βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 12px; } | |
| .hero .lead { margin: 22px 0 30px; } | |
| .hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 30px; color: var(--text-3); font-size: 13.5px; } | |
| .hero-tags::before { content: "Built with"; color: var(--text-3); } | |
| .tag { font-size: 13.5px; font-weight: 500; color: var(--text-2); } | |
| .hero-badge { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 6px; border-radius: 999px; | |
| border: 1px solid var(--border); background: var(--surface); font-size: 13px; color: var(--text-2); box-shadow: var(--shadow-sm); } | |
| .hero-badge b { background: var(--accent-soft); color: var(--accent); font-weight: 500; padding: 2px 8px; border-radius: 999px; font-size: 12px; } | |
| /* ββ animated scene ββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .scene-card { border-radius: 18px; padding: 8px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); } | |
| .scene { position: relative; aspect-ratio: 5 / 4; border-radius: 12px; overflow: hidden; container-type: inline-size; | |
| background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom)); } | |
| .scene > * { position: absolute; } | |
| .scene .ground { left: 0; right: 0; bottom: 0; height: 17%; background: var(--ground); border-top: 1px solid var(--border-strong); } | |
| .scene .stars { inset: 0; display: none; background-image: radial-gradient(1.5px 1.5px at 20% 18%, rgba(255,255,255,.5), transparent), | |
| radial-gradient(1px 1px at 48% 10%, rgba(255,255,255,.4), transparent), radial-gradient(1.5px 1.5px at 66% 24%, rgba(255,255,255,.35), transparent), | |
| radial-gradient(1px 1px at 86% 14%, rgba(255,255,255,.45), transparent); } | |
| [data-theme="dark"] .scene .stars { display: block; } | |
| .scene .house { right: 2%; bottom: 17%; width: 27%; height: 52%; } | |
| .scene .day { left: 4%; top: 5%; padding: .6cqw 1.6cqw; border-radius: 99px; font: 500 2.4cqw var(--font-body); | |
| background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: .4s; z-index: 6; } | |
| .scene .caption { left: 4%; right: 4%; bottom: 3.2%; text-align: center; font: 500 2.6cqw/1.35 var(--font-body); color: var(--text); | |
| transition: opacity .35s; z-index: 6; } | |
| .scene .actor { bottom: 13%; width: 15%; transition: left 1.5s cubic-bezier(.4,.1,.2,1), opacity .5s; z-index: 2; } | |
| .scene .actor svg { width: 100%; height: auto; display: block; } | |
| .scene .house svg { width: 100%; height: 100%; display: block; } | |
| .scene .agent { left: -22%; } | |
| .scene .customer { left: 66%; } | |
| .scene .walking svg { animation: bob .45s ease-in-out infinite alternate; } | |
| @keyframes bob { to { transform: translateY(-2.5%); } } | |
| .scene .parcel { left: 46%; bottom: 33%; width: 10%; aspect-ratio: 1.15; border-radius: 6%; | |
| background: #C7965E; box-shadow: inset 0 -.5cqw 0 rgba(0,0,0,.18); transition: left 1.5s cubic-bezier(.4,.1,.2,1), opacity .4s, transform .4s; z-index: 3; } | |
| .scene .parcel::after { content: ""; position: absolute; left: 44%; top: 0; bottom: 0; width: 12%; background: rgba(255,255,255,.35); } | |
| .scene .spk { width: 13.5%; bottom: 30%; opacity: 0; transition: left 1.3s cubic-bezier(.4,.1,.2,1), opacity .45s, transform .45s; z-index: 4; | |
| filter: drop-shadow(0 .8cqw .8cqw rgba(0,0,0,.3)); } | |
| .scene .phone { left: 3%; top: 12%; width: 30%; height: 62%; border-radius: 3.2cqw; background: #0B0B10; border: .5cqw solid #26262E; | |
| box-shadow: 0 2cqw 4cqw rgba(0,0,0,.35); opacity: 0; transform: translateY(6%) scale(.96); transition: .45s; z-index: 7; overflow: hidden; } | |
| .scene .phone-screen { position: absolute; inset: 0; padding: 2.4cqw 2cqw; color: #F4F4F5; font-family: var(--font-body); } | |
| .scene .ps { position: absolute; inset: 2.6cqw 2.2cqw; opacity: 0; transition: opacity .35s; } | |
| .scene .ps-head { display: flex; align-items: center; gap: 1cqw; font: 600 2.2cqw var(--font-display); color: #fff; margin-bottom: 1.8cqw; } | |
| .scene .ps-head i { width: 2.6cqw; height: 2.6cqw; border-radius: .7cqw; background: #6366F1; display: inline-block; } | |
| .scene .ps-photo { width: 100%; aspect-ratio: 1.15; border-radius: 1.6cqw; background: #18181F; display: grid; place-items: center; margin-bottom: 1.6cqw; overflow: hidden; } | |
| .scene .ps-photo img { width: 62%; } | |
| .scene .ps-row { display: flex; justify-content: space-between; align-items: center; font: 500 1.75cqw/1.2 var(--font-body); color: #A1A1AA; | |
| padding: .7cqw 0; border-top: 1px solid #23232B; } | |
| .scene .ps-row b { color: #fff; font-weight: 600; } | |
| .scene .ok { color: #4ADE80 ; } .scene .bad { color: #F87171 ; } .scene .mid { color: #FBBF24 ; } | |
| .scene .ps-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1cqw; margin-bottom: 1.4cqw; } | |
| .scene .ps-pair div { aspect-ratio: 1; border-radius: 1.4cqw; background: #18181F; display: grid; place-items: center; position: relative; } | |
| .scene .ps-pair img { width: 70%; } | |
| .scene .ps-pair span { position: absolute; left: .8cqw; top: .6cqw; font: 500 1.35cqw var(--font-body); color: #A1A1AA; } | |
| .scene .ps-verdict { margin-top: 1.4cqw; padding: 1cqw; border-radius: 1.2cqw; text-align: center; font: 600 1.9cqw var(--font-display); | |
| background: rgba(248,113,113,.16); color: #F87171; opacity: 0; transition: .3s; } | |
| .scene .beam { left: 47%; bottom: 28.5%; width: 17.5%; height: 21%; border-radius: 1cqw; opacity: 0; z-index: 5; | |
| border: .35cqw solid #6366F1; box-shadow: 0 0 2cqw rgba(99,102,241,.7); } | |
| .scene .beam::after { content: ""; position: absolute; left: 0; right: 0; height: .5cqw; top: 0; background: #818CF8; | |
| box-shadow: 0 0 1.5cqw #818CF8; animation: sweep 1.1s ease-in-out infinite alternate; } | |
| @keyframes sweep { to { top: 100%; } } | |
| .scene .alert { left: 67%; top: 11%; transform: translate(-50%, -20%) scale(.9); padding: 1.6cqw 2.6cqw; border-radius: 1.8cqw; opacity: 0; | |
| background: #DC2626; color: #fff; font: 600 3cqw var(--font-display); white-space: nowrap; transition: .4s; z-index: 8; | |
| box-shadow: 0 0 0 0 rgba(220,38,38,.6); letter-spacing: -0.02em; } | |
| .scene .alert small { display: block; font: 400 1.8cqw var(--font-body); opacity: .92; margin-top: .3cqw; letter-spacing: 0; } | |
| .scene .fade { inset: 0; background: var(--sky-top); opacity: 0; transition: opacity .6s; z-index: 9; display: grid; place-items: center; | |
| font: 600 4.2cqw var(--font-display); color: var(--text); letter-spacing: -0.03em; } | |
| /* step choreography */ | |
| .scene[data-step="0"] .agent { left: -22%; } | |
| .scene[data-step="1"] .agent, .scene[data-step="2"] .agent, .scene[data-step="3"] .agent { left: 34%; } | |
| .scene[data-step="0"] .parcel { left: -10%; } | |
| .scene[data-step="1"] .parcel { left: 46%; } | |
| .scene[data-step="2"] .parcel, .scene[data-step="3"] .parcel, .scene[data-step="4"] .parcel, | |
| .scene[data-step="5"] .parcel, .scene[data-step="6"] .parcel { opacity: 0; transform: scale(.6); } | |
| .scene[data-step="2"] .spk-blue { left: 49%; opacity: 1; } | |
| .scene[data-step="3"] .spk-blue { left: 60%; opacity: 1; } | |
| .scene[data-step="4"] .spk-blue, .scene[data-step="5"] .spk-blue, .scene[data-step="6"] .spk-blue { left: 60%; opacity: 0; } | |
| .scene .spk-blue, .scene .spk-black { left: 49%; } | |
| .scene[data-step="4"] .spk-black { left: 60%; opacity: 1; } | |
| .scene[data-step="5"] .spk-black, .scene[data-step="6"] .spk-black { left: 49%; opacity: 1; } | |
| .scene[data-step="4"] .agent, .scene[data-step="5"] .agent, .scene[data-step="6"] .agent { left: 34%; } | |
| .scene[data-step="2"] .phone, .scene[data-step="5"] .phone, .scene[data-step="6"] .phone { opacity: 1; transform: none; } | |
| .scene[data-step="2"] .ps-capture, .scene[data-step="5"] .ps-compare, .scene[data-step="6"] .ps-compare { opacity: 1; } | |
| .scene[data-step="2"] .beam, .scene[data-step="5"] .beam { opacity: 1; } | |
| .scene[data-step="6"] .ps-verdict { opacity: 1; } | |
| .scene[data-step="6"] .alert { opacity: 1; transform: translate(-50%, 0) scale(1); animation: pulse 1.2s ease-out infinite; } | |
| .scene[data-step="6"] .spk-black { transform: scale(1.04); filter: drop-shadow(0 0 1.6cqw rgba(220,38,38,.75)); } | |
| .scene.transition .fade { opacity: 1; } | |
| @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(220,38,38,.5); } 100% { box-shadow: 0 0 0 3cqw rgba(220,38,38,0); } } | |
| .scene-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 6px 4px; } | |
| .scene-dots { display: flex; gap: 5px; } | |
| .scene-dots button { width: 18px; height: 4px; border-radius: 4px; background: var(--surface-3); transition: .2s; } | |
| .scene-dots button.on { background: var(--text); width: 30px; } | |
| .scene-ctrl .label { font-size: 13px; color: var(--text-2); } | |
| /* ββ stats strip βββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .metric-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); | |
| border-radius: var(--radius); overflow: hidden; margin-top: 72px; box-shadow: var(--shadow-sm); } | |
| .metric-strip > div { background: var(--surface); padding: 22px 24px; } | |
| .metric-strip .v { font-size: 30px; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; } | |
| .metric-strip .k { font-size: 13.5px; color: var(--text-2); margin-top: 2px; } | |
| .metric-note { font-size: 13px; color: var(--text-3); margin-top: 12px; } | |
| .metric-note a { color: var(--accent); font-weight: 500; } | |
| /* ββ story (old-for-new swap) ββββββββββββββββββββββββββββββββββββββββ */ | |
| .story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } | |
| .story figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); } | |
| .story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } | |
| .story figcaption { padding: 16px 18px 18px; font-size: 14px; color: var(--text-2); } | |
| .story figcaption b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); margin: 2px 0 4px; } | |
| .story-step { font-size: 12.5px; font-weight: 500; color: var(--text-3); } | |
| .story-verdict { aspect-ratio: 4 / 3; padding: 22px 22px 18px; display: flex; flex-direction: column; justify-content: center; gap: 16px; | |
| background: linear-gradient(160deg, var(--bad-soft), transparent 70%), var(--surface-2, var(--surface)); border-bottom: 1px solid var(--border); } | |
| .sv-head { display: flex; align-items: center; justify-content: space-between; } | |
| .sv-head .pill { font-size: 13.5px; padding: 4px 12px; font-weight: 600; } | |
| .sv-risk { font-size: 34px; font-weight: 600; letter-spacing: -0.04em; color: var(--bad); line-height: 1; } | |
| .sv-risk small { font-size: 15px; color: var(--text-3); letter-spacing: 0; } | |
| .story-verdict dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; font-size: 13px; } | |
| .story-verdict dt { color: var(--text-3); } | |
| .story-verdict dd { color: var(--text-2); } | |
| .story-verdict dd b { color: var(--text); font-weight: 600; margin-right: 6px; } | |
| .credit { font-size: 12.5px; color: var(--text-3); margin-top: 12px; } | |
| .credit a { text-decoration: underline; text-underline-offset: 2px; } | |
| .counter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; } | |
| .counter .card { padding: 20px; } | |
| .counter h4 { font-size: 15.5px; letter-spacing: -0.01em; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; } | |
| .counter p { font-size: 14px; color: var(--text-2); } | |
| .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; } | |
| /* ββ steps & fraud types βββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } | |
| .step { position: relative; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); } | |
| .step .n { font: 500 13px var(--font-mono); color: var(--text-3); } | |
| .step h3 { margin: 12px 0 8px; font-size: 16.5px; letter-spacing: -0.015em; } | |
| .step p { font-size: 14px; color: var(--text-2); } | |
| .step .cost { margin-top: 14px; display: inline-block; font-size: 12.5px; font-weight: 500; color: var(--accent); background: var(--accent-soft); | |
| padding: 3px 9px; border-radius: 999px; } | |
| .types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); | |
| border-radius: var(--radius); overflow: hidden; } | |
| .type { padding: 22px 22px; background: var(--surface); } | |
| .type h4 { font-size: 15.5px; letter-spacing: -0.01em; margin-bottom: 4px; } | |
| .type p { font-size: 14px; color: var(--text-2); } | |
| .type .by { margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--accent); } | |
| .cta { text-align: center; padding: 64px 24px; border-radius: 20px; background: var(--ink); color: var(--on-ink); } | |
| .cta .h2 { color: var(--on-ink); } | |
| .cta .muted { color: color-mix(in srgb, var(--on-ink) 65%, transparent); } | |
| .cta .btn-row { justify-content: center; margin-top: 26px; } | |
| .cta .btn-ghost { background: transparent; color: var(--on-ink); border-color: color-mix(in srgb, var(--on-ink) 25%, transparent); box-shadow: none; } | |
| .cta .btn-ghost:hover { background: color-mix(in srgb, var(--on-ink) 8%, transparent); } | |
| /* ββ page headers ββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .page-head { margin-bottom: 32px; } | |
| .page-head h1 { font-size: clamp(30px, 3.8vw, 42px); letter-spacing: -0.04em; margin: 8px 0 10px; } | |
| .page-head p { color: var(--text-2); max-width: 640px; font-size: 16px; } | |
| .two-col { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; } | |
| /* ββ delivery result βββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .order-badge { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; } | |
| .order-badge .num { font: 600 40px var(--font-mono); letter-spacing: -0.04em; color: var(--text); } | |
| .chips { display: flex; flex-wrap: wrap; gap: 6px; } | |
| .chip { font: 500 12.5px var(--font-mono); padding: 3px 9px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border); } | |
| .chip.unit { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); background: var(--accent-soft); } | |
| .kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 14px; font-size: 14px; margin: 14px 0; } | |
| .kv dt { color: var(--text-3); } | |
| .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; } | |
| .thumb { border-radius: 10px; background: var(--bg); border: 1px solid var(--border); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; position: relative; } | |
| .thumb img { max-width: 86%; max-height: 86%; object-fit: contain; } | |
| .thumb span { position: absolute; left: 8px; top: 6px; font-size: 12px; font-weight: 500; color: var(--text-3); text-transform: capitalize; } | |
| /* ββ result page βββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .pipeline { display: flex; flex-direction: column; gap: 2px; } | |
| .pnode { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; transition: .2s; } | |
| .pnode .ic { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border-strong); position: relative; } | |
| .pnode .nm { font-size: 14px; font-weight: 500; } | |
| .pnode .nm small { display: block; font-size: 12.5px; color: var(--text-3); font-weight: 400; } | |
| .pnode .st { font: 500 12px var(--font-mono); color: var(--text-3); } | |
| .pnode.done .ic { background: var(--ok); border-color: var(--ok); } | |
| .pnode.done .ic::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); } | |
| .pnode.running { background: var(--accent-soft); } | |
| .pnode.running .ic { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; } | |
| .pnode.skipped { opacity: .5; } | |
| .pnode.llm .nm::after { content: "Gemini"; margin-left: 8px; font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 999px; | |
| background: var(--accent-soft); color: var(--accent); vertical-align: 1px; } | |
| .verdict { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px 30px; border-radius: 16px; | |
| border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow); } | |
| .verdict::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--vc, var(--accent)); } | |
| .verdict.ACCEPT { --vc: var(--ok); background: color-mix(in srgb, var(--ok) 5%, var(--surface)); } | |
| .verdict.HUMAN_REVIEW, .verdict.RETAKE_REQUIRED { --vc: var(--warn); background: color-mix(in srgb, var(--warn) 5%, var(--surface)); } | |
| .verdict.REJECT, .verdict.ERROR { --vc: var(--bad); background: color-mix(in srgb, var(--bad) 5%, var(--surface)); } | |
| .verdict .vlabel { font-size: 28px; font-weight: 600; letter-spacing: -0.035em; color: var(--vc); } | |
| .verdict .vhead { font-size: 16px; font-weight: 500; margin-top: 4px; letter-spacing: -0.01em; } | |
| .verdict .vmeta { font-size: 13px; color: var(--text-3); margin-top: 10px; } | |
| .ftype { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 500; padding: 3px 10px; border-radius: 999px; | |
| background: var(--bad-soft); color: var(--bad); } | |
| .gauge { width: 190px; text-align: center; } | |
| .gauge svg { width: 100%; } | |
| .gauge .gv { font: 600 34px var(--font-mono); letter-spacing: -0.04em; margin-top: -42px; } | |
| .gauge .gk { font-size: 12.5px; color: var(--text-3); } | |
| .result-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-bottom: 20px; } | |
| .ev-row { display: grid; grid-template-columns: 1fr 150px 54px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; } | |
| .ev-row:last-child { border-bottom: 0; } | |
| .ev-src { font-size: 12.5px; color: var(--text-3); text-transform: capitalize; } | |
| .ev-bar { position: relative; height: 8px; background: var(--surface-2); border-radius: 5px; } | |
| .ev-bar::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--border-strong); } | |
| .ev-bar i { position: absolute; top: 0; bottom: 0; border-radius: 5px; } | |
| .ev-w { font: 500 13px var(--font-mono); text-align: right; } | |
| .pos { color: var(--bad); } .neg { color: var(--ok); } | |
| .views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; } | |
| .view { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); } | |
| .view .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); } | |
| .view .pair div { background: var(--bg); aspect-ratio: 1; display: grid; place-items: center; position: relative; } | |
| .view .pair img { max-width: 84%; max-height: 84%; object-fit: contain; } | |
| .view .pair span { position: absolute; top: 7px; left: 9px; font-size: 11.5px; font-weight: 500; color: var(--text-3); text-transform: capitalize; } | |
| .view .vfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding: 11px 14px; font-size: 13px; } | |
| .view .vfoot b { text-transform: capitalize; font-weight: 600; } | |
| .badge { display: inline-block; font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 999px; white-space: nowrap; } | |
| .b-ok { background: var(--ok-soft); color: var(--ok); } .b-warn { background: var(--warn-soft); color: var(--warn); } | |
| .b-bad { background: var(--bad-soft); color: var(--bad); } .b-dim { background: var(--surface-2); color: var(--text-2); } | |
| table.t { width: 100%; border-collapse: collapse; font-size: 14px; } | |
| table.t th { text-align: left; font-size: 12.5px; font-weight: 500; color: var(--text-3); padding: 10px 12px; border-bottom: 1px solid var(--border); } | |
| table.t td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; } | |
| table.t tr:last-child td { border-bottom: 0; } | |
| table.t tr.click { cursor: pointer; transition: .12s; } | |
| table.t tr.click:hover td { background: var(--bg); } | |
| .table-wrap { overflow-x: auto; } | |
| .pill { display: inline-block; font-size: 12.5px; font-weight: 500; padding: 2px 10px; border-radius: 999px; white-space: nowrap; } | |
| .pill.ACCEPT { background: var(--ok-soft); color: var(--ok); } | |
| .pill.HUMAN_REVIEW, .pill.RETAKE_REQUIRED { background: var(--warn-soft); color: var(--warn); } | |
| .pill.REJECT, .pill.ERROR { background: var(--bad-soft); color: var(--bad); } | |
| .pill.PROCESSING { background: var(--accent-soft); color: var(--accent); } | |
| .list { padding-left: 18px; font-size: 14px; color: var(--text-2); } | |
| .list li { margin: 4px 0; } | |
| .empty { padding: 40px; text-align: center; color: var(--text-3); font-size: 14px; } | |
| .empty a { color: var(--accent); font-weight: 500; } | |
| /* plain-language checks */ | |
| .check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); } | |
| .check:last-child { border-bottom: 0; } | |
| .ck { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; } | |
| .ck-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 14.5px; } | |
| .ck-val { font: 500 12.5px var(--font-mono); color: var(--text-3); } | |
| .ck-verdict { font-size: 14.5px; font-weight: 500; margin-top: 1px; } | |
| .ck-detail { font-size: 13.5px; color: var(--text-2); margin-top: 3px; } | |
| .who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); margin-bottom: 16px; | |
| padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); } | |
| .who .who-text { flex: 1; min-width: 200px; } | |
| .who.out { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 25%, transparent); color: var(--text); } | |
| .who a:not(.btn) { color: var(--accent); font-weight: 500; } | |
| details.tech { margin-top: 20px; } | |
| details.tech summary { cursor: pointer; font-weight: 500; font-size: 14.5px; color: var(--text-2); list-style: none; } | |
| details.tech summary::-webkit-details-marker { display: none; } | |
| details.tech summary::before { content: "+ "; color: var(--accent); font-weight: 600; } | |
| details.tech[open] summary::before { content: "β "; } | |
| .chip[data-pick] { cursor: pointer; } | |
| .chip[data-pick]:hover { border-color: var(--accent); color: var(--accent); } | |
| /* ββ dashboard / evaluation ββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; } | |
| .kpi { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); } | |
| .kpi .v { font-size: 28px; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; } | |
| .kpi .k { font-size: 13.5px; color: var(--text-2); } | |
| .kpi .d { font-size: 12.5px; color: var(--text-3); margin-top: 6px; } | |
| .kpis-3 { grid-template-columns: repeat(3, 1fr); } | |
| .t td.bad-t { color: var(--bad); font-weight: 600; } | |
| .kpi.hero-kpi { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); box-shadow: 0 0 0 3px var(--accent-soft); } | |
| .bars .bar-row { display: grid; grid-template-columns: 210px 1fr 70px; gap: 14px; align-items: center; padding: 8px 0; font-size: 14px; } | |
| .bars .track { height: 8px; border-radius: 6px; background: var(--surface-2); overflow: hidden; } | |
| .bars .fill { height: 100%; border-radius: 6px; background: var(--accent); } | |
| .confusion { display: grid; grid-template-columns: 100px repeat(4, 1fr); gap: 6px; font-size: 14px; } | |
| .confusion .h { font-size: 12.5px; font-weight: 500; color: var(--text-3); padding: 6px; align-self: end; } | |
| .confusion .c { padding: 16px 8px; text-align: center; border-radius: 10px; font: 600 22px var(--font-mono); background: var(--surface-2); } | |
| .confusion .c small { display: block; font: 500 11.5px var(--font-body); color: var(--text-3); margin-top: 2px; } | |
| .confusion .good { background: var(--ok-soft); color: var(--ok); } | |
| .confusion .badc { background: var(--bad-soft); color: var(--bad); } | |
| .confusion .meh { background: var(--warn-soft); color: var(--warn); } | |
| .note { padding: 16px 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); font-size: 14px; color: var(--text-2); } | |
| .note b { color: var(--text); font-weight: 600; } | |
| code, .code { font-family: var(--font-mono); font-size: 12.5px; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); } | |
| /* ββ architecture ββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .arch-frame { border-radius: 16px; border: 1px solid var(--border); background: #0B0B12; padding: 12px; overflow-x: auto; box-shadow: var(--shadow); } | |
| .arch-frame img { min-width: 860px; width: 100%; } | |
| .decisions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; } | |
| .decision { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); } | |
| .decision h4 { font-size: 16px; letter-spacing: -0.015em; margin-bottom: 6px; } | |
| .decision p { font-size: 14px; color: var(--text-2); } | |
| .stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } | |
| .stack div { padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; color: var(--text-2); } | |
| .stack b { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; } | |
| /* ββ auth (sign in / create account) βββββββββββββββββββββββββββββββββββ */ | |
| .page-auth { padding: var(--nav-h) 0 0; } | |
| .auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--nav-h)); } | |
| .auth-aside { position: relative; overflow: hidden; background: #09090B; color: #FAFAFA; padding: 56px; display: flex; flex-direction: column; | |
| justify-content: center; border-right: 1px solid rgba(255,255,255,.07); } | |
| .auth-aside::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; | |
| background: radial-gradient(closest-side, rgba(99,102,241,.35), transparent); pointer-events: none; } | |
| .auth-aside > * { position: relative; } | |
| .auth-aside .brand { color: #FAFAFA; } | |
| .auth-aside .brand-mark { background: #FAFAFA; color: #09090B; } | |
| .auth-aside h2 { font-size: clamp(28px, 2.8vw, 36px); letter-spacing: -0.04em; line-height: 1.1; max-width: 440px; } | |
| .auth-aside .sub { color: #A1A1AA; margin-top: 14px; max-width: 420px; font-size: 15px; } | |
| .auth-points { list-style: none; margin: 32px 0 0; display: grid; gap: 14px; max-width: 420px; } | |
| .auth-points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14.5px; color: #D4D4D8; } | |
| .auth-points svg { margin-top: 2px; color: #818CF8; } | |
| .auth-preview { margin-top: 40px; max-width: 420px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.04); | |
| border: 1px solid rgba(255,255,255,.08); } | |
| .auth-preview .row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: #A1A1AA; padding: 6px 0; } | |
| .auth-preview .row + .row { border-top: 1px solid rgba(255,255,255,.06); } | |
| .auth-preview b { color: #FAFAFA; font-weight: 500; } | |
| .auth-preview .verdict-pill { background: rgba(248,113,113,.15); color: #F87171; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; } | |
| .auth-foot { margin-top: 28px; font-size: 12.5px; color: #71717A; } | |
| .auth-main { display: grid; place-items: center; padding: 48px 24px; } | |
| .auth-card { width: 100%; max-width: 400px; } | |
| .auth-card h1 { font-size: 30px; letter-spacing: -0.04em; } | |
| .auth-card .sub { color: var(--text-2); margin: 8px 0 26px; font-size: 15px; } | |
| .seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 24px; } | |
| .seg button { height: 34px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: .15s; } | |
| .seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(9,9,11,.1), 0 0 0 1px var(--border); } | |
| .auth-card .field { margin-bottom: 14px; } | |
| .input-wrap { position: relative; } | |
| .input-wrap svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; } | |
| .input-wrap input { padding-left: 40px; } | |
| .auth-card .btn { width: 100%; height: 44px; margin-top: 6px; } | |
| .divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12.5px; margin: 22px 0; } | |
| .divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); } | |
| .fine { font-size: 12.5px; color: var(--text-3); margin-top: 22px; line-height: 1.55; } | |
| .acct-wrap { padding-top: 48px; } | |
| /* ββ about / footer ββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .about { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } | |
| .contact a { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border); | |
| margin-top: 10px; font-size: 14px; font-weight: 500; transition: .15s; } | |
| .contact a:hover { border-color: var(--border-strong); background: var(--bg); } | |
| .avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 600; color: var(--on-ink); | |
| background: var(--ink); letter-spacing: -0.02em; } | |
| footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--text-3); font-size: 13.5px; } | |
| footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; } | |
| footer a { color: var(--text-2); } | |
| footer a:hover { color: var(--text); } | |
| /* ββ responsive ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| @media (max-width: 1020px) { | |
| .hero, .two-col, .result-grid, .about { grid-template-columns: 1fr; } | |
| .steps { grid-template-columns: repeat(2, 1fr); } | |
| .types, .stack { grid-template-columns: repeat(2, 1fr); } | |
| .metric-strip, .kpis { grid-template-columns: repeat(3, 1fr); } | |
| .nav-links { display: none; } | |
| .menu-btn { display: grid; } | |
| .mobile-nav.open { display: flex; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 49; | |
| background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 16px 16px; box-shadow: var(--shadow); } | |
| .mobile-nav a { padding: 12px; border-radius: 8px; color: var(--text-2); } | |
| .mobile-nav a.active { color: var(--text); background: var(--surface-2); } | |
| .auth { grid-template-columns: 1fr; } | |
| .auth-aside { padding: 40px 24px; } | |
| .auth-aside h2 { margin-top: 32px; } | |
| } | |
| @media (max-width: 680px) { | |
| .wrap, .nav-inner { padding: 0 16px; } | |
| .page { padding-top: calc(var(--nav-h) + 28px); } | |
| .page-auth { padding-top: var(--nav-h); } | |
| .section { padding: 60px 0; } | |
| .form-grid, .story, .counter, .steps, .types, .stack, .decisions, .views { grid-template-columns: 1fr; } | |
| .upload-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } | |
| .upload .u-hint { display: none; } | |
| .metric-strip, .kpis { grid-template-columns: repeat(2, 1fr); } | |
| .kpis-3 { grid-template-columns: 1fr; } | |
| .metric-strip > div:last-child:nth-child(odd), .kpis > div:last-child:nth-child(odd) { grid-column: span 2; } | |
| .kpis.kpis-3 > div:last-child:nth-child(odd) { grid-column: auto; } | |
| .story-verdict { aspect-ratio: auto; } | |
| .verdict { grid-template-columns: 1fr; } | |
| .gauge { margin: 0 auto; } | |
| .ev-row { grid-template-columns: 1fr 90px 46px; } | |
| .bars .bar-row { grid-template-columns: 1fr 70px; } | |
| .bars .bar-row .track { grid-column: 1 / -1; grid-row: 2; } | |
| .kv { grid-template-columns: 1fr; gap: 2px; } | |
| .kv dd { margin-bottom: 8px; } | |
| .card { padding: 18px; } | |
| .auth-aside .auth-preview { display: none; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| *, *::before, *::after { animation-duration: .001ms ; transition-duration: .001ms ; } | |
| } | |
| /* ββ live progress steps (busy overlay) βββββββββββββββββββββββββββββββ */ | |
| .live-steps { list-style: none; margin: 18px auto 0; padding: 0; text-align: left; display: grid; gap: 10px; min-width: 300px; } | |
| .live-steps li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-3); transition: color .2s; } | |
| .live-steps .ls-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--border-strong, var(--border)); } | |
| .live-steps .ls-detail { color: var(--text-3); font-size: 12.5px; font-weight: 400; } | |
| .live-steps li.active { color: var(--text); font-weight: 500; } | |
| .live-steps li.active .ls-icon { border: 2px solid var(--surface-3); border-top-color: var(--accent); animation: spin .8s linear infinite; } | |
| .live-steps li.done { color: var(--text-2); } | |
| .live-steps li.done .ls-icon { border-color: var(--ok); background: var(--ok); position: relative; } | |
| .live-steps li.done .ls-icon::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); } | |