/* kuafu site styles. Brand colors from the kuafu logo; type: Inter. */
:root {
	--yellow: #ffc001;
	--teal: #039193;
	--teal-bright: #3fd2c7;
	--teal-text: #027a7c; /* teal darkened to pass WCAG AA on white */
	--green: #2d6961;
	--night: #0f1d2b;
	--night-2: #142838;
	--ink: #0f1f24;
	--text: #4a5a60;
	--muted: #5f6e74;
	--line: #e3e9e8;
	--surface: #f5f8f7;
	--white: #ffffff;
	--radius: 10px;
	--shadow: 0 1px 2px rgba(15, 31, 36, .04), 0 8px 28px rgba(15, 31, 36, .07);
	--max: 1180px;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--white); color: var(--text);
	font: 400 17px/1.7 "Plus Jakarta Sans", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section.tight { padding: 72px 0; }
.section.surface { background: var(--surface); }
.center { text-align: center; }
.lead { font-size: 1.2rem; line-height: 1.65; max-width: 680px; }
.center .lead, .center .eyebrow { margin-left: auto; margin-right: auto; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
	font: 500 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--yellow); border-radius: 2px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
	white-space: nowrap;
	display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 6px;
	font-weight: 700; font-size: .98rem; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s, color .2s;
	border: 1px solid transparent; cursor: pointer;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(255, 192, 1, .35); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--green); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn-ghost:hover { border-color: var(--teal-text); color: var(--teal-text); }
.on-dark .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .25); }
.on-dark .btn-ghost:hover { border-color: var(--teal-bright); color: var(--teal-bright); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Header */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, border-color .3s;
	border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; }
