/* ByteHub theme: deep navy + signal orange, system fonts (zero font downloads = faster LCP) */
:root {
	--navy: #10213f;
	--navy-700: #1b3260;
	--navy-300: #9fb0cf;
	--ink: #0e1726;
	--ink-2: #3b4658;
	--muted: #6b7587;
	--paper: #f3f5fa;
	--bg: #f8f9fc;
	--line: #e3e7ef;
	--line-2: #c9d0dd;
	--accent: #ff6b2c;
	--accent-ink: #d9480f;
	--green: #12a46c;
	--green-ink: #0b7a50;
	--r: 14px;
	--shadow: 0 10px 30px -12px rgba(16, 33, 63, 0.25);
	--max: 1240px;
	--font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 16px; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 12px; }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 32px 0 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.main { min-height: 60vh; padding: 24px 0 56px; }
input, select, textarea {
	font: inherit; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
input[type='radio'], input[type='checkbox'] { width: auto; accent-color: var(--accent); }
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
	background: var(--accent); color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 10px; font-size: .95rem;
	transition: background .15s, transform .1s; text-decoration: none !important;
}
.btn:hover { background: var(--accent-ink); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { background: var(--paper); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-700); }
.btn-green { background: var(--green); }
.btn-green:hover { background: var(--green-ink); }
.answer {
	/* "Quick answer" box: the 40–60 word direct answer AI engines and featured snippets quote */
	background: #fff7f2; border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 16px 0 24px;
}
.answer p { margin: 0; }
.prose { line-height: 1.7; color: var(--ink-2); max-width: 760px; }
.prose h2 { color: var(--ink); }
.prose table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: .92rem; background: #fff; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--paper); }
.card-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.err { color: #c0262d; font-size: .9rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
