:root {
color-scheme: dark light;
--header-offset: 6rem;
--brand-red: #B51700;
--brand-white: #fff;
--bg: #0d0d0f;
--bg-elevated: #171413;
--line: rgba(255, 255, 255, 0.12);
--line-strong: rgba(255, 255, 255, 0.18);
--text: #f5efe9;
--muted: #c5b5ab;
--hero-title: #e7d8cf;
--accent: var(--brand-red);
--accent-text: #ff6b55;
--accent-strong: var(--brand-white);
--accent-soft: rgba(181, 23, 0, 0.16);
--focus: #ff9b4d;
--shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
--radius-lg: 1.6rem;
--radius-sm: 0.65rem;
--shell-width: 72rem;
}

@media (prefers-color-scheme: light) {
:root {
--bg: #fcf5ef;
--bg-elevated: #fffaf6;
--line: rgba(0, 0, 0, 0.11);
--line-strong: rgba(0, 0, 0, 0.18);
--text: #18110f;
--muted: #5f4a43;
--hero-title: var(--text);
--accent: var(--brand-red);
--accent-text: var(--brand-red);
--accent-strong: var(--brand-red);
--accent-soft: rgba(181, 23, 0, 0.1);
--shadow: 0 22px 48px rgba(36, 17, 10, 0.12);
}
}

*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
scroll-behavior: smooth;
}

#main-content, main > section[id] {
scroll-margin-top: calc(var(--header-offset) + 1rem);
}

@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;
}
}

body {
font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
background:
radial-gradient(circle at top right, rgba(255, 105, 0, 0.16), transparent 30%),
radial-gradient(circle at top left, rgba(181, 23, 0, 0.12), transparent 24%),
var(--bg);
color: var(--text);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
overflow-wrap: break-word;
}

a {
color: inherit;
}

img {
display: block;
max-width: 100%;
height: auto;
}

p, dd, dt, span, small, li, a {
hyphens: auto;
}

p, dd, .lead, .card p, .scenario p, .summary-card p, .steps p {
text-wrap: pretty;
}

h1, h2, h3 {
text-wrap: balance;
}

.shell {
width: min(var(--shell-width), calc(100% - clamp(1.25rem, 4vw, 2.5rem)));
margin-inline: auto;
}

.skip-link {
position: absolute;
left: 1rem;
top: -4rem;
padding: 0.75rem 1rem;
background: var(--accent);
color: #fff;
border-radius: var(--radius-sm);
z-index: 1000;
text-decoration: none;
}

.skip-link:focus {
top: 1rem;
}

.site-header {
position: sticky;
top: 0;
z-index: 10;
backdrop-filter: blur(18px);
background: color-mix(in srgb, var(--bg) 84%, transparent);
border-bottom: 1px solid var(--line);
}

.site-header .wrap {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: clamp(0.85rem, 2vw, 1.4rem);
padding-block: clamp(0.8rem, 1.7vw, 1rem);
}

.brand {
display: inline-flex;
align-items: center;
gap: clamp(0.7rem, 1.8vw, 0.95rem);
text-decoration: none;
}

.brand img {
width: clamp(2.9rem, 6vw, 3.4rem);
height: clamp(2.9rem, 6vw, 3.4rem);
}

.brand-copy {
display: grid;
gap: 0.08rem;
}

.brand-name {
font-size: clamp(1.08rem, 2.25vw, 1.24rem);
font-weight: 800;
letter-spacing: 0.08em;
color: var(--accent-text);
hyphens: none;
white-space: nowrap;
}

.brand-tag {
font-size: clamp(0.8rem, 1.8vw, 0.9rem);
color: var(--muted);
}

.site-nav {
display: flex;
flex-wrap: wrap;
gap: clamp(0.65rem, 1.8vw, 1.15rem);
}

.site-nav a, .button {
text-decoration: none;
}

.site-nav a {
color: var(--muted);
font-weight: 650;
font-size: clamp(0.92rem, 1.6vw, 0.98rem);
transition: color 160ms ease;
}

.site-nav a:hover, .site-nav a:focus-visible {
color: var(--accent-strong);
}

@media (max-width: 48rem) {
.site-header .wrap {
justify-content: center;
}

.brand {
justify-content: center;
width: 100%;
}

.brand-copy {
display: flex;
align-items: baseline;
gap: 0.45rem;
min-width: 0;
}

.brand-tag {
font-size: clamp(0.74rem, 1.8vw, 0.84rem);
white-space: nowrap;
}

.site-nav {
justify-content: center;
width: 100%;
}
}

@media (max-width: 23rem) {
.brand-copy {
display: grid;
gap: 0;
}

.brand-tag {
white-space: normal;
}
}

.hero {
padding-block: clamp(3rem, 7vw, 5.25rem) clamp(2.5rem, 5vw, 3.6rem);
}

