/* Odds PH Portal — tokens, layout, header, mega menu, footer. Breakpoints 1100 / 900 / 600. */
:root {
	--navy: #0b1f4d; --navy-2: #13306e; --blue: #0038a8; --red: #ce1126; --sun: #fcd116;
	--ink: #14182b; --muted: #5a6175; --line: #e3e6ef; --bg: #f6f7fb; --card: #fff;
	--r: 14px; --shadow: 0 6px 24px rgba(11, 31, 77, .08);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* top bar + header */
.topbar { background: var(--navy); color: #c9d3ee; font-size: 13px; }
.topbar__row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.topbar__age { color: var(--sun); }
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header__row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand__name { font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.brand__name b { color: var(--red); }
.brand--light { color: #fff; }
.flagline { display: flex; height: 4px; }
.flagline span { flex: 1; }
.flagline span:nth-child(1) { background: var(--blue); }
.flagline span:nth-child(2) { background: var(--red); }
.flagline span:nth-child(3) { background: var(--sun); }
.search input { width: 220px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 15px; background: var(--bg); }

/* header register / login invite (not on trust pages) */
.hcta { display: flex; align-items: center; gap: 8px; margin: 0; }
.hcta a { text-decoration: none; font-weight: 800; white-space: nowrap; border-radius: 999px; }
.hcta__login { color: var(--navy); border: 1.5px solid var(--line); padding: 8px 16px; font-size: 14.5px; }
.hcta__login:hover { border-color: var(--navy); }
.hcta__reg { background: var(--sun); color: var(--ink); padding: 9px 18px; font-size: 15px; box-shadow: 0 2px 8px rgba(252, 209, 22, .45); }
.hcta__reg:hover { filter: brightness(1.06); color: var(--ink); }
@media (max-width: 1100px) { .hcta__login { display: none; } .hcta__reg { padding: 8px 14px; font-size: 14px; } .hcta { margin-left: auto; } .burger { order: 5; margin-left: 0; } }
@media (max-width: 720px) { .header__row { gap: 10px; } .brand__name { font-size: 20px; } .hcta__reg { padding: 7px 12px; font-size: 13px; } }
@media (max-width: 480px) { .hcta__free, .burger__label { display: none; } .brand img { width: 30px; height: 30px; } .brand { gap: 7px; } }

/* mega menu */
.nav { flex: 1; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__item { position: static; }
.nav__btn { font: inherit; font-weight: 700; font-size: 15px; color: var(--navy); background: none; border: 0; padding: 20px 12px; cursor: pointer; display: flex; align-items: center; gap: 6px; border-bottom: 3px solid transparent; }
.nav__item.is-current > .nav__btn, .nav__btn[aria-expanded="true"] { border-bottom-color: var(--red); }
.nav__caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow); border-top: 1px solid var(--line); }
.nav__btn[aria-expanded="true"] + .mega { display: block; }
.mega__inner { display: grid; grid-template-columns: 220px repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; padding: 24px 0 28px; }
.mega__hub { display: block; padding: 16px; border-radius: var(--r); background: var(--navy); color: #fff; text-decoration: none; }
.mega__hub strong { display: block; font-size: 18px; }
.mega__hub span { font-size: 13px; color: #c9d3ee; }
.mega__title { margin: 0 0 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.mega__col ul { list-style: none; margin: 0; padding: 0; }
.mega__col a { display: block; padding: 4px 0; color: var(--ink); text-decoration: none; font-size: 15px; }
.mega__col a:hover, .mega__col a[aria-current] { color: var(--blue); text-decoration: underline; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; align-items: center; gap: 8px; }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -6px; } .burger__bars::after { top: 6px; }

/* footer */
.footer { background: var(--navy); color: #c9d3ee; margin-top: 56px; font-size: 15px; }
.footer a { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; padding: 48px 0 32px; }
.footer__title { color: var(--sun); font-weight: 800; margin: 0 0 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 3px 0; }
.footer__addr { font-size: 14px; }
.age { display: inline-block; background: var(--red); color: #fff; font-weight: 800; border-radius: 6px; padding: 0 6px; margin-right: 4px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0 24px; font-size: 13px; }

@media (max-width: 1100px) {
	.burger { display: flex; }
	.search { display: none; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow); max-height: calc(100vh - 100px); overflow-y: auto; }
	.nav.is-open { display: block; }
	.nav__list { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
	.nav__btn { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); }
	.mega { position: static; box-shadow: none; border: 0; }
	.mega__inner { grid-template-columns: 1fr; gap: 12px; padding: 12px 0; width: 100%; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.topbar__row { flex-direction: column; gap: 0; }
	.footer__grid { grid-template-columns: 1fr; }
}
