@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/******************************
 *  Premium Financial Dashboard
 *  naumowie.pl — 2026
 ******************************/

/* ============ TOKENS ============ */
:root {
  /* DARK THEME (default) */
  --color-bg-main: #090d1a;
  --color-bg-alt: #0f1629;
  --color-bg-element: #131b36;
  --color-bg-light: #f5f6fa;
  --color-bg-accent: #4f6ef7;
  --color-bg-accent-2: #8ba3ff;
  --color-bg-table-odd: rgba(255, 255, 255, 0.025);
  --color-bg-table-hover: rgba(79, 110, 247, 0.08);
  --color-shadow-card: rgba(0, 0, 0, 0.4);

  --color-border-main: rgba(79, 110, 247, 0.15);
  --color-border-pill: rgba(79, 110, 247, 0.2);

  --color-text-main: #e8edf8;
  --color-text-muted: #7b8bb5;
  --color-text-accent: #b4c5f0;
  --color-text-btn: #fff;

  --color-good: #10d69b;
  --color-bad: #ff5c7a;
  --color-link: #8ba3ff;

  --topbar-bg: rgba(9, 13, 26, 0.82);
  --card-bg-grad-start: rgba(15, 22, 41, 0.95);
  --card-bg-grad-end: rgba(9, 13, 26, 0.95);
  --card-border: rgba(79, 110, 247, 0.12);

  /* Hero (dark) — deep emerald accent */
  --hero-bg-start: #0a2e21;
  --hero-bg-mid: #0c3d2d;
  --hero-bg-end: #091a12;
  --hero-text-main: #e8edf8;
  --hero-text-muted: #7bdfad;

  /* Glow */
  --glow-accent: rgba(79, 110, 247, 0.18);
  --glow-good: rgba(16, 214, 155, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --font-heading: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --color-bg-main: #f4f6fb;
  --color-bg-alt: #ffffff;
  --color-bg-element: #ffffff;
  --color-bg-light: #eef1f8;
  --color-bg-accent: #3b5ef5;
  --color-bg-accent-2: #6b8aff;
  --color-bg-table-odd: rgba(0, 0, 0, 0.025);
  --color-bg-table-hover: rgba(59, 94, 245, 0.06);
  --color-shadow-card: rgba(15, 23, 42, 0.06);

  --color-border-main: rgba(15, 23, 42, 0.09);
  --color-border-pill: rgba(15, 23, 42, 0.12);

  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-text-accent: #334155;
  --color-text-btn: #ffffff;

  --color-good: #059775;
  --color-bad: #dc2626;
  --color-link: #3b5ef5;

  --topbar-bg: rgba(255, 255, 255, 0.82);
  --card-bg-grad-start: #ffffff;
  --card-bg-grad-end: #ffffff;
  --card-border: rgba(15, 23, 42, 0.06);

  /* Hero (light) — warm coral gradient */
  --hero-bg-start: #f06537;
  --hero-bg-mid: #f5844f;
  --hero-bg-end: #f9a060;
  --hero-text-main: #ffffff;
  --hero-text-muted: rgba(255, 255, 255, 0.88);

  --glow-accent: rgba(59, 94, 245, 0.08);
  --glow-good: rgba(5, 151, 117, 0.08);

  color-scheme: light;
}

/* ============ RESET & BASE ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0 auto;
  color: var(--color-text-main);
  font: 15px/1.65 var(--font-body);
  background-color: var(--color-bg-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============ LAYOUT ============ */
.wrap {
  width: calc(100% - 48px);
  margin-left: 24px;
  margin-right: 24px;
}

.inner-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

/* ============ TOPBAR ============ */
.topbar {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--topbar-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--color-border-main);
  transition: background .3s ease;
}

.topbar-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 1.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar .brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.topbar h1,
.topbar h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.topbar h2,
.topbar h4 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95em;
  font-weight: 400;
  color: var(--color-text-muted);
}

