/* corporatecompliance.hu – self-hosted Montserrat (OFL), no external resources */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/montserrat-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/montserrat-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/montserrat-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/montserrat-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/montserrat-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/montserrat-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/montserrat-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/montserrat-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/montserrat-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/montserrat-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root { --ink: #0f1e33; --ink2: #2b3a52; --muted: #5d6b80; --line: #dde3ea; --bg2: #f4f6f9; --acc: #9a7b3f; --acct: #7f6230; --gold: #d4b77a; --gold2: #e2c890; --cream: #faf6ee; --red: #c0504d; --red2: #a8403d; --navy2: #1d3354; --navy: #0f1e33; --surface: #fff; --page: #fff; --line2: #c9d2dd; --on-gold: #0f1e33; color-scheme: light; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', sans-serif; font-size: 16px; line-height: 1.65; color: var(--ink2); background: var(--page); -webkit-font-smoothing: antialiased; }
/* scroll-driven entry animations start off-canvas: clip them here (body-level clip propagates to the viewport and does not) */
main { display: block; overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, p, ul, ol, blockquote, dl, dd, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
a { color: var(--acct); } a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 120px 0; }
.alt { background: var(--bg2); }
.dk { background: var(--navy); color: #c3cddc; }
.dk h2, .dk h3 { color: #fff; }

/* section head: numbered editorial index */
.shead { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 24px; margin-bottom: 56px; }
.snum { font-size: clamp(3.6rem, 6.4vw, 6rem); font-weight: 800; letter-spacing: -.05em; line-height: .82; color: #e2d3b3; font-variant-numeric: tabular-nums; height: fit-content; margin-top: -2px; user-select: none; }
.snum.solo { margin-bottom: 28px; }
.alt .snum { color: #ddcfb0; }
.dk .snum { color: rgba(212,183,122,.32); }
@keyframes snum-in { from { opacity: 0; transform: translateX(-56px); letter-spacing: .08em; } to { opacity: 1; transform: none; letter-spacing: -.05em; } }
@supports (animation-timeline: view()) {
  .snum { animation: snum-in linear both; animation-timeline: view(); animation-range: entry 5% cover 32%; }
}
.eyebrow { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--acct); margin-bottom: 16px; }
.dk .eyebrow { color: var(--gold); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.lead { font-size: 1.12rem; line-height: 1.72; color: var(--ink2); max-width: 780px; margin-top: 22px; }
.dk .lead { color: #c3cddc; }
.small { font-size: .86rem; line-height: 1.6; color: var(--muted); }
.dk .small { color: #9fadc2; }
.body-off { padding-left: 200px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 8px; font: inherit; font-weight: 700; font-size: .97rem; line-height: 1.3; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; text-align: center; }
.btn-p { background: var(--navy); color: #fff; }
.btn-p:hover { background: var(--navy2); color: #fff; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold2); color: var(--on-gold); }
.btn-g { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-g:hover { background: var(--navy); color: #fff; }
.btn-gd { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn-gd:hover { border-color: var(--gold); color: var(--gold); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(15,30,51,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(212,183,122,.18); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; position: relative; }
.brand { font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; color: #fff; text-decoration: none; }
.brand span { color: #b3914f; }
.brand:hover { color: #fff; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: rgba(255,255,255,.82); text-decoration: none; font-size: .9rem; font-weight: 600; border-radius: 6px; }
.menu a:hover { color: var(--gold); }
.menu .lang { border: 1px solid rgba(255,255,255,.25); min-height: 34px; padding: 0 10px; font-size: .78rem; letter-spacing: .08em; margin: 0 8px; }
.menu .nav-cta { background: var(--gold); color: var(--on-gold); padding: 0 18px; font-weight: 700; }
.menu .nav-cta:hover { background: var(--gold2); color: var(--on-gold); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); background: transparent; border-radius: 8px; color: #fff; cursor: pointer; align-items: center; justify-content: center; padding: 0; }

/* hero */
.hero { position: relative; background: linear-gradient(135deg, #0f1e33 0%, #1d3354 100%); color: #c3cddc; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(212,183,122,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(212,183,122,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; padding-top: 112px; padding-bottom: 96px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
@media (min-width: 560px) { .hero h1 em { white-space: nowrap; } }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.7; color: #d3dbe7; max-width: 640px; margin-top: 30px; }
.hero .cta-row { margin-top: 40px; }
.hero-note { margin-top: 18px; color: #9fadc2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; border: 1px solid rgba(212,183,122,.55); color: var(--gold); border-radius: 20px; padding: 6px 14px; font-size: .8rem; font-weight: 600; line-height: 1.3; }
.compass { width: 100%; max-width: 460px; justify-self: end; }
.compass svg { width: 100%; height: auto; display: block; }
.needle { transform-box: view-box; transform-origin: 260px 260px; transform: rotate(38deg); animation: settle 2.6s cubic-bezier(.2,.8,.2,1) .3s both; }
@keyframes settle { 0% { transform: rotate(-70deg); } 55% { transform: rotate(52deg); } 78% { transform: rotate(33deg); } 100% { transform: rotate(38deg); } }
.trustbar { position: relative; border-top: 1px solid rgba(255,255,255,.1); background: rgba(8,18,32,.35); }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.trust > div { display: flex; align-items: center; gap: 12px; padding: 22px 18px; font-size: .88rem; line-height: 1.4; color: #c3cddc; border-left: 1px solid rgba(255,255,255,.08); }
.trust > div:first-child { border-left: 0; padding-left: 0; }
.trust b { color: #fff; font-weight: 700; }
.tick { flex: none; width: 18px; height: 18px; }

/* challenge-solution */
.pp-list { display: grid; gap: 14px; }
.pp-row { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.1fr); align-items: stretch; }
.pp-p, .pp-s { border-radius: 10px; padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.pp-p { background: var(--bg2); color: var(--ink2); }
.pp-s { background: var(--navy); color: #fff; font-weight: 700; font-size: 1.08rem; line-height: 1.45; }
.pp-l { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pp-s .pp-l { color: var(--gold); }
.pp-arrow { display: flex; align-items: center; justify-content: center; }
.pp-arrow span { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--acc); color: var(--acc); display: flex; align-items: center; justify-content: center; background: var(--surface); }
@keyframes pp-left { from { opacity: 0; transform: translate(-48px, 18px); } to { opacity: 1; transform: none; } }
@keyframes pp-arrow { from { opacity: 0; transform: translateX(-16px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes pp-right { from { opacity: 0; transform: translate(40px, 18px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .pp-row { view-timeline: --pprow block; }
  .pp-p { animation: pp-left linear both; animation-timeline: --pprow; animation-range: entry 0% cover 22%; }
  .pp-arrow { animation: pp-arrow linear both; animation-timeline: --pprow; animation-range: entry 45% cover 28%; }
  .pp-s { animation: pp-right linear both; animation-timeline: --pprow; animation-range: entry 70% cover 34%; }
}

/* why us */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 14px; }
.stat b { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.05; }
.stat span { font-size: .95rem; color: var(--muted); line-height: 1.55; }
.stat.us { background: var(--navy); border-color: var(--navy); }
.stat.us b { color: var(--gold); }
.stat.us span { color: #c3cddc; }
.cmp-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .95rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 18px 22px; border-top: 1px solid var(--line); line-height: 1.55; }
.cmp thead th { border-top: 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--muted); padding-top: 22px; padding-bottom: 22px; }
.cmp thead th.us { background: var(--navy); color: var(--gold); }
.cmp tbody th { font-weight: 700; color: var(--ink); width: 22%; }
.cmp td { color: var(--ink2); width: 39%; }
.cmp td.us { background: var(--cream); color: var(--ink); font-weight: 600; }
.src-note { margin-top: 16px; }

/* approach */
.ap-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.ap-text p { font-size: 1.05rem; line-height: 1.75; }
.ap-text p + p { margin-top: 18px; }
.ap-card { background: var(--navy); border-radius: 10px; padding: 44px 40px; color: #c3cddc; position: relative; }
.ap-card::before { content: ''; position: absolute; left: 40px; top: 0; width: 56px; height: 3px; background: var(--gold); }
.ap-card h3 { color: #fff; font-size: 1.45rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.ap-card > p { margin-top: 16px; }
.check { display: grid; gap: 12px; }
.check li { position: relative; padding-left: 30px; line-height: 1.55; }
.check li::before { content: ''; position: absolute; left: 3px; top: .38em; width: 6px; height: 11px; border: solid var(--acc); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dk .check li::before, .ap-card .check li::before, .pkg.feat .check li::before { border-color: var(--gold); }
.ap-card .check { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.ap-card .check b, .dk .check b { color: #fff; }
.check-mt { margin-top: 28px; }
.contact .check-mt { color: #e3e8f0; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 20px; }
.svc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 32px 30px 28px; display: flex; flex-direction: column; gap: 16px; transition: background .25s, border-color .25s, box-shadow .25s, transform .25s; }
.svc:hover, .svc:focus-within { background: var(--cream); border-color: #e7d3a6; box-shadow: 0 18px 40px -22px rgba(15,30,51,.35); transform: translateY(-2px); }
.svc-n { font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--acct); }
.svc h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px; }
.svc ul { display: grid; gap: 9px; font-size: .93rem; color: var(--ink2); }
.svc li { position: relative; padding-left: 20px; line-height: 1.5; }
.svc li::before { content: ''; position: absolute; left: 0; top: .72em; width: 10px; height: 1.5px; background: var(--acc); }
.svc-foot { margin-top: auto; padding-top: 10px; }
.svc-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 7px; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.svc:hover .svc-cta, .svc:focus-within .svc-cta { background: var(--red); border-color: var(--red); color: #fff; }
.svc .svc-cta:hover { background: var(--red2); border-color: var(--red2); color: #fff; }

/* packages */
.team-note { border-left: 3px solid var(--acc); background: var(--cream); border-radius: 0 10px 10px 0; padding: 22px 28px; margin-top: 40px; font-size: 1rem; line-height: 1.65; color: var(--ink2); }
.team-note b { color: var(--ink); }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr)); gap: 20px; margin-top: 52px; align-items: stretch; }
.pkg { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 38px 26px 26px; display: flex; flex-direction: column; }
.pkg h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.pkg .sub { font-size: .88rem; color: var(--muted); line-height: 1.5; margin-top: 8px; min-height: 2.7em; }
.price { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price .u { font-size: .85rem; font-weight: 600; color: var(--muted); }
.price .amt { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.pkg .cond { font-size: .8rem; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.pkg .check { margin-top: 22px; font-size: .92rem; gap: 10px; }
.pkg .pk-foot { margin-top: auto; padding-top: 26px; }
.pkg .pk-foot .btn { width: 100%; }
/* #7f6230 instead of #9a7b3f: white text needs >= 4.5:1 */
.badge { position: absolute; top: -13px; left: 26px; background: var(--acct); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }
.pkg.feat { background: var(--navy); border-color: var(--navy); color: #c3cddc; box-shadow: 0 28px 60px -30px rgba(15,30,51,.6); }
.pkg.feat h3, .pkg.feat .amt { color: #fff; }
.pkg.feat .sub, .pkg.feat .u, .pkg.feat .cond { color: #a9b6c9; }
.pkg.feat .price { border-color: rgba(255,255,255,.14); }
.pkg.feat .badge { background: var(--gold); color: var(--on-gold); }
.extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; margin-top: 20px; }
.xcard { border: 1px solid var(--line); border-radius: 10px; padding: 32px 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; background: var(--surface); }
.xcard > div { flex: 1 1 260px; }
.xcard h3 { font-size: 1.2rem; font-weight: 800; }
.xcard p { margin-top: 8px; font-size: .95rem; }
.xcard.dkc { background: var(--navy); border-color: var(--navy); color: #c3cddc; }
.xcard.dkc h3 { color: #fff; }
.rf { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-note { margin-top: 18px; font-size: .85rem; color: var(--muted); }

/* disclosure */
details.dq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 18px 0; font-weight: 700; font-size: 1.04rem; color: var(--ink); }
details.dq summary::-webkit-details-marker { display: none; }
details.dq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--acc); background: linear-gradient(var(--acc), var(--acc)) center / 12px 1.5px no-repeat, linear-gradient(var(--acc), var(--acc)) center / 1.5px 12px no-repeat; transition: transform .25s; }
details.dq[open] summary::after { transform: rotate(45deg); }
details.dq p { padding: 0 54px 24px 0; color: var(--ink2); line-height: 1.7; max-width: 860px; }
.faq details.dq { border-top: 1px solid var(--line); }
.faq details.dq:last-of-type { border-bottom: 1px solid var(--line); }

/* forms */
.form-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 36px 34px; box-shadow: 0 30px 60px -40px rgba(15,30,51,.4); display: grid; gap: 18px; color: var(--ink2); }
.fcard .small { color: var(--muted); }
.frow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.fl { display: grid; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.fl input, .fl select, .fl textarea { font: inherit; font-size: .97rem; font-weight: 500; color: var(--ink); width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line2); border-radius: 7px; background: var(--surface); }
.fl textarea { min-height: 112px; resize: vertical; }
.fl input:focus, .fl select:focus, .fl textarea:focus { border-color: var(--acc); outline: none; box-shadow: 0 0 0 3px rgba(154,123,63,.18); }
.fl input::placeholder, .fl textarea::placeholder { color: #6b788b; }
.fgroup { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.flab { font-size: .86rem; font-weight: 600; color: var(--ink); }
.fgroup > legend { padding: 0; margin-bottom: 8px; }
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 8px; }
.topic { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; font-size: .88rem; font-weight: 500; color: var(--ink2); cursor: pointer; transition: background .2s, border-color .2s; }
.topic.on { background: var(--cream); border-color: var(--gold); color: var(--ink); }
.topic input, .consent input, .partner input { accent-color: var(--acc); width: 18px; height: 18px; flex: none; margin: 0; }
.partner { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; transition: background .25s, border-color .25s; }
.partner input { margin-top: 3px; }
.partner b { display: block; color: var(--ink); font-size: .97rem; }
.partner small { display: block; margin-top: 4px; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.partner.on { background: var(--cream); border-color: var(--gold); }
.partner.flash { animation: flash 1.5s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(212,183,122,.9); } 35% { box-shadow: 0 0 0 10px rgba(212,183,122,.35); } 100% { box-shadow: 0 0 0 0 rgba(212,183,122,0); } }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .86rem; line-height: 1.55; color: var(--ink2); cursor: pointer; }
.consent input { margin-top: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fcard .btn { width: 100%; }
.form-err, #form-error, #pl-error, #nl-error { background: #fdecec; color: #8a1f1f; border: 1px solid #f1c4c3; border-left: 3px solid var(--red2); padding: 12px 16px; border-radius: 7px; font-size: .92rem; font-weight: 600; line-height: 1.5; }

/* quiz */
.quiz { max-width: 920px; display: grid; gap: 14px; }
.qf { border: 1px solid var(--line); border-radius: 10px; padding: 24px 26px; margin: 0; background: var(--surface); min-width: 0; }
.qf legend { float: left; width: 100%; padding: 0; font-weight: 700; color: var(--ink); line-height: 1.5; font-size: 1rem; display: flex; gap: 14px; }
.qf legend .qn { flex: none; font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--acct); padding-top: 2px; width: 22px; }
.opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; padding-left: 36px; }
.opt { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 22px; font-size: .9rem; font-weight: 600; color: var(--ink2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.opt:hover { border-color: var(--acc); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.opt.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.opt:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.quiz-submit { margin-top: 10px; }
.quiz-note { margin-top: 18px; max-width: 760px; }
.qres { max-width: 920px; margin-top: 22px; background: var(--cream); border: 1px solid #e7d3a6; border-radius: 10px; padding: 30px 32px; display: grid; gap: 14px; }
.qres h3 { font-size: 1.3rem; font-weight: 800; }
.qres ul { display: grid; gap: 6px; }
.qres li { position: relative; padding-left: 20px; font-weight: 600; color: var(--ink); }
.qres li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.qres .btn { justify-self: start; }
.qwarn { max-width: 920px; margin-top: 18px; font-weight: 700; color: var(--red2); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px; position: relative; list-style: none; padding: 0; margin: 0; }
.step { position: relative; }
.step-n { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--bg2); }
.step::before { content: ''; position: absolute; top: 26px; left: 52px; right: -28px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--acc) 0 6px, transparent 6px 12px); }
.step:last-child::before { display: none; }
.step h3 { margin-top: 26px; font-size: 1.12rem; font-weight: 700; }
.step p { margin-top: 8px; font-size: .95rem; color: var(--ink2); }

/* references */
.refs { background: var(--navy); position: relative; overflow: hidden; }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.ref { padding: 8px 28px; border-left: 1px solid rgba(212,183,122,.25); }
/* the word item ("Globális"/"Global") stays on one line: font shrinks to the column width, box keeps the numbers' height so labels align */
.ref b[data-letters] { display: flex; align-items: flex-end; min-height: clamp(3rem, 5.6vw, 4.6rem); white-space: nowrap; }
@supports (font-size: 1cqi) {
  .ref { container-type: inline-size; }
  .ref b[data-letters] { font-size: min(clamp(3rem, 5.6vw, 4.6rem), 24cqi); }
}
.ref b { display: block; font-size: clamp(3rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; min-height: 1em; }
.ref .lbl { display: block; margin-top: 16px; font-size: .98rem; color: #c3cddc; line-height: 1.5; max-width: 220px; }
.ltr { display: inline-block; opacity: 0; transform: translateX(14px); transition: opacity .35s ease-out, transform .35s ease-out; }
.ltr.on { opacity: 1; transform: none; }

/* person */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.portrait { position: relative; margin: 0 22px 22px 0; }
.portrait::after { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--acc); border-radius: 10px; z-index: 0; }
.portrait img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 10px; }
.p-name { font-size: clamp(2.2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.p-role { margin-top: 10px; font-weight: 700; color: var(--ink2); }
.pubs { margin-top: 26px; background: var(--bg2); border-radius: 10px; padding: 18px 22px; }
.pubs > span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--acct); margin-bottom: 8px; }
.pubs ul { display: grid; gap: 4px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.p-body > p { margin-top: 18px; line-height: 1.75; }
.p-body > p.p-role { margin-top: 10px; line-height: 1.65; }
.facts { display: flex; gap: 14px; margin-top: 20px; font-size: .92rem; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { color: var(--ink2); }
.quote { margin-top: 34px; padding: 30px 0 4px; border-top: 1px solid var(--line); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.team { margin-top: 34px; }
.team h3 { font-size: 1.12rem; font-weight: 800; }
.team p { margin-top: 8px; }
.li-card { margin-top: 28px; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); flex-wrap: wrap; transition: border-color .2s, background .2s; }
.li-card:hover { border-color: var(--gold); background: var(--cream); color: var(--ink); }
.li-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.li-card .li-t { flex: 1 1 200px; display: grid; }
.li-card .li-t b { font-size: .97rem; }
.li-card .li-t span { font-size: .85rem; color: var(--muted); }
.li-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 7px; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; }
.person .cta-row { margin-top: 32px; }

/* lifecycle */
.life { background: linear-gradient(135deg, #0f1e33 0%, #1d3354 100%); }
.life-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; margin-top: 48px; }
.life-tile { min-height: 112px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 18px 20px; border: 1px solid rgba(212,183,122,.38); border-radius: 10px; background: rgba(255,255,255,.02); color: var(--gold); font-weight: 700; font-size: 1rem; line-height: 1.4; transition: background .25s, color .25s, transform .25s, border-color .25s; }
/* #7f6230 instead of #9a7b3f: white text needs >= 4.5:1 */
.life-tile:hover { background: var(--acct); border-color: var(--acct); color: #fff; transform: translateY(-2px); }
.life-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 48px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.1); }
.life-meta p { color: #d3dbe7; line-height: 1.7; }
.life-meta .chips { margin-top: 0; }
.lbl-g { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }

/* contact */
.contact { background: var(--navy); }
.contact .fcard { box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.infra { margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.infra-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.infra-b { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.03); }
.infra-b svg { flex: none; width: 26px; height: 26px; color: var(--gold); }
.infra-b b { display: block; color: #fff; font-size: .97rem; }
.infra-b small { display: block; color: #a9b6c9; font-size: .82rem; line-height: 1.45; margin-top: 3px; }

/* footer */
.foot { background: #0a1626; color: #8e9bb0; font-size: .85rem; line-height: 1.6; }
.foot-seo { padding: 40px 24px 26px; border-bottom: 1px solid rgba(255,255,255,.08); max-width: 1200px; margin: 0 auto; }
.foot-seo p { max-width: 900px; color: #7f8ca2; font-size: .8rem; }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 24px; padding-bottom: 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot a { color: #c3cddc; text-decoration: none; }
.foot a:hover { color: var(--gold); }

/* subpages (legal notice, privacy, thank-you pages) */
.page-head { background: linear-gradient(135deg, #0f1e33 0%, #1d3354 100%); color: #c3cddc; padding: 72px 0 64px; }
.page-head .eyebrow { color: var(--gold); }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.page-head .lead { color: #d3dbe7; }
.page-head .small { color: #9fadc2; margin-top: 14px; }
.page-head a { color: var(--gold); }
.page-head a:hover { color: #fff; }
.wrap.narrow { max-width: 908px; }
.wrap.page-body { padding-top: 64px; padding-bottom: 96px; }
.legal h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 56px 0 18px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.35; margin: 34px 0 12px; }
.legal p { margin-top: 14px; line-height: 1.75; }
.legal p:first-child { margin-top: 0; }
.legal ul:not(.check) { list-style: disc; padding-left: 1.4em; margin-top: 12px; display: grid; gap: 6px; }
.legal ul:not(.check) li::marker { color: var(--acc); }
.legal .check { margin-top: 18px; }
.legal .team-note { margin: 0 0 32px; }
.legal table { border-collapse: collapse; width: 100%; margin-top: 18px; font-size: .95rem; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: table; }
.legal td { border-top: 1px solid var(--line); padding: 14px 18px; vertical-align: top; line-height: 1.55; overflow-wrap: anywhere; }
.legal tr:first-child td { border-top: 0; }
.legal td:first-child { color: var(--muted); font-weight: 600; width: 36%; background: var(--bg2); }
.legal .cta-row { margin-top: 40px; }
.sub-nav { display: flex; align-items: center; gap: 8px; }
.sub-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: rgba(255,255,255,.82); text-decoration: none; font-size: .9rem; font-weight: 600; border-radius: 6px; }
.sub-nav a:hover { color: var(--gold); }
.sub-nav .lang { border: 1px solid rgba(255,255,255,.25); min-height: 34px; padding: 0 10px; font-size: .78rem; letter-spacing: .08em; }
.sub-nav .nav-cta { background: var(--gold); color: var(--on-gold); font-weight: 700; padding: 0 18px; }
.sub-nav .nav-cta:hover { background: var(--gold2); color: var(--on-gold); }

/* ===== v2 (2026-10-29): proof strip, compact services, optional fields, secondary tabs ===== */
.proof { background: #0b182b; border-top: 1px solid rgba(212,183,122,.16); padding: 56px 0; }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.proof .lbl-g { margin-bottom: 22px; }
.proof .ref-grid { grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); row-gap: 24px; }
.proof .ref { padding: 4px 18px; border-top: 0; }
.proof .ref b { font-size: clamp(2.2rem, 3vw, 2.7rem); }
.proof .ref b[data-letters] { min-height: clamp(2.2rem, 3vw, 2.7rem); }
@supports (font-size: 1cqi) { .proof .ref b[data-letters] { font-size: min(clamp(2.2rem, 3vw, 2.7rem), 24cqi); } }
.proof .ref .lbl { margin-top: 10px; font-size: .88rem; }
.proof-p { display: flex; gap: 20px; align-items: center; padding: 24px; border: 1px solid rgba(212,183,122,.25); border-radius: 12px; background: rgba(255,255,255,.03); text-decoration: none; transition: border-color .2s, background .2s; }
.proof-p:hover { border-color: var(--gold); background: rgba(255,255,255,.05); }
.proof-p img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; border: 2px solid var(--gold); }
.proof-p .eyebrow { margin-bottom: 6px; font-size: .7rem; color: var(--gold); }
.proof-p b { display: block; color: #fff; font-size: 1.15rem; font-weight: 800; }
.proof-p ul { margin-top: 8px; display: grid; gap: 4px; font-size: .82rem; color: #c3cddc; line-height: 1.45; }
.proof-p .ins { margin-top: 10px; font-size: .8rem; color: var(--gold); font-weight: 700; }
.hero-alt { display: inline-flex; align-items: center; min-height: 52px; color: #fff; font-weight: 700; font-size: .97rem; text-decoration: underline; text-decoration-color: rgba(212,183,122,.6); text-underline-offset: 6px; }
.hero-alt:hover { color: var(--gold); }
.svc-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: .86rem; font-weight: 700; color: var(--acct); }
.svc-more summary::-webkit-details-marker { display: none; }
.svc-more summary::after { content: ''; width: 8px; height: 8px; border: solid var(--acc); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.svc-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.svc-more ul { margin-top: 8px; }
.more { border: 1px dashed var(--line2); border-radius: 10px; padding: 0 16px; }
.more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 52px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: '+'; font-size: 1.3rem; color: var(--acc); }
.more[open] summary::after { content: '–'; }
.more[open] { padding-bottom: 16px; }
.more > div { display: grid; gap: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab { font: inherit; font-weight: 700; font-size: .93rem; min-height: 48px; padding: 0 22px; border-radius: 26px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.tab:hover { border-color: var(--acc); }
.tab.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 44px 40px; }
.panel + .panel { margin-top: 20px; }
.panel h3.ph { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.panel .quiz-note { margin: 14px 0 28px; max-width: 760px; }
.panel .fcard { box-shadow: none; background: var(--bg2); border-color: var(--bg2); }
.anchor { position: relative; top: -90px; display: block; height: 0; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 760px) { .panel { padding: 28px 18px; } }

/* theme toggle (the choice is not stored: every visit starts from the system setting) */
.nav { justify-content: flex-start; }
.nav > nav { margin-left: auto; }
.theme { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: transparent; color: #fff; cursor: pointer; padding: 0; }
.theme:hover { color: var(--gold); border-color: var(--gold); }
.theme svg { width: 20px; height: 20px; }
.theme .i-sun { display: none; }
body { transition: background-color .25s, color .25s; }

/* mobile bottom CTA */
.mcta { display: none; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .compass { display: none; }
  .ap-grid, .form-grid, .person { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .person .portrait { max-width: 420px; }
  .body-off { padding-left: 0; }
}
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .menu { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 12px 22px; background: var(--navy); border-bottom: 1px solid rgba(212,183,122,.25); }
  .menu.open { display: flex; }
  .menu a { display: flex; min-height: 48px; font-size: 1rem; }
  .menu .lang { width: fit-content; margin: 8px 12px; display: inline-flex; }
  .menu .nav-cta { justify-content: center; margin-top: 8px; min-height: 52px; }
  .shead { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 40px; }
  .life-meta { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step::before { display: none; }
  .sec { padding: 88px 0; }
}
@media (max-width: 760px) {
  .pp-row { grid-template-columns: minmax(0, 1fr); }
  .pp-arrow { height: 52px; }
  .pp-arrow span { transform: rotate(90deg); }
  .trust > div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .trust > div:first-child { border-top: 0; }
  .ref { border-left: 0; border-top: 1px solid rgba(212,183,122,.25); padding: 26px 0; }
  .opts { padding-left: 0; }
  .cmp-wrap { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp tbody th, .cmp td { display: block; width: auto; }
  .cmp tr { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
  .cmp tr + tr { margin-top: 12px; }
  .cmp tbody th { border-top: 0; padding: 16px 18px 12px; font-size: 1rem; }
  .cmp td { padding: 12px 18px 14px; }
  .cmp td::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .cmp td.us::before { color: var(--acct); }
  .fcard { padding: 26px 20px; }
  details.dq p { padding-right: 0; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: auto; }
  .legal td:first-child { width: auto; padding-bottom: 6px; }
  .legal tr + tr td:first-child { border-top: 1px solid var(--line); }
  .legal td + td { border-top: 0; padding-top: 6px; }
  .sub-nav .nav-cta { display: none; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .menu { padding: 12px 8px 22px; }
  .sec { padding: 72px 0; }
  .hero-grid { padding-top: 64px; padding-bottom: 56px; }
  .cta-row .btn { width: 100%; }
  .mcta { display: grid; grid-template-columns: 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px; background: rgba(15,30,51,.97); border-top: 1px solid rgba(212,183,122,.3); }
  .mcta a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 7px; font-weight: 700; font-size: .92rem; text-decoration: none; }
  .mcta .a1 { background: var(--gold); color: var(--on-gold); }
  .mcta .a2 { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
  .has-mcta .foot { padding-bottom: 76px; }
  .page-head { padding: 52px 0 44px; }
  .wrap.page-body { padding-top: 44px; padding-bottom: 72px; }
  .brand { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ltr { opacity: 1; transform: none; }
}

/* dark theme: automatic from the system setting, or chosen with the header button */
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) { --ink: #eef2f8; --ink2: #c9d3e1; --muted: #9aa8bd; --line: #253a56; --line2: #3a5378; --bg2: #0d1a2d; --page: #0a1525; --surface: #12223a; --acct: #d4b77a; --cream: rgba(212,183,122,.10); --navy: #1a2f4f; color-scheme: dark; }
:root:not([data-theme="light"]) .dk { background: #0f1e33; }
:root:not([data-theme="light"]) .snum, :root:not([data-theme="light"]) .alt .snum { color: rgba(212,183,122,.30); }
:root:not([data-theme="light"]) .btn-p, :root:not([data-theme="light"]) .opt.on, :root:not([data-theme="light"]) .tab.on, :root:not([data-theme="light"]) .li-btn { background: var(--gold); border-color: var(--gold); color: #0f1e33; }
:root:not([data-theme="light"]) .btn-p:hover { background: var(--gold2); color: #0f1e33; }
:root:not([data-theme="light"]) .btn-g { color: var(--ink); border-color: rgba(238,242,248,.45); }
:root:not([data-theme="light"]) .btn-g:hover { background: var(--ink); border-color: var(--ink); color: #0f1e33; }
:root:not([data-theme="light"]) .qwarn { color: #ef8a87; }
:root:not([data-theme="light"]) .team-note, :root:not([data-theme="light"]) .qres { border-color: rgba(212,183,122,.35); }
:root:not([data-theme="light"]) .svc:hover, :root:not([data-theme="light"]) .svc:focus-within { border-color: rgba(212,183,122,.45); box-shadow: 0 18px 40px -22px rgba(0,0,0,.7); }
:root:not([data-theme="light"]) .portrait::after { border-color: var(--gold); }
:root:not([data-theme="light"]) .badge { color: #0f1e33; }
:root:not([data-theme="light"]) .life-tile:hover { color: #0f1e33; }
:root:not([data-theme="light"]) .fl input::placeholder, :root:not([data-theme="light"]) .fl textarea::placeholder { color: var(--muted); }
:root:not([data-theme="light"]) .theme .i-sun { display: block; }
:root:not([data-theme="light"]) .theme .i-moon { display: none; }
}
:root[data-theme="dark"] { --ink: #eef2f8; --ink2: #c9d3e1; --muted: #9aa8bd; --line: #253a56; --line2: #3a5378; --bg2: #0d1a2d; --page: #0a1525; --surface: #12223a; --acct: #d4b77a; --cream: rgba(212,183,122,.10); --navy: #1a2f4f; color-scheme: dark; }
:root[data-theme="dark"] .dk { background: #0f1e33; }
:root[data-theme="dark"] .snum, :root[data-theme="dark"] .alt .snum { color: rgba(212,183,122,.30); }
:root[data-theme="dark"] .btn-p, :root[data-theme="dark"] .opt.on, :root[data-theme="dark"] .tab.on, :root[data-theme="dark"] .li-btn { background: var(--gold); border-color: var(--gold); color: #0f1e33; }
:root[data-theme="dark"] .btn-p:hover { background: var(--gold2); color: #0f1e33; }
:root[data-theme="dark"] .btn-g { color: var(--ink); border-color: rgba(238,242,248,.45); }
:root[data-theme="dark"] .btn-g:hover { background: var(--ink); border-color: var(--ink); color: #0f1e33; }
:root[data-theme="dark"] .qwarn { color: #ef8a87; }
:root[data-theme="dark"] .team-note, :root[data-theme="dark"] .qres { border-color: rgba(212,183,122,.35); }
:root[data-theme="dark"] .svc:hover, :root[data-theme="dark"] .svc:focus-within { border-color: rgba(212,183,122,.45); box-shadow: 0 18px 40px -22px rgba(0,0,0,.7); }
:root[data-theme="dark"] .portrait::after { border-color: var(--gold); }
:root[data-theme="dark"] .badge { color: #0f1e33; }
:root[data-theme="dark"] .life-tile:hover { color: #0f1e33; }
:root[data-theme="dark"] .fl input::placeholder, :root[data-theme="dark"] .fl textarea::placeholder { color: var(--muted); }
:root[data-theme="dark"] .theme .i-sun { display: block; }
:root[data-theme="dark"] .theme .i-moon { display: none; }
