/* iban.org – site stylesheet (2026 redesign). No external fonts or libraries. */

:root {
  --navy: #0f2a4a;
  --navy-2: #143861;
  --ink: #17263c;
  --muted: #55657a;
  --line: #dde5ee;
  --bg: #ffffff;
  --bg-alt: #f3f7fb;
  --teal: #0e8fa3;
  --teal-2: #1fb6c9;
  --accent: #0b7285;
  --ok: #18794e;
  --ok-bg: #e8f6ef;
  --warn: #8a5a00;
  --warn-bg: #fff6e0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 42, 74, .06), 0 8px 24px rgba(15, 42, 74, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }
.mono { font-family: var(--mono); font-size: .92em; overflow-wrap: anywhere; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 52px; width: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 9px 13px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--bg-alt); color: var(--navy); }
.site-nav .nav-lang { border: 1px solid var(--line); margin-left: 6px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  padding: 12px 20px; border-radius: 10px; border: 2px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e6f6f9; color: var(--navy); }
.btn[disabled] { opacity: .65; cursor: progress; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(31, 182, 201, .35), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(47, 127, 209, .35), transparent 60%),
    linear-gradient(135deg, #0b2140 0%, #123a66 60%, #0f5f7a 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
          mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; text-align: center; padding-top: 72px; padding-bottom: 84px; }
