/*
 * Tykar Group. One stylesheet, three pages, no framework and no build step —
 * the pages a carrier reviewer opens should never depend on a bundler.
 */

:root {
	--bg: #fbfbf9;
	--surface: #ffffff;
	--raised: #f4f5f2;
	--border: #e2e4de;
	--border-strong: #cfd3ca;
	--text: #14181a;
	--muted: #5d6660;
	--accent: #1c5745;
	--accent-text: #1c5745;
	--accent-soft: #edf3f0;
	--warm: #b07f3c;
	--warm-soft: #f8f1e4;
	--band: #113b2d;
	--band-text: #e8f0ec;
	--band-muted: #a8c4b8;
	--shadow: 0 1px 2px rgba(20, 24, 26, 0.04), 0 8px 24px rgba(20, 24, 26, 0.05);
	--max: 68rem;
	--prose: 42rem;
	--radius: 10px;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0f1214;
		--surface: #15191b;
		--raised: #1b2023;
		--border: #262c30;
		--border-strong: #343c41;
		--text: #e9ecea;
		--muted: #9aa5a0;
		--accent: #5fb89b;
		--accent-text: #7fcfb3;
		--accent-soft: #15241f;
		--warm: #d6a765;
		--warm-soft: #2a2114;
		--band: #112a22;
		--band-text: #e8f0ec;
		--band-muted: #9fb8ad;
		--shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.26);
	}
}

:root[data-theme="dark"] {
	--bg: #0f1214;
	--surface: #15191b;
	--raised: #1b2023;
	--border: #262c30;
	--border-strong: #343c41;
	--text: #e9ecea;
	--muted: #9aa5a0;
	--accent: #5fb89b;
	--accent-text: #7fcfb3;
	--accent-soft: #15241f;
	--warm: #d6a765;
	--warm-soft: #2a2114;
	--band: #112a22;
	--band-text: #e8f0ec;
	--band-muted: #9fb8ad;
	--shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.26);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px;
}

@media (max-width: 40rem) {
	.wrap {
		padding: 0 16px;
	}
}

.prose {
	max-width: var(--prose);
}

/* ── Header ─────────────────────────────────────────────────── */

header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--border);
}

header .wrap {
	display: flex;
	align-items: center;
	gap: 16px 28px;
	min-height: 66px;
	flex-wrap: wrap;
}

.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--text);
	text-decoration: none;
	margin: 0;
}

.wordmark .mark {
	width: 26px;
	height: 26px;
	flex: none;
	color: var(--accent);
	/* The open mark carries less visual weight than the boxed one it
	   replaced, so it needs a little more size to hold against the name. */
	margin-top: -2px;
}

.wordmark .suffix {
	color: var(--muted);
	font-weight: 400;
}

nav {
	margin-left: auto;
	display: flex;
	gap: 22px;
	font-size: 0.9rem;
}

nav a {
	color: var(--muted);
	text-decoration: none;
	padding: 4px 0;
	border-bottom: 1px solid transparent;
}

nav a:hover {
	color: var(--accent-text);
	border-bottom-color: var(--accent);
}

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
	padding: 84px 0 68px;
	border-bottom: 1px solid var(--border);
	background:
		radial-gradient(44rem 22rem at 88% -18%, var(--warm-soft) 0%, transparent 66%),
		radial-gradient(56rem 28rem at 12% -10%, var(--accent-soft) 0%, transparent 68%);
}

@media (max-width: 48rem) {
	.hero {
		padding: 52px 0 44px;
	}
}

.eyebrow {
	display: inline-block;
	font-size: 0.73rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent-text);
	background: var(--accent-soft);
	border: 1px solid var(--border);
	border-radius: 100px;
	padding: 5px 13px;
	margin: 0 0 22px;
}

h1 {
	font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: clamp(2.3rem, 6vw, 3.6rem);
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0 0 20px;
	max-width: 18ch;
}

.hero p {
	font-size: clamp(1.02rem, 2vw, 1.16rem);
	color: var(--muted);
	max-width: 44ch;
	margin: 0;
}

/* ── Sections ───────────────────────────────────────────────── */

