Files
WRNexusJSDoc/app/styles/global.css
T

1268 lines
25 KiB
CSS

@import "tailwindcss";
@source "../**/*.{wrn,ts,tsx}";
:root {
color-scheme: light;
--bg: #f8fafc;
--surface: #ffffff;
--surface-soft: #f1f5f9;
--text: #0f172a;
--muted: #526075;
--border: #dbe3ee;
--brand: #5b5cf0;
--brand-strong: #4338ca;
--code: #111827;
--code-text: #dbeafe;
--shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}
[data-theme="dark"] {
color-scheme: dark;
--bg: #080b14;
--surface: #101522;
--surface-soft: #161c2c;
--text: #f4f7fb;
--muted: #9ba8bc;
--border: #263047;
--brand: #8b8df8;
--brand-strong: #a5b4fc;
--code: #05070d;
--code-text: #dbeafe;
--shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
overflow-x: hidden;
}
a {
color: inherit;
}
.skip-link {
position: fixed;
z-index: 100;
top: 0.5rem;
left: 0.5rem;
transform: translateY(-160%);
padding: 0.75rem 1rem;
border-radius: 0.5rem;
color: white;
background: var(--brand-strong);
}
.skip-link:focus {
transform: translateY(0);
}
:focus-visible {
outline: 3px solid var(--brand);
outline-offset: 3px;
}
.docs-shell {
position: relative;
isolation: isolate;
min-height: 100vh;
overflow: hidden;
}
.docs-shell::before,
.docs-shell::after {
position: fixed;
z-index: -1;
width: 38rem;
height: 38rem;
border-radius: 999px;
content: "";
pointer-events: none;
filter: blur(110px);
opacity: 0.12;
animation: ambient-float 16s ease-in-out infinite alternate;
}
.docs-shell::before {
top: -16rem;
left: -12rem;
background: #6366f1;
}
.docs-shell::after {
right: -15rem;
bottom: -18rem;
background: #a855f7;
animation-delay: -7s;
}
.topbar {
position: sticky;
top: 0;
z-index: 20;
display: grid;
grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
align-items: center;
gap: 2rem;
height: 74px;
padding: 0 clamp(20px, 4vw, 72px);
border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
background: color-mix(in srgb, var(--bg) 82%, transparent);
backdrop-filter: blur(22px) saturate(145%);
}
.brand {
display: inline-flex;
align-items: center;
gap: 0.65rem;
width: fit-content;
font-weight: 800;
text-decoration: none;
letter-spacing: -0.02em;
}
.brand span {
display: grid;
place-items: center;
width: 34px;
height: 34px;
border-radius: 11px;
color: white;
background: linear-gradient(145deg, #6366f1, #8b5cf6);
box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
animation: logo-pulse 4s ease-in-out infinite;
}
.topbar nav {
display: flex;
gap: clamp(0.8rem, 1.35vw, 1.5rem);
align-items: center;
}
.topbar nav a {
position: relative;
color: var(--muted);
font-size: 0.9rem;
font-weight: 600;
text-decoration: none;
}
.topbar nav a::after {
position: absolute;
right: 0;
bottom: -0.45rem;
left: 0;
height: 2px;
border-radius: 2px;
background: linear-gradient(90deg, var(--brand), #a855f7);
content: "";
transform: scaleX(0);
transition: transform 0.2s ease;
}
.topbar nav a:hover::after {
transform: scaleX(1);
}
.topbar nav a:hover {
color: var(--text);
}
.theme-button {
display: inline-grid;
place-items: center;
width: 40px;
height: 40px;
border: 1px solid var(--border);
border-radius: 9px;
padding: 0;
color: var(--muted);
background: var(--surface);
cursor: pointer;
transition:
transform 0.18s ease,
border-color 0.18s ease,
box-shadow 0.18s ease;
}
.preview-pill {
display: inline-flex;
align-items: center;
min-height: 36px;
padding: 0.35rem 0.65rem;
border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--border));
border-radius: 999px;
color: var(--brand-strong);
font-size: 0.78rem;
font-weight: 800;
text-decoration: none;
}
.topbar-actions {
display: flex;
justify-self: end;
align-items: center;
gap: 0.65rem;
}
.mobile-doc-nav {
display: none;
padding: 0.75rem 20px;
border-bottom: 1px solid var(--border);
background: var(--surface);
}
.mobile-doc-nav summary {
cursor: pointer;
font-weight: 700;
}
.mobile-doc-nav nav {
display: grid;
gap: 0.6rem;
padding: 1rem 0 0.25rem;
}
.portal-main {
min-width: 0;
width: min(1240px, 100%);
margin: 0 auto;
padding: 0 clamp(20px, 4vw, 72px) 6rem;
}
.breadcrumbs {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
padding: 1rem 0;
color: var(--muted);
font-size: 0.8rem;
}
.portal-hero {
min-height: min(720px, calc(100vh - 74px));
margin-inline: calc(clamp(20px, 4vw, 72px) * -1);
padding-inline: clamp(20px, 4vw, 72px);
}
.status {
display: inline-flex;
align-items: center;
gap: 0.45rem;
width: fit-content;
border: 1px solid var(--border);
border-radius: 999px;
padding: 0.35rem 0.65rem;
font-size: 0.75rem;
font-weight: 800;
}
.status-beta {
color: #7c3aed;
background: color-mix(in srgb, #8b5cf6 10%, var(--surface));
}
.status-planned {
color: #a16207;
background: color-mix(in srgb, #eab308 12%, var(--surface));
}
.access-note {
font-size: 0.86rem !important;
}
.portal-main > section:not(.hero) {
padding-block: clamp(3rem, 7vw, 6rem);
border-top: 1px solid var(--border);
}
.portal-main > section:not(.hero) > h2 {
max-width: 760px;
margin: 0 0 1.75rem;
font-size: clamp(1.8rem, 3.4vw, 3rem);
line-height: 1.08;
letter-spacing: -0.045em;
}
.portal-main > section:not(.hero) > p {
max-width: 760px;
color: var(--muted);
line-height: 1.75;
}
.portal-main .feature-grid {
padding: 0;
}
.feature-grid h3 {
margin: 0.65rem 0;
color: var(--text);
font-size: 1.05rem;
}
.feature-grid article > :first-child {
margin-top: 0;
}
.feature-grid article > :last-child {
margin-bottom: 0;
}
.access-callout {
margin: 2rem 0;
border: 1px solid var(--brand);
border-radius: 14px;
padding: 1.25rem;
background: color-mix(in srgb, var(--brand) 7%, var(--surface));
}
.access-callout pre {
padding-right: 5.5rem;
}
.access-callout .copy-button {
position: absolute;
top: 0.65rem;
right: 0.65rem;
}
.access-callout h2 {
margin-top: 0;
font-size: 1.2rem;
}
.lifecycle {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 0.75rem;
padding: 0;
list-style: none;
}
.lifecycle li {
display: grid;
gap: 0.45rem;
border: 1px solid var(--border);
border-radius: 12px;
padding: 1rem;
background: var(--surface);
}
.lifecycle span {
color: var(--muted);
font-size: 0.82rem;
}
.coverage-list {
display: grid;
gap: 0.75rem;
}
.coverage-list article {
display: flex;
justify-content: space-between;
gap: 1rem;
align-items: center;
border-bottom: 1px solid var(--border);
}
.local-toc {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
border: 1px solid var(--border);
border-radius: 12px;
padding: 1rem;
}
.copy-button {
min-width: 44px;
min-height: 44px;
border: 1px solid #64748b;
border-radius: 8px;
color: white;
background: #334155;
cursor: pointer;
}
.copy-button:hover {
background: #475569;
}
footer nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1rem;
}
.theme-button:hover {
transform: translateY(-2px);
border-color: var(--brand);
box-shadow: 0 10px 28px color-mix(in srgb, var(--brand) 18%, transparent);
}
.page {
width: 100%;
margin: 0;
padding-inline: clamp(20px, 4vw, 72px);
}
.hero {
display: grid;
grid-template-columns: minmax(0, 1fr);
place-items: center;
min-height: 670px;
padding: 100px 0;
text-align: center;
background:
radial-gradient(
circle at 50% 25%,
color-mix(in srgb, var(--brand) 19%, transparent),
transparent 34%
),
radial-gradient(circle at 75% 55%, color-mix(in srgb, #a855f7 9%, transparent), transparent 26%);
}
.hero.compact {
min-height: auto;
padding: 100px 0 60px;
}
.eyebrow,
.category {
color: var(--brand);
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.hero h1 {
width: 100%;
max-width: 920px;
margin: 1rem 0;
font-size: clamp(3rem, 7vw, 6.6rem);
line-height: 0.96;
letter-spacing: -0.065em;
}
.hero > * {
min-width: 0;
}
.hero.compact h1 {
font-size: clamp(2.8rem, 5vw, 4.8rem);
}
.hero h1 em {
color: transparent;
background: linear-gradient(105deg, var(--brand), #a855f7, #0ea5e9, var(--brand));
background-size: 240% auto;
background-clip: text;
font-style: normal;
animation: gradient-shift 7s linear infinite;
}
.hero > p {
width: min(720px, 100%);
max-width: 100%;
margin: 0.75rem auto 0;
color: var(--muted);
font-size: 1.15rem;
line-height: 1.75;
}
.actions {
display: flex;
flex-wrap: wrap;
gap: 0.8rem;
margin-top: 2rem;
}
.actions a {
padding: 0.8rem 1.15rem;
border: 1px solid var(--border);
border-radius: 10px;
background: var(--surface);
font-weight: 700;
text-decoration: none;
transition:
transform 0.18s ease,
box-shadow 0.18s ease,
border-color 0.18s ease;
}
.actions a:hover {
transform: translateY(-3px);
border-color: var(--brand);
box-shadow: 0 14px 35px color-mix(in srgb, var(--brand) 18%, transparent);
}
.actions .primary {
border-color: var(--brand);
color: white;
background: var(--brand);
}
.code-window {
width: min(680px, 100%);
margin-top: 3rem;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 16px;
text-align: left;
background: var(--code);
box-shadow: var(--shadow);
}
.code-window > span {
display: block;
padding: 0.7rem 1rem;
border-bottom: 1px solid #283044;
color: #94a3b8;
font:
0.75rem ui-monospace,
monospace;
}
pre {
position: relative;
overflow: auto;
margin: 1.25rem 0;
padding: 1.2rem 1.35rem;
border: 1px solid #20283a;
border-radius: 12px;
color: var(--code-text);
background: var(--code);
font:
0.82rem/1.7 ui-monospace,
SFMono-Regular,
Consolas,
monospace;
tab-size: 2;
}
.code-window pre {
margin: 0;
border: 0;
border-radius: 0;
}
code {
border-radius: 5px;
padding: 0.12rem 0.35rem;
color: var(--brand-strong);
background: var(--surface-soft);
font:
0.88em ui-monospace,
SFMono-Regular,
Consolas,
monospace;
}
pre code,
.sidebar > code {
padding: 0;
color: inherit;
background: transparent;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
padding: 0 0 100px;
}
.feature-grid article,
.package-card {
border: 1px solid var(--border);
border-radius: 16px;
padding: 1.5rem;
background: linear-gradient(
145deg,
var(--surface),
color-mix(in srgb, var(--surface-soft) 42%, var(--surface))
);
box-shadow: var(--shadow);
}
.feature-grid h2,
.package-card h2 {
margin: 0.7rem 0;
letter-spacing: -0.025em;
}
.feature-grid p,
.package-card p {
color: var(--muted);
line-height: 1.65;
}
.search {
width: min(620px, 100%);
margin-top: 2rem;
border: 1px solid var(--border);
border-radius: 13px;
padding: 0.9rem 1rem;
color: var(--text);
background: var(--surface);
font: inherit;
box-shadow: var(--shadow);
transition:
border-color 0.18s ease,
box-shadow 0.18s ease,
transform 0.18s ease;
}
.search:focus {
transform: translateY(-2px);
border-color: var(--brand);
outline: none;
box-shadow: 0 18px 50px color-mix(in srgb, var(--brand) 18%, transparent);
}
.category-filter {
display: grid;
gap: 0.8rem;
margin-bottom: 1.5rem;
}
.category-row {
display: flex;
gap: 0.55rem;
overflow-x: auto;
padding: 0.2rem 0 0.65rem;
scrollbar-width: thin;
}
.category-row button {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
gap: 0.45rem;
border: 1px solid var(--border);
border-radius: 999px;
padding: 0.55rem 0.8rem;
color: var(--muted);
background: var(--surface);
font-family: inherit;
font-size: 0.82rem;
font-weight: 600;
line-height: 1;
cursor: pointer;
transition:
border-color 0.16s ease,
color 0.16s ease,
transform 0.16s ease;
}
.category-row button:hover,
.category-row button:focus-visible {
transform: translateY(-1px);
border-color: var(--brand);
color: var(--brand);
outline: none;
}
.category-row button span {
display: grid;
place-items: center;
min-width: 1.35rem;
height: 1.35rem;
border-radius: 999px;
color: var(--text);
background: var(--surface-soft);
font-size: 0.7rem;
}
.category-filter p {
margin: 0;
color: var(--muted);
font-size: 0.85rem;
}
.category-filter strong {
color: var(--text);
}
.package-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
padding-bottom: 100px;
}
.package-card {
display: block;
text-decoration: none;
transition:
transform 0.18s ease,
border-color 0.18s ease,
box-shadow 0.18s ease;
}
.package-card:hover {
transform: translateY(-7px);
border-color: var(--brand);
box-shadow: 0 24px 60px color-mix(in srgb, var(--brand) 14%, transparent);
}
.card-link {
color: var(--brand);
font-size: 0.88rem;
font-weight: 700;
}
.package-page {
display: grid;
grid-template-columns: 250px minmax(0, 1fr) 200px;
gap: 48px;
align-items: start;
padding-top: 56px;
padding-bottom: 110px;
}
.on-this-page {
position: sticky;
top: 110px;
min-width: 0;
border-left: 1px solid var(--border);
padding-left: 1rem;
}
.on-this-page h2 {
margin: 0 0 0.8rem;
font-size: 0.78rem;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.on-this-page nav {
display: grid;
gap: 0.48rem;
max-height: calc(100vh - 160px);
overflow-y: auto;
}
.on-this-page a {
overflow: hidden;
color: var(--muted);
font-size: 0.78rem;
line-height: 1.35;
text-decoration: none;
text-overflow: ellipsis;
white-space: nowrap;
}
.on-this-page a:hover {
color: var(--brand);
}
.on-this-page .toc-level-3,
.on-this-page .toc-level-4 {
padding-left: 0.7rem;
}
.sidebar {
position: sticky;
top: 110px;
display: grid;
gap: 0.85rem;
}
.sidebar > a {
color: var(--muted);
font-size: 0.85rem;
text-decoration: none;
}
.sidebar h1 {
overflow-wrap: anywhere;
margin: 0;
font-size: 1.55rem;
letter-spacing: -0.035em;
}
.sidebar p {
margin: 0;
color: var(--muted);
line-height: 1.55;
}
.sidebar > code {
overflow-x: auto;
padding: 0.8rem;
border: 1px solid var(--border);
border-radius: 9px;
color: var(--text);
background: var(--surface-soft);
}
.sidebar nav {
display: grid;
gap: 0.55rem;
padding-top: 0.5rem;
border-top: 1px solid var(--border);
}
.sidebar nav a {
color: var(--muted);
text-decoration: none;
}
.documentation {
min-width: 0;
}
.documentation.standalone,
.standalone {
width: min(960px, 100%);
max-width: 960px;
margin: 0 auto;
padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem);
}
.standalone > * {
width: 100%;
max-width: 850px;
}
.doc-intro {
padding-bottom: 2rem;
border-bottom: 1px solid var(--border);
}
.doc-intro h1,
.standalone h1 {
margin: 0.7rem 0;
font-size: clamp(2.5rem, 5vw, 4.2rem);
letter-spacing: -0.055em;
}
.doc-intro p {
color: var(--muted);
font-size: 1.1rem;
}
.prose {
color: var(--muted);
font-size: 1rem;
line-height: 1.8;
}
.prose p,
.prose li,
.prose td,
.prose th {
overflow-wrap: anywhere;
}
.prose pre {
max-width: 100%;
}
.prose > * {
max-width: 850px;
}
.prose h2,
.prose h3,
.prose h4 {
scroll-margin-top: 90px;
color: var(--text);
line-height: 1.2;
letter-spacing: -0.035em;
}
.prose h2 {
margin: 3.5rem 0 1rem;
font-size: 2rem;
}
.prose h3 {
margin: 2.5rem 0 0.8rem;
font-size: 1.4rem;
}
.prose ul {
padding-left: 1.25rem;
}
.prose li {
margin: 0.45rem 0;
}
.prose blockquote {
margin: 1.5rem 0;
border-left: 3px solid var(--brand);
padding: 0.5rem 1.2rem;
color: var(--text);
background: var(--surface-soft);
}
.table-wrap {
overflow-x: auto;
margin: 1.5rem 0;
border: 1px solid var(--border);
border-radius: 12px;
}
.prose table,
.portal-main table {
width: 100%;
border-collapse: collapse;
background: var(--surface);
font-size: 0.9rem;
}
.prose th,
.prose td,
.portal-main th,
.portal-main td {
min-width: 130px;
padding: 0.75rem 0.9rem;
border-bottom: 1px solid var(--border);
text-align: left;
vertical-align: top;
line-height: 1.5;
}
.prose th,
.portal-main th {
color: var(--text);
background: var(--surface-soft);
font-weight: 700;
}
.prose tr:last-child td,
.portal-main tr:last-child td {
border-bottom: 0;
}
.prose a {
color: var(--brand);
}
.api {
margin-top: 4rem;
border-top: 1px solid var(--border);
}
.api pre {
max-height: 760px;
}
#guide,
#api,
#examples {
scroll-margin-top: 90px;
}
.examples {
margin-top: 4rem;
border-top: 1px solid var(--border);
}
.example-grid {
display: grid;
gap: 1rem;
}
.example-card {
min-width: 0;
}
.example-card h3 {
margin-bottom: -0.5rem;
font-size: 0.88rem;
}
.language-reference {
max-width: 920px;
}
footer {
border-top: 1px solid var(--border);
padding: 34px 20px;
color: var(--muted);
font-size: 0.82rem;
text-align: center;
}
footer p {
margin: 0.5rem auto;
}
footer a {
color: var(--brand-strong);
text-underline-offset: 3px;
}
@keyframes reveal-up {
from {
opacity: 0;
transform: translateY(22px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes ambient-float {
from {
transform: translate3d(-3%, -2%, 0) scale(0.95);
}
to {
transform: translate3d(8%, 7%, 0) scale(1.12);
}
}
@keyframes gradient-shift {
to {
background-position: 240% center;
}
}
@keyframes logo-pulse {
0%,
100% {
box-shadow: 0 8px 24px rgba(99, 102, 241, 0.28);
}
50% {
box-shadow: 0 10px 34px rgba(139, 92, 246, 0.5);
}
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
@media (max-width: 900px) {
.topbar {
grid-template-columns: 1fr auto;
padding: 0 20px;
}
.topbar nav {
display: none;
}
.preview-pill {
display: none;
}
.topbar-actions {
display: none;
}
.mobile-doc-nav {
display: block;
}
.feature-grid,
.package-grid {
grid-template-columns: repeat(2, 1fr);
}
.package-page {
grid-template-columns: 1fr;
gap: 35px;
}
.sidebar {
position: static;
}
.on-this-page {
display: none;
}
}
@media (min-width: 901px) and (max-width: 1120px) {
.package-page {
grid-template-columns: 230px minmax(0, 1fr);
}
.on-this-page {
display: none;
}
}
@media (max-width: 600px) {
.page {
width: 100%;
padding-inline: 14px;
}
.hero {
min-height: auto;
padding-top: 72px;
padding-bottom: 72px;
}
.hero h1 {
width: calc(100vw - 60px);
max-width: calc(100vw - 60px);
font-size: clamp(1.75rem, 8vw, 2.2rem);
line-height: 1.02;
letter-spacing: -0.055em;
overflow-wrap: anywhere;
}
.hero > p {
width: calc(100vw - 60px);
max-width: calc(100vw - 60px);
font-size: 1rem;
overflow-wrap: anywhere;
}
.portal-hero {
margin-inline: -14px;
padding-inline: 14px;
}
.portal-hero br {
display: block;
}
.portal-hero h1 em {
display: block;
}
.portal-hero > p {
padding-inline: 0.25rem;
}
.actions {
width: calc(100vw - 60px);
max-width: calc(100vw - 60px);
}
.actions a {
max-width: 100%;
text-align: center;
}
.portal-main > section:not(.hero) {
padding-block: 3.5rem;
}
.breadcrumbs {
overflow-x: auto;
flex-wrap: nowrap;
white-space: nowrap;
}
.documentation.standalone,
.standalone {
width: calc(100vw - 40px);
max-width: calc(100vw - 40px);
}
.standalone > * {
max-width: calc(100vw - 40px);
}
.standalone > .status {
width: fit-content;
}
.coverage-list article {
align-items: flex-start;
flex-direction: column;
padding-bottom: 1rem;
}
.feature-grid,
.package-grid {
grid-template-columns: 1fr;
}
.package-page {
padding-top: 30px;
}
}
/* Marketing shell restored from the visual system at 5eea460. */
.marketing-shell {
background:
radial-gradient(circle at 50% 18%, rgba(99, 102, 241, 0.12), transparent 30rem),
radial-gradient(circle at 92% 88%, rgba(168, 85, 247, 0.1), transparent 32rem), var(--bg);
}
.marketing-header {
grid-template-columns: 1fr auto 1fr;
}
.marketing-header > nav {
justify-self: center;
}
.marketing-mobile-nav {
display: none;
}
.marketing-main {
width: 100%;
}
.marketing-main .marketing-hero {
min-height: 860px;
padding: 96px clamp(20px, 5vw, 80px) 120px;
}
.marketing-hero .status {
display: none;
}
.marketing-hero .eyebrow {
margin-bottom: 0.5rem;
}
.marketing-hero h1 {
max-width: 1080px;
font-size: clamp(4rem, 7.5vw, 7.5rem);
}
.marketing-hero > p:not(.access-note) {
max-width: 760px;
}
.marketing-hero .access-note {
width: auto;
margin-top: 1rem;
font-size: 0.78rem !important;
}
.marketing-hero .code-window {
width: min(760px, 100%);
margin-top: 3.5rem;
border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}
.marketing-hero .code-window > span::before {
content: "● ● ● ";
color: #64748b;
letter-spacing: 0.15em;
}
.marketing-section,
.marketing-cta {
width: min(1180px, calc(100% - 40px));
margin: 0 auto;
padding: clamp(5rem, 9vw, 9rem) 0;
border-top: 1px solid var(--border);
}
.marketing-section > .eyebrow,
.marketing-cta > .eyebrow {
display: block;
margin-bottom: 1rem;
}
.marketing-section > h2,
.marketing-cta h2 {
max-width: 800px;
margin: 0 0 2.5rem;
font-size: clamp(2.4rem, 5vw, 4.8rem);
line-height: 1.03;
letter-spacing: -0.055em;
}
.marketing-main .feature-grid {
padding-bottom: 0;
}
.marketing-main .feature-grid article {
min-height: 220px;
padding: 2rem;
box-shadow: none;
}
.marketing-main .feature-grid article b {
color: var(--brand);
font-size: 0.72rem;
letter-spacing: 0.12em;
}
.marketing-main > section:nth-child(3) {
display: grid;
grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
gap: clamp(2rem, 7vw, 7rem);
align-items: start;
}
.marketing-main > section:nth-child(3) > h2 {
margin-top: 1.2rem;
}
.marketing-main > section:nth-child(3) > pre {
margin: 0;
}
.marketing-main .lifecycle {
grid-template-columns: repeat(5, 1fr);
}
.marketing-main .lifecycle li {
min-height: 150px;
padding: 1.25rem;
background: linear-gradient(
145deg,
var(--surface),
color-mix(in srgb, var(--brand) 5%, var(--surface))
);
}
.marketing-main .lifecycle li b {
color: var(--brand);
font-size: 0.7rem;
}
.marketing-main > section:nth-child(5) .feature-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.marketing-main > section:nth-child(5) .feature-grid article {
min-height: 260px;
}
.marketing-main > section:nth-child(6) .table-wrap {
background: var(--surface);
}
.marketing-main > section:nth-child(7) {
text-align: center;
border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
border-radius: 24px;
padding-inline: 2rem;
background: radial-gradient(
circle at 50% 0,
color-mix(in srgb, var(--brand) 14%, transparent),
transparent 65%
);
}
.marketing-main > section:nth-child(7) h2 {
margin-inline: auto;
}
.marketing-main > section:nth-child(7) .actions {
justify-content: center;
}
@media (max-width: 900px) {
.marketing-header {
grid-template-columns: 1fr auto;
}
.marketing-header > nav {
display: none;
}
.marketing-header .topbar-actions {
display: flex;
}
.marketing-header .preview-pill {
display: none;
}
.marketing-mobile-nav {
display: block;
border-bottom: 1px solid var(--border);
padding: 0.8rem 20px;
background: color-mix(in srgb, var(--bg) 88%, transparent);
}
.marketing-mobile-nav summary {
cursor: pointer;
font-weight: 700;
}
.marketing-mobile-nav nav {
display: grid;
gap: 0.8rem;
padding: 1rem 0 0.35rem;
}
.marketing-main .lifecycle {
grid-template-columns: repeat(2, 1fr);
}
.marketing-main > section:nth-child(3) {
grid-template-columns: 1fr;
}
}
@media (max-width: 600px) {
.marketing-main .marketing-hero {
min-height: auto;
padding: 72px 20px 86px;
}
.marketing-hero h1 {
width: calc(100vw - 40px);
max-width: calc(100vw - 40px);
font-size: clamp(2.35rem, 11vw, 3rem);
line-height: 0.98;
overflow-wrap: normal;
}
.marketing-hero h1 em {
display: block;
max-width: 100%;
font-size: 0.94em;
}
.marketing-hero > p,
.marketing-hero .actions {
width: calc(100vw - 40px);
max-width: calc(100vw - 40px);
}
.marketing-hero .actions {
justify-content: center;
}
.marketing-hero .actions a {
width: 100%;
}
.marketing-hero .code-window {
margin-top: 2.5rem;
}
.marketing-hero .code-window pre {
max-height: 360px;
}
.marketing-section,
.marketing-cta {
width: calc(100% - 40px);
padding-block: 4.5rem;
}
.marketing-section > h2,
.marketing-cta h2 {
font-size: clamp(2.2rem, 11vw, 3.2rem);
}
.marketing-main .feature-grid,
.marketing-main > section:nth-child(5) .feature-grid,
.marketing-main .lifecycle {
grid-template-columns: 1fr;
}
}