/* AL Sydbank's card page: the bank's own look (dark green, red, sage, Red Hat). */
:root {
  --ink: #202D25; --ink2: #46564C; --ink3: #56665C; --red: #AF1E2D; --redh: #931725; --sage: #A5BEB9; --saged: #5B7870;
  --mint: #E9EDEA; --bg: #F7F8F7; --surf: #fff; --line: #DCE3DE; --navy: #1A325E; --ok: #1D6B47; --oks: #E1F1E7;
  --fd: "Red Hat Display", system-ui, sans-serif; --ft: "Red Hat Text", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surf); color: var(--ink); font: 400 1rem/1.5 var(--ft); -webkit-font-smoothing: antialiased; }
p, h1, h2, h3 { margin: 0; }
button, a { font: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.wrapc { max-width: 1240px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.hdr { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 2; }
.hdr-in { display: flex; align-items: center; gap: 14px; min-height: 72px; }
.logo { height: 32px; width: auto; display: block; }
.nav { display: none; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font: 600 .9375rem var(--ft); padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a.on { background: var(--mint); }
.sp { flex: 1; }
.lang { display: flex; background: var(--mint); border-radius: 999px; padding: 3px; }
.lang button { appearance: none; border: 0; background: none; min-width: 40px; min-height: 38px; border-radius: 999px; font: 700 .8125rem var(--fd); color: var(--ink2); cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
.btn { appearance: none; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 1rem/1 var(--fd); cursor: pointer; text-decoration: none; transition: background-color .2s, transform .1s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.bp { background: var(--red); color: #fff; } .bp:hover { background: var(--redh); }
.bo { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.bw { width: 100%; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.s { width: 16px; height: 16px; }
.hero { background: var(--bg); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 48px; padding-bottom: 56px; align-items: center; }
.eyebrow { font: 700 .8125rem/1.2 var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--saged); }
.d1 { font: 800 2.5rem/1.05 var(--fd); letter-spacing: -.025em; margin: 12px 0 16px; text-wrap: balance; }
.lead { font-size: 1.125rem; color: var(--ink2); margin: 0 0 28px; max-width: 560px; }
.d2 { font: 800 2rem/1.1 var(--fd); letter-spacing: -.02em; margin: 0 0 10px; }
.h3 { font: 700 1.1875rem/1.25 var(--fd); }
.sm { font-size: .9375rem; color: var(--ink2); }
.xs { font-size: .8125rem; color: var(--ink3); }
.b { font-weight: 700; color: var(--ink); }
.num { font-family: var(--fd); font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; gap: 12px; } .wrapr { flex-wrap: wrap; }
.fan { position: relative; height: 300px; max-width: 520px; margin: 0 auto; width: 100%; }
.cc { aspect-ratio: 1.586; border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: #202D25; box-shadow: 0 10px 26px rgba(32, 45, 37, .18), inset 0 0 0 1px rgba(255, 255, 255, .35); position: relative; width: 100%; }
.cc::after { content: ""; position: absolute; right: -28%; top: -55%; width: 95%; height: 170%; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); }
.fan .cc { position: absolute; width: 62%; box-shadow: 0 18px 40px rgba(32, 45, 37, .22), inset 0 0 0 1px rgba(255, 255, 255, .35); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.silver { background: linear-gradient(140deg, #F1F3F4 0%, #D5D9DC 55%, #BDC3C7 100%); }
.gold { background: linear-gradient(140deg, #EFDDB0 0%, #D7B56E 50%, #B98F45 100%); }
.plat { background: linear-gradient(140deg, #DDE3E8 0%, #AEB8C1 55%, #86939E 100%); }
.elite { background: linear-gradient(140deg, #2C2F31 0%, #151718 60%, #0A0B0C 100%); color: #EDEFEE; }
.cc-top, .cc-bot { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.cc-bot { align-items: flex-end; }
.cc-mark { width: 26px; height: 26px; border-radius: 5px; }
.cc-tier { font: 700 .875rem var(--fd); }
.cc-chip { width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #F3E6BF, #C4A866); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); position: relative; z-index: 1; }
.cc-no { font: 600 .875rem var(--fd); letter-spacing: .1em; }
.cc-mc { font: 800 .75rem var(--fd); text-align: right; line-height: 1.1; margin-left: auto; }
.fan .f1 { left: 0; top: 60px; transform: rotate(-10deg); } .fan .f2 { left: 13%; top: 30px; transform: rotate(-3deg); }
.fan .f3 { left: 26%; top: 16px; transform: rotate(4deg); } .fan .f4 { left: 38%; top: 20px; transform: rotate(11deg); }
.fan:hover .f1 { transform: rotate(-14deg) translateX(-10px); } .fan:hover .f4 { transform: rotate(15deg) translateX(10px); }
.proof { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: -28px; position: relative; z-index: 1; }
.pc { background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 8px 30px rgba(32, 45, 37, .08); border: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; }
.ib { width: 44px; height: 44px; border-radius: 14px; background: var(--mint); display: grid; place-items: center; flex: none; }
.ib.ok { background: var(--oks); color: var(--ok); }
.sec { padding: 64px 0; }
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
.card { background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.grp { display: flex; flex-direction: column; gap: 8px; }
.li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.li .ic { color: var(--ok); margin-top: 3px; }
.li.no, .li.no .ic { color: var(--ink3); }
.li .det { display: block; color: var(--ink); font-weight: 700; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--mint); font: 700 .8125rem var(--ft); }
.tbox { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; margin-top: 24px; }
.tbl { width: 100%; border-collapse: collapse; min-width: 680px; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: .9375rem; vertical-align: top; }
.tbl th { font: 700 .875rem var(--fd); background: var(--bg); }
.tbl td:first-child { color: var(--ink2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .ex { display: block; font-size: .8125rem; color: var(--ink3); }
.tbl .off { color: var(--ink3); }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
.step { background: var(--bg); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.mini { background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 6px 20px rgba(32, 45, 37, .08); display: flex; gap: 12px; align-items: center; margin-top: auto; }
.n { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 .875rem var(--fd); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 18px 0; font: 700 1.0625rem var(--fd); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .ans { padding: 0 0 18px; color: var(--ink2); max-width: 760px; }
.foot { background: #202D25; color: #D7DED9; padding: 48px 0; font-size: .875rem; }
.foot .wrapc { display: flex; flex-direction: column; gap: 16px; }
.foot a { color: #fff; }
.skel { border-radius: 20px; background: linear-gradient(90deg, #EEF0EE 25%, #F7F8F7 50%, #EEF0EE 75%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.err { padding: 48px 0; }
@media (min-width: 760px) {
  .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .d1 { font-size: 3.25rem; }
}
@media (min-width: 1100px) {
  .nav { display: flex; }
  .hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); padding-top: 72px; padding-bottom: 88px; }
  .d1 { font-size: 4rem; } .d2 { font-size: 2.5rem; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wrapc { padding-left: 40px; padding-right: 40px; }
  .fan { height: 360px; }
}
/* Room in the header for the Improve button (js/improve.js) on a phone. */
@media (max-width: 480px) {
  .hdr-in { gap: 8px; }
  .logo { height: 28px; }
  .lang button { min-width: 34px; }
  .hdr-in .btn { padding: 0 14px; }
}
