Spaces:
Running
Running
Download styles.css from IntelligenceLab/AI-for-Science: direct link, hf CLI and curl.
- Browser
- Download file 39 kB
-
https://huggingface.co/spaces/IntelligenceLab/AI-for-Science/resolve/main/styles.css
- Command line
-
hf download hf://spaces/IntelligenceLab/AI-for-Science/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/IntelligenceLab/AI-for-Science/resolve/main/styles.css
39 kB
| :root { | |
| --bg: #faf8f3; | |
| --surface: #ffffff; | |
| --tint: #f3efe6; | |
| --tint-2: #f8f6f0; | |
| --ink: #18202e; | |
| --ink-2: #374151; | |
| --muted: #6b7280; | |
| --line: #e7e1d5; | |
| --accent: #0f9f75; | |
| --accent-deep: #047857; | |
| --accent-soft: rgba(15, 159, 117, 0.12); | |
| --mat: #4f46e5; | |
| --mat-soft: rgba(79, 70, 229, 0.1); | |
| --warm: #b45309; | |
| --indigo: #6366f1; | |
| --dark: #151b27; | |
| --radius: 18px; | |
| --shadow-sm: 0 1px 2px rgba(41, 37, 28, 0.05); | |
| --shadow: 0 1px 2px rgba(41, 37, 28, 0.05), 0 14px 34px -14px rgba(41, 37, 28, 0.16); | |
| --shadow-lg: 0 26px 60px -26px rgba(41, 37, 28, 0.35); | |
| --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; | |
| --serif: "Fraunces", Georgia, "Times New Roman", serif; | |
| --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; | |
| --ease: cubic-bezier(0.2, 0.7, 0.2, 1); | |
| } | |
| *, *::before, *::after { box-sizing: border-box; } | |
| html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; } | |
| body { | |
| margin: 0; | |
| font-family: var(--font); | |
| font-size: 16px; | |
| line-height: 1.6; | |
| color: var(--ink); | |
| background: var(--bg); | |
| -webkit-font-smoothing: antialiased; | |
| text-rendering: optimizeLegibility; | |
| } | |
| body.menu-open { overflow: hidden; } | |
| img, svg { display: block; max-width: 100%; } | |
| a { color: inherit; text-decoration: none; } | |
| h1, h2, h3, h4 { margin: 0; line-height: 1.22; } | |
| p { margin: 0; } | |
| .container { width: min(1200px, 100% - 48px); margin-inline: auto; } | |
| section[id] { scroll-margin-top: 72px; } | |
| .skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; } | |
| .skip-link:focus { top: 12px; } | |
| :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; } | |
| /* Buttons */ | |
| .btn { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| height: 46px; | |
| padding: 0 22px; | |
| border-radius: 999px; | |
| border: 1px solid transparent; | |
| font: 600 15px/1 var(--font); | |
| letter-spacing: -0.005em; | |
| cursor: pointer; | |
| transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, border-color 0.2s; | |
| } | |
| .btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); } | |
| .btn:hover svg { transform: translateX(2px); } | |
| .btn:hover { transform: translateY(-1px); } | |
| .btn-sm { height: 38px; padding: 0 16px; font-size: 14px; } | |
| .btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(24, 32, 46, 0.6); } | |
| .btn-dark:hover { background: #26303f; } | |
| .btn-ghost { background: rgba(255, 255, 255, 0.8); border-color: var(--line); color: var(--ink); } | |
| .btn-ghost:hover { border-color: #d4cbb9; background: #fff; } | |
| /* Navigation */ | |
| .nav { | |
| position: sticky; | |
| top: 0; | |
| z-index: 50; | |
| background: rgba(250, 248, 243, 0.82); | |
| -webkit-backdrop-filter: saturate(1.4) blur(14px); | |
| backdrop-filter: saturate(1.4) blur(14px); | |
| border-bottom: 1px solid transparent; | |
| transition: border-color 0.25s, box-shadow 0.25s; | |
| } | |
| .nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(41, 37, 28, 0.35); } | |
| .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; } | |
| .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; } | |
| .brand em { margin-left: 4px; padding-left: 10px; border-left: 1px solid var(--line); font-style: normal; font-weight: 500; color: var(--muted); } | |
| .brand-mark { width: 30px; height: 30px; flex: none; } | |
| .nav-links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); } | |
| .nav-links a { position: relative; padding: 6px 0; transition: color 0.2s; } | |
| .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.25s var(--ease); } | |
| .nav-links a:hover, .nav-links a.is-active { color: var(--ink); } | |
| .nav-links a.is-active::after { transform: scaleX(1); } | |
| .nav-cta { display: flex; align-items: center; gap: 10px; } | |
| .nav-toggle { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; } | |
| .nav-toggle span { width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s var(--ease); } | |
| .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); } | |
| .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); } | |
| .mobile-menu { display: grid; gap: 4px; padding: 12px 24px 24px; border-top: 1px solid var(--line); background: var(--bg); } | |
| .mobile-menu[hidden] { display: none; } | |
| .mobile-menu a:not(.btn) { padding: 12px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); } | |
| .mobile-menu .btn { margin-top: 14px; } | |
| /* Hero */ | |
| .hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); } | |
| .hero::before { | |
| content: ""; | |
| position: absolute; | |
| inset: 0; | |
| z-index: -2; | |
| background-image: radial-gradient(rgba(24, 32, 46, 0.09) 1px, transparent 1.4px); | |
| background-size: 22px 22px; | |
| -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000 20%, transparent 100%); | |
| mask-image: radial-gradient(70% 70% at 70% 45%, #000 20%, transparent 100%); | |
| } | |
| .hero::after { | |
| content: ""; | |
| position: absolute; | |
| inset: 0; | |
| z-index: -1; | |
| background: | |
| radial-gradient(36% 46% at 12% 26%, rgba(15, 159, 117, 0.13), transparent 70%), | |
| radial-gradient(32% 42% at 86% 40%, rgba(79, 70, 229, 0.11), transparent 70%), | |
| radial-gradient(30% 30% at 50% 100%, rgba(217, 119, 6, 0.08), transparent 70%); | |
| } | |
| .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; } | |
| .eyebrow { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 10px; | |
| padding: 7px 14px 7px 10px; | |
| border-radius: 999px; | |
| background: rgba(255, 255, 255, 0.8); | |
| border: 1px solid var(--line); | |
| font-size: 13px; | |
| font-weight: 600; | |
| color: var(--accent-deep); | |
| box-shadow: var(--shadow-sm); | |
| } | |
| .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ping 2.2s infinite; } | |
| @keyframes ping { | |
| 0% { box-shadow: 0 0 0 0 rgba(15, 159, 117, 0.45); } | |
| 70% { box-shadow: 0 0 0 9px rgba(15, 159, 117, 0); } | |
| 100% { box-shadow: 0 0 0 0 rgba(15, 159, 117, 0); } | |
| } | |
| .hero h1 { margin: 22px 0 22px; font-family: var(--serif); font-size: clamp(40px, 5.3vw, 68px); line-height: 1.04; font-weight: 600; letter-spacing: -0.025em; } | |
| .hero h1 em { font-style: italic; font-weight: 500; color: var(--accent-deep); } | |
| .lede { max-width: 590px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--ink-2); } | |
| .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; } | |
| .hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; } | |
| .hero-points li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.85); font-size: 14px; font-weight: 500; color: var(--ink-2); } | |
| .hero-points li::before { content: "✓"; margin-right: 7px; color: var(--accent); font-weight: 800; } | |
| .hero-visual { position: relative; width: 100%; max-width: 560px; margin: 0; justify-self: center; aspect-ratio: 1; } | |
| .hero-visual::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; background: radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.95), rgba(15, 159, 117, 0.08) 58%, transparent 72%); } | |
| .morph-canvas { position: relative; display: block; width: 100%; height: 100%; } | |
| .morph-labels { position: absolute; left: 0; right: 0; bottom: 3%; height: 34px; } | |
| .ml { position: absolute; left: 50%; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.92); font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; box-shadow: var(--shadow-sm); opacity: 0; transform: translate(-50%, 6px); transition: opacity 0.5s, transform 0.5s var(--ease); } | |
| .ml.is-on { opacity: 1; transform: translate(-50%, 0); } | |
| /* Team strip */ | |
| .team-strip { padding: 26px 0 28px; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.6); text-align: center; } | |
| .team-title { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); } | |
| .team-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; max-width: 820px; margin: 12px auto 0; padding: 0; list-style: none; } | |
| .team-list li { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink-2); } | |
| .team-more { margin-top: 8px; font-size: 13.5px; color: var(--muted); } | |
| /* Sections */ | |
| .section { padding: clamp(80px, 10vw, 124px) 0; } | |
| .section-tint { background: var(--tint); } | |
| .section-head { max-width: 780px; margin-bottom: 48px; } | |
| .kicker { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); } | |
| .section h2 { font-family: var(--serif); font-size: clamp(32px, 3.7vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; } | |
| .sub { max-width: 700px; margin-top: 18px; font-size: 17.5px; color: var(--ink-2); } | |
| /* Why */ | |
| .why-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; } | |
| .stat-stack { display: grid; gap: 14px; } | |
| .stat { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); } | |
| .stat strong { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--accent-deep); white-space: nowrap; } | |
| .stat-warm strong { color: var(--warm); } | |
| .stat-cool strong { color: var(--mat); } | |
| .stat span { font-size: 14.5px; color: var(--ink-2); } | |
| /* Who */ | |
| .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } | |
| .field-card { position: relative; overflow: hidden; padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s; } | |
| .field-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); } | |
| .field-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(15, 159, 117, 0.14), transparent 70%); } | |
| .field-mat::after { background: radial-gradient(circle, rgba(79, 70, 229, 0.13), transparent 70%); } | |
| .field-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-deep); } | |
| .field-mat .field-icon { background: var(--mat-soft); color: var(--mat); } | |
| .field-icon svg { width: 38px; height: 38px; } | |
| .field-card h3 { margin: 18px 0 8px; font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -0.015em; } | |
| .field-card > p { font-size: 15.5px; color: var(--ink-2); } | |
| .field-card .tools-label { margin-top: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); } | |
| .tool-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; } | |
| .tool-chips li { padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--tint-2); font: 500 12px var(--mono); color: var(--ink-2); } | |
| .who-note { margin-top: 24px; text-align: center; font-size: 15px; color: var(--muted); } | |
| /* Research explorer */ | |
| .explorer { padding: 26px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); } | |
| .explorer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; } | |
| .field-toggle { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--tint); } | |
| .ft-btn { height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: 600 14px var(--font); color: var(--ink-2); cursor: pointer; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; } | |
| .ft-btn[aria-pressed="true"] { background: #fff; color: var(--accent-deep); box-shadow: var(--shadow-sm); } | |
| .explorer[data-field="mat"] .ft-btn[aria-pressed="true"] { color: var(--mat); } | |
| .explorer-hint { font-size: 14px; color: var(--muted); } | |
| html:not(.js) .explorer-top { display: none; } | |
| .explorer-panel { margin-top: 22px; } | |
| .explorer-panel[hidden] { display: none; } | |
| .panel-title { margin-bottom: 14px; font-family: var(--serif); font-size: 22px; font-weight: 600; } | |
| .is-enhanced .panel-title { display: none; } | |
| .stage + .stage { margin-top: 18px; } | |
| .is-enhanced .stage + .stage { margin-top: 0; } | |
| .stage[hidden] { display: none; } | |
| .stage-title { margin-bottom: 10px; font-size: 16px; } | |
| .is-enhanced .stage-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } | |
| .stage-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; } | |
| .stage-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--tint-2); font: 600 13.5px/1.25 var(--font); color: var(--ink-2); text-align: left; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; } | |
| .stage-btn:hover { border-color: #d4cbb9; } | |
| .sb-num { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font: 700 12px var(--mono); color: var(--muted); } | |
| .stage-btn[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; } | |
| .stage-btn[aria-pressed="true"] .sb-num { border-color: var(--accent); background: var(--accent); color: #fff; } | |
| .explorer[data-field="mat"] .stage-btn[aria-pressed="true"] .sb-num { border-color: var(--mat); background: var(--mat); } | |
| .stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; } | |
| .sg { padding: 18px 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--tint-2); } | |
| .sg dt { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); } | |
| .sg dt::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; } | |
| .sg-gap dt { color: var(--warm); } | |
| .sg-gap dt::before { background: #f59e0b; } | |
| .sg-build { border-color: color-mix(in srgb, var(--accent) 26%, var(--line)); background: color-mix(in srgb, var(--accent) 7%, #fff); } | |
| .sg-build dt { color: var(--accent-deep); } | |
| .sg-build dt::before { background: var(--accent); } | |
| .explorer[data-field="mat"] .sg-build { border-color: color-mix(in srgb, var(--mat) 22%, var(--line)); background: color-mix(in srgb, var(--mat) 6%, #fff); } | |
| .explorer[data-field="mat"] .sg-build dt { color: var(--mat); } | |
| .explorer[data-field="mat"] .sg-build dt::before { background: var(--mat); } | |
| .sg dd { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); } | |
| .is-enhanced .stage:not([hidden]) .sg { animation: sg-in 0.4s var(--ease) both; } | |
| .is-enhanced .stage:not([hidden]) .sg:nth-child(2) { animation-delay: 0.05s; } | |
| .is-enhanced .stage:not([hidden]) .sg:nth-child(3) { animation-delay: 0.1s; } | |
| @keyframes sg-in { from { opacity: 0; transform: translateY(8px); } } | |
| .questions { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 36px; margin-top: 40px; padding: 30px; border-radius: 24px; background: var(--tint); } | |
| .questions-head h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; } | |
| .questions-head p { margin-top: 10px; color: var(--muted); } | |
| .question-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: q; } | |
| .question-list li { position: relative; padding: 14px 16px 14px 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 15px; counter-increment: q; } | |
| .question-list li::before { content: counter(q); position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); font: 700 11.5px/1 var(--mono); } | |
| /* Demos */ | |
| .ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; } | |
| .ex-card { | |
| position: relative; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| border-radius: 20px; | |
| border: 1px solid var(--line); | |
| background: var(--surface); | |
| box-shadow: var(--shadow-sm); | |
| cursor: pointer; | |
| transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; | |
| } | |
| .ex-card:hover, .ex-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--dc) 35%, var(--line)); } | |
| .ex-card:focus-visible { outline: 2px solid var(--dc); outline-offset: 3px; } | |
| .ex-card.is-extra { display: none; } | |
| .ex-grid.show-all .ex-card.is-extra { display: flex; } | |
| .ex-thumb { position: relative; aspect-ratio: 740 / 394; overflow: hidden; border-bottom: 1px solid var(--line); background: #f7f8fb; } | |
| .ex-thumb > img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease, transform 0.6s var(--ease); } | |
| .ex-card:hover .ex-thumb > img { transform: scale(1.04); } | |
| .ex-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; } | |
| .ex-card-domain { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: color-mix(in srgb, var(--dc) 80%, #0b1220); } | |
| .ex-card-domain::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dc); } | |
| .ex-card h3 { margin: 8px 0 6px; font-size: 18px; letter-spacing: -0.02em; } | |
| .ex-card-body > p:not(.ex-card-domain) { font-size: 14px; color: var(--muted); } | |
| .ex-card-tracks { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; } | |
| .trk { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; } | |
| .trk-rel { background: var(--accent-soft); color: var(--accent-deep); } | |
| .trk-rel + .trk-rel { border: 1px solid var(--line); background: var(--tint-2); color: var(--ink-2); font-weight: 600; } | |
| .trk-mod { border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; } | |
| .ex-sw { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 14px 0 0; list-style: none; } | |
| .ex-sw li { padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--tint-2); font: 500 11px var(--mono); color: var(--ink-2); } | |
| .ex-open { position: absolute; top: 12px; right: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(24, 32, 46, 0.86); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(-4px); transition: opacity 0.25s, transform 0.25s var(--ease); } | |
| .ex-card:hover .ex-open, .ex-card:focus-visible .ex-open { opacity: 1; transform: none; } | |
| .ex-more { display: flex; justify-content: center; margin-top: 30px; } | |
| .ex-grid.show-all + .ex-more { display: none; } | |
| .ex-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; } | |
| .ex-modal[hidden] { display: none; } | |
| .ex-backdrop { position: absolute; inset: 0; background: rgba(20, 18, 14, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in 0.25s ease; } | |
| .ex-sheet { | |
| position: relative; | |
| width: min(1080px, 100%); | |
| max-height: min(92vh, 980px); | |
| overflow: auto; | |
| border-radius: 24px; | |
| background: var(--surface); | |
| box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.55); | |
| animation: sheet-in 0.35s var(--ease); | |
| } | |
| @keyframes fade-in { from { opacity: 0; } } | |
| @keyframes sheet-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } } | |
| .ex-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 22px 26px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); } | |
| .ex-domain { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: color-mix(in srgb, var(--dc, #0f9f75) 80%, #0b1220); } | |
| .ex-domain::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dc, #0f9f75); } | |
| .ex-head h3 { margin: 6px 0 10px; font-size: 24px; letter-spacing: -0.025em; } | |
| .ex-tracks { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; } | |
| .ex-nav { display: flex; flex: none; gap: 8px; } | |
| .icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 600 15px/1 var(--font); color: var(--ink); cursor: pointer; transition: background-color 0.2s, border-color 0.2s; } | |
| .icon-btn:hover { border-color: #d4cbb9; background: var(--tint-2); } | |
| .ex-body { padding: 22px 26px 28px; } | |
| .ex-figure { margin: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #f7f8fb; } | |
| .ex-figure img { width: 100%; height: auto; } | |
| .ex-desc { margin-top: 18px; font-size: 16.5px; color: var(--ink-2); } | |
| .ex-why { margin-top: 12px; padding: 12px 16px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--accent-soft); font-size: 15px; color: var(--ink-2); } | |
| .ex-why strong { color: var(--accent-deep); } | |
| .ex-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; } | |
| .ex-facts > div { padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--tint-2); } | |
| .ex-facts h4 { margin: 0 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); } | |
| .ex-facts ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; } | |
| .ex-facts li { padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line); background: #fff; font: 500 11.5px var(--mono); color: var(--ink-2); } | |
| .ex-how { margin: 18px 0 20px; padding-left: 14px; border-left: 3px solid var(--line); font-size: 15px; color: var(--muted); } | |
| body.modal-open { overflow: hidden; } | |
| /* Live demo previews */ | |
| .ex-thumb.is-live > img { opacity: 0; } | |
| .ex-live, .ex-live-hero { overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--dc, #0f9f75) 13%, #fff) 0%, #fbfcfd 70%); } | |
| .ex-live { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; } | |
| .ex-thumb.is-live .ex-live { opacity: 1; } | |
| .ex-live-hero { position: relative; aspect-ratio: 16 / 7; border-bottom: 1px solid var(--line); } | |
| .ex-live-hero[hidden] { display: none; } | |
| .ex-evidence-label { padding: 12px 16px 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); } | |
| .ex-live-hero[hidden] + .ex-evidence-label { display: none; } | |
| .lv-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; } | |
| .lv-cap { position: absolute; left: 14px; bottom: 10px; z-index: 2; font: 500 11px var(--mono); color: var(--muted); } | |
| .ex-live-hero .lv-cap { left: 22px; bottom: 16px; font-size: 12px; } | |
| [data-kind="drc"] .lv-cap { left: 24px; bottom: 20px; color: #a7f3d0; } | |
| .ex-live-hero[data-kind="drc"] .lv-cap { left: 40px; bottom: 36px; } | |
| .lv-container { position: absolute; inset: 0; display: grid; align-content: center; gap: 6px; width: 74%; margin: auto; transition: opacity 0.3s; } | |
| .lv-fade .lv-container { opacity: 0; } | |
| .lv-code { margin-bottom: 4px; font: 600 12px var(--mono); color: #0d9488; } | |
| .lv-stack { display: grid; gap: 6px; } | |
| .lv-layer { | |
| display: flex; | |
| align-items: center; | |
| height: 24px; | |
| margin-left: calc(var(--k) * 16px); | |
| padding: 0 10px; | |
| border-radius: 7px; | |
| border: 1px solid rgba(37, 99, 235, 0.25); | |
| background: linear-gradient(90deg, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0.05)); | |
| font: 500 11px var(--mono); | |
| color: var(--ink-2); | |
| opacity: 0; | |
| transform: translateY(-10px); | |
| transition: opacity 0.35s, transform 0.35s var(--ease); | |
| } | |
| .lv-layer.on { opacity: 1; transform: none; } | |
| .lv-hash { min-height: 1.6em; margin-top: 6px; font: 500 11px var(--mono); color: var(--muted); } | |
| .ex-live-hero .lv-container { width: 54%; gap: 8px; } | |
| .ex-live-hero .lv-layer { height: 34px; margin-left: calc(var(--k) * 26px); font-size: 13px; } | |
| .ex-live-hero .lv-code, .ex-live-hero .lv-hash { font-size: 13.5px; } | |
| .lv-images { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px; } | |
| .lv-cell { position: relative; overflow: hidden; border-radius: 12px; background: #e9eef2; box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.4); } | |
| .lv-cell img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; opacity: 0; transition: opacity 0.6s ease; } | |
| .lv-cell img.on { opacity: 1; } | |
| .lv-micro .lv-cell { width: 25%; aspect-ratio: 1; } | |
| .lv-astro .lv-cell { width: 18.5%; aspect-ratio: 1; border-radius: 8px; box-shadow: 0 0 30px -6px rgba(249, 140, 10, 0.5); } | |
| .lv-ocr .lv-cell { width: 84%; aspect-ratio: 237 / 82; border-radius: 8px; } | |
| .lv-color { display: grid; grid-template-columns: repeat(3, auto); gap: 8px; align-content: center; justify-content: center; } | |
| .lv-color .lv-cell { width: 62px; height: 62px; border-radius: 10px; transition: transform 0.35s var(--ease), box-shadow 0.35s; } | |
| .lv-color .lv-cell.hot { transform: translateY(-4px) scale(1.08); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--dc, #7c3aed), 0 14px 26px -12px rgba(15, 23, 42, 0.5); } | |
| .ex-live-hero .lv-color .lv-cell { width: 92px; height: 92px; } | |
| .lv-swatch { position: absolute; right: 5px; bottom: 5px; z-index: 1; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } | |
| .lv-scan { position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 2px; background: var(--dc, #0f9f75); box-shadow: 0 0 14px 2px var(--dc, #0f9f75); animation: lv-scan 2.6s ease-in-out infinite; } | |
| @keyframes lv-scan { 0%, 100% { top: 0; } 50% { top: calc(100% - 2px); } } | |
| .lv-aperture { position: absolute; left: 50%; top: 50%; z-index: 1; width: 40%; aspect-ratio: 1; border: 1.5px solid rgba(255, 255, 255, 0.92); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); animation: lv-aperture 2.6s ease-in-out infinite; } | |
| .lv-aperture::before, .lv-aperture::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255, 255, 255, 0.85); transform: translate(-50%, -50%); } | |
| .lv-aperture::before { width: 140%; height: 1px; } | |
| .lv-aperture::after { width: 1px; height: 140%; } | |
| @keyframes lv-aperture { 0%, 100% { width: 30%; } 50% { width: 58%; } } | |
| /* Collaboration */ | |
| .steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; } | |
| .steps::before { content: ""; position: absolute; left: 26px; right: calc(25% - 40px); top: 25px; height: 2px; background: repeating-linear-gradient(90deg, #d6cdbb 0 8px, transparent 8px 14px); } | |
| .step { position: relative; padding-right: 8px; } | |
| .step-num { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--accent-deep); } | |
| .step:last-child .step-num { border-color: var(--accent); background: var(--accent); color: #fff; } | |
| .step h3 { margin: 16px 0 6px; font-size: 19px; letter-spacing: -0.015em; } | |
| .step p { font-size: 15px; color: var(--ink-2); } | |
| .collab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 52px; } | |
| .give-card { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); } | |
| .give-card h3 { margin-bottom: 14px; font-family: var(--serif); font-size: 24px; font-weight: 600; } | |
| .give-card-accent { border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 9%, #fff), #fff 72%); } | |
| .check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; } | |
| .check-list li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-2); } | |
| .check-list li::before { content: "✓"; flex: none; color: var(--accent); font-weight: 800; } | |
| .ways { margin-top: 20px; padding: 24px 28px; border-radius: 22px; border: 1px dashed #d6cdbb; background: rgba(255, 255, 255, 0.6); } | |
| .ways h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); } | |
| .ways-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; } | |
| .way-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; } | |
| .way p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); } | |
| /* Papers */ | |
| .paper-list { display: grid; gap: 22px; } | |
| .paper { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); } | |
| .paper-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); } | |
| .paper-tag { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 12px; font-weight: 700; } | |
| .paper h3 { margin: 12px 0 8px; font-family: var(--serif); font-size: clamp(22px, 2.1vw, 27px); font-weight: 600; line-height: 1.22; letter-spacing: -0.01em; } | |
| .paper h3 a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color 0.2s, text-decoration-color 0.2s; } | |
| .paper h3 a:hover { color: var(--accent-deep); text-decoration-color: currentColor; } | |
| .paper-authors { font-size: 14px; color: var(--muted); } | |
| .paper-summary { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); } | |
| .paper-you { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--tint-2); font-size: 14.5px; color: var(--ink-2); } | |
| .paper-you strong { color: var(--ink); } | |
| .paper-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } | |
| .paper-results { align-self: start; padding: 20px 22px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--tint-2); } | |
| .paper-results h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); } | |
| .res { margin-top: 16px; } | |
| .res-label { margin-bottom: 2px; font-size: 13.5px; font-weight: 600; color: var(--ink); } | |
| .rb { display: grid; gap: 3px; margin-top: 7px; } | |
| .rb span { order: -1; font: 500 12px var(--mono); color: var(--ink-2); } | |
| .rb i { position: relative; display: block; height: 10px; overflow: hidden; border-radius: 999px; background: rgba(24, 32, 46, 0.07); } | |
| .rb i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--v) * 1%); min-width: 4px; border-radius: inherit; background: #b8c0cc; transform-origin: left; } | |
| .rb-ours i::after { background: linear-gradient(90deg, var(--accent), #14b8a6); } | |
| .rb-warm i::after { background: linear-gradient(90deg, #f59e0b, #ea580c); } | |
| .js .paper .rb i::after { transform: scaleX(0); transition: transform 1s var(--ease) 0.25s; } | |
| .js .paper.is-visible .rb i::after { transform: none; } | |
| /* FAQ */ | |
| .faq-grid { display: grid; gap: 22px; } | |
| .section .faq-head h2.kicker { margin-bottom: 0; font-family: var(--font); font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: 0.08em; } | |
| .faq-head .sub { margin-top: 6px; } | |
| .faq-list { display: grid; gap: 10px; max-width: 880px; } | |
| .faq-list details { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); } | |
| .faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 16.5px; font-weight: 600; list-style: none; cursor: pointer; } | |
| .faq-list summary::-webkit-details-marker { display: none; } | |
| .faq-list summary::after { content: "+"; display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); font-size: 18px; font-weight: 500; color: var(--ink-2); transition: transform 0.25s var(--ease); } | |
| .faq-list details[open] summary::after { transform: rotate(45deg); } | |
| .faq-list details p { padding: 0 20px 18px; font-size: 15.5px; color: var(--ink-2); } | |
| /* Join */ | |
| .join { | |
| color: #e8ecf2; | |
| background: | |
| radial-gradient(60% 80% at 0% 0%, rgba(15, 159, 117, 0.18), transparent 60%), | |
| radial-gradient(50% 70% at 100% 100%, rgba(79, 70, 229, 0.16), transparent 60%), | |
| var(--dark); | |
| } | |
| .join .kicker { color: #6ee7b7; } | |
| .join h2 { color: #fff; } | |
| .join .sub { color: #b9c2cf; } | |
| .join-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; } | |
| .join-alt { margin-top: 22px; font-size: 15px; color: #b9c2cf; } | |
| .mail-link { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 3px; overflow-wrap: anywhere; } | |
| .join-form { display: grid; gap: 16px; padding: 28px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); } | |
| .join-form > label, .row2 > label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; } | |
| .join-form input:not([type="radio"]):not([type="checkbox"]), .join-form textarea { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--tint-2); font: 400 15px/1.45 var(--font); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; } | |
| .join-form textarea { min-height: 84px; resize: vertical; } | |
| .join-form input:focus, .join-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); } | |
| .join-form input[aria-invalid="true"] { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12); } | |
| .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } | |
| .pill-set { margin: 0; padding: 0; border: 0; } | |
| .pill-set legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; } | |
| .pills { display: flex; flex-wrap: wrap; gap: 8px; } | |
| .pills label { position: relative; display: inline-flex; cursor: pointer; } | |
| .pills input { position: absolute; width: 1px; height: 1px; opacity: 0; } | |
| .pills span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--tint-2); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color 0.2s, border-color 0.2s, color 0.2s; } | |
| .pills input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; } | |
| .pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; } | |
| .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; } | |
| .form-note { flex: 1 1 220px; font-size: 13.5px; color: var(--muted); } | |
| /* Footer */ | |
| .footer { padding: 30px 0 34px; border-top: 1px solid rgba(255, 255, 255, 0.08); background: #10151f; color: #9aa4b2; } | |
| .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; } | |
| .footer .brand { color: #fff; } | |
| .footer .brand em { border-color: rgba(255, 255, 255, 0.2); color: #9aa4b2; } | |
| .footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; } | |
| .footer-links a:hover { color: #fff; } | |
| .footer-note { width: 100%; font-size: 12.5px; color: #6b7686; } | |
| /* Scroll reveal */ | |
| .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); } | |
| .js .reveal.is-visible { opacity: 1; transform: none; } | |
| .field-grid .reveal:nth-child(2), .collab-grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: 0.08s; } | |
| .steps .reveal:nth-child(3) { transition-delay: 0.16s; } | |
| .steps .reveal:nth-child(4) { transition-delay: 0.24s; } | |
| /* Responsive */ | |
| @media (max-width: 1100px) { | |
| .nav-links { display: none; } | |
| .nav-toggle { display: inline-flex; } | |
| .nav-cta .btn { display: none; } | |
| .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; } | |
| .hero-visual { max-width: 440px; } | |
| .why-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } | |
| .stage-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; } | |
| .stage-tabs::-webkit-scrollbar { display: none; } | |
| .questions { grid-template-columns: minmax(0, 1fr); gap: 20px; } | |
| .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } | |
| .ex-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } | |
| .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } | |
| .steps::before { display: none; } | |
| .paper { grid-template-columns: minmax(0, 1fr); gap: 22px; } | |
| .faq-grid, .join-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } | |
| } | |
| @media (max-width: 760px) { | |
| .field-grid, .collab-grid, .ways-grid, .question-list, .stage-grid { grid-template-columns: minmax(0, 1fr); } | |
| } | |
| @media (max-width: 640px) { | |
| .container { width: min(1200px, 100% - 36px); } | |
| .brand em { display: none; } | |
| .hero-visual { max-width: 340px; } | |
| .stat { grid-template-columns: minmax(0, 1fr); gap: 6px; } | |
| .explorer { padding: 18px; border-radius: 20px; } | |
| .questions { padding: 22px 18px; } | |
| .field-card, .give-card, .paper { padding: 22px; } | |
| .ex-grid, .ex-facts, .steps, .row2 { grid-template-columns: minmax(0, 1fr); } | |
| .ex-modal { padding: 10px; } | |
| .ex-sheet { max-height: 100%; border-radius: 18px; } | |
| .ex-head { padding: 16px 16px 14px; } | |
| .ex-head h3 { font-size: 20px; } | |
| .ex-body { padding: 16px; } | |
| .join-form { padding: 20px; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| html { scroll-behavior: auto; } | |
| *, *::before, *::after { animation-duration: 0.01ms ; animation-iteration-count: 1 ; transition-duration: 0.01ms ; transition-delay: 0s ; } | |
| } | |