.hero-compact .hero-inner { padding-top: 56px; padding-bottom: 64px; }
.hero h1 { color: #fff; }
.eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
}
.hero-lead { font-size: 1.12rem; color: #d7e4f2; max-width: 720px; margin: 0 auto 28px; }

.check-form { max-width: 720px; margin: 0 auto; }
.check-row {
  display: flex; gap: 8px; padding: 8px; border-radius: 16px;
  background: #fff; box-shadow: 0 12px 40px rgba(3, 16, 34, .35);
}
.check-row input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font: inherit; font-family: var(--mono); font-size: 1.05rem; letter-spacing: .02em;
  padding: 12px 14px; border-radius: 10px; text-transform: uppercase;
}
.check-row input::placeholder { text-transform: none; font-family: var(--font); letter-spacing: 0; color: #7c8a9c; }
.check-row input:focus { outline: none; }
.check-row:focus-within { box-shadow: 0 0 0 3px var(--teal-2), 0 12px 40px rgba(3, 16, 34, .35); }
.check-examples { margin: 18px 0 8px; font-size: .9rem; color: #c5d6e8; }
.chip {
  font: inherit; font-family: var(--mono); font-size: .8rem; cursor: pointer;
  color: #e8f1fa; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  padding: 4px 10px; border-radius: 999px; margin: 3px 2px;
}
.chip:hover { background: rgba(255, 255, 255, .2); }
.check-note { font-size: .82rem; color: #b4c7dc; margin: 0; }
.check-note a { color: #dff3f7; }

/* ---------- Cards / results ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.result-wrap { background: var(--bg-alt); }
.result-wrap .container { padding-top: 0; }
.result-wrap .card { position: relative; top: -36px; margin-bottom: -8px; }
.result-wrap .card + .card { margin-top: 16px; }
.result-wrap:focus { outline: none; }
.result-card h2 { font-size: 1.35rem; margin-bottom: 18px; }
.result-card h3 { margin: 22px 0 10px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.notice { border-left: 5px solid #d99a00; background: var(--warn-bg); }
.notice h2 { font-size: 1.15rem; color: var(--warn); margin-bottom: 6px; }
.notice p { margin: 0; }
.notice-ok { border-left-color: var(--ok); background: var(--ok-bg); }
.notice-ok h2 { color: var(--ok); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checks li { position: relative; padding: 10px 12px 10px 40px; border-radius: 10px; background: var(--bg-alt); font-size: .95rem; }
.checks li::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%; background: #9aa9bb;
}
.checks .check-ok { background: var(--ok-bg); color: #0f5132; }
.checks .check-ok::before {
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.checks .check-fail { background: #fdecec; color: #8a1c1c; }
.checks .check-fail::before {
  background: #c0392b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.data-table th, .data-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { width: 34%; color: var(--muted); font-weight: 600; font-size: .85rem; letter-spacing: .04em; white-space: nowrap; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table td { overflow-wrap: anywhere; }
.sepa { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sepa li { padding: 6px 12px; border-radius: 999px; font-size: .85rem; background: var(--bg-alt); border: 1px solid var(--line); }
.sepa li span { font-weight: 700; margin-right: 4px; }
.sepa .sepa-yes { background: var(--ok-bg); border-color: #bfe5d2; color: #0f5132; }
.result-disclaimer { margin: 22px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 6px 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat-label { display: block; margin-top: 6px; font-size: .92rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 40px; }
.kicker { margin: 0 0 10px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.lead { font-size: 1.1rem; color: #33445a; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 24px; }
.feature p { margin: 0; font-size: .95rem; color: var(--muted); }
.icon {
  width: 44px; height: 44px; padding: 10px; margin-bottom: 16px; border-radius: 12px;
  background: #e3f5f8; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.facts { margin: 0; padding: 8px 28px; }
.facts > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt, .contact-list dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.facts dd, .contact-list dd { margin: 0; font-weight: 500; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; position: relative; padding: 20px 22px 20px 72px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700;
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.callout { padding: 16px 18px; border-left: 4px solid var(--teal-2); background: var(--bg-alt); border-radius: 0 10px 10px 0; font-size: .95rem; }
.about-card h2 { font-size: 1.3rem; }

/* ---------- Newsletter / contact (dark) ---------- */
.section-dark { background: linear-gradient(160deg, #0b2140, #123a66); color: #dbe7f3; }
.section-dark h2 { color: #fff; }
.section-dark .kicker { color: #7fdbe8; }
.section-dark a { color: #9be4ee; }
.news-form { margin-top: 22px; display: grid; gap: 14px; max-width: 460px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: #dbe7f3; }
.field input {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid transparent; border-radius: 10px; padding: 11px 14px;
}
.field input:focus { outline: none; border-color: var(--teal-2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; line-height: 1.5; color: #c5d6e8; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--teal-2); }
.news-form .btn { justify-self: start; }
.contact-list { margin: 22px 0 0; display: grid; gap: 18px; }
.contact-list dt { color: #8fb0cf; }
.contact-list dd { color: #fff; font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { background: #081a33; color: #a9bdd3; font-size: .93rem; padding: 56px 0 28px; }
.site-footer a { color: #d5e3f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 12px; }
.site-footer h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #7f98b5; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .link-button { color: #d5e3f1; text-decoration: none; }
.site-footer .link-button:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 980px; margin: 0 auto;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 16px 50px rgba(8, 26, 51, .28);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; gap: 24px; align-items: center; padding: 20px 24px; }
.cookie-text h2 { font-size: 1.05rem; margin-bottom: 4px; }
.cookie-text p { margin: 0; font-size: .9rem; color: #33445a; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .btn { min-width: 130px; }

/* ---------- Legal pages ---------- */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 56px 0 40px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0; }
.page-head p { margin: 10px 0 0; color: var(--muted); }
.prose { padding: 48px 0 84px; }
.prose .container { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose address { font-style: normal; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-alt); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 16px; gap: 2px; }
  .site-nav a { padding: 12px 12px; font-size: 1rem; }
  .site-nav .nav-lang { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-inner { padding-top: 48px; padding-bottom: 68px; }
  .check-row { flex-direction: column; }
  .check-row input { text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .stat + .stat { border-left: 0; }
  .section { padding: 56px 0; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .data-table th { width: 42%; white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cookie-inner { flex-direction: column; align-items: stretch; padding: 18px; gap: 14px; }
  .cookie-actions .btn { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
@media print {
  .site-header, .site-footer, .cookie-banner, .check-form, .section-dark { display: none !important; }
  .hero { background: none; color: #000; }
  .hero h1 { color: #000; }
}
