/* ========================================
   Wirebraid Technologies LLC — wirebraid.com
   Static company site. No JavaScript.

   Fonts are self-hosted: the site makes no requests to any third party, so
   visiting it discloses nothing about you to anyone but us. Inter and Space
   Grotesk are SIL OFL 1.1 — see fonts/OFL.txt. Both files are variable fonts,
   so one file per subset covers every weight we use.
   ======================================== */

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('fonts/inter-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
		U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('fonts/inter-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
		U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url('fonts/space-grotesk-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
		U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url('fonts/space-grotesk-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
		U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	/* Braid strands — the two accent colours of the mark */
	--strand-a: #1a9e9e;
	--strand-b: #e0904a;

	/* Surfaces and text */
	--bg: #fbfbfa;
	--surface: #ffffff;
	--surface-2: #f4f5f7;
	--ink: #14181f;
	--ink-2: #4d5665;
	--ink-3: #6f7887;
	--line: #e2e5ea;

	/* The hero and footer stay dark in both schemes */
	--dark-bg: #0e1421;
	--dark-ink: #f2f5f9;
	--dark-ink-2: #9daabb;
	--dark-line: #212c3d;

	--accent: #0d7d7d;
	--accent-soft: #e8f4f4;

	/* Typography */
	--font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	/* Rhythm */
	--container: 1120px;
	--container-narrow: 760px;
	--section-y: 84px;
	--radius: 12px;

	--transition: 0.2s ease;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0b0f16;
		--surface: #131a24;
		--surface-2: #101720;
		--ink: #eef1f5;
		--ink-2: #a8b2bf;
		--ink-3: #8b95a3;
		--line: #222c39;
		--accent: #45c9c0;
		--accent-soft: #16262a;
	}
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
	font-family: var(--font-display);
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-weight: 600;
}

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--ink);
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

/* Prose sections keep a readable measure, but their left edge stays flush with
   the full-width card grids rather than re-centring on every section. */
.container.narrow > * {
	max-width: var(--container-narrow);
}

/* Anchored sections must clear the sticky header when jumped to. */
[id] {
	scroll-margin-top: 84px;
}

/* ========== Header ========== */

.header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: var(--dark-bg);
	border-bottom: 1px solid var(--dark-line);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--dark-ink);
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}

.brand-mark {
	width: 30px;
	height: 30px;
	flex: none;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 22px;
}

.nav-links a {
	color: var(--dark-ink-2);
	text-decoration: none;
	font-size: 0.94rem;
	font-weight: 500;
	transition: color var(--transition);
}

.nav-links a:hover {
	color: var(--dark-ink);
}

/* ========== Hero ========== */

.hero {
	background: var(--dark-bg);
	color: var(--dark-ink);
	padding: 92px 0 88px;
	border-bottom: 1px solid var(--dark-line);
	background-image:
		radial-gradient(60ch 40ch at 12% -10%, rgba(26, 158, 158, 0.16), transparent 70%),
		radial-gradient(50ch 34ch at 92% 8%, rgba(224, 144, 74, 0.13), transparent 70%);
}

.hero-inner {
	max-width: 900px;
}

.eyebrow {
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--strand-b);
	margin-bottom: 20px;
}

.hero h1 {
	font-size: clamp(2.1rem, 5.2vw, 3.3rem);
	font-weight: 700;
	max-width: 20ch;
	margin-bottom: 24px;
}

.lede {
	font-size: 1.16rem;
	color: var(--dark-ink-2);
	max-width: 62ch;
}

.lede strong {
	color: var(--dark-ink);
	font-weight: 600;
}

.proof {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 48px;
	padding-top: 34px;
	border-top: 1px solid var(--dark-line);
}

.proof-key {
	display: block;
	font-family: var(--font-display);
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--strand-a);
	margin-bottom: 6px;
}

.proof-val {
	display: block;
	font-size: 0.94rem;
	line-height: 1.5;
	color: var(--dark-ink-2);
}

/* ========== Sections ========== */

.section {
	padding: var(--section-y) 0;
}

.section-header {
	margin-bottom: 40px;
}

.section-tag {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}

.section-header h2 {
	font-size: clamp(1.6rem, 3.4vw, 2.15rem);
	max-width: 24ch;
}

.section-intro {
	margin-top: 16px;
	color: var(--ink-2);
	max-width: 66ch;
}

.section p + p {
	margin-top: 18px;
}

