205 lines
11 KiB
CSS
205 lines
11 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
--ink: #070916;
|
|
--ink-soft: #0c1025;
|
|
--panel: rgba(16, 20, 47, .76);
|
|
--panel-strong: rgba(20, 25, 58, .94);
|
|
--line: rgba(226, 231, 255, .13);
|
|
--line-bright: rgba(236, 239, 255, .28);
|
|
--text: #f2f1ed;
|
|
--muted: #9fa6bf;
|
|
--quiet: #69718f;
|
|
--star: #efe7d5;
|
|
--violet: #a6a5ff;
|
|
--lake: #86b9de;
|
|
--ok: #9cd9bd;
|
|
--warn: #e6c68d;
|
|
--bad: #e19791;
|
|
--shadow: 0 30px 80px rgba(0, 0, 0, .38);
|
|
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html { min-height: 100%; background: var(--ink); }
|
|
body {
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
color: var(--text);
|
|
background:
|
|
radial-gradient(circle at 14% 9%, rgba(99, 95, 185, .18), transparent 31%),
|
|
radial-gradient(circle at 84% 20%, rgba(73, 124, 176, .13), transparent 28%),
|
|
radial-gradient(ellipse at 50% 105%, rgba(68, 102, 166, .22), transparent 46%),
|
|
linear-gradient(155deg, #070915 0%, #0a0d21 44%, #070915 100%);
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
body::after {
|
|
content: "";
|
|
position: fixed;
|
|
inset: auto 0 0;
|
|
height: 34vh;
|
|
pointer-events: none;
|
|
background: linear-gradient(to bottom, transparent, rgba(45, 66, 124, .08));
|
|
mask-image: linear-gradient(to bottom, transparent, black);
|
|
}
|
|
|
|
.stars, .stars::before, .stars::after {
|
|
position: fixed;
|
|
inset: 0;
|
|
content: "";
|
|
pointer-events: none;
|
|
background-image:
|
|
radial-gradient(circle at 9% 17%, rgba(255,255,255,.75) 0 1px, transparent 1.4px),
|
|
radial-gradient(circle at 34% 8%, rgba(255,255,255,.48) 0 1px, transparent 1.4px),
|
|
radial-gradient(circle at 72% 13%, rgba(255,255,255,.62) 0 1px, transparent 1.4px),
|
|
radial-gradient(circle at 91% 35%, rgba(255,255,255,.40) 0 1px, transparent 1.4px),
|
|
radial-gradient(circle at 18% 68%, rgba(255,255,255,.35) 0 1px, transparent 1.4px),
|
|
radial-gradient(circle at 79% 79%, rgba(255,255,255,.46) 0 1px, transparent 1.4px);
|
|
opacity: .55;
|
|
}
|
|
.stars::before { transform: translate(5vw, 8vh) scale(.78); opacity: .34; }
|
|
.stars::after { transform: translate(-8vw, 15vh) scale(1.22); opacity: .22; }
|
|
|
|
a { color: inherit; }
|
|
button, input, select { font: inherit; }
|
|
button { color: inherit; }
|
|
.hidden { display: none !important; }
|
|
|
|
.topbar, main, footer { width: min(760px, calc(100% - 36px)); margin-inline: auto; position: relative; z-index: 1; }
|
|
.topbar {
|
|
min-height: 68px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 740; letter-spacing: .08em; }
|
|
.brand span { color: var(--star); font-size: 27px; text-shadow: 0 0 18px rgba(239, 231, 213, .45); }
|
|
.back { color: var(--muted); font-size: 12px; text-decoration: none; letter-spacing: .07em; }
|
|
|
|
main { padding: 54px 0 78px; }
|
|
.intro { text-align: center; }
|
|
.eyebrow, .label { margin: 0; color: var(--violet); font: 700 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .19em; }
|
|
.intro h1 { margin: 15px 0 0; font-size: clamp(31px, 7vw, 48px); line-height: 1.15; letter-spacing: -.04em; }
|
|
.intro > p:last-of-type { max-width: 610px; margin: 20px auto 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
|
|
.topology { margin: 28px auto 0; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; color: var(--muted); font-size: 11px; }
|
|
.topology span { display: inline-flex; align-items: center; gap: 7px; }
|
|
.topology b { color: var(--text); }
|
|
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lake); box-shadow: 0 0 12px rgba(134,185,222,.75); }
|
|
.dot.runtime { background: var(--ok); box-shadow: 0 0 12px rgba(156,217,189,.75); }
|
|
|
|
.auth-strip, .workspace, .timeline-section, .why {
|
|
margin-top: 28px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 20px;
|
|
background: linear-gradient(160deg, rgba(22, 26, 58, .74), rgba(10, 13, 31, .83));
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
.auth-strip { min-height: 92px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
|
|
.auth-strip > div { flex: 1; min-width: 0; }
|
|
.auth-strip strong { display: block; margin-top: 7px; font-size: 15px; }
|
|
.auth-strip small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.55; }
|
|
|
|
.button {
|
|
min-height: 42px;
|
|
padding: 0 18px;
|
|
border: 1px solid var(--line-bright);
|
|
border-radius: 999px;
|
|
background: rgba(255,255,255,.045);
|
|
font-weight: 700;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: transform .18s ease, background .18s ease, border-color .18s ease;
|
|
}
|
|
.button:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.5); }
|
|
.button:active { transform: translateY(0) scale(.98); }
|
|
.button:disabled { opacity: .45; cursor: wait; }
|
|
.button.primary { color: #111426; background: var(--star); border-color: var(--star); box-shadow: 0 8px 26px rgba(239,231,213,.13); }
|
|
.button.ghost { color: var(--muted); }
|
|
.button.full { width: 100%; margin-top: 22px; }
|
|
.text-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }
|
|
|
|
.workspace, .timeline-section { padding: 24px; }
|
|
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
|
|
.section-head.compact { padding-bottom: 16px; }
|
|
.section-head h2, .why h2 { margin: 8px 0 0; font-size: 21px; letter-spacing: -.02em; }
|
|
.state { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .09em; }
|
|
.state.waiting { color: var(--warn); border-color: rgba(230,198,141,.28); }
|
|
.state.approved { color: var(--ok); border-color: rgba(156,217,189,.3); }
|
|
.state.rejected { color: var(--bad); border-color: rgba(225,151,145,.3); }
|
|
|
|
.empty { padding: 58px 20px 48px; text-align: center; }
|
|
.empty-star { color: var(--star); font-size: 25px; text-shadow: 0 0 23px rgba(239,231,213,.5); }
|
|
.empty h3 { margin: 14px 0 0; font-size: 17px; }
|
|
.empty p { max-width: 420px; margin: 10px auto 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
|
|
|
|
.request { padding-top: 22px; }
|
|
.request-lead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
|
|
.request-lead h3 { max-width: 520px; margin: 9px 0 0; font-size: 18px; line-height: 1.55; }
|
|
.facts { margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
|
|
.facts div { min-width: 0; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
|
|
.facts div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
|
|
.facts dt { color: var(--quiet); font-size: 11px; }
|
|
.facts dd { margin: 7px 0 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 650; line-height: 1.55; }
|
|
.mono { font: 600 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
|
|
.binding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
|
|
.chips, .paths { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
|
|
.chip, .path { padding: 7px 9px; border-radius: 8px; color: var(--muted); background: rgba(255,255,255,.045); font: 600 10px/1.3 ui-monospace, monospace; }
|
|
.path { width: 100%; overflow-wrap: anywhere; }
|
|
|
|
.decision { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: 22px; }
|
|
select { min-width: 150px; margin-top: 9px; padding: 10px 34px 10px 11px; color: var(--text); border: 1px solid var(--line); border-radius: 10px; background: var(--ink-soft); }
|
|
.decision-buttons { display: flex; gap: 10px; }
|
|
|
|
.timeline { margin: 0; padding: 19px 0 2px; list-style: none; }
|
|
.timeline li { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: 12px; padding: 8px 0 14px; }
|
|
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: 21px; bottom: -4px; width: 1px; background: var(--line); }
|
|
.timeline i { width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: var(--quiet); box-shadow: 0 0 0 4px rgba(105,113,143,.08); }
|
|
.timeline li.pass i { background: var(--ok); box-shadow: 0 0 11px rgba(156,217,189,.6); }
|
|
.timeline li.fail i { background: var(--bad); box-shadow: 0 0 11px rgba(225,151,145,.55); }
|
|
.timeline strong { display: block; font-size: 13px; }
|
|
.timeline span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
|
|
|
|
.why { padding: 28px; text-align: center; }
|
|
.why p:last-child { max-width: 600px; margin: 14px auto 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
|
|
|
|
dialog { width: min(430px, calc(100% - 28px)); padding: 0; color: var(--text); border: 1px solid var(--line-bright); border-radius: 20px; background: var(--panel-strong); box-shadow: 0 38px 100px rgba(0,0,0,.65); }
|
|
dialog::backdrop { background: rgba(3,5,15,.78); backdrop-filter: blur(8px); }
|
|
dialog form { position: relative; padding: 30px; }
|
|
dialog h2 { margin: 10px 0 0; font-size: 23px; }
|
|
dialog p:not(.label):not(.form-error) { margin: 12px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
|
|
dialog label { display: block; margin: 15px 0 7px; color: var(--muted); font-size: 11px; }
|
|
dialog input { width: 100%; min-height: 45px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--text); background: rgba(255,255,255,.045); }
|
|
dialog input:focus { border-color: var(--line-bright); box-shadow: 0 0 0 3px rgba(166,165,255,.08); }
|
|
.dialog-close { position: absolute; top: 15px; right: 18px; border: 0; background: transparent; color: var(--muted); font-size: 24px; cursor: pointer; }
|
|
.form-error { min-height: 18px; margin: 10px 0 0; color: var(--bad); font-size: 12px; }
|
|
.toast { position: fixed; z-index: 10; left: 50%; bottom: 24px; transform: translate(-50%, 16px); max-width: calc(100% - 28px); padding: 11px 18px; opacity: 0; pointer-events: none; border: 1px solid var(--line-bright); border-radius: 999px; background: var(--panel-strong); box-shadow: var(--shadow); transition: .25s ease; font-size: 12px; text-align: center; }
|
|
.toast.show { opacity: 1; transform: translate(-50%, 0); }
|
|
|
|
footer { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 10px; }
|
|
|
|
@media (max-width: 640px) {
|
|
.topbar, main, footer { width: min(100% - 24px, 760px); }
|
|
main { padding-top: 38px; }
|
|
.intro h1 { font-size: 31px; }
|
|
.intro > p:last-of-type { font-size: 13px; }
|
|
.topology { align-items: flex-start; flex-direction: column; text-align: left; }
|
|
.auth-strip { align-items: flex-start; flex-wrap: wrap; }
|
|
.auth-strip .button { width: 100%; }
|
|
.workspace, .timeline-section { padding: 19px; }
|
|
.section-head { align-items: center; }
|
|
.request-lead { flex-direction: column; }
|
|
.facts { grid-template-columns: 1fr; }
|
|
.facts div:nth-child(even) { padding-left: 0; border-left: 0; }
|
|
.binding-grid { grid-template-columns: 1fr; gap: 20px; }
|
|
.decision { align-items: stretch; flex-direction: column; }
|
|
select { width: 100%; }
|
|
.decision-buttons { display: grid; grid-template-columns: .8fr 1.4fr; }
|
|
.decision-buttons .button { padding-inline: 12px; }
|
|
footer { padding: 24px 0; align-items: flex-start; flex-direction: column; justify-content: center; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
|
|
}
|