/* Credit Card Equipment — site styles
   Idea: the site reads like a well-kept merchant statement. Ruled lines, right-aligned figures,
   money you keep in green, money lost to fees in red. The one bold element is the savings receipt.
   Palette: ink (brand navy), paper (cool surfaces), kept (money you keep), fee (money lost). */
:root {
  --ink: #0B1F3A;
  --ink-2: #3B4A60;
  --ink-3: #66748A;
  --ink-deep: #071629;
  --paper: #F3F5F8;
  --white: #FFFFFF;
  --line: #D8DEE6;
  --line-dark: rgba(255,255,255,.14);
  --on-ink: #B8C3D3;
  --kept: #0A7A55;
  --kept-deep: #075E42;
  --kept-soft: #E3F3EC;
  --kept-bright: #3BD58F;
  --fee: #B9412F;
  --fee-soft: #FBE9E5;
  --focus: #2F6FED;

  --font-display: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --font-receipt: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.875rem, 3.2vw, 2.5rem);
  --step-4: clamp(2.5rem, 5vw, 3.875rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-m: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.025em; margin: 0; font-weight: 700; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; font-weight: 600; line-height: 1.25; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: var(--radius-s); z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 0; border-radius: var(--radius-s);
  font: 600 var(--step-0)/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-go { background: var(--kept); color: var(--white); }
.btn-go:hover { background: var(--kept-deep); }
.btn-plain { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-plain:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #17345C; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Utility bar + header */
.utility { background: var(--ink-deep); color: var(--on-ink); font-size: 0.8125rem; }
.utility .wrap { display: flex; justify-content: space-between; gap: 16px; min-height: 36px; align-items: center; }
.utility a { color: var(--white); font-weight: 600; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
@media (max-width: 640px) { .utility .where { display: none; } .utility .wrap { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand svg { flex: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 0.96rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 0.95rem; color: var(--white); }
.menu-toggle { display: none; }

@media (max-width: 1020px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; box-shadow: 0 18px 30px -20px rgba(11,31,58,.35); }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--step-0); }
  .nav.open .btn { margin-top: 14px; border-bottom: 0; min-height: 50px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--radius-s); cursor: pointer; color: var(--ink); }
}

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); background: var(--paper); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: var(--step-4); max-width: 17ch; }
.hero .lede { margin-top: 22px; font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { margin-top: 18px; font-size: var(--step--1); color: var(--ink-3); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Facts strip: four plain statements, ruled like a statement header */
.facts { border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 24px 26px 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.facts span { display: block; margin-top: 4px; color: var(--ink-3); font-size: var(--step--1); line-height: 1.45; }
@media (max-width: 880px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li, .facts li + li { padding: 20px 16px 20px 0; border-left: 0; }
  .facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* The receipt — the one bold element on the site */
.terminal { position: relative; max-width: 380px; width: 100%; justify-self: center; }
.terminal-head {
  position: relative; z-index: 2;
  height: 54px; border-radius: 16px 16px 10px 10px;
  background: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(11,31,58,.55);
}
.terminal-head::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 12px; height: 6px; border-radius: 3px; background: var(--ink-deep); }
.terminal-head .led { position: absolute; top: 14px; right: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--kept-bright); }
.receipt {
  position: relative; z-index: 1;
  margin: -16px 30px 0;
  padding: 34px 22px 30px;
  background: var(--white);
  font-family: var(--font-receipt);
  font-size: 0.875rem; line-height: 1.7;
  color: var(--ink);
  filter: drop-shadow(0 14px 18px rgba(11,31,58,.12));
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
}
.receipt .r-title { text-align: center; font-weight: 500; }
.receipt .r-sub { text-align: center; color: var(--ink-3); font-size: 0.8125rem; }
.receipt hr { border: 0; border-top: 1.5px dashed var(--line); margin: 14px 0; }
.receipt .r-row { display: flex; justify-content: space-between; gap: 12px; }
.receipt .r-row span:last-child { text-align: right; white-space: nowrap; }
.receipt .r-fee span:last-child { color: var(--fee); }
.receipt .r-total { font-weight: 500; font-size: 1rem; }
.receipt .r-kept { margin-top: 10px; padding: 12px; background: var(--kept-soft); color: var(--kept-deep); border-radius: 6px; text-align: center; }
.receipt .r-kept strong { display: block; font-size: 1.6rem; line-height: 1.2; font-weight: 500; }
.receipt .r-foot { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: 0.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero .receipt { animation: print 1.6s cubic-bezier(.2,.7,.2,1) .25s both; }
  @keyframes print { from { transform: translateY(-82%); clip-path: inset(82% 0 0 0); } to { transform: none; clip-path: inset(0 0 0 0); } }
}

/* Sections */
.band { padding: clamp(64px, 8vw, 112px) 0; }
.band-paper { background: var(--paper); }
.band-ink { background: var(--ink); color: var(--white); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.band-ink .section-head p { color: var(--on-ink); }
.section-head .more { display: inline-block; margin-top: 16px; color: var(--kept); font-weight: 600; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split .section-head { margin-bottom: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Steps (a real sequence, so numbered) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 22px; }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: 1; margin-bottom: 16px; color: var(--kept); }
.steps p { margin-top: 10px; color: var(--ink-2); }
.band-ink .steps li { border-top-color: var(--kept-bright); }
.band-ink .steps li::before { color: var(--kept-bright); }
.band-ink .steps p { color: var(--on-ink); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Equipment: one ruled grid rather than floating cards */
.gear { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.gear article { background: var(--white); padding: 24px; display: flex; flex-direction: column; }
.gear figure { margin: 0 0 18px; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.gear figure img { width: 100%; height: 100%; object-fit: cover; }
.gear .kind { color: var(--ink-3); font-size: var(--step--1); margin-bottom: 4px; }
.gear p { margin-top: 10px; color: var(--ink-2); font-size: 0.975rem; }
.gear-note { margin-top: 24px; color: var(--ink-2); }
.gear-note a { color: var(--kept); font-weight: 600; }
.gear-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
@media (max-width: 960px) { .gear { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gear, .gear-2 { grid-template-columns: 1fr; } }

/* Plain two-column list of reasons (ink band) */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 6vw, 80px); }
.reasons div { padding: 24px 0; border-top: 1px solid var(--line-dark); }
.reasons p { margin-top: 8px; color: var(--on-ink); }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }

/* Company details */
.company-card { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); }
.company-card dl { margin: 0; display: grid; gap: 18px; }
.company-card dt { color: var(--ink-3); font-size: var(--step--1); }
.company-card dd { margin: 2px 0 0; font-weight: 600; }
.company-card dd a { color: var(--kept); text-decoration: none; }
.company-card dd a:hover { text-decoration: underline; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 66ch; }

/* Closing CTA */
.closer { background: var(--ink); color: var(--white); }
.closer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.closer h2 { max-width: 20ch; }
.closer p { margin-top: 10px; color: var(--on-ink); }
.closer .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.closer .btn-plain { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.closer .btn-plain:hover { box-shadow: inset 0 0 0 1.5px var(--white); }

/* Footer */
.site-footer { padding: 64px 0 36px; background: var(--ink-deep); color: var(--on-ink); font-size: var(--step--1); }
.site-footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: var(--white); }
.site-footer h3 { font-size: 0.95rem; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-dark); color: #8794A8; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Legal + company pages */
.prose { max-width: 72ch; padding: clamp(48px, 7vw, 88px) 0; }
.prose h1 { font-size: var(--step-3); margin-bottom: 8px; }
.prose h2 { font-size: var(--step-1); margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; }
.prose a { color: var(--kept); }

/* Interior page hero */
.hero-page h1 { font-size: clamp(2.25rem, 4.4vw, 3.375rem); max-width: 18ch; }
.hero-solo .wrap { grid-template-columns: 1fr; }
.hero-solo .lede { max-width: 60ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 22px; padding: 0; font-size: var(--step--1); color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; }

/* Statement-style tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.savings-table { width: 100%; min-width: 620px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.savings-table th, .savings-table td { padding: 16px 14px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.savings-table thead th { font-size: var(--step--1); font-weight: 500; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
.savings-table th:first-child { text-align: left; padding-left: 0; }
.savings-table tbody th { font-weight: 600; }
.savings-table tbody th a { color: var(--ink); }
.savings-table .fee { color: var(--fee); }
.savings-table .ours { background: var(--kept-soft); color: var(--kept-deep); font-weight: 600; }
.savings-table .keep { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--kept); }
.savings-table thead .keep { font-family: var(--font-body); font-size: var(--step--1); font-weight: 500; }
.table-note { margin-top: 16px; font-size: var(--step--1); color: var(--ink-3); max-width: 72ch; }
.table-note a { color: var(--kept); }

.fee-lines { list-style: none; margin: 0; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); font-family: var(--font-receipt); font-size: 0.95rem; }
.fee-lines .head { font-family: var(--font-body); font-size: var(--step--1); color: var(--ink-3); padding-top: 0; }
.fee-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1.5px dashed var(--line); }
.fee-lines li:last-child { border-bottom: 0; }
.fee-lines .fee { color: var(--fee); }
.fee-lines .ours { margin-top: 6px; padding: 10px 12px; background: var(--kept-soft); color: var(--kept-deep); border-radius: 6px; font-weight: 500; }
.fee-note { margin-top: 16px; color: var(--ink-2); }
.fee-note a { color: var(--kept); font-weight: 600; }

.h-small { font-size: var(--step-2); margin-bottom: 14px; }
.muted { color: var(--ink-2); max-width: 64ch; }
.muted a { color: var(--kept); font-weight: 600; }
.link-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.link-list a { display: inline-block; padding: 8px 16px; border-radius: var(--radius-s); box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: none; font-weight: 500; font-size: 0.95rem; background: var(--white); }
.link-list a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.card-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 clamp(24px, 4vw, 48px); }
.card-links a { display: grid; gap: 2px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; }
.card-links strong { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em; }
.card-links a:hover strong { text-decoration: underline; }
.card-links span { color: var(--ink-3); font-size: var(--step--1); }
.card-links .keep { color: var(--kept); font-weight: 600; }

.reasons-light { grid-template-columns: 1fr; }
.reasons-light div { border-top-color: var(--line); }
.reasons-light div:first-child { border-top: 0; padding-top: 0; }
.reasons-light p { color: var(--ink-2); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--kept); border-bottom: 2px solid var(--kept); transform: rotate(-45deg); }
section[id] { scroll-margin-top: 72px; }
.receipt .r-total span:first-child { white-space: nowrap; }

/* Loyalty figure beside the "why" heading */
.proof-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(32px, 5vw, 52px); }
.proof-row .section-head { margin-bottom: 0; }
.proof { max-width: 280px; padding-left: 24px; border-left: 2px solid var(--kept-bright); }
.proof strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.75rem, 5vw, 3.75rem); line-height: 1; letter-spacing: -0.03em; color: var(--kept-bright); }
.proof span { display: block; margin-top: 8px; color: var(--on-ink); }