section {
	padding: 66px 0;
	border-bottom: 1px solid var(--border);
}

section:last-of-type {
	border-bottom: 0;
}

h2 {
	font-size: 1.42rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.3;
	margin: 0 0 14px;
}

h3 {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.005em;
	margin: 0 0 7px;
}

p {
	margin: 0 0 16px;
}

p:last-child {
	margin-bottom: 0;
}

.lede {
	font-size: 1.06rem;
	color: var(--muted);
}

a {
	color: var(--accent-text);
}

/* ── Step cards ─────────────────────────────────────────────── */

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 18px;
	margin-top: 34px;
	list-style: none;
	padding: 0;
}

.steps li {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px 22px;
	box-shadow: var(--shadow);
}

.steps .num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--warm-soft);
	border: 1px solid var(--warm);
	color: var(--warm);
	font-size: 0.79rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	margin-bottom: 13px;
}

.steps p {
	color: var(--muted);
	font-size: 0.945rem;
	margin: 0;
}

/* ── Feature list ───────────────────────────────────────────── */

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
	gap: 14px 38px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.features li {
	padding-left: 26px;
	position: relative;
	color: var(--muted);
	font-size: 0.95rem;
}

.features li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.62em;
	width: 9px;
	height: 9px;
	border-radius: 2px;
	background: var(--accent);
	opacity: 0.85;
}

.features strong {
	color: var(--text);
	font-weight: 600;
	display: block;
}

/* ── Messaging / compliance blocks ──────────────────────────── */

dl {
	margin: 20px 0 0;
}

dt {
	font-weight: 600;
	margin-top: 18px;
}

dd {
	margin: 3px 0 0;
	color: var(--muted);
}

.callout {
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: 24px 26px;
	margin: 28px 0;
	box-shadow: var(--shadow);
}

.callout :first-child {
	margin-top: 0;
}

.callout :last-child {
	margin-bottom: 0;
}

.callout h3 {
	margin-top: 22px;
}

.callout h3:first-of-type {
	margin-top: 0;
}

.callout p {
	color: var(--muted);
}

.callout strong {
	color: var(--text);
}

/* ── Contact ────────────────────────────────────────────────── */

.contact-card {
	background: var(--raised);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 26px 28px;
	margin-top: 26px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 22px 40px;
}

.contact-card h3 {
	font-size: 0.74rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 600;
	margin-bottom: 8px;
}

.contact-card p {
	margin: 0;
	font-size: 0.95rem;
}

/* ── Legal pages ────────────────────────────────────────────── */

.doc {
	padding: 54px 0 72px;
}

.doc h1 {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Helvetica, Arial, sans-serif;
	font-weight: 600;
	font-size: clamp(1.7rem, 4vw, 2.1rem);
	letter-spacing: -0.02em;
	max-width: none;
	margin-bottom: 6px;
}

.doc h2 {
	font-size: 1.12rem;
	margin: 42px 0 12px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.doc h3 {
	margin: 24px 0 7px;
}

.doc ul {
	padding-left: 1.15rem;
}

.doc li {
	margin: 7px 0;
}

.meta {
	color: var(--muted);
	font-size: 0.87rem;
	margin: 0 0 30px;
}

/* ── Footer ─────────────────────────────────────────────────── */

footer {
	border-top: 1px solid var(--border);
	background: var(--raised);
	padding: 30px 0 42px;
	color: var(--muted);
	font-size: 0.875rem;
}

footer .wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	align-items: baseline;
}

footer p {
	margin: 0;
}

footer nav {
	margin-left: auto;
	font-size: 0.875rem;
}

/* ── Reversed band ──────────────────────────────────────────── */
/* One dark section gives the page a spine. Without it the whole thing is
   pale grey from top to bottom, which reads as a template. */

.band {
	background: var(--band);
	color: var(--band-text);
	border-bottom: 0;
}

.band h2 {
	color: #fff;
}

.band .lede,
.band p {
	color: var(--band-muted);
}

.band .features li {
	color: var(--band-muted);
}

.band .features strong {
	color: #fff;
}

.band .features li::before {
	background: var(--warm);
	opacity: 1;
}
