/* System fonts only: no third-party font requests (GDPR). */
:root {
	--bg: #ffffff;
	--bg-alt: #f4f6f9;
	--surface: #ffffff;
	--text: #1a2433;
	--muted: #556274;
	--border: #dfe4eb;
	--brand: #0f1b2d;
	--accent: #d9822b;
	--accent-strong: #b8691c;
	--accent-soft: #fbeedf;
	--save: #1f7a5a;
	--save-soft: #e3f3ec;
	--earn: #2455a6;
	--earn-soft: #e5edfa;
	--on-accent: #ffffff;
	--shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .06);
	--radius: 14px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0d141f;
		--bg-alt: #121b29;
		--surface: #172233;
		--text: #e6ebf2;
		--muted: #9aa7b8;
		--border: #263449;
		--brand: #e6ebf2;
		--accent: #eb9a4a;
		--accent-strong: #f3ad66;
		--accent-soft: #3a2a19;
		--save: #5cc79c;
		--save-soft: #16302a;
		--earn: #7fa8ee;
		--earn-soft: #1a2640;
		--on-accent: #1a1206;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
		color-scheme: dark;
	}
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}

h1, h2, h3 { line-height: 1.2; color: var(--brand); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--earn); }
a:hover { color: var(--accent-strong); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

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

/* Buttons */
.btn {
	display: inline-block;
	background: var(--accent);
	color: var(--on-accent);
	border: 2px solid var(--accent);
	border-radius: 999px;
	padding: .75em 1.4em;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--brand); border-color: var(--muted); }
.btn-small { padding: .45em 1em; font-size: .95rem; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-weight: 700; color: var(--brand); text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand-tag { font-size: .75rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--accent-strong); }

@media (max-width: 820px) {
	.nav a:not(.btn) { display: none; }
}

/* Hero */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px); background: radial-gradient(1000px 400px at 85% 0%, var(--accent-soft), transparent 70%); }
.eyebrow { color: var(--accent-strong); font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.hero h1 { max-width: 16ch; }
.accent { color: var(--accent); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: .95rem; }
.trust li::before { content: "✓"; color: var(--save); font-weight: 700; margin-right: 8px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 62ch; margin-bottom: 2em; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card-save { border-top: 4px solid var(--save); }
.card-earn { border-top: 4px solid var(--earn); }
.icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; margin-right: 8px; font-size: 1.1rem; }
.card-save .icon { background: var(--save-soft); color: var(--save); }
.card-earn .icon { background: var(--earn-soft); color: var(--earn); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 12px 0; border-top: 1px solid var(--border); color: var(--muted); }
.checklist li:first-child { border-top: 0; }
.checklist strong { color: var(--text); }

/* Calculator */
.calc-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .calc-wrap { grid-template-columns: 1fr; } }
.calc { display: grid; gap: 18px; }
.calc label, .contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
input, textarea {
	font: inherit;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: .7em .85em;
	width: 100%;
}
input:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.calc-result { background: var(--brand); color: var(--bg); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.calc-label { text-transform: uppercase; font-size: .85rem; letter-spacing: .08em; opacity: .75; margin: 0; }
.calc-value { font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 800; margin: .1em 0 .2em; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-sub { opacity: .85; }
.calc-disclaimer { font-size: .82rem; opacity: .65; margin: 16px 0 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.steps li::before {
	content: counter(step);
	display: inline-grid; place-items: center;
	width: 36px; height: 36px; border-radius: 50%;
	background: var(--accent-soft); color: var(--accent-strong);
	font-weight: 800; margin-bottom: 12px;
}
.steps p { color: var(--muted); margin: 0; }
.note { color: var(--muted); margin: 24px 0 0; }

/* Chips */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: .45em 1em; font-size: .95rem; }

/* About */
.about { display: flex; gap: 40px; align-items: flex-start; max-width: 900px; }
.about-photo { border-radius: 50%; flex-shrink: 0; }
@media (max-width: 700px) { .about { flex-direction: column; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Contact */
.section-contact { background: var(--bg-alt); }
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 24px; } }
.contact-points { list-style: none; padding: 0; margin: 0; }
.contact-points li { padding: 6px 0; }
.contact-points li::before { content: "✓"; color: var(--save); font-weight: 700; margin-right: 10px; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; accent-color: var(--accent); }
.contact-form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 10px; padding: 12px 14px; font-weight: 600; }
.form-status.ok { background: var(--save-soft); color: var(--save); }
.form-status.error { background: #fdecec; color: #a12626; }
@media (prefers-color-scheme: dark) { .form-status.error { background: #3a1818; color: #f3a3a3; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a { color: var(--muted); }

/* Simple content pages (privacy) */
.page { padding: 56px 0 80px; }
.page h2 { font-size: 1.35rem; margin-top: 1.6em; }
