:root {
	--tds-ink: #172033;
	--tds-muted: #5f6b7a;
	--tds-primary: #0b57d0;
	--tds-primary-dark: #073b91;
	--tds-surface: #f6f8fc;
	--tds-line: #dfe4ec;
	--tds-warm: #fff7e8;
	--tds-radius: 24px;
}

html { scroll-behavior: smooth; }
body { color: var(--tds-ink); font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0; }
body.admin-bar .q-header { top: 32px; }
img { height: auto; max-width: 100%; }
a { color: var(--tds-primary); }
q-layout, q-header, q-page-container, q-page, q-footer, q-card, q-card-section, q-list, q-item, q-item-section, q-banner { display: block; }
q-btn { display: inline-flex; }
.material-symbols-outlined { font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24; }
.tds-container { margin: 0 auto; max-width: 1200px; padding-left: 24px; padding-right: 24px; width: 100%; }
.tds-reading-width { max-width: 860px; }
.tds-page { background: #fff; min-height: 55vh; }
.tds-skip-link { background: #fff; border-radius: 0 0 8px 8px; left: 16px; padding: 10px 16px; position: fixed; top: -100px; z-index: 10000; }
.tds-skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid #f5a623; outline-offset: 3px; }

.tds-header { backdrop-filter: blur(14px); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(23,32,51,.08); color: var(--tds-ink); }
.tds-toolbar { align-items: center; display: flex; height: 78px; justify-content: space-between; }
.tds-brand { align-items: center; color: var(--tds-ink); display: flex; gap: 12px; text-decoration: none; }
.tds-brand-mark { align-items: center; background: var(--tds-primary); border-radius: 14px; color: #fff; display: flex; font-size: 27px; height: 46px; justify-content: center; width: 46px; }
.tds-brand strong, .tds-brand small { display: block; }
.tds-brand strong { font-size: 17px; line-height: 1.25; }
.tds-brand small { color: var(--tds-muted); font-size: 12px; }
.custom-logo { display: block; max-height: 52px; width: auto; }
.tds-nav { align-items: center; display: flex; gap: 26px; }
.tds-nav ul, .tds-mobile-nav ul, .tds-footer ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.tds-nav a { color: var(--tds-ink); font-weight: 650; text-decoration: none; }
.tds-nav a:hover { color: var(--tds-primary); }
.tds-mobile-menu-button { display: none; }
.tds-mobile-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
.tds-mobile-nav a { border-bottom: 1px solid var(--tds-line); color: var(--tds-ink); display: block; font-size: 17px; padding: 14px 0; text-decoration: none; }

.tds-hero { background: linear-gradient(135deg,#f4f8ff 0%,#fff 52%,#fff8eb 100%); overflow: hidden; padding: 76px 0 68px; position: relative; }
.tds-hero::before { background: radial-gradient(circle,rgba(11,87,208,.12) 1.5px,transparent 1.5px); background-size: 24px 24px; content: ""; height: 240px; left: -50px; opacity: .55; position: absolute; top: 80px; width: 260px; }
.tds-hero-grid { align-items: center; display: grid; gap: 60px; grid-template-columns: 1.02fr .98fr; }
.tds-eyebrow { align-items: center; color: var(--tds-primary); display: flex; font-size: 13px; font-weight: 800; gap: 8px; letter-spacing: .09em; margin-bottom: 18px; text-transform: uppercase; }
.tds-hero h1 { font-size: clamp(44px,5.3vw,72px); letter-spacing: -.045em; line-height: 1.02; margin: 0 0 24px; max-width: 720px; }
.tds-hero-copy > p { color: var(--tds-muted); font-size: 20px; line-height: 1.65; margin: 0 0 30px; max-width: 620px; }
.tds-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tds-actions .q-btn { font-weight: 700; min-height: 52px; }
.tds-trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.tds-trust-row span { align-items: center; color: #435064; display: flex; font-size: 14px; font-weight: 650; gap: 7px; }
.tds-trust-row .q-icon { color: #1b7f5b; font-size: 21px; }
.tds-hero-visual { min-height: 490px; position: relative; }
.tds-hero-visual > img { border-radius: 40px 40px 130px 40px; box-shadow: 0 28px 70px rgba(23,32,51,.16); height: 510px; object-fit: cover; width: 100%; }
.tds-hero-card { bottom: 22px; left: -35px; min-width: 285px; position: absolute; }
.tds-hero-card strong, .tds-hero-card small { display: block; }
.tds-hero-card small { color: var(--tds-muted); margin-top: 2px; }

.tds-benefits { padding: 86px 0; }
.tds-section-heading > span { color: var(--tds-primary); display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; margin-bottom: 8px; text-transform: uppercase; }
.tds-section-heading h2 { font-size: clamp(30px,4vw,46px); letter-spacing: -.035em; line-height: 1.15; margin: 0; }
.tds-section-heading p { color: var(--tds-muted); font-size: 17px; margin: 14px 0 0; }
.tds-section-heading--center { margin: 0 auto 38px; max-width: 760px; text-align: center; }
.tds-benefit-grid { display: grid; gap: 20px; grid-template-columns: repeat(3,1fr); }
.tds-benefit-grid .q-card { border-color: var(--tds-line); border-radius: var(--tds-radius); }
.tds-benefit-grid .q-card__section { padding: 28px; }
.tds-benefit-grid h3 { font-size: 21px; margin: 22px 0 8px; }
.tds-benefit-grid p { color: var(--tds-muted); margin: 0; }

.tds-finder { background: #eef3fb; padding: 90px 0; scroll-margin-top: 96px; }
.tds-finder-heading { align-items: end; display: flex; gap: 50px; justify-content: space-between; margin-bottom: 34px; }
.tds-finder-heading .tds-section-heading { max-width: 680px; }
.tds-search { flex: 0 0 360px; }
.tds-finder-grid { display: grid; gap: 24px; grid-template-columns: minmax(340px,.82fr) 1.18fr; }
.tds-location-list { display: flex; flex-direction: column; gap: 12px; max-height: 650px; overflow-y: auto; padding: 1px 7px 1px 1px; }
.tds-result-count { color: var(--tds-muted); font-size: 14px; font-weight: 700; margin: 2px 0 4px; }
.tds-location-card { border-color: transparent; border-radius: 18px; cursor: pointer; transition: border-color .2s,box-shadow .2s,transform .2s; }
.tds-location-card:hover, .tds-location-card--active { border-color: var(--tds-primary); box-shadow: 0 8px 24px rgba(23,32,51,.08); transform: translateY(-1px); }
.tds-location-card .q-card__section { padding: 20px; }
.tds-location-card-top { align-items: start; display: flex; gap: 12px; justify-content: space-between; }
.tds-location-card h3, .tds-archive-card h2 { font-size: 19px; line-height: 1.3; margin: 2px 0 8px; }
.tds-location-city { color: var(--tds-primary); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tds-location-card p, .tds-archive-card p { align-items: flex-start; color: var(--tds-muted); display: flex; gap: 8px; margin: 7px 0; }
.tds-location-card .tds-venue, .tds-archive-card .tds-venue { color: var(--tds-ink); display: block; font-weight: 700; }
.tds-location-card p .q-icon, .tds-archive-card p .q-icon { color: var(--tds-primary); flex: 0 0 auto; margin-top: 3px; }
.tds-card-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.tds-map-wrap { min-height: 650px; position: sticky; top: 104px; }
.tds-map { border: 6px solid #fff; border-radius: 24px; box-shadow: 0 14px 40px rgba(23,32,51,.1); height: 650px; overflow: hidden; }
.tds-map-key { align-items: center; background: #fff; border-radius: 99px; bottom: 20px; box-shadow: 0 5px 20px rgba(23,32,51,.15); display: flex; font-size: 13px; font-weight: 700; gap: 7px; left: 50%; padding: 10px 15px; position: absolute; transform: translateX(-50%); white-space: nowrap; z-index: 500; }
.tds-map-marker-wrap { background: transparent; border: 0; }
.tds-map-marker { align-items: center; background: var(--tds-primary); border: 4px solid #fff; border-radius: 50% 50% 50% 8px; box-shadow: 0 5px 14px rgba(23,32,51,.28); color: #fff; display: flex; height: 42px; justify-content: center; transform: rotate(-45deg); width: 42px; }
.tds-map-marker span { font-size: 21px; transform: rotate(45deg); }
.tds-map-popup { display: flex; flex-direction: column; min-width: 190px; padding: 3px; }
.tds-map-popup small { color: var(--tds-primary); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tds-map-popup strong { font-size: 15px; margin: 3px 0; }
.tds-map-popup span { color: var(--tds-muted); }
.tds-map-popup a { font-weight: 700; margin-top: 8px; }
.tds-empty-state { padding: 28px; }
.tds-empty-state p { margin: 4px 0 0; }

.tds-info { padding: 96px 0; }
.tds-info-grid { align-items: center; display: grid; gap: 80px; grid-template-columns: 1fr .95fr; }
.tds-info-grid > div > p { color: var(--tds-muted); font-size: 18px; line-height: 1.75; margin: 22px 0 28px; }
.tds-topic-list { background: var(--tds-surface); border-radius: var(--tds-radius); padding: 10px 22px; }
.tds-topic-list .q-item { padding: 20px 8px; }
.tds-topic-list .q-item__label:first-child { font-size: 17px; font-weight: 750; }
.tds-topic-list .q-item__label--caption { margin-top: 5px; }

.tds-page-hero, .tds-detail-hero { background: linear-gradient(135deg,#eef4ff,#fff8ec); padding: 66px 0; }
.tds-page-hero h1, .tds-detail-hero h1 { font-size: clamp(38px,5vw,58px); letter-spacing: -.04em; line-height: 1.08; margin: 0; }
.tds-page-hero p, .tds-detail-hero p { color: var(--tds-muted); font-size: 19px; margin: 16px 0 0; max-width: 720px; }
.tds-archive-tools { align-items: center; display: flex; justify-content: space-between; margin-bottom: 28px; }
.tds-archive-tools > p { color: var(--tds-muted); font-weight: 700; }
.tds-archive-tools .q-field { width: 350px; }
.tds-archive-grid { display: grid; gap: 22px; grid-template-columns: repeat(3,1fr); }
.tds-archive-card { border-color: var(--tds-line); border-radius: 20px; display: flex; flex-direction: column; }
.tds-archive-card .q-card__section { flex: 1; padding: 24px; }
.tds-archive-card .tds-card-excerpt { display: block; margin-top: 14px; }
.tds-archive-card .q-card__actions { padding: 12px 18px; }

.tds-back-link { align-items: center; color: var(--tds-primary); display: inline-flex; font-weight: 700; gap: 6px; margin-bottom: 32px; text-decoration: none; }
.tds-detail-heading { align-items: end; display: flex; gap: 30px; justify-content: space-between; }
.tds-detail-heading .q-btn { flex: 0 0 auto; }
.tds-detail-grid { align-items: start; display: grid; gap: 70px; grid-template-columns: minmax(0,1fr) 380px; }
.tds-prose { font-size: 17px; }
.tds-prose h1, .tds-prose h2, .tds-prose h3 { letter-spacing: -.025em; line-height: 1.22; }
.tds-prose h1 { font-size: 44px; }
.tds-prose h2 { font-size: 30px; margin-top: 0; }
.tds-prose h3 { font-size: 22px; }
.tds-prose p { color: #465266; }
.tds-prose a { font-weight: 700; }
.tds-detail-card { border-radius: 22px; overflow: hidden; position: sticky; top: 102px; }
.tds-detail-card h2 { font-size: 22px; margin: 0; }
.tds-eligibility-note { align-items: flex-start; border-top: 1px solid var(--tds-line); display: flex; gap: 18px; margin-top: 42px; padding-top: 30px; }
.tds-eligibility-note > .q-icon { color: var(--tds-primary); font-size: 30px; }
.tds-eligibility-note h2 { font-size: 21px; margin: 0 0 5px; }
.tds-eligibility-note p { margin: 0; }

.tds-footer { background: #121a2b; color: #dce4f2; position: static; }
.tds-footer-grid { display: grid; gap: 60px; grid-template-columns: 1.5fr .7fr .8fr; padding-bottom: 54px; padding-top: 58px; }
.tds-footer-brand { align-items: center; display: flex; font-size: 18px; gap: 10px; }
.tds-footer-grid p { color: #aebbd0; max-width: 460px; }
.tds-footer h2 { color: #fff; font-size: 15px; margin: 0 0 14px; text-transform: uppercase; }
.tds-footer a { color: #fff; text-decoration: none; }
.tds-footer ul { flex-direction: column; gap: 8px; }
.tds-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); color: #aebbd0; font-size: 13px; padding: 18px 0; }
.tds-footer-bottom .tds-container { display: flex; justify-content: space-between; }

@media (max-width: 1024px) {
	body.admin-bar .q-header { top: 32px; }
	.tds-nav { display: none; }
	.tds-mobile-menu-button { display: inline-flex; }
	.tds-hero-grid { gap: 35px; }
	.tds-hero h1 { font-size: 48px; }
	.tds-hero-visual > img { height: 440px; }
	.tds-finder-grid { grid-template-columns: .9fr 1.1fr; }
	.tds-archive-grid { grid-template-columns: repeat(2,1fr); }
	.tds-detail-grid { gap: 38px; grid-template-columns: minmax(0,1fr) 340px; }
}

@media (max-width: 782px) {
	body.admin-bar .q-header { top: 46px; }
	.tds-container { padding-left: 18px; padding-right: 18px; }
	.tds-toolbar { height: 68px; }
	.tds-brand small { display: none; }
	.tds-hero { padding: 50px 0; }
	.tds-hero-grid, .tds-info-grid, .tds-detail-grid { grid-template-columns: 1fr; }
	.tds-hero h1 { font-size: 43px; }
	.tds-hero-copy > p { font-size: 18px; }
	.tds-hero-visual { min-height: auto; }
	.tds-hero-visual > img { border-radius: 28px 28px 80px 28px; height: 420px; }
	.tds-hero-card { bottom: 12px; left: 10px; }
	.tds-benefits, .tds-info { padding: 68px 0; }
	.tds-benefit-grid { grid-template-columns: 1fr; }
	.tds-finder { padding: 68px 0; }
	.tds-finder-heading { align-items: stretch; flex-direction: column; gap: 25px; }
	.tds-search { flex-basis: auto; }
	.tds-finder-grid { display: flex; flex-direction: column-reverse; }
	.tds-location-list { max-height: none; overflow: visible; }
	.tds-map-wrap { min-height: 420px; position: static; }
	.tds-map { height: 420px; }
	.tds-info-grid { gap: 40px; }
	.tds-page-hero, .tds-detail-hero { padding: 48px 0; }
	.tds-archive-grid { grid-template-columns: 1fr; }
	.tds-detail-heading { align-items: stretch; flex-direction: column; }
	.tds-detail-heading .q-btn { align-self: flex-start; }
	.tds-detail-card { position: static; }
	.tds-footer-grid { gap: 35px; grid-template-columns: 1fr 1fr; }
	.tds-footer-grid > div:first-child { grid-column: 1/-1; }
}

@media (max-width: 520px) {
	.tds-hero h1 { font-size: 38px; }
	.tds-actions { align-items: stretch; flex-direction: column; }
	.tds-actions .q-btn { width: 100%; }
	.tds-trust-row { align-items: flex-start; flex-direction: column; gap: 10px; }
	.tds-hero-visual > img { height: 340px; }
	.tds-hero-card { bottom: -18px; left: 7px; min-width: 260px; transform: scale(.9); transform-origin: left bottom; }
	.tds-finder { padding-top: 60px; }
	.tds-map-wrap { min-height: 350px; }
	.tds-map { height: 350px; }
	.tds-map-key { font-size: 11px; }
	.tds-archive-tools { align-items: stretch; flex-direction: column; }
	.tds-archive-tools .q-field { width: 100%; }
	.tds-footer-grid { grid-template-columns: 1fr; }
	.tds-footer-grid > div:first-child { grid-column: auto; }
	.tds-footer-bottom .tds-container { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