.topnav {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.topnav a {
  color: var(--color-text-accent);
  text-decoration: none;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  corner-shape: superellipse(2.1);
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
}

.topnav a:hover {
  border-color: var(--color-border-main);
  background: var(--glow-accent);
  color: var(--color-link);
}

.topnav .toggle-b {
  display: flex;
  align-items: center;
}

@media (min-width: 640px) {
  .topbar-content {
    align-items: center;
    justify-content: space-between;
  }

  .topbar h2,
  .topbar h4 {
    margin-left: 0;
  }

  .topnav {
    margin-top: 0;
  }
}

/* Mobile nav */
.menu-toggle {
  display: none;
}

@media (max-width: 1140px) {
  .topbar-content {
    flex-wrap: wrap;
  }

  .topnav {
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    corner-shape: superellipse(2.1);
    border: 1px solid var(--color-border-main);
    background: var(--color-bg-element);
    color: var(--color-text-accent);
    cursor: pointer;
    margin-left: auto;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all .2s ease;
  }

  .menu-toggle:hover {
    border-color: var(--color-link);
    color: var(--color-link);
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--glow-accent);
    outline-offset: 2px;
  }

  .topnav a,
  .topnav .toggle-b {
    display: none;
  }

  .topnav.open {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 10px;
  }

  .topnav.open a {
    display: block;
    width: 100%;
    padding: 10px 14px;
  }

  .topnav.open .toggle-b {
    display: block;
  }
}

/* ============ TYPOGRAPHY ============ */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-top: 100px;
  max-width: 800px;
}

h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.3px;
}

.lead {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ============ GRID ============ */
.grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
}

@media (max-width: 1100px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* ============ CARDS ============ */
.card {
  background: linear-gradient(175deg, var(--card-bg-grad-start), var(--card-bg-grad-end));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  corner-shape: superellipse(2.1);
  box-shadow: 0 8px 32px var(--color-shadow-card), 0 0 0 1px var(--card-border);
  padding: 22px;
  transition: transform .2s cubic-bezier(.4, 0, .2, 1), box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient glow overlay */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-bg-accent), transparent);
  opacity: 0.3;
}

.card.wide {
  margin-top: 24px;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px var(--color-shadow-card), 0 0 24px var(--glow-accent);
  border-color: rgba(79, 110, 247, 0.2);
}

/* ============ SECTIONS ============ */
.section {
  margin-bottom: 18px;
  padding: 18px;
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-md);
  corner-shape: superellipse(2.1);
  border: 1px solid var(--color-border-main);
  transition: border-color .2s ease;
}

.section:last-child {
  margin-bottom: 0;
}

.section h2 {
  font-size: 18px;
  color: var(--color-text-accent);
  margin: 0 0 12px;
  letter-spacing: -0.2px;
}

/* ============ FORM ELEMENTS ============ */
label {
  display: block;
  margin: 6px 0;
  color: var(--color-text-accent);
  font-size: 14px;
  font-weight: 500;
}

input,
select,
button {
  font: inherit;
}

input[type="number"],
select,
input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  corner-shape: superellipse(2.1);
  background: var(--color-bg-element);
  border: 1px solid var(--color-border-main);
  color: var(--color-text-main);
  transition: border-color .25s ease, box-shadow .25s ease, background .2s ease;
  font-size: 15px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: auto;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: auto;
  appearance: auto;
  background-image: none;
  padding-right: 12px;
}

input[type="range"] {
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-bg-accent);
  box-shadow: 0 0 0 3px var(--glow-accent), 0 0 12px var(--glow-accent);
  outline: none;
}

/* Form layout */
.formCol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.inline {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hint,
.muted {
  color: var(--color-text-muted);
}

.hint {
  font-size: 12px;
  margin-top: -2px;
  line-height: 1.5;
}

.out {
  font-variant-numeric: tabular-nums;
}

.twoCol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .twoCol {
    grid-template-columns: 1fr;
  }
}