.brand svg { width: 30px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 11px; border-radius: 6px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav .btn { margin-left: 10px; padding: 10px 18px; }
.nav .btn-primary { color: var(--ink); }
.nav .btn-primary:hover { background: var(--yellow); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* Header after scrolling, and on pages with a light top */
.site-header.solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: var(--line); }
.site-header.solid .brand, .site-header.solid .menu-toggle { color: var(--ink); }
.site-header.solid .nav a { color: var(--text); }
.site-header.solid .nav a:hover, .site-header.solid .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.site-header.solid .nav .btn-primary { color: var(--ink); background: var(--yellow); }

/* Dark hero */
.hero {
	position: relative; overflow: hidden; color: rgba(255, 255, 255, .78);
	background:
		linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
	padding: 168px 0 112px;
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; }
.hero h1, .hero h2 { color: var(--white); }
.hero .eyebrow { color: var(--teal-bright); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .lead { color: rgba(255, 255, 255, .74); margin-bottom: 32px; }
.hero h1 .hl { color: var(--white); box-shadow: inset 0 -0.14em 0 var(--yellow); }
.hero.page { padding: 152px 0 88px; }
.hero.page .lead { margin-bottom: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 4px;
	font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .85);
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }

/* Hero network animation */
.network { width: 100%; max-width: 560px; margin-left: auto; }
.network .wire { stroke: rgba(63, 210, 199, .28); stroke-width: 1.5; fill: none; }
.network .flow { stroke: var(--teal-bright); stroke-width: 2; fill: none; stroke-dasharray: 6 14; animation: flow 2.4s linear infinite; opacity: .9; }
.network .flow.rev { animation-direction: reverse; stroke: var(--yellow); opacity: .8; }
.network .node { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .16); }
.network .node-label { fill: rgba(255, 255, 255, .78); font: 600 12px "Plus Jakarta Sans", sans-serif; }
.network .node-sub { fill: rgba(255, 255, 255, .45); font: 500 10px var(--mono); letter-spacing: .06em; }
.network .icon { stroke: var(--teal-bright); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.network .core-ring { fill: none; stroke: rgba(63, 210, 199, .35); animation: pulse 3.2s ease-out infinite; transform-origin: 280px 210px; }
.network .core-ring.r2 { animation-delay: 1.6s; }
@keyframes flow { to { stroke-dashoffset: -40; } }
@keyframes pulse { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* Logo strip */
.logos { padding: 44px 0; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee li { flex: none; padding: 0 36px; }
.marquee img { height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cards and grids */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
	position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 30px; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card p:last-child { margin-bottom: 0; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover, .card.hover:hover { border-color: rgba(3, 145, 147, .45); box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ico, .benefits .ico {
	width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 20px;
	background: rgba(3, 145, 147, .09); color: var(--teal);
}
.card .ico svg, .benefits .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .kicker { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: block; }
.card.feature { padding: 40px; }
.card.feature h3 { font-size: 1.5rem; }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before {
	content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
	background: rgba(3, 145, 147, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23039193' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Problem/solution split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pain { border-left: 3px solid var(--yellow); padding: 4px 0 4px 22px; margin-bottom: 26px; }
.pain h3 { margin-bottom: .3em; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line); }
.step::before {
	counter-increment: step; content: "0" counter(step);
	position: absolute; top: -13px; left: 0; background: var(--white); padding-right: 12px;
	font: 600 .85rem/26px var(--mono); color: var(--teal-text);
}
.section.surface .step::before { background: var(--surface); }

/* Two-sided diagram */
.bridge { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
.bridge .core {
	align-self: center; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center;
	background: radial-gradient(circle at 50% 40%, rgba(3, 145, 147, .16), rgba(3, 145, 147, .04)); border: 1px solid rgba(3, 145, 147, .3);
}
.bridge .core svg { width: 58px; }

/* Recognition */
.recog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.recog .card { padding: 26px 28px; }
.recog .year { font: 600 .8rem/1 var(--mono); color: var(--teal-text); margin-bottom: 12px; display: block; }
.recog h3 { font-size: 1.05rem; margin: 0; }

/* News */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .2s; }
.news-item:hover { background: var(--surface); }
.news-item time { font: 500 .82rem/1.6 var(--mono); color: var(--muted); }
.news-item h3 { margin: 0; font-size: 1.08rem; }
.news-item .tag { font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-text); background: rgba(3, 145, 147, .08); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.year-head { font: 600 .85rem/1 var(--mono); color: var(--ink); margin: 48px 0 12px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	list-style: none; cursor: pointer; position: relative; padding: 24px 56px 24px 0;
	font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
	border: 1px solid var(--line); transition: transform .3s, background .3s, border-color .3s;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1f24' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); border-color: var(--yellow); }
.faq summary:hover { color: var(--teal-text); }
.faq .answer { padding: 0 56px 26px 0; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group { font: 500 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text); margin: 56px 0 4px; }
.faq-group:first-child { margin-top: 0; }
.updated { font: 500 .8rem/1 var(--mono); color: var(--muted); margin-top: 32px; }

/* Article (guides) */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 1.7rem; margin-top: 2.2em; }
.article h3 { margin-top: 1.8em; }
.article p.lead { font-size: 1.25rem; color: var(--ink); border-left: 3px solid var(--yellow); padding-left: 20px; }
.article ul, .article ol { padding-left: 1.2em; }
.article li { margin-bottom: .4em; }
.article .keyfacts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin: 32px 0; }
.article .keyfacts h2, .article .keyfacts h3 { margin-top: 0; font-size: 1.1rem; }
.article .keyfacts ul { margin-bottom: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: .95rem; display: block; overflow-x: auto; }
.article th, .article td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); min-width: 140px; }
.article th { color: var(--ink); background: var(--surface); font-weight: 700; }
.article .sources { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; }
.article .sources h2 { font-size: 1.1rem; margin-top: 0; }
.article .sources a { word-break: break-word; }
.article figure { margin: 0 0 36px; }
.article figure img { width: 100%; max-height: 440px; object-fit: contain; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.article figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.article blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--teal); color: var(--ink); }
.article blockquote p { margin: 0; }
.article .note { font-size: .9rem; color: var(--muted); }
.news-post .sources { margin-top: 40px; }
.meta { font: 500 .8rem/1.6 var(--mono); color: rgba(255, 255, 255, .55); margin-top: 22px; }
.crumbs { font: 500 .8rem/1 var(--mono); margin-bottom: 22px; }
.crumbs a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.crumbs a:hover { color: var(--teal-bright); }
.crumbs span { color: rgba(255, 255, 255, .35); margin: 0 8px; }

/* CTA band */
.cta {
	position: relative; overflow: hidden; border-radius: 12px; padding: 72px 64px; color: rgba(255, 255, 255, .75);
	background:
		var(--night);
	display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
.cta h2 { color: var(--white); margin-bottom: .35em; }
.cta p { margin: 0; font-size: 1.1rem; }

/* Contact */
.contact-card { padding: 36px; }
.contact-card dt { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 8px 0 0; color: var(--ink); font-weight: 600; font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .62); padding: 80px 0 36px; margin-top: 112px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { margin-bottom: 18px; }
.site-footer h4 { color: var(--white); font-size: .78rem; font-family: var(--mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer a:hover { color: var(--teal-bright); }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
main + .site-footer { margin-top: 0; }

/* Reveal on scroll (only when JS has marked the page) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.network .flow, .network .core-ring, .marquee-track { animation: none; }
	.marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
	.marquee-track ul[aria-hidden] { display: none; }
	.marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 22px; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 980px) {
	.hero-grid, .split, .cta { grid-template-columns: 1fr; }
	.network { margin: 0 auto; }
	.g3, .g4, .recog { grid-template-columns: repeat(2, 1fr); }
	.bridge { grid-template-columns: 1fr; }
	.bridge .core { justify-self: center; }
	.site-footer .cols { grid-template-columns: 1fr 1fr; }
	.menu-toggle { display: block; }
	.nav {
		position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
		padding: 16px 24px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
	}
	.nav a { color: var(--ink); padding: 12px 14px; }
	.nav a:hover, .nav a[aria-current="page"] { background: var(--surface); color: var(--ink); }
	.nav .btn { margin: 8px 0 0; justify-content: center; }
	.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
	.menu-open .site-header { background: var(--white); }
	.menu-open .site-header .brand, .menu-open .menu-toggle { color: var(--ink); }
	.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
	.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.section { padding: 80px 0; }
	.hero { padding: 132px 0 80px; }
	.g2, .g3, .g4, .recog { grid-template-columns: 1fr; }
	.card, .card.feature { padding: 26px; }
	.cta { padding: 44px 26px; border-radius: 10px; }
	.news-item { grid-template-columns: 1fr; gap: 6px; }
	.news-item .tag { justify-self: start; }
	.site-footer .cols { grid-template-columns: 1fr; }
	.faq summary { padding-right: 48px; }
	.faq .answer { padding-right: 0; }
}

/* Hero picture (home) and figures */
.hero-figure { background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.hero-figure img { border-radius: 6px; }
.figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.figure img { width: 100%; }
.figure figcaption { padding: 16px 22px; font-size: .95rem; border-top: 1px solid var(--line); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits > div { padding: 32px 28px; }
.benefits > div + div { border-left: 1px solid var(--line); }
.benefits h3 { margin-bottom: .3em; }
@media (max-width: 980px) {
	.benefits { grid-template-columns: 1fr; }
	.benefits > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* Light theme with the logo colours: light top area, teal buttons, dark green headings and dark areas. */
:root { --green-deep: #1f4a45; --hero-bg: #f2f7f6; }
.site-header .brand, .menu-toggle { color: var(--ink); }
.nav a { color: var(--text); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(45, 105, 97, .08); }
.btn-primary, .nav .btn-primary, .site-header.solid .nav .btn-primary { background: var(--teal-text); color: var(--white); }
.btn-primary:hover, .nav .btn-primary:hover { background: var(--green); color: var(--white); box-shadow: 0 8px 24px rgba(45, 105, 97, .25); }
.hero { background: linear-gradient(180deg, var(--hero-bg) 0%, var(--white) 100%); color: var(--text); border-bottom: 1px solid var(--line); }
.hero::before { background-image: linear-gradient(rgba(45, 105, 97, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 105, 97, .05) 1px, transparent 1px); }
.hero h1, .hero h2, .hero h1 .hl { color: var(--green); }
.hero .eyebrow { color: var(--teal-text); }
.hero .lead { color: var(--text); }
.hero.on-dark .btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.hero.on-dark .btn-ghost:hover { border-color: var(--teal-text); color: var(--teal-text); }
.badge { color: var(--ink); background: var(--white); border-color: var(--line); }
.hero-figure { box-shadow: var(--shadow); border: 1px solid var(--line); }
.meta { color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal-text); }
.crumbs span { color: var(--muted); }
.cta { background: var(--green); color: rgba(255, 255, 255, .88); }
.cta .btn-primary { background: var(--yellow); color: var(--ink); }
.cta .btn-primary:hover { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.cta .btn-ghost:hover, .site-footer a:hover { border-color: var(--yellow); color: var(--yellow); }
.site-footer { background: var(--green-deep); }

/* Typography: Inter for all text, plain sentence-case labels, no grid pattern, no arrows. */
:root { --mono: "Inter", system-ui, sans-serif; }
body { font-family: "Inter", system-ui, sans-serif; }
h1 { font-weight: 700; letter-spacing: -0.025em; }
h2 { letter-spacing: -0.02em; }
.brand { font-weight: 700; }
.eyebrow, .faq-group, .logos p, .card .kicker, .contact-card dt, .site-footer h4 { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 600; }
.news-item .tag { text-transform: none; letter-spacing: 0; font-size: .8rem; font-weight: 600; }
.eyebrow::before, .hero::before { display: none; }
.btn .arrow { display: none; }

/* Home hero: text and a line drawing in the logo colours, no frame. */
.hero-stack { text-align: center; }
.hero-stack .hero-text { max-width: 860px; margin: 0 auto; }
.hero-stack .lead { font-size: 1.25rem; max-width: 680px; margin-left: auto; margin-right: auto; }
.hero-stack .btn-row, .hero-stack .hero-badges { justify-content: center; }
.hero-line { width: 100%; max-width: 980px; height: auto; margin: 64px auto 0; }
.hero-home { padding-bottom: 40px; }
.hero-text .badge { font-size: .95rem; padding: 10px 16px; }

@media (max-width: 1180px) {
	.menu-toggle { display: block; }
	.nav {
		position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
		padding: 16px 24px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
	}
	.nav a { color: var(--ink); padding: 12px 14px; }
	.nav a:hover, .nav a[aria-current="page"] { background: var(--surface); color: var(--ink); }
	.nav .btn { margin: 8px 0 0; justify-content: center; }
	.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
	.menu-open .site-header { background: var(--white); }
	.menu-open .site-header .brand, .menu-open .menu-toggle { color: var(--ink); }
	.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
	.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
