:root {
  --paper: #ffffff;
  --mist: #f1f4fb;
  --ink: #141b3d;
  --ink-2: #4a5275;
  --blue: #2b3fd6;
  --blue-deep: #1c2a9e;
  --hl: #fff06b;
  --line: #d7dcec;
  --flag: #c62f2a;
  --ok: #19774a;
  --wrap: 1120px;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --type: "Courier Prime", "Courier New", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); max-width: 16ch; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); max-width: 26ch; }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow > * { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip-link:focus { top: 12px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.lead-sm { color: var(--ink-2); max-width: 64ch; }
.fine { font-size: .85rem; color: var(--ink-2); margin-top: .8em; }
.note { font-size: .92rem; color: var(--ink-2); max-width: 70ch; margin-top: 1em; }
.text-link { font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand-word { font-weight: 800; font-size: 1.2rem; line-height: 1; letter-spacing: -.025em; white-space: nowrap; }
.brand-sub { font-weight: 500; color: var(--ink-2); letter-spacing: -.01em; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.primary-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -.45em 0 var(--hl); }
.primary-nav a.nav-cta { color: #fff; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; }
.bars::before { position: absolute; top: -6px; } .bars::after { position: absolute; top: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 52px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font: 700 1.02rem var(--sans); text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 var(--blue-deep); transition: transform .08s, box-shadow .08s; }
.btn:hover { color: #fff; background: #2436c2; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--blue-deep); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-small { min-height: 42px; padding: 0 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-light { background: var(--hl); color: var(--ink); box-shadow: 0 3px 0 #d9c63d; }
.btn-light:hover { background: #fff59a; color: var(--ink); }

/* Hero */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--mist) 0, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.hero-picker { margin-top: 28px; }

/* Amount picker */
.picker { background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 22px; max-width: 520px; }
.picker fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.picker-legend { font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; padding: 0; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; font-variant-numeric: tabular-nums; background: #fff; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.other { display: block; margin: 16px 0 18px; font-size: .9rem; color: var(--ink-2); }
.other-field, .field { display: flex; align-items: center; gap: 6px; margin-top: 6px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; }
.other-field:focus-within, .field:focus-within { border-color: var(--blue); }
.other-field input, .field input { flex: 1; min-width: 0; border: 0; outline: 0; min-height: 46px; font: 600 1.05rem var(--sans); color: var(--ink); background: transparent; }
.picker .fine { margin-bottom: 0; }

/* Offer slip: the memorable element */
.slip { margin: 8px 0 0; }
.slip-paper { background: #fff; border: 1px solid #e3e6ef; border-radius: 4px; padding: 26px 28px 20px; box-shadow: 0 1px 0 #e3e6ef, 0 24px 48px -24px rgba(20,27,61,.35); transform: rotate(1.2deg); font-family: var(--type); color: #222842; }
.slip-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1.05rem; border-bottom: 2px solid #222842; padding-bottom: 10px; margin-bottom: 8px; }
.slip-head span { font-weight: 400; font-size: .85rem; border: 1px solid #222842; padding: 0 6px; border-radius: 3px; }
.slip dl { margin: 0; }
.slip dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 4px; border-bottom: 1px dashed #c8cdda; position: relative; }
.slip dt, .slip dd { margin: 0; position: relative; z-index: 1; }
.slip dd { font-weight: 700; white-space: nowrap; }
.slip .hl::before { content: ""; position: absolute; left: -6px; top: 5px; bottom: 5px; width: calc(100% + 12px); background: var(--hl); border-radius: 3px 8px 4px 9px; transform-origin: left center; transform: skewX(-6deg) scaleX(1); opacity: .9; }
.slip-foot { font-size: .8rem; color: #5b6180; margin: 12px 0 0; }
.slip figcaption { font-size: .88rem; color: var(--ink-2); margin-top: 20px; max-width: 44ch; }
@media (prefers-reduced-motion: no-preference) {
  .slip .hl::before { animation: swipe .5s cubic-bezier(.3,.7,.3,1) both; }
  .slip .hl-1::before { animation-delay: .35s; } .slip .hl-2::before { animation-delay: .7s; }
  .slip .hl-3::before { animation-delay: 1.05s; } .slip .hl-4::before { animation-delay: 1.4s; }
  @keyframes swipe { from { transform: skewX(-6deg) scaleX(0); } to { transform: skewX(-6deg) scaleX(1); } }
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--mist); }
.band { background: var(--ink); color: #fff; padding: 64px 0; }
.band h2 { color: #fff; }
.band a { color: var(--hl); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; align-items: start; }
.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; }
.ticks li { padding: 10px 0 10px 36px; position: relative; border-bottom: 1px solid rgba(255,255,255,.14); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 16px; height: 9px; border-left: 3px solid var(--hl); border-bottom: 3px solid var(--hl); transform: rotate(-45deg); }
.ticks-verify li::before { width: 18px; height: 12px; top: 15px; left: 2px; border: 0; background: var(--hl); transform: skewX(-8deg); border-radius: 2px; }

/* Steps: a true sequence */
.steps { list-style: none; counter-reset: step; margin: 28px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 22px 22px 6px 0; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--ink-2); font-size: .96rem; }

.checklist { list-style: none; margin: 18px 0 0; padding: 0; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checklist span { color: var(--ink-2); font-size: .94rem; }

.table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
caption { text-align: left; padding: 14px 16px 6px; font-size: .88rem; color: var(--ink-2); }
th, td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); }
thead th { font-size: .85rem; color: var(--ink-2); font-weight: 600; }
tbody th { font-weight: 600; }

.uses { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.uses li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.uses strong { color: var(--ink); display: block; }

.facts { margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.facts div { padding: 16px 0; border-top: 2px solid var(--ink); }
.facts dt { font-weight: 800; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--ink-2); }

.faq { margin-top: 18px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 24px; width: 10px; height: 10px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 29px; }
.faq details p { color: var(--ink-2); padding-right: 32px; }

.cta-band { background: var(--blue); color: #fff; padding: 48px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }

.page-intro { padding: 56px 0 40px; background: var(--mist); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 20ch; }
.prose h2 { margin-top: 0; }
.prose h2 + p, .prose p + h2 { margin-top: 0; }
.prose p + h2, .prose ul + h2 { margin-top: 1.6em; }
.legal h2 { font-size: 1.2rem; margin-top: 1.6em; }
.side-picker .picker { margin-left: auto; }
.state-grid { list-style: none; margin: 20px 0 28px; padding: 0; columns: 4 180px; column-gap: 32px; }
.state-grid li { padding: 6px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.callout { border-left: 6px solid var(--hl); background: var(--mist); padding: 18px 22px; border-radius: 0 10px 10px 0; }
.callout p { margin: 0; }
.link-list { padding-left: 1.2em; }

/* Offer check tool */
.checker { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.checker-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.yesno { border: 0; padding: 0; margin: 6px 0 0; }
.yesno legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.yesno label { display: inline-flex; gap: 8px; align-items: center; margin-right: 24px; font-weight: 500; }
.checker-result { border: 2px solid var(--ink); border-radius: 14px; padding: 24px; position: sticky; top: 96px; background: #fff; }
.result-lines { margin: 0 0 18px; }
.result-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.result-lines dt { color: var(--ink-2); }
.result-lines dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.flags { list-style: none; margin: 0; padding: 0; }
.flags li { padding: 10px 12px 10px 40px; border-radius: 8px; margin-bottom: 8px; position: relative; font-size: .95rem; }
.flags li::before { position: absolute; left: 12px; top: 9px; font-weight: 800; }
.flags .ok { background: #e9f5ee; color: #12573a; } .flags .ok::before { content: "✓"; }
.flags .warn { background: #fff8cc; color: #5c4a00; } .flags .warn::before { content: "!"; left: 16px; }
.flags .stop { background: #fdeceb; color: #8a1f1b; } .flags .stop::before { content: "✕"; }

/* Request page */
.request { padding: 40px 0 72px; }
.request-wrap { max-width: 780px; }
.request-amount { font-weight: 700; display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.request-amount a { font-weight: 500; font-size: .92rem; }
.gate { border: 2px solid var(--ink); border-radius: 14px; padding: 24px; max-width: 480px; margin-top: 20px; }
#application-challenge, #contact-challenge { min-height: 70px; margin: 0 0 14px; }
.status { margin-top: 14px; font-weight: 600; }
#rsForm { scroll-margin-top: 84px; }
.is-ready .request-head, .is-ready .gate { display: none; }

/* Contact */
.contact-form label { display: block; font-weight: 600; font-size: .95rem; margin: 14px 0 6px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px; font: 400 1rem var(--sans); color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); outline: 0; }
.success { border-left: 6px solid var(--ok); background: #e9f5ee; padding: 18px 22px; border-radius: 0 10px 10px 0; }

/* Footer */
.site-footer { background: var(--ink); color: #c9cde3; padding: 56px 0 32px; font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.15); }
.brand-footer { color: #fff; } .brand-footer .brand-sub { color: #c9cde3; }
.footer-line { margin-top: 14px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; }
.footer-nav a { text-decoration: none; }
.disclosure { padding-top: 24px; font-size: .84rem; line-height: 1.6; }
.copyright { color: #8e94b5; margin: 0; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .primary-nav a.nav-cta { margin-top: 12px; border: 0; }
  .hero-grid, .split, .checker { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .uses { grid-template-columns: 1fr 1fr; }
  .checker-result { position: static; }
  .side-picker .picker { margin-left: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 28px 0 48px; }
  .hero-picker { margin-top: 20px; }
  .picker { padding: 18px 16px; }
  .chip span { font-size: .92rem; }
  .section { padding: 52px 0; }
  .steps, .uses, .facts { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 18px 0 4px; border-left: 0; border-top: 1px solid var(--line); }
  .slip-paper { transform: none; padding: 20px 18px 16px; font-size: .92rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) { .brand-word { font-size: 1.05rem; } }
.brand-mark { display: block; width: 44px; height: 44px; }
.brand-footer .brand-mark { background: #fff; border-radius: 10px; padding: 3px; }