.section .narrow p {
	color: var(--ink-2);
}

.goals-intro {
	margin-top: 26px !important;
	color: var(--ink) !important;
	font-weight: 500;
}

.goals {
	margin: 14px 0 0 0;
	padding-left: 22px;
	color: var(--ink-2);
}

.goals li {
	margin-top: 10px;
	padding-left: 6px;
}

.goals li::marker {
	color: var(--accent);
	font-weight: 600;
}

/* ========== Revenue band ========== */

.band {
	background: var(--accent-soft);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 40px 0;
}

.band-text {
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 2.2vw, 1.3rem);
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: var(--ink);
	text-align: center;
	max-width: 60ch;
	margin: 0 auto;
}

/* ========== Cards ========== */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 20px;
}

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 24px;
	border-top: 3px solid var(--strand-a);
}

.card h3 {
	font-size: 1.06rem;
	margin-bottom: 10px;
}

.card p {
	font-size: 0.97rem;
	line-height: 1.6;
	color: var(--ink-2);
}

.card-paid {
	border-top-color: var(--strand-b);
}

.section-paid {
	background: var(--surface-2);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.section-paid .section-tag {
	color: var(--strand-b);
}

/* ========== Callout ========== */

.callout {
	margin-top: 34px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 3px solid var(--strand-b);
	border-radius: var(--radius);
	padding: 26px 26px;
}

.callout h3 {
	font-size: 1.08rem;
	margin-bottom: 10px;
}

.callout p {
	color: var(--ink-2);
	margin-top: 0 !important;
}

/* ========== Company ========== */

.section-company {
	background: var(--surface-2);
	border-top: 1px solid var(--line);
}

.company-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 24px;
	margin-top: 34px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}

.detail h3 {
	font-family: var(--font-body);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
	margin-bottom: 8px;
}

.detail p,
.detail address {
	font-style: normal;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink) !important;
}

/* ========== Footer ========== */

.footer {
	background: var(--dark-bg);
	color: var(--dark-ink-2);
	padding: 46px 0 40px;
}

.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	color: var(--dark-ink);
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-nav a {
	color: var(--dark-ink-2);
	text-decoration: none;
	font-size: 0.94rem;
	transition: color var(--transition);
}

.footer-nav a:hover {
	color: var(--dark-ink);
	text-decoration: underline;
}

.footer-copy {
	font-size: 0.86rem;
	color: #6f7d90;
	padding-top: 16px;
	border-top: 1px solid var(--dark-line);
}

/* ========== Legal pages ========== */

.legal {
	padding: 64px 0 var(--section-y);
}

.legal h1 {
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	margin-bottom: 10px;
}

.legal .updated {
	font-size: 0.9rem;
	color: var(--ink-3);
	margin-bottom: 40px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}

.legal h2 {
	font-size: 1.22rem;
	margin: 40px 0 12px;
}

.legal h3 {
	font-size: 1.02rem;
	margin: 26px 0 8px;
}

.legal p,
.legal li {
	color: var(--ink-2);
}

.legal p + p,
.legal ul + p {
	margin-top: 16px;
}

.legal ul {
	margin: 14px 0 0;
	padding-left: 22px;
}

.legal li {
	margin-top: 9px;
	padding-left: 4px;
}

.legal li::marker {
	color: var(--accent);
}

.legal address {
	font-style: normal;
	margin-top: 12px;
	color: var(--ink);
}

.back-link {
	display: inline-block;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	width: 100%;
	font-size: 0.94rem;
}

/* ========== Responsive ========== */

@media (max-width: 860px) {
	:root {
		--section-y: 62px;
	}

	.hero {
		padding: 66px 0 62px;
	}

	.proof {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-top: 38px;
	}
}

@media (max-width: 620px) {
	body {
		font-size: 16px;
	}

	.container {
		padding: 0 20px;
	}

	.nav {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	/* The stacked header is taller here, so anchors need more clearance. */
	[id] {
		scroll-margin-top: 104px;
	}

	.nav-links {
		gap: 18px;
		flex-wrap: wrap;
	}

	.nav-links a {
		font-size: 0.88rem;
	}

	.hero h1 {
		max-width: none;
	}

	.section-header h2,
	.legal h1 {
		max-width: none;
	}

	.card {
		padding: 22px 20px;
	}

	.callout {
		padding: 22px 20px;
	}
}