.showcase-section {
padding-block: 0 clamp(2.4rem, 5vw, 3.8rem);
}

.showcase-image {
width: 100%;
max-width: 100%;
height: auto;
}

.hero-copy {
max-width: min(100%, 62rem);
}

.eyebrow, .section-kicker {
display: inline-block;
margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
font-size: clamp(0.8rem, 1.4vw, 0.9rem);
font-weight: 800;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--accent-text);
}

h1, h2, h3 {
line-height: 1.08;
}

h1 {
font-size: clamp(3.1rem, 8vw, 5.9rem);
letter-spacing: -0.055em;
color: var(--hero-title);
}

h2 {
font-size: clamp(2.1rem, 5vw, 3.35rem);
letter-spacing: -0.045em;
}

h3 {
font-size: clamp(1.14rem, 2.4vw, 1.34rem);
letter-spacing: -0.03em;
line-height: 1.15;
}

.lead, .card p, .scenario p, .summary-card p, .steps p {
color: var(--muted);
}

.lead {
margin-top: clamp(1.15rem, 2.4vw, 1.5rem);
max-width: min(100%, 76ch);
font-size: clamp(1.07rem, 2.2vw, 1.22rem);
}

.hero-actions {
display: flex;
flex-wrap: wrap;
gap: clamp(0.75rem, 2vw, 1rem);
margin-top: clamp(1.55rem, 3vw, 2rem);
}

.button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 3.25rem;
padding: 0.88rem 1.3rem;
border-radius: 999px;
border: 1px solid transparent;
font-size: clamp(0.95rem, 1.7vw, 1rem);
font-weight: 800;
}

.button-primary {
background: var(--accent);
color: #fff;
}

.button-secondary {
background: transparent;
border-color: var(--line-strong);
}

.button-primary:hover, .button-primary:focus-visible, .button-secondary:hover, .button-secondary:focus-visible {
border-color: color-mix(in srgb, var(--accent) 40%, var(--line-strong));
}

.section {
padding-block: clamp(2.1rem, 5vw, 4rem);
}

.section-head {
display: grid;
gap: clamp(0.5rem, 1.4vw, 0.8rem);
margin-bottom: clamp(1.3rem, 2.8vw, 1.8rem);
max-width: min(100%, 68rem);
}

.card-grid, .scenario-grid, .summary-grid, .roadmap-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
gap: clamp(0.95rem, 2vw, 1.2rem);
}

.card, .scenario, .summary-card, .roadmap-card, .steps li {
background: var(--bg-elevated);
border: 1px solid var(--line);
border-radius: var(--radius-lg);
box-shadow: var(--shadow);
}

.card h3, .scenario h3, .summary-card h3, .roadmap-card h3, .steps h3 {
color: var(--accent-text);
}

.card, .scenario, .summary-card, .roadmap-card {
display: grid;
gap: clamp(0.55rem, 1.2vw, 0.7rem);
padding: clamp(1.2rem, 2.6vw, 1.55rem);
}

.roadmap-card {
text-decoration: none;
transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.roadmap-card:hover, .roadmap-card:focus-visible {
transform: translateY(-0.2rem);
border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
background: color-mix(in srgb, var(--bg-elevated) 88%, var(--accent-soft));
}

.steps {
counter-reset: step;
list-style: none;
display: grid;
gap: clamp(0.95rem, 2vw, 1.2rem);
}

.steps li {
display: grid;
gap: clamp(0.6rem, 1.2vw, 0.8rem);
padding: clamp(1.3rem, 2.8vw, 1.65rem);
position: relative;
overflow: hidden;
}

.steps li::before {
content: counter(step);
counter-increment: step;
position: absolute;
right: clamp(0.9rem, 1.8vw, 1.15rem);
top: 50%;
transform: translateY(-50%);
font-size: clamp(2.6rem, 8vw, 4rem);
font-weight: 900;
line-height: 1;
color: color-mix(in srgb, var(--accent-strong) 26%, transparent);
}

.site-footer {
border-top: 1px solid var(--line);
padding-block: clamp(1.2rem, 3vw, 2rem) clamp(1.6rem, 4vw, 2.5rem);
}

.footer-nav {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
align-items: center;
gap: clamp(0.75rem, 2vw, 1.4rem);
}

.footer-nav a {
color: var(--muted);
font-weight: 700;
text-decoration: none;
width: fit-content;
transition: color 160ms ease;
}

.footer-nav a:hover, .footer-nav a:focus-visible {
color: var(--accent-strong);
}

.footer-nav a:first-child {
justify-self: start;
}

.footer-nav a:nth-child(2) {
justify-self: center;
}

.footer-nav a:last-child {
justify-self: end;
}

@media (max-width: 48rem) {
.footer-nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
text-align: center;
}

.footer-nav a {
max-width: 100%;
width: auto;
}
}

:focus-visible {
outline: 3px solid var(--focus);
outline-offset: 3px;
}
