/* Adversary Insights site theme: black, hairline grid, amber-to-coral accent. */

:root {
	--bg: #000;
	--panel: #080808;
	--panel-2: #0d0d0d;
	--line: #1c1c1c;
	--line-2: #2a2a2a;
	--text: #d4d4d4;
	--muted: #8c8c8c;
	--dim: #5e5e5e;
	--white: #fff;
	--amber: #f5b26b;
	--coral: #ff6a4d;
	--teal: #7ee0c3;
	--red: #ff8a8a;
	--green: #8ff0bf;
	--accent: linear-gradient(90deg, var(--amber), var(--coral));
	--sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
	--max: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 10px;
	--header-h: 64px;
	color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--coral); }
strong { color: var(--white); font-weight: 500; }
code, .mono { font-family: var(--mono); }
code { font-size: .88em; color: var(--amber); }
h1, h2, h3, h4 { color: var(--white); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -.04em; line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
::selection { background: rgba(255, 106, 77, .35); color: var(--white); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.grad { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.label {
	display: inline-block;
	font: 500 .72rem/1.4 var(--mono);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: #000; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Layout: a centred column framed by hairlines, sections split by hairlines. */
.frame { max-width: var(--max); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.sec { padding: clamp(56px, 8vw, 104px) var(--gutter); border-bottom: 1px solid var(--line); position: relative; }
.sec--flush { padding: 0; }
.sec-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head .label { margin-bottom: 14px; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 18px; border-radius: 7px; border: 1px solid var(--white);
	background: var(--white); color: #000; text-decoration: none;
	font: 500 .95rem/1 var(--sans); cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -8px rgba(255, 106, 77, .55); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--muted); box-shadow: none; }
.btn--sm { padding: 8px 13px; font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* Header and navigation */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(0, 0, 0, .78);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.site-header .bar {
	max-width: var(--max); margin: 0 auto; height: var(--header-h);
	display: flex; align-items: center; gap: 8px; padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 600; letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 30px; height: 30px; filter: invert(1); object-fit: contain; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-trigger {
	color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 6px;
	font: 400 .95rem/1 var(--sans); background: none; border: 0; cursor: pointer;
	display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"], .nav > a[aria-current="page"] { color: var(--white); background: var(--panel-2); }
.nav-trigger svg { width: 10px; height: 10px; transition: transform .2s ease; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav .btn { margin-left: 10px; }
.has-menu { position: relative; }
.menu {
	position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0;
	width: min(640px, 92vw); padding: 10px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px;
	background: rgba(8, 8, 8, .97); border: 1px solid var(--line-2); border-radius: 12px;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-menu.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.menu-group { padding: 8px; }
.menu-group .label { font-size: .65rem; color: var(--dim); margin: 2px 8px 8px; }
.menu a { display: flex; gap: 12px; padding: 9px 8px; border-radius: 8px; text-decoration: none; }
.menu a:hover, .menu a:focus-visible { background: var(--panel-2); }
.menu a .n { font: .7rem/1.6 var(--mono); color: var(--dim); min-width: 18px; }
.menu a b { display: block; color: var(--white); font-weight: 500; font-size: .95rem; }
.menu a span.d { display: block; color: var(--muted); font-size: .82rem; }
.menu a.flag b { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 7px; width: 40px; height: 40px; color: var(--white); cursor: pointer; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Hero */
.hero { overflow: hidden; }
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(ellipse 60% 70% at 85% 0%, rgba(255, 106, 77, .17), transparent 70%),
		radial-gradient(ellipse 40% 50% at 10% 100%, rgba(245, 178, 107, .07), transparent 70%);
}
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 10%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 10%, transparent 75%);
}
.hero > * { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-grid--service { grid-template-columns: 1fr 1.05fr; }
.hero h1 { margin: 18px 0 22px; }
.hero .lead { margin: 0; }
.badge {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
	font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
	color: var(--teal); border: 1px solid #1f3a33; background: #06130f; padding: 7px 11px; border-radius: 99px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }

/* The raven: a scan line sweeps up and draws the logo, then the eye starts to glow. */
.raven { position: relative; width: min(100%, 440px); margin-left: auto; aspect-ratio: 1024 / 896; }
.raven img {
	width: 100%; height: 100%; filter: invert(1) drop-shadow(0 0 22px rgba(255, 106, 77, .25));
	animation: raven-draw 2.2s cubic-bezier(.6, .1, .2, 1) .2s both;
}
.raven::before {
	content: ""; position: absolute; left: 6%; right: 6%; height: 2px; bottom: 0; z-index: 1;
	background: linear-gradient(90deg, transparent, var(--coral), var(--amber), var(--coral), transparent);
	box-shadow: 0 0 24px 4px rgba(255, 106, 77, .55);
	opacity: 0; animation: raven-scan 2.2s cubic-bezier(.6, .1, .2, 1) .2s both;
}
.raven::after {
	content: ""; position: absolute; left: 50.78%; top: 33.26%; width: 4.5%; aspect-ratio: 1; translate: -50% -50%;
	border-radius: 50%; background: var(--coral);
	box-shadow: 0 0 18px 6px rgba(255, 106, 77, .7), 0 0 60px 16px rgba(255, 106, 77, .25);
	opacity: 0; animation: eye-on .5s ease 2.4s forwards, eye-pulse 3.2s ease-in-out 2.9s infinite;
}
@keyframes raven-draw { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes raven-scan { 0% { bottom: 0; opacity: 1; } 90% { bottom: 100%; opacity: 1; } 100% { bottom: 100%; opacity: 0; } }
@keyframes eye-on { to { opacity: 1; } }
@keyframes eye-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* Numbered service panels */
.panels { display: grid; grid-template-columns: repeat(6, 1fr); }
.panel {
	position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
	min-height: 260px; padding: 22px 18px; border-right: 1px solid var(--line);
	text-decoration: none; color: var(--text); overflow: hidden; isolation: isolate;
}
.panel:last-child { border-right: 0; }
.panel::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease;
	background:
		repeating-linear-gradient(0deg, rgba(0, 0, 0, .45) 0 2px, transparent 2px 4px),
		radial-gradient(120% 90% at 30% 20%, rgba(255, 106, 77, .55), rgba(122, 29, 16, .5) 45%, transparent 80%);
	animation: scan .3s linear infinite;
}
.panel:hover::before, .panel:focus-visible::before { opacity: 1; }
.panel .n { font: .75rem/1 var(--mono); color: var(--dim); letter-spacing: .1em; }
.panel h3 { font-size: 1.2rem; margin: 0 0 10px; }
.panel p { font-size: .85rem; color: var(--muted); margin: 0; transition: color .3s ease; }
.panel:hover p { color: var(--text); }
.panel .go { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: 18px; font: .64rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.panel .go::after { content: "↗"; font-size: 1rem; color: var(--white); transition: transform .25s ease; }
.panel:hover .go::after { transform: translate(3px, -3px); }
@keyframes scan { from { background-position: 0 0, 0 0; } to { background-position: 0 8px, 0 0; } }

/* Three-column intro */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 40px; }
.cols > div { padding: 26px 24px 0 0; }
.cols > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.cols h3 { font-size: 1.1rem; }
.cols p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Numbered promises */
.promises { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.promises li { display: flex; gap: clamp(18px, 4vw, 48px); align-items: baseline; padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); counter-increment: p; }
.promises li:first-child { padding-top: 0; }
.promises li:last-child { border-bottom: 0; padding-bottom: 0; }
.promises li::before { content: "0" counter(p); font: .8rem/1 var(--mono); color: var(--dim); }
.promises p { margin: 0; color: var(--white); font-size: clamp(1.35rem, 3vw, 2.15rem); letter-spacing: -.025em; line-height: 1.2; }

/* Cards and the bento grid */
.card {
	background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2);
	border-radius: 14px; padding: clamp(18px, 2.4vw, 28px); position: relative; overflow: hidden;
}
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card .more { display: inline-flex; gap: 6px; margin-top: 16px; font-size: .9rem; color: var(--white); text-decoration: none; }
.card .more::after { content: "→"; transition: transform .2s ease; }
.card .more:hover::after { transform: translateX(3px); }
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bento .card { display: flex; flex-direction: column; gap: 18px; }
.bento .card .viz { flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.card-foot h3 { margin: 0 0 4px; }
.card-foot p { margin: 0; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font: .7rem/1 var(--mono); color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: 5px 9px; }

/* Mini UIs ("viz"): decorative, hidden from assistive tech and from the Markdown build. */
.viz { font: .8rem/1.65 var(--mono); color: var(--muted); background: #030303; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.viz-h { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: .72rem; }
.viz-h .dots { display: flex; gap: 5px; align-items: center; }
.viz-h .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.viz-b { padding: 12px 14px; }
.viz .row { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-bottom: 1px solid #121212; }
.viz .row:last-child { border-bottom: 0; }
.viz .row > span:first-child { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viz .st { white-space: nowrap; }
.st.wait { color: var(--amber); animation: blink 1.3s ease-in-out infinite; }
.st.ok, .ok { color: var(--teal); }
.st.bad, .bad { color: var(--red); }
.st.warn { color: var(--amber); }
.ln { display: inline-block; width: 2.2em; color: #3a3a3a; user-select: none; }
.code-line { white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.hl { background: rgba(255, 106, 77, .12); color: #ffb39f; box-shadow: inset 2px 0 0 var(--coral); }
.del { background: rgba(255, 80, 80, .1); color: var(--red); }
.add { background: rgba(80, 255, 160, .08); color: var(--green); }
.flag-line { color: var(--red); margin-top: 6px; }
.u { color: #ffb39f; }
.a { color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.kv dt { color: var(--dim); }
.kv dd { margin: 0; color: var(--text); text-align: right; }
.trace { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 14px; }
.node { border: 1px solid var(--line-2); border-radius: 7px; padding: 7px 10px; color: var(--muted); background: var(--panel); transition: border-color .4s ease, color .4s ease, box-shadow .4s ease; }
.node.on { border-color: #6a2c18; color: #ffb39f; box-shadow: 0 0 18px -6px rgba(255, 106, 77, .6); }
.arrow { color: var(--dim); }
.redact { background: var(--text); color: transparent; border-radius: 2px; }
@keyframes blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes type-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.is-in .type { animation: type-in 1.1s steps(28) both; }
.is-in .type.d1 { animation-delay: .6s; }
.is-in .type.d2 { animation-delay: 1.2s; }
.is-in .type.d3 { animation-delay: 1.8s; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step { padding: 26px 22px 0 0; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
.step .n { font: .75rem/1 var(--mono); color: var(--coral); }
.step h3 { font-size: 1.05rem; margin: 14px 0 8px; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Feature blocks on service pages */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.features > .feature:first-child { padding-top: 0; }
.features > .feature:last-child { border-bottom: 0; padding-bottom: 0; }
.features > .feature:nth-child(even) > :first-child { order: 2; }
.feature h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.feature p { color: var(--muted); margin: 0; }

/* Coverage lists */
.coverage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.coverage > div { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coverage h3 { font-size: 1rem; margin-bottom: 10px; }
.coverage h3 code { color: var(--dim); font-size: .75rem; margin-left: 6px; }
.coverage p, .coverage li { color: var(--muted); font-size: .9rem; }
.coverage p { margin: 0; }
.coverage ul { margin: 0; padding-left: 1.1em; }

/* "What you get" */
.get { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.get li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.get li::before { content: "✓"; color: var(--teal); font-family: var(--mono); }

/* Cross-links to other services */
.others { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.others a { display: flex; justify-content: space-between; gap: 10px; padding: 20px 16px; text-decoration: none; color: var(--white); border-right: 1px solid var(--line); transition: background .2s ease; }
.others a:last-child { border-right: 0; }
.others a:hover { background: var(--panel-2); }
.others a::after { content: "↗"; color: var(--muted); }
.others .n { display: block; font: .7rem/1 var(--mono); color: var(--dim); margin-bottom: 10px; }

/* Sample engagements */
.engagement + .engagement { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.engagement > p { color: var(--muted); max-width: 52em; }
.finding { display: flex; flex-direction: column; gap: 10px; }
.finding h4 { font-size: 1.05rem; margin: 0; }
.finding p { margin: 0; }
.sev { align-self: flex-start; font: 500 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 5px; }
.sev--critical { color: var(--red); background: rgba(255, 80, 80, .1); border: 1px solid rgba(255, 80, 80, .25); }
.sev--high { color: var(--amber); background: rgba(245, 178, 107, .08); border: 1px solid rgba(245, 178, 107, .25); }
.meta { font: .78rem/1.6 var(--mono); color: var(--dim); }
.note { font-size: .85rem; color: var(--dim); margin-top: 40px; }

/* Long-form content pages */
.prose { max-width: 46em; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li + li { margin-top: .4em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { font: .78rem/1 var(--mono); color: var(--text); text-decoration: none; border: 1px solid var(--line-2); border-radius: 99px; padding: 8px 12px; }
.toc a:hover { border-color: var(--muted); color: var(--white); }

/* Tables and code blocks */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 500 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.table tr:last-child td { border-bottom: 0; }
.table td { color: var(--muted); }
.table code { white-space: nowrap; }
pre { margin: 0 0 1.4em; padding: 16px; overflow-x: auto; background: #030303; border: 1px solid var(--line); border-radius: var(--radius); }
pre code { color: var(--text); font-size: .85rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; color: var(--white); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 46em; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font: .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.form input:not([type="submit"]), .form select, .form textarea {
	width: 100%; padding: 13px 14px; border-radius: 8px; border: 1px solid var(--line-2);
	background: var(--panel); color: var(--white); font: 400 1rem/1.4 var(--sans);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255, 106, 77, .15); }
.form ::placeholder { color: var(--dim); }
.form input[type="submit"] { border: 0; }
.form-note, .form-status { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { color: var(--red); }
.cta-box { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.cta-box h2 { margin-bottom: 16px; }
.cta-box .alt { font-size: .92rem; color: var(--muted); margin-top: 22px; }

/* Footer */
.site-footer { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 40px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid .label { margin-bottom: 14px; color: var(--dim); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 0 0 9px; }
.foot-grid a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.foot-grid a:hover { color: var(--white); }
.foot-grid .brand { margin-bottom: 14px; }
.foot-grid p { color: var(--muted); font-size: .9rem; max-width: 22em; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font: .75rem/1.4 var(--mono); color: var(--dim); }

/* Scroll reveal. Only hidden when JS is running, so the page is readable without it. */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .1s; }
.js [data-reveal="3"] { transition-delay: .2s; }
.js [data-reveal="4"] { transition-delay: .3s; }

/* Responsive */
@media (max-width: 1080px) {
	.panels { grid-template-columns: repeat(3, 1fr); }
	.panel:nth-child(3n) { border-right: 0; }
	.panel:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
	.others { grid-template-columns: repeat(3, 1fr); }
	.others a:nth-child(3n) { border-right: 0; }
	.others a:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
	.steps--5 { grid-template-columns: repeat(3, 1fr); }
	.steps--5 .step:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
	:root { --header-h: 58px; }
	.nav-toggle { display: block; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px;
		background: #000; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	/* backdrop-filter makes the header the containing block for the fixed menu, so drop it while open. */
	.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #000; }
	.nav-open { overflow: hidden; }
	.nav > a, .nav-trigger { padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; width: 100%; }
	.nav .btn { margin: 20px 0 0; justify-content: center; }
	.menu { position: static; translate: none; width: 100%; grid-template-columns: 1fr; padding: 0 0 8px; border: 0; background: none; box-shadow: none; transform: none; display: none; opacity: 1; visibility: visible; }
	.has-menu.open .menu { display: grid; }
	.hero-grid, .hero-grid--service, .split, .cta-box, .feature { grid-template-columns: 1fr; }
	.features > .feature:nth-child(even) > :first-child { order: 0; }
	.raven { width: min(70%, 300px); margin: 0 auto; order: -1; }
	.grid-3, .grid-4, .coverage, .cols { grid-template-columns: 1fr 1fr; }
	.cols > div { padding: 22px 0 0; border-left: 0 !important; padding-left: 0 !important; }
	.steps { grid-template-columns: 1fr 1fr; }
	.step:nth-child(odd) { border-left: 0; padding-left: 0; }
	.step { padding-bottom: 22px; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: 15px; }
	.frame, .site-footer { border-left: 0; border-right: 0; }
	.panels { grid-template-columns: 1fr 1fr; }
	.panel { min-height: 200px; padding: 18px 14px; }
	.panel:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
	.panel:nth-child(2n) { border-right: 0; }
	.panel:nth-last-child(-n+2) { border-bottom: 0; }
	.bento, .grid-2, .grid-3, .grid-4, .coverage, .cols, .get, .form, .steps, .steps--5 { grid-template-columns: 1fr; }
	.step, .step + .step { border-left: 0; padding-left: 0; }
	.steps--5 .step:nth-child(4) { padding-left: 0; }
	.others { grid-template-columns: 1fr 1fr; }
	.others a:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
	.others a:nth-child(2n) { border-right: 0; }
	.viz { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}