/* ============ BADGES & PILLS ============ */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border: 1px solid var(--color-border-pill);
  border-radius: var(--radius-sm);
  corner-shape: superellipse(2.1);
  color: var(--color-text-accent);
  background: var(--color-bg-element);
  margin-right: 8px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--color-bg-element);
  border: 1px solid var(--color-border-pill);
  color: var(--color-text-accent);
  font-size: 12px;
  font-weight: 500;
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}

.pill.num {
  font-variant-numeric: tabular-nums;
}

/* Explanation */
.explain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.explain-list li {
  margin: 6px 0;
}

#explain .explain-text {
  margin: 0;
  line-height: 1.85;
}

#explain .pill {
  margin-right: 0;
}

/* ============ RESULT HIGHLIGHT ============ */
.netto {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--color-good);
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px var(--glow-good);
}

.danger {
  color: var(--color-bad);
}

/* ============ FOOTER ============ */
.foot {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 12px;
}

.foot.small {
  font-size: 12px;
}

.foot a {
  color: var(--color-text-accent);
  text-decoration: none;
  transition: color .2s ease;
}

.foot a:hover {
  color: var(--color-link);
  text-decoration: underline;
}

/* ============ BUTTONS ============ */
.btnRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-bg-accent), var(--color-bg-accent-2));
  color: var(--color-text-btn);
  border: none;
  border-radius: var(--radius-md);
  corner-shape: superellipse(2.1);
  padding: 12px 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.2px;
  width: 100%;
  box-shadow: 0 6px 20px rgba(79, 110, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform .15s cubic-bezier(.4, 0, .2, 1), box-shadow .25s ease, filter .2s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 28px rgba(79, 110, 247, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn:focus-visible {
  outline: 2px solid var(--color-bg-accent);
  outline-offset: 3px;
}

/* ============ HERO SECTION ============ */
.hero {
  background: linear-gradient(160deg, var(--hero-bg-start), var(--hero-bg-mid), var(--hero-bg-end));
  color: var(--hero-text-main);
  border-bottom: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

/* Decorative grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Decorative glow orb */
.hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 214, 155, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 10vw, 140px) 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 auto 20px;
  font-weight: 800;
  max-width: 960px;
  background: linear-gradient(135deg, var(--hero-text-main), var(--hero-text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  color: var(--hero-text-muted);
  font-size: clamp(15px, 2.2vw, 19px);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero .actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero .btn {
  width: auto;
  padding: 14px 28px;
  font-size: 16px;
}

.hero {
  margin-bottom: 28px;
}

.btn.alt {
  background: #114d38;
  box-shadow: none;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--hero-text-main);
  box-shadow: none;
  backdrop-filter: blur(4px);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ============ KBD ============ */
.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: var(--color-bg-element);
  border: 1px solid var(--color-border-pill);
  border-radius: var(--radius-sm);
  corner-shape: superellipse(2.1);
  padding: 2px 7px;
  font-size: 12px;
  color: var(--color-text-accent);
}

/* ============ TOGGLES ============ */
/* Pattern A: input + label (siblings) */
.toggle-a {
  position: relative;
}

.toggle-a input {
  position: absolute;
  opacity: 0;
  left: 0;
  top: 0;
  width: 44px;
  height: 24px;
}

.toggle-a label {
  position: relative;
  padding-left: 56px;
  min-height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.toggle-a label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 24px;
  background: var(--color-bg-element);
  border: 1px solid var(--color-border-main);
  border-radius: 999px;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

.toggle-a label:after {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--color-text-accent);
  border-radius: 50%;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

.toggle-a input:checked+label:before {
  background: var(--color-bg-accent);
  border-color: var(--color-bg-accent);
}

.toggle-a input:checked+label:after {
  left: 20px;
  background: var(--color-text-btn);
}

/* Pattern B: label > input + span.slider */
.toggle-b label,
label.toggle-b {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 26px;
  line-height: 1.3;
  margin: 0;
  cursor: pointer;
  position: relative;
}

.toggle-b input {
  position: absolute;
  opacity: 0;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 26px;
  margin: 0;
}

.toggle-b .slider {
  position: relative;
  width: 44px;
  height: 26px;
  flex: 0 0 44px;
  background: var(--color-bg-element);
  border: 1px solid var(--color-border-main);
  border-radius: 999px;
  display: inline-block;
  vertical-align: middle;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

.toggle-b .slider:after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--color-text-accent);
  border-radius: 50%;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-b input:checked+.slider {
  background: var(--color-bg-accent);
  border-color: var(--color-bg-accent);
  box-shadow: 0 0 12px var(--glow-accent);
}

.toggle-b input:checked+.slider:after {
  left: 20px;
  background: var(--color-text-btn);
}

/* ============ TABLES ============ */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  corner-shape: superellipse(2.1);
}

.table-scroll table {
  min-width: 760px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--color-border-main);
  font-size: 14px;
}

th {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

td.num,
th.num {
  text-align: right;
}

.nettoRow td {
  font-weight: 800;
  color: var(--color-good);
}

table tbody tr:nth-child(odd) {
  background: var(--color-bg-table-odd);
}

table tbody tr:nth-child(even) {
  background: transparent;
}

table tbody tr {
  transition: background .15s ease;
}

table tbody tr:hover {
  background: var(--color-bg-table-hover);
}

.reveal {
  display: none;
}

#annual tr {
  border-radius: var(--radius-sm);
  corner-shape: superellipse(2.1);
}

#annual thead th {
  position: sticky;
  top: 0;
  background: var(--color-bg-alt);
  z-index: 2;
}

/* ============ SELECT ============ */
select {
  background: var(--color-bg-element);
  border: 1px solid var(--color-border-main);
  color: var(--color-text-main);
  border-radius: var(--radius-md);
  corner-shape: superellipse(2.1);
  padding: 12px 44px 12px 14px;
  font: inherit;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 8l3 3 3-3' stroke='%237b8bb5' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px 18px;
}

:root[data-theme="light"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 8l3 3 3-3' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

select:focus {
  border-color: var(--color-bg-accent);
  box-shadow: 0 0 0 3px var(--glow-accent);
}

select:active,
select:focus {
  outline: none;
}

/* ============ MISC ============ */
.inline-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inline-header h2 {
  margin: 0;
}

.filler {
  display: block;
  height: 40px;
}

#month_summary {
  position: sticky;
  top: 24px;
  z-index: 10;
  background: var(--color-bg-alt);
}

hr {
  margin: 0;
  border: none;
  height: 1px;
  background: var(--color-border-main);
  box-shadow: none;
}

/* ============ CONSENT BANNER ============ */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border-main);
  backdrop-filter: blur(12px);
}

.consent-banner .consent-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.consent-banner .actions {
  display: flex;
  gap: 8px;
}

.consent-banner .btn {
  width: auto;
  padding: 8px 14px;
  font-size: 14px;
}

/* ============ SOURCES BOX ============ */
.source-box .summary {
  color: var(--color-text-accent);
  margin: 6px 0 8px;
}

.source-box ul.sources {
  margin: 0;
  padding-left: 18px;
}

.source-box ul.sources li {
  margin: 4px 0;
}

.source-box ul.sources a {
  color: var(--color-link);
  text-decoration: none;
  transition: color .2s ease;
}

.source-box ul.sources a:hover {
  color: var(--color-bg-accent-2);
  text-decoration: underline;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.card {
  animation: fadeInUp .4s ease-out both;
}

.card:nth-child(2) {
  animation-delay: .08s;
}

.card.wide {
  animation-delay: .16s;
}

.hero-inner {
  animation: fadeInUp .5s ease-out both;
}

/* Netto value shimmer on load */
.netto {
  background: linear-gradient(90deg, var(--color-good), #4fedb8, var(--color-good));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}