dant3-discovery / styles.css
system's picture
system HF Staff
Sync Dant3 discovery from 4594197
b8cb808 verified
Raw History Blame Contribute Delete
5.72 kB
:root {
color-scheme: dark;
font-family:
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
sans-serif;
background: #070707;
color: #f5f5f5;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
min-width: 320px;
min-height: 100vh;
background:
radial-gradient(circle at 8% 8%, rgba(239, 68, 68, 0.13), transparent 31rem),
radial-gradient(circle at 96% 42%, rgba(255, 255, 255, 0.06), transparent 26rem),
#070707;
}
a {
color: inherit;
}
.shell {
width: min(1160px, calc(100% - 32px));
margin: 0 auto;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 24px 0;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
font-weight: 800;
letter-spacing: -0.02em;
}
.mark {
display: grid;
width: 42px;
height: 42px;
place-items: center;
border: 1px solid #3a3a3a;
border-radius: 12px;
background: #111;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
font-weight: 900;
}
.status {
display: inline-flex;
align-items: center;
gap: 8px;
border: 1px solid #333;
border-radius: 999px;
padding: 8px 11px;
background: rgba(16, 16, 16, 0.74);
color: #cfcfcf;
font-size: 0.78rem;
}
.status::before {
width: 7px;
height: 7px;
border-radius: 999px;
background: #ef4444;
content: "";
box-shadow: 0 0 14px rgba(239, 68, 68, 0.8);
}
.hero {
padding: 72px 0 54px;
}
.eyebrow {
margin: 0 0 18px;
color: #ef4444;
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.12em;
text-transform: uppercase;
}
h1 {
max-width: 900px;
margin: 0;
font-size: clamp(3.1rem, 8vw, 7.8rem);
line-height: 0.9;
letter-spacing: -0.07em;
}
.hero-copy {
max-width: 760px;
margin: 28px 0 0;
color: #b8b8b8;
font-size: clamp(1.05rem, 2vw, 1.35rem);
line-height: 1.6;
}
.actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 30px;
}
.button {
display: inline-flex;
min-height: 46px;
align-items: center;
justify-content: center;
border: 1px solid #3a3a3a;
border-radius: 11px;
padding: 0 16px;
background: #121212;
text-decoration: none;
font-size: 0.92rem;
font-weight: 700;
}
.button.primary {
border-color: #ef4444;
background: #ef4444;
color: #080808;
}
.section {
padding: 34px 0 58px;
}
.section-head {
display: flex;
align-items: end;
justify-content: space-between;
gap: 20px;
margin-bottom: 18px;
}
.section h2 {
margin: 0;
font-size: clamp(1.65rem, 4vw, 2.65rem);
letter-spacing: -0.04em;
}
.muted {
color: #969696;
}
.grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.card {
min-height: 205px;
border: 1px solid #292929;
border-radius: 18px;
padding: 22px;
background: linear-gradient(150deg, rgba(22, 22, 22, 0.96), rgba(10, 10, 10, 0.92));
}
.card-label {
margin: 0 0 22px;
color: #ef4444;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 0.76rem;
text-transform: uppercase;
}
.card h3 {
margin: 0 0 10px;
font-size: 1.28rem;
}
.card p {
margin: 0;
color: #a5a5a5;
line-height: 1.55;
}
.endpoint {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-top: 20px;
border-top: 1px solid #292929;
padding-top: 16px;
}
.endpoint code {
overflow: hidden;
color: #dedede;
font-size: 0.79rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.copy {
flex: 0 0 auto;
border: 1px solid #3a3a3a;
border-radius: 8px;
padding: 7px 9px;
background: #0a0a0a;
color: #e5e5e5;
cursor: pointer;
font: inherit;
font-size: 0.76rem;
}
.matrix {
overflow: hidden;
border: 1px solid #292929;
border-radius: 18px;
background: #0c0c0c;
}
.matrix-row {
display: grid;
grid-template-columns: 1.1fr 1fr 1fr;
gap: 12px;
padding: 16px 18px;
border-bottom: 1px solid #242424;
}
.matrix-row:last-child {
border-bottom: 0;
}
.matrix-row.head {
background: #121212;
color: #818181;
font-size: 0.78rem;
font-weight: 800;
text-transform: uppercase;
}
.yes {
color: #ededed;
}
.no {
color: #777;
}
.callout {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 18px;
border: 1px solid #392020;
border-radius: 20px;
padding: 26px;
background: linear-gradient(125deg, rgba(239, 68, 68, 0.08), rgba(12, 12, 12, 0.9));
}
.callout h3 {
margin: 0;
font-size: clamp(1.5rem, 4vw, 2.4rem);
letter-spacing: -0.04em;
}
.callout p {
margin: 12px 0 0;
color: #a5a5a5;
line-height: 1.55;
}
.quick-links {
display: grid;
align-content: center;
gap: 8px;
}
.quick-links a {
border: 1px solid #303030;
border-radius: 10px;
padding: 10px 12px;
background: #0d0d0d;
text-decoration: none;
}
footer {
display: flex;
justify-content: space-between;
gap: 20px;
padding: 30px 0 46px;
border-top: 1px solid #222;
color: #777;
font-size: 0.82rem;
}
@media (max-width: 760px) {
.hero {
padding-top: 48px;
}
.grid,
.callout {
grid-template-columns: 1fr;
}
.matrix-row {
grid-template-columns: 1fr;
}
.matrix-row.head {
display: none;
}
.matrix-row span::before {
display: block;
margin-bottom: 3px;
color: #666;
font-size: 0.68rem;
font-weight: 800;
text-transform: uppercase;
}
.matrix-row span:nth-child(1)::before {
content: "Capability";
}
.matrix-row span:nth-child(2)::before {
content: "Provisional";
}
.matrix-row span:nth-child(3)::before {
content: "Claimed";
}
footer,
.section-head {
align-items: flex-start;
flex-direction: column;
}
}