/* Credit advertising: example text at least as large as advertised costs. */
:root { --credit-warning-height: 48px; }
body { padding-top: calc(var(--credit-warning-height) + 72px); }
html { scroll-padding-top: calc(var(--credit-warning-height) + 90px); }
.credit-warning { position:fixed;inset:0 0 auto;z-index:1100;background:#fff;border-bottom:1px solid var(--gray-200);color:#000;text-align:center;font-size:20px;font-weight:700;line-height:1.35;padding:10px 16px; }
.nav { position:fixed;top:var(--credit-warning-height);left:0;right:0;transition:transform .2s ease,opacity .2s ease; }
.nav.navigation-hidden { transform:translateY(-100%);opacity:0;visibility:hidden;pointer-events:none; }
.credit-cost,.sim-result__value--highlight,.tipas-summary__value,.result-card__detail-value { font-size:16px!important;line-height:1.45; }
.credit-example,.credit-example__title,.sim-disclosure { font-size:16px;line-height:1.6;color:var(--gray-900); }
.sim-scope,.offers-note { font-size:14px;color:var(--gray-600);line-height:1.55; }
.sim-scope { margin-top:12px; }
.offers-without-registration { display:block;text-align:center;font-size:14px;font-weight:400;line-height:1.5;min-height:40px;color:var(--gray-600);text-decoration:underline;text-underline-offset:3px;padding:8px 4px; }
.offers-note { text-align:center;margin-bottom:14px; }
.privacy-notice { position:fixed;inset:auto auto 20px 20px;z-index:1200;display:flex;flex-direction:column;gap:18px;width:min(460px,calc(100% - 40px));padding:22px;background:#fff;border:1px solid var(--gray-200);border-radius:16px;box-shadow:var(--shadow-xl);max-height:calc(100dvh - 110px);overflow-y:auto; }
.privacy-notice[hidden],.cookie-settings[hidden] { display:none; }
.privacy-notice p { font-size:15px;line-height:1.55;color:var(--gray-600); }
.privacy-notice-actions { display:flex;gap:8px; }
.privacy-notice-actions .btn { flex:1;min-height:44px;padding:10px 6px;font-size:13px; }
.cookie-settings { position:fixed;left:20px;bottom:20px;z-index:1200;background:#fff;color:var(--gray-700);border:1px solid var(--gray-200);border-radius:40px;padding:14px 20px;font:inherit;font-size:14px;box-shadow:var(--shadow-md);cursor:pointer; }
.privacy-preferences { position:fixed;inset:0;margin:auto;width:min(620px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;border:1px solid var(--gray-200);border-radius:20px;padding:28px;color:var(--gray-900);background:#fff; }
.privacy-preferences::backdrop { background:rgba(20,23,28,.48); }
.privacy-preferences h2 { font-size:22px;margin:0 32px 18px 0; }
.privacy-preferences p { font-size:16px;line-height:1.6; }
.privacy-close { position:absolute;right:12px;top:8px;width:40px;height:40px;background:none;border:0;font-size:28px;cursor:pointer; }
.privacy-categories { border:0;margin:20px 0;padding:0; }
.privacy-categories legend { font-weight:700;margin-bottom:8px; }
.privacy-categories label { display:flex;gap:20px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--gray-200);padding:16px 0; }
.privacy-categories strong,.privacy-categories small { display:block; }
.privacy-categories small { font-size:14px;color:var(--gray-600);line-height:1.5;margin-top:4px; }
.privacy-categories input { width:24px;height:24px;flex:0 0 24px;accent-color:var(--primary-dark); }
.privacy-actions { display:flex;gap:10px;flex-wrap:wrap; }
.privacy-actions .btn { flex:1;font-size:14px;padding:12px; }
.privacy-actions [data-privacy-action="save"] { flex-basis:100%; }
.privacy-notice button:focus-visible,.privacy-preferences button:focus-visible,.cookie-settings:focus-visible { outline:3px solid var(--primary-dark);outline-offset:3px; }
@media(max-width:480px){.privacy-notice{inset:auto auto 12px 12px;width:calc(100% - 24px);padding:18px}.privacy-notice p{font-size:14px}.privacy-preferences{padding:20px}}
@media(prefers-reduced-motion:reduce){.nav{transition:none}}

@media(min-width:769px){.hero__content{align-self:start;padding-top:56px}}

@media(max-width:768px){
  .nav__links{position:absolute;top:100%;visibility:hidden;pointer-events:none}
  .nav__links.active{visibility:visible;pointer-events:auto}
}
