﻿/* Self-hosted latin subsets (same files Google served for this site). */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/static/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/static/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #102029;
  --muted: #5b6b75;
  --paper: #f3f6f4;
  --card: #ffffff;
  --line: #e1e8e5;
  --deep: #062c35;
  --deep-2: #0b4250;
  --accent: #1f8a7a;
  --glow: #c8f169;
  --gold: #f2b544;
  --radius: 1.1rem;
  /* 1 from 1400px up. Narrower widths share one factor so type and
     controls keep the same proportions. Phones set this back to 1. */
  --ui: 1;
  font-family: 'Manrope', system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 1400px) {
  :root {
    --ui: clamp(0.78, calc(0.78 + 0.22 * (100vw - 744px) / 656px), 1);
  }
}

/* iPad Pro portrait is about 1024px. Below that, keep shrinking with the
   width so an iPad mini (744px) fits the same filter rows. */
@media (max-width: 1024px) {
  :root {
    --ui: clamp(0.62, calc(0.87 * 100vw / 1024px), 0.87);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body,
#root {
  min-height: 100%;
}

html {
  overflow-y: scroll;
}

body {
  color: var(--ink);
  background: var(--paper);
}

button {
  font: inherit;
  color: inherit;
}

#root {
  min-height: 100vh;
}
.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Trust bar. On desktop it is a card under the filters, the same width
   as the filter box. Phones pull it back up under the nav. */
.trustbar {
  color: #0e7c8a;
}

.trustbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem 1.15rem;
  width: 100%;
  margin: 0;
  padding: calc(0.7rem * var(--ui)) calc(1.15rem * var(--ui));
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--card);
  box-shadow: 0 14px 32px -26px rgba(6, 44, 53, 0.35);
  font-size: calc(0.86rem * var(--ui));
  font-weight: 700;
}

.trustbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}

a.trustbar-item:hover,
a.trustbar-item:focus-visible {
  text-decoration: underline;
}

.trustbar-item svg {
  width: calc(1.05rem * var(--ui));
  height: calc(1.05rem * var(--ui));
  flex: none;
}

.trustbar-item.disclosure svg {
  color: #e36a2c;
}

/* Top bar */
.topbar {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%);
  color: #eaf4f1;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(100%, 72rem);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: var(--glow);
  color: var(--deep);
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}

.topbar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

a.tag {
  color: rgba(234, 244, 241, 0.82);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

a.tag:hover,
a.tag:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tag.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.tag.is-soon {
  color: rgba(234, 244, 241, 0.5);
}

/* Content */
.content {
  width: min(100% - 2rem, 72rem);
  margin: 1.25rem auto 0;
  flex: 1;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--card);
  box-shadow: 0 18px 40px -28px rgba(6, 44, 53, 0.35);
  overflow: hidden;
}

/* Phone chrome is hidden on wider screens. display:contents keeps the
   desktop filter flow unchanged. */
.m-toolbar,
.m-bar,
.m-backdrop,
.m-sheet-head,
.m-filter-select,
.m-select-face,
.m-select-wrap {
  display: none;
}

.m-sheet,
.m-sheet-body,
.m-inst,
.m-menu {
  display: contents;
}

/* Browse filters — flat, no wrapping card */
.filters {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.filter-group-institutions {
  margin-bottom: 1.1rem;
}

.institution-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "label ."
    "kinds deposit";
  gap: 0.5rem 1rem;
  align-items: start;
}

.filter-group-institutions .filter-label {
  grid-area: label;
}

.institution-row .inst-kinds {
  grid-area: kinds;
}

.institution-row .filters-personal {
  grid-area: deposit;
}

.inst-kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.inst-kind {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}

.inst-kind-toggle {
  padding: calc(0.4rem * var(--ui)) calc(0.8rem * var(--ui));
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font-size: calc(0.82rem * var(--ui));
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.inst-kind-toggle:hover {
  border-color: var(--accent);
}

.inst-kind.is-active .inst-kind-toggle {
  border-color: var(--deep);
  border-right: none;
  border-radius: 999px 0 0 999px;
  background: var(--deep);
  color: #fff;
}

.inst-kind-toggle[aria-disabled="true"] {
  cursor: default;
}

.inst-kind-toggle[aria-disabled="true"]:hover {
  border-color: var(--deep);
}

.inst-kind-caret {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.7rem;
  border: 1px solid var(--deep);
  border-radius: 0 999px 999px 0;
  background: var(--deep);
  color: #fff;
  cursor: pointer;
}

.inst-kind-caret:hover,
.inst-kind-caret[aria-expanded="true"] {
  background: #08323c;
}

.inst-menu-caret {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.1rem) rotate(45deg);
}

.inst-menu-panel {
  position: absolute;
  z-index: 5;
  top: calc(100% + 0.35rem);
  left: 0;
  display: flex;
  flex-direction: column;
  width: max-content;
  min-width: 16rem;
  max-width: 22rem;
  max-height: 22rem;
  overflow: hidden;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 18px 40px -24px rgba(6, 44, 53, 0.55);
}

.inst-menu-panel[hidden] {
  display: none;
}

.inst-menu-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.inst-menu-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.1rem 0;
  padding: 0.35rem 0.5rem;
  border-radius: 0.55rem;
  font-size: calc(0.82rem * var(--ui));
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
}

.inst-menu-item.has-results {
  box-shadow: inset 0 0 0 1px var(--accent), 0 0 8px 0 var(--glow);
}

.inst-menu-actions {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.inst-menu-clear {
  margin-right: auto;
  padding: 0.35rem 0.7rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.inst-menu-clear:hover {
  color: var(--deep);
}

.inst-menu-clear[hidden] {
  display: none;
}

.inst-menu-done {
  padding: 0.35rem 0.85rem;
  border: none;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.filters-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.1rem 1.5rem;
  align-items: start;
  margin-bottom: 1.1rem;
}

.filter-group-terms {
  margin-top: 0.15rem;
}

.filter-group-banks {
  margin-top: 1.1rem;
}


.filters-expand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Dialog-style card wrapping Term + Bank */
.filters-expand-card {
  position: relative;
  width: 100%;
  padding: 0.75rem 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--card);
  box-shadow: 0 14px 32px -26px rgba(6, 44, 53, 0.35);
}

/* Inside card: stack grows upward; last chevron meets the tip */
.filters-expand-toggle {
  position: absolute;
  left: 50%;
  bottom: 0.05rem;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: auto;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transform: translateX(-50%);
  transition: color 0.15s;
}

.filters-expand-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.08rem;
  color: inherit;
}

.filters-expand-cue span {
  display: none;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.filters-expand-cue span:first-child {
  display: block;
  opacity: 0.9;
}

/* Collapse: same anchor at the tip, chevrons point up into the card */
.filters-expand.is-expanded .filters-expand-cue span {
  transform: rotate(-135deg);
}

.filters-expand.is-expanded .filters-expand-toggle {
  color: var(--deep);
}

.filters-expand-toggle:hover,
.filters-expand-toggle:focus-visible {
  outline: none;
  color: var(--accent);
  background: transparent;
}

.filters-expand-toggle:hover .filters-expand-cue span,
.filters-expand-toggle:focus-visible .filters-expand-cue span {
  display: block;
  opacity: 0.35;
  animation: filters-chevron-wave 1s ease-in-out infinite;
}

.filters-expand.is-expanded .filters-expand-toggle:hover .filters-expand-cue span,
.filters-expand.is-expanded .filters-expand-toggle:focus-visible .filters-expand-cue span {
  animation-name: filters-chevron-wave-up;
}

.filters-expand-toggle:hover .filters-expand-cue span:first-child,
.filters-expand-toggle:focus-visible .filters-expand-cue span:first-child {
  opacity: 0.9;
}

.filters-expand-toggle:hover .filters-expand-cue span:nth-child(2),
.filters-expand-toggle:focus-visible .filters-expand-cue span:nth-child(2) {
  animation-delay: 0.12s;
}

.filters-expand-toggle:hover .filters-expand-cue span:nth-child(3),
.filters-expand-toggle:focus-visible .filters-expand-cue span:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes filters-chevron-wave {
  0%,
  100% {
    opacity: 0.25;
    transform: rotate(45deg) translate(0, 0);
  }
  40% {
    opacity: 1;
    transform: rotate(45deg) translate(0.07rem, 0.07rem);
  }
  70% {
    opacity: 0.45;
  }
}

@keyframes filters-chevron-wave-up {
  0%,
  100% {
    opacity: 0.25;
    transform: rotate(-135deg) translate(0, 0);
  }
  40% {
    opacity: 1;
    transform: rotate(-135deg) translate(0.07rem, 0.07rem);
  }
  70% {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .filters-expand-cue span {
    animation: none !important;
  }
}

.filter-path-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 1.35rem;
  margin-bottom: 0.45rem;
}

.filter-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.4rem;
  margin: 0;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  background: none;
  font-size: calc(0.74rem * var(--ui));
  line-height: 1.2;
  color: var(--muted);
}

.filter-path-clear {
  margin-left: 0.2rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.filter-path-reset {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filter-path-clear:hover,
.filter-path-clear:focus-visible {
  outline: none;
  background: rgba(6, 44, 53, 0.08);
  color: var(--deep);
}

.filter-path-label {
  margin-right: 0.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: calc(0.65rem * var(--ui));
  color: var(--muted);
}

.filter-path-step {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}

.filter-path-arrow {
  margin: 0 0.1rem;
  color: #9aada8;
  font-weight: 600;
}

.filter-path-group {
  font-weight: 600;
  color: var(--muted);
}

.filter-path-value {
  font-weight: 800;
  color: var(--deep);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.filter-label {
  font-size: calc(0.7rem * var(--ui));
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a3140;
}

.filter-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.term-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.6rem;
  row-gap: 0.1rem;
}

.filter-hint {
  font-size: calc(0.74rem * var(--ui));
  font-weight: 600;
  color: var(--muted);
}

.multi-payout-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--deep);
  font-size: calc(0.72rem * var(--ui));
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.multi-payout-toggle input {
  width: 0.95rem;
  height: 0.95rem;
  margin: 0;
  accent-color: var(--deep);
  cursor: pointer;
}

.chip-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Collapsed: common pills only (active extras stay visible). */
.filters-expand:not(.is-expanded) .chip.is-extra:not(.is-active) {
  display: none;
}

.chip {
  flex: 0 0 auto;
  padding: calc(0.4rem * var(--ui)) calc(0.8rem * var(--ui));
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: calc(0.82rem * var(--ui));
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.chip:hover {
  border-color: var(--accent);
}

.chip.is-active {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

#bank-chips .chip.has-results {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 10px 1px var(--glow);
}

#bank-chips .chip.has-results.is-active {
  box-shadow: 0 0 0 1px var(--glow), 0 0 12px 2px var(--glow);
}

.chip.is-unavailable,
.chip:disabled {
  color: #b4c0c5;
  border-color: #d7e0dc;
  background: #f3f6f5;
  cursor: not-allowed;
}

.chip.is-unavailable:hover,
.chip:disabled:hover {
  border-color: #d7e0dc;
}

.chip.is-empty,
.chip.is-empty:hover {
  border-style: dashed;
  border-color: #c5d4cf;
  background: #f7faf9;
  color: var(--muted);
  font-weight: 600;
  cursor: default;
}

.skeleton-chip {
  width: 5.5rem;
  height: 2rem;
  background: #eef2f0;
  border-color: transparent;
}

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 0.25rem;
  border-radius: 0.8rem;
  background: #eef3f1;
}

.filter-group:has(#payout-label) .segmented {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.filter-group:has(#payout-label) .segmented button {
  flex: 0 0 auto;
  padding-inline: 0.45rem;
  white-space: nowrap;
}

.segmented button {
  padding: calc(0.4rem * var(--ui)) calc(0.8rem * var(--ui));
  border: none;
  border-radius: 0.6rem;
  background: transparent;
  font-size: calc(0.82rem * var(--ui));
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.segmented button:hover:not(:disabled) {
  color: var(--ink);
}

.also-offered .segmented button {
  color: #1a3140;
}

.segmented button.is-active {
  background: #fff;
  color: var(--deep);
  box-shadow: 0 2px 8px -2px rgba(6, 44, 53, 0.25);
}

.results-controls .sort-menu {
  position: relative;
}

.results-controls .sort-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: calc(0.4rem * var(--ui)) calc(0.8rem * var(--ui));
  border-radius: 0.6rem;
  font-size: calc(0.82rem * var(--ui));
  font-weight: 700;
  color: var(--muted);
}

.results-controls .sort-menu summary::-webkit-details-marker {
  display: none;
}

.results-controls .sort-menu summary::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 0.32rem solid transparent;
  border-right: 0.32rem solid transparent;
  border-top: 0.38rem solid currentColor;
}

.results-controls .sort-menu summary.is-active {
  background: #fff;
  color: var(--deep);
  box-shadow: 0 2px 8px -2px rgba(6, 44, 53, 0.25);
}

.results-controls .sort-menu-list {
  position: absolute;
  z-index: 5;
  top: calc(100% + 0.25rem);
  left: 0;
  display: grid;
  min-width: 10rem;
  padding: 0.25rem;
  border-radius: 0.6rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.12);
}

.results-controls .sort-menu-list button {
  text-align: left;
  white-space: nowrap;
}

.segmented button:disabled,
.segmented button.is-unavailable {
  color: #b4c0c5;
  cursor: not-allowed;
}

/* Calculate earnings sits in the space to the right of the institution pills. */
.filters-personal {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.6rem;
  width: 100%;
  min-width: 0;
}

.filters-personal .switch {
  display: flex;
  align-items: center;
  height: calc(1.75rem * var(--ui));
}

.personal-fields {
  display: block;
  flex: 1;
  margin: 0;
  padding: 0;
  min-width: 0;
  border: none;
  transition: opacity 0.2s;
}

.switch {
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.switch-track {
  display: block;
  width: calc(2.55rem * var(--ui));
  height: calc(1.45rem * var(--ui));
  padding: calc(0.16rem * var(--ui));
  border-radius: 999px;
  background: #c5d1cd;
  transition: background 0.2s;
}

.switch-thumb {
  display: block;
  width: calc(1.13rem * var(--ui));
  height: calc(1.13rem * var(--ui));
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.switch input:checked + .switch-track {
  background: var(--deep);
}

.switch input:checked + .switch-track .switch-thumb {
  transform: translateX(calc(1.1rem * var(--ui)));
  background: var(--glow);
}

.switch input:focus-visible + .switch-track {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.personal-fields:disabled {
  opacity: 0.45;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.field.amount {
  width: 100%;
  gap: 0.35rem;
}

.filters-pair .filter-group-institutions {
  margin-bottom: 0;
}

.filters-pair .institution-row {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "label"
    "kinds";
}

.filters-pair:not(:has(#category-label)) {
  grid-template-columns: minmax(0, 1fr);
}

.savings-filters-pair {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
}

.savings-balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.savings-balance .field.amount {
  align-items: center;
  width: min(22rem, 100%);
}

.savings-balance .presets {
  justify-content: flex-start;
  width: 100%;
}

.savings-balance .input-wrap {
  width: 100%;
  max-width: 22rem;
  min-height: calc(2.6rem * var(--ui));
}

.savings-balance .input-wrap input,
.savings-balance .input-wrap .prefix {
  font-size: calc(1.25rem * var(--ui));
}

.filters-personal .input-wrap {
  min-height: calc(1.75rem * var(--ui));
  padding: calc(0.2rem * var(--ui)) calc(0.65rem * var(--ui));
}

.filters-personal .input-wrap .prefix,
.filters-personal .input-wrap input {
  font-size: calc(0.82rem * var(--ui));
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #cfdad6;
  border-radius: 0.7rem;
  background: #fff;
}

.input-wrap:focus-within {
  border-color: var(--deep);
  box-shadow: 0 0 0 3px rgba(31, 138, 122, 0.18);
}

.input-wrap .prefix {
  font-weight: 700;
  color: var(--muted);
}

.input-wrap input {
  width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: calc(1rem * var(--ui));
  font-weight: 800;
  color: var(--ink);
  outline: none;
}

.input-wrap input::placeholder {
  font-weight: 600;
  color: #9aa8af;
}

.input-clear {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #e7eeeb;
  color: #5d6f74;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
}

.input-clear:hover {
  background: #d5e0db;
  color: var(--ink);
}

.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.presets button {
  padding: calc(0.2rem * var(--ui)) calc(0.55rem * var(--ui));
  border: 1px solid #cfdad6;
  border-radius: 999px;
  background: #fff;
  font-size: calc(0.72rem * var(--ui));
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
}

.presets button.is-active {
  border-color: var(--deep);
  color: var(--deep);
}

.personal-fields:disabled button,
.personal-fields:disabled input {
  cursor: not-allowed;
}

/* Results */
.results-section {
  margin-top: 1.15rem;
  padding-bottom: 2.5rem;
}

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.results-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: calc(1.3rem * var(--ui));
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--deep);
}

#results-top {
  scroll-margin-top: 2.75rem;
}

.results-head h2 span {
  color: var(--accent);
}

.rank-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid #d6e7e0;
  border-left: 3px solid var(--accent);
  border-radius: 0.7rem;
  background: #f2f8f5;
  color: #3f5751;
  font-size: calc(0.86rem * var(--ui));
  line-height: 1.4;
}

.rank-note svg {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.08rem;
  color: var(--accent);
}

.rank-note strong {
  color: var(--deep);
  font-weight: 750;
}

.rank-note .also-offered-link {
  white-space: nowrap;
}

.rank-note-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.15rem;
  margin-left: auto;
  color: #0e7c8a;
  font-weight: 700;
}

.results-subline {
  display: contents;
}

.results-summary {
  margin-top: 0.2rem;
  font-size: calc(0.82rem * var(--ui));
  font-weight: 600;
  color: var(--muted);
}

.results-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1rem;
}

.notice {
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.notice strong {
  color: var(--ink);
}

.also-offered-jump {
  margin: 0.15rem 0 0.85rem;
  color: #4d635c;
  font-size: 0.92rem;
  line-height: 1.45;
}

.also-offered-link {
  display: inline-block;
  margin: 0 0.1rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--glow);
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
}

.also-offered-link:hover {
  background: var(--accent);
  color: #fff;
}

.notice.error {
  margin-bottom: 1rem;
  border-color: #f0c9c9;
  background: #fff5f5;
  color: #8b2e2e;
}

/* Shared column layout for the header row and every card */
.results-wrap {
  --payout-span: 1.6fr;
  --payout-cols: minmax(4.2rem, 1fr) minmax(4.2rem, 1fr);
}

.results-wrap.with-interest {
  --payout-span: 2.8fr;
  --payout-cols: repeat(5, minmax(4.4rem, 1fr));
}

.results-wrap.with-interest.interest-monthly,
.results-wrap.with-interest.interest-annually {
  --payout-span: 3.3fr;
  --payout-cols: repeat(6, minmax(4.2rem, 1fr));
}

.results-wrap.multi-payout {
  --payout-span: 2.6fr;
}

.results-wrap.multi-payout .payout-row > :first-child,
.results-wrap.multi-payout .payout-row > .payout-rate {
  justify-self: center;
  text-align: center;
  align-items: center;
}

.results-columns,
.result-card {
  display: grid;
  grid-template-columns: minmax(12.5rem, 1.45fr) minmax(0, var(--payout-span));
  column-gap: 0.5rem;
}

.result-rating {
  justify-self: center;
  align-self: center;
  width: 100%;
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.result-card .result-rating {
  font-size: calc(1.05rem * var(--ui));
  color: #0b3d36;
}

.result-rating-star {
  margin-right: 0.2rem;
  color: #e2a400;
  font-size: 0.95em;
}

.result-rating.is-empty {
  color: #8a99a1;
  font-weight: 700;
}

.result-identity {
  display: flex;
  align-items: center;
  align-self: start;
  gap: 0.5rem;
  min-width: 0;
}

.results-columns .bank-logo {
  height: 0;
}

.payout-row {
  display: grid;
  grid-template-columns: var(--payout-cols) 5.5rem;
  column-gap: 0.4rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.payout-row > :first-child {
  justify-self: start;
  text-align: left;
}

.payout-row > .payout-rate {
  align-items: flex-start;
}

.results-wrap.with-interest .payout-row > :first-child,
.results-wrap.with-interest .payout-row > .payout-rate {
  justify-self: center;
  text-align: center;
  align-items: center;
}

.result-copy {
  min-width: 0;
}

.results-columns {
  padding: 0 calc(1rem + 1px) 0.35rem;
  font-size: calc(0.64rem * var(--ui));
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a3140;
}

.results {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: none;
  transition: opacity 0.18s ease;
}

.results.is-refreshing {
  opacity: 0.55;
}

.result-card {
  position: relative;
  align-items: start;
  row-gap: 0.15rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--card);
  transition: box-shadow 0.2s;
}

.bank-logo {
  flex: 0 0 calc(1.75rem * var(--ui));
  width: calc(1.75rem * var(--ui));
  height: calc(1.75rem * var(--ui));
  object-fit: contain;
}

.result-card:hover {
  box-shadow: 0 12px 28px -20px rgba(6, 44, 53, 0.45);
}

.result-card.is-top {
  background: #f3fbe0;
  border-color: #b7d96a;
}

.result-card.is-top.is-best-rating {
  background: #fff3d4;
  border-color: #f2b544;
}

.result-card.is-best-rating .best-tag {
  background: #f2b544;
  color: #3a2a08;
}

.result-rank {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: #eef3f1;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--deep);
}

.result-card.is-top .result-rank {
  background: var(--glow);
}

.also-offered {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #d5e2dc;
}

.also-offered.is-focus {
  margin-top: 1rem;
  padding: 1rem 1.15rem 0.35rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(200, 241, 105, 0.55);
}

.also-offered-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.also-offered h2 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--deep);
}

.also-offered > p {
  margin: 0.3rem 0 0.9rem;
  color: #4d635c;
  font-size: 0.92rem;
}

.back-to-top {
  display: none;
  margin: 1rem 0 0.2rem;
}

.back-to-top.is-visible {
  display: block;
}

.back-to-top a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.back-to-top a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.also-offered .results-columns,
.also-offered .result-card {
  grid-template-columns: minmax(12.5rem, 1.45fr) minmax(0, var(--payout-span));
}

.rare-term {
  margin-top: 0.55rem;
  border: 1px solid #d5e2dc;
  border-radius: 0.9rem;
  background: #fff;
}

.rare-term > summary {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.85rem 1.05rem;
  cursor: pointer;
  list-style: none;
}

.rare-term > summary::-webkit-details-marker {
  display: none;
}

.rare-term > summary::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.15rem;
  border-right: 2px solid var(--deep);
  border-bottom: 2px solid var(--deep);
  transform: rotate(-45deg);
  align-self: center;
}

.rare-term[open] > summary::before {
  transform: rotate(45deg);
}

.rare-term-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--deep);
}

.rare-term-name a,
.rare-term-name a:visited {
  color: inherit;
  text-decoration: none;
}

.rare-term-name a:hover,
.rare-term-name a:focus-visible {
  text-decoration: underline;
}

.rare-term-count {
  color: #4d635c;
  font-size: 0.88rem;
  font-weight: 650;
}

.rare-term > .results-wrap {
  padding: 0 0.7rem 0.8rem;
}

.result-bank {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.bank-line,
.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.4rem;
  min-width: 0;
}

.bank-line {
  flex-wrap: nowrap;
}

.bank-name {
  min-width: 0;
  font-size: calc(0.9rem * var(--ui));
  font-weight: 800;
  color: var(--ink);
}

.bank-name a,
.bank-name a:visited {
  color: inherit;
  text-decoration: none;
}

.bank-name a:hover,
.bank-name a:focus-visible {
  text-decoration: underline;
}

.product-name {
  font-size: calc(0.76rem * var(--ui));
  color: var(--muted);
  min-width: 0;
}

.product-name a,
.product-name a:visited {
  color: inherit;
  text-decoration: none;
}

.product-name a:hover,
.product-name a:focus-visible {
  text-decoration: underline;
}

.best-tag {
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  background: var(--deep);
  color: var(--glow);
  font-size: calc(0.6rem * var(--ui));
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.label-badge {
  padding: 0.08rem 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: calc(0.6rem * var(--ui));
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.label-badge.label-normal {
  background: #e3f1ee;
  color: #0b5a4f;
}

.label-badge.label-senior {
  background: #fdf0d8;
  color: #8a5a0c;
}

.label-badge.label-special {
  background: #ecf7d3;
  color: #47610f;
}

.label-badge.label-online {
  background: #e7eefc;
  color: #1d3f86;
}

.label-badge.label-women {
  background: #f8e8f1;
  color: #8a2f5c;
}

.label-badge.label-minor {
  background: #ffe14a;
  color: #6a5208;
}

/* Product lines on a bank card */
.bank-products {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.product-line {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.product-line + .product-line {
  padding-top: 0.4rem;
  border-top: 1px dashed #e3eae7;
}

.product-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.15rem;
}

.payout-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  font-size: calc(0.9rem * var(--ui));
  font-weight: 600;
  min-width: 0;
}

.payout-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: calc(0.9rem * var(--ui));
  font-weight: 700;
  color: var(--deep);
}

.payout-aer {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: calc(0.68rem * var(--ui));
  font-weight: 700;
  color: var(--muted);
  line-height: 1.2;
}

.payout-rate .payout-aer {
  font-size: 0.75em;
}

.payout-aer::before {
  content: 'AER ';
}

.payout-row > .payout-aer {
  font-family: 'Fraunces', Georgia, serif;
  font-size: calc(0.9rem * var(--ui));
  font-weight: 700;
  color: var(--deep);
  line-height: 1.2;
}

.payout-row > .payout-aer::before {
  content: none;
}

.payout-label {
  display: none;
}

.payout-rate-value {
  position: relative;
}

.payout-info {
  position: absolute;
  top: 50%;
  left: 100%;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
  padding: 0;
  border: 1px solid #c9d8d3;
  border-radius: 50%;
  background: #fff;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  color: var(--muted);
  transform: translateY(-50%);
  cursor: pointer;
}

.payout-info:hover,
.payout-info:focus-visible,
.payout-info.is-open {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

.payout-breakdown {
  position: fixed;
  inset: auto;
  margin: 0;
  min-width: 13.5rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #dbe6e2;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 42, 36, 0.16);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--deep);
  text-align: left;
}

.payout-breakdown:popover-open {
  display: grid;
  gap: 0.3rem;
}

.breakdown-title {
  margin-bottom: 0.1rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.breakdown-row > :first-child {
  font-weight: 500;
  color: var(--muted);
}

.breakdown-row > :last-child {
  font-weight: 700;
}

.breakdown-row.gross > :last-child {
  color: #1f8a4c;
  font-weight: 800;
}

.breakdown-row.deducted > :last-child {
  color: #c2453d;
  font-weight: 800;
}

.breakdown-row.after-tax > :last-child {
  color: var(--deep);
  font-weight: 800;
}

.breakdown-total {
  align-items: baseline;
  margin-top: 0.25rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.6rem;
  background: var(--deep);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.breakdown-total > :first-child {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(234, 244, 241, 0.72);
}

.breakdown-total > :last-child {
  font-weight: 800;
}

.breakdown-aer {
  display: none;
}

.payout-money {
  font-size: calc(0.9rem * var(--ui));
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.payout-money.gross {
  color: #1f8a4c;
  font-weight: 800;
}

.payout-money.deducted {
  color: #c2453d;
  font-weight: 800;
}

.payout-money.after-tax {
  color: var(--deep);
  font-weight: 800;
}

.factors {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  min-width: 0;
  margin-top: 0.15rem;
  margin-left: calc((1.75rem + 0.5rem) * var(--ui));
}

.factors summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: calc(0.74rem * var(--ui));
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.factors summary::-webkit-details-marker {
  display: none;
}

.factors summary::after {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.1rem) rotate(45deg);
  transition: transform 0.15s;
}

.factors[open] summary::after {
  transform: translateY(0.1rem) rotate(-135deg);
}

.factors summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.factors[open] {
  grid-column: 1 / -1;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.75rem;
  margin-top: 0.7rem;
  padding: 1.05rem 1.2rem 0.35rem;
  border: 1px solid #c5ddd7;
  border-radius: 0.9rem;
  background: #e7f4f1;
}

.detail-grid:has(> :only-child) {
  grid-template-columns: 1fr;
}

.detail-grid:not(:has(> .detail-col + .detail-col)) > .detail-col {
  grid-column: 1 / -1;
}

.detail-col h4,
.detail-features h4 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--deep);
}

.detail-features {
  grid-column: 1 / -1;
}

.detail-features:not(:first-child) {
  margin-top: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid #7f9e96;
}

.detail-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-rows li {
  padding: 0.55rem 0;
  border-bottom: 1px solid #d3e6e1;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.detail-rows li:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--deep);
  font-weight: 800;
}

.factors-list {
  margin: 0.35rem 0 0.1rem;
  padding-left: 1.05rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.factors-list li + li {
  margin-top: 0.15rem;
}

.factor-special {
  list-style: none;
  margin-left: -1.05rem;
  padding-left: 1.05rem;
  font-weight: 400;
  color: var(--muted);
}

.factor-asterisk {
  display: inline-block;
  width: 1.05rem;
  margin-left: -1.05rem;
  font-weight: 700;
}

/* Skeletons */
.result-card.skeleton {
  grid-template-columns: 1.75rem minmax(0, 1fr) minmax(0, 1fr);
}

.result-card.skeleton:hover {
  box-shadow: none;
}

.result-card.skeleton .result-bank,
.result-card.skeleton .payouts {
  gap: 0.45rem;
}

.skeleton-line {
  display: block;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #eef2f0 0%, #f7faf8 50%, #eef2f0 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-70 { width: 70%; }
.skeleton-line.w-80 { width: 80%; }

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem max(1.5rem, calc((100% - 72rem) / 2));
  background: var(--deep);
  color: rgba(234, 244, 241, 0.65);
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  color: #fff;
}

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

@media (prefers-reduced-motion: reduce) {
  .skeleton-line {
    animation: none;
  }
}

/* Responsive */
/* Small screens, including iPad mini: show every Interest paid and Category
   option. A second line appears only when the row runs out of room.
   Expand still only reveals Term and Bank. */
@media (min-width: 641px) and (max-width: 1024px) {
  .filter-group:has(#payout-label) .segmented,
  .filter-group:has(#category-label) .segmented {
    flex-wrap: wrap;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .institution-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "kinds"
      "deposit";
  }
}

@media (max-width: 760px) {
  .results-columns {
    display: none;
  }

  .payout-rate.has-net > .payout-aer {
    display: none;
  }

  .breakdown-aer {
    display: flex;
  }

  .results-wrap.multi-payout .result-card .payout-row {
    grid-column: 1 / -1;
    grid-row: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0.1rem 0 0;
    padding: 0;
    border: none;
    border-top: 1px solid #e7eeeb;
    text-align: left;
  }

  .results-wrap.multi-payout .payout-row > .payout-rate {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    justify-self: stretch;
    gap: 0.6rem;
    min-width: 0;
    padding: 0.45rem 0;
    border-bottom: 1px solid #eef3f1;
    font-size: 1.15rem;
    line-height: 1;
    text-align: right;
  }

  .results-wrap.multi-payout .payout-row > .payout-rate:last-child {
    border-bottom: none;
    padding-bottom: 0.1rem;
  }

  .results-wrap.multi-payout .payout-row > .payout-rate.is-missing {
    color: var(--muted);
  }

  .results-wrap.multi-payout .payout-label {
    display: block;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--muted);
  }

  .results-wrap.multi-payout .payout-rate-value {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  .results-wrap.multi-payout .payout-row:has(.has-net) .is-missing .payout-rate-value {
    margin-right: calc(1.4rem + 0.45rem);
  }

  .results-wrap.multi-payout .payout-row:not(:has(.has-net)) .is-missing .payout-rate-value {
    margin-right: calc(5.5rem + 0.6rem);
  }

  .results-wrap.multi-payout .payout-rate .payout-aer {
    min-width: 5.5rem;
    font-size: 0.68rem;
    text-align: right;
  }

  .results-wrap.multi-payout .payout-info {
    position: static;
    width: 1.4rem;
    height: 1.4rem;
    margin: 0;
    font-size: 0.74rem;
    transform: none;
  }

  .result-card {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.35rem;
    align-items: start;
  }

  .result-copy {
    grid-column: 1;
  }

  .payout-row {
    grid-column: 1 / -1;
    margin-left: calc(1.75rem + 0.5rem);
  }

  .factors {
    grid-column: 1 / -1;
    padding-top: 0.3rem;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .bank-line {
    flex-wrap: wrap;
  }

  .payout-row,
  .results-wrap.with-interest .payout-row {
    grid-template-columns: repeat(auto-fit, minmax(4.5rem, max-content));
    column-gap: 0.85rem;
    row-gap: 0.1rem;
    justify-items: start;
    justify-content: start;
    text-align: left;
  }

  .payout-aer {
    min-width: 5rem;
    text-align: right;
  }

  .payout-aer::after {
    content: none;
  }

  .with-interest .payouts {
    gap: 0.3rem;
  }

  .interest-monthly .payout-money.period::before {
    content: 'Monthly Int. ';
  }

  .interest-annually .payout-money.period::before {
    content: 'Annual Int. ';
  }

  .payout-money.gross::before {
    content: 'Gross Int. ';
  }

  .payout-money.deducted::before {
    content: 'Deduction ';
  }

  .payout-money.after-tax::before {
    content: 'Net Int. ';
  }

  .payout-money::before {
    font-weight: 500;
    color: var(--muted);
  }
}

/* Tablets through iPad Pro 13 portrait and Surface Pro.
   Column floors must be allowed to shrink or the card is wider than the screen. */
@media (min-width: 761px) and (max-width: 1400px) {
  .results-columns {
    padding-inline: calc(0.55rem + 1px);
  }

  .results-columns,
  .result-card {
    grid-template-columns: minmax(10.5rem, 1.4fr) minmax(0, var(--payout-span));
    column-gap: 0.4rem;
  }

  .result-copy,
  .payout-row,
  .payout-money,
  .payout-rate {
    min-width: 0;
  }

  .payout-row {
    column-gap: 0.3rem;
  }

  .results-wrap {
    --payout-span: 1.7fr;
  }

  .results-wrap.with-interest {
    --payout-span: 2.9fr;
  }

  .results-wrap.with-interest.interest-monthly,
  .results-wrap.with-interest.interest-annually {
    --payout-span: 3.4fr;
  }

  .result-identity {
    align-self: start;
  }

  .result-card {
    padding: 0.45rem 0.55rem;
  }

  .result-rank {
    width: calc(1.45rem * var(--ui));
    height: calc(1.45rem * var(--ui));
  }
}

/* iPad mini portrait is narrower than the other tablets in that range. */
@media (min-width: 761px) and (max-width: 820px) {
  .results-columns,
  .result-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, var(--payout-span));
  }

  .result-rank {
    width: calc(1.25rem * var(--ui));
    height: calc(1.25rem * var(--ui));
  }
}

@media (max-width: 640px) {
  :root {
    --ui: 1;
  }

  .trustbar-item.disclosure {
    flex-basis: 100%;
  }

  .topbar {
    padding: 0.75rem 0.9rem 0.7rem;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .brand {
    font-size: 1.15rem;
  }

  .topbar-tags .is-soon {
    display: none;
  }

  .content:not(.about) {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.65rem 0.75rem 2.25rem;
  }

  .trustbar {
    order: -1;
    margin: -0.65rem -0.75rem 0.85rem;
  }

  .trustbar-inner {
    justify-content: flex-start;
    padding: 0.55rem 0.9rem 0.7rem;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    font-size: 0.84rem;
    row-gap: 0.35rem;
  }

  .footer {
    padding: 1rem 0.9rem;
  }

  .m-toolbar,
  .m-bar,
  .m-clear {
    display: none;
  }

  /* Filters stay on the page. Each one is a value-only dropdown. */
  .filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
  }

  .filters-expand {
    align-items: stretch;
    width: 100%;
  }

  .filters-expand-toggle {
    display: none;
  }

  .filters-expand-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .filters-pair,
  .filter-group-institutions,
  .institution-row {
    display: contents;
  }

  .filter-path-slot {
    order: 0;
    min-height: 0;
    justify-content: flex-start;
    margin: 0;
  }

  .filter-path-slot:not(:has(.filter-path)) {
    display: none;
  }

  .filter-path {
    justify-content: flex-start;
    font-size: 0.72rem;
  }

  .m-inst { order: 1; }
  .filter-group:has(#payout-label) { order: 2; }
  .filter-group:has(#category-label) { order: 3; }
  .filter-group:has(#term-label) { order: 4; }
  .filters-personal { order: 5; }
  .filter-group.savings-balance { order: 6; }

  .filters .filter-label {
    display: none;
  }

  .m-menu {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .filters .m-menu .segmented,
  .filters .filter-group:has(#payout-label) .m-menu .segmented,
  .filters .m-menu .chip-scroll {
    display: none;
  }

  .filters .m-menu.is-open .segmented,
  .filters .filter-group:has(#payout-label) .m-menu.is-open .segmented,
  .filters .m-menu.is-open .chip-scroll {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    width: 100%;
    margin: 0.35rem 0 0;
    padding: 0.45rem;
    overflow: visible;
    background: #fff;
    border: 1px solid #c5d4cf;
    border-radius: 0.95rem;
  }

  .filters .segmented button,
  .filters .chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 2.15rem;
    padding: 0.35rem 0.35rem;
    border: 1px solid #c5d4cf;
    border-radius: 999px;
    background: #fff;
    color: var(--deep);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
    box-shadow: none;
  }

  .filters .segmented button.is-active,
  .filters .chip.is-active {
    border-color: var(--deep);
    background: var(--deep);
    color: #fff;
  }

  .m-inst {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .m-filter-select,
  .m-select-face {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 2.5rem;
    margin: 0;
    padding: 0.5rem 2.2rem 0.5rem 0.85rem;
    border: 1px solid #c5d4cf;
    border-radius: 0.85rem;
    background: #fff;
    color: var(--deep);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .m-select-wrap::after,
  .m-select-face::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1.15rem;
    width: 0.48rem;
    height: 0.48rem;
    border-right: 2px solid var(--deep);
    border-bottom: 2px solid var(--deep);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
  }

  .m-select-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .m-select-face.is-empty {
    border-style: dashed;
    background: #f7faf9;
    color: var(--muted);
    font-weight: 600;
    cursor: default;
  }

  .m-select-face.is-empty::after {
    content: none;
  }

  .m-inst .inst-kinds {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.35rem;
    padding: 0.4rem;
    border: 1px solid #c5d4cf;
    border-radius: 0.95rem;
    background: #fff;
  }

  .m-inst.is-open .inst-kinds {
    display: flex;
  }

  .m-inst.is-open .inst-kind {
    flex-wrap: wrap;
    width: 100%;
  }

  .m-inst.is-open .inst-kind-toggle {
    flex: 1;
    border-radius: 0.7rem;
    text-align: left;
  }

  .m-inst.is-open .inst-kind.is-active .inst-kind-toggle {
    border-radius: 0.7rem 0 0 0.7rem;
  }

  .m-inst.is-open .inst-menu-panel {
    position: static;
    flex: 1 0 100%;
    width: 100%;
    max-width: none;
    margin-top: 0.3rem;
    box-shadow: none;
  }

  .filters-personal {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .filters-personal .switch {
    height: 2.5rem;
  }

  .switch-track {
    width: 3.15rem;
    height: 1.85rem;
    padding: 0.2rem;
  }

  .switch-thumb {
    width: 1.45rem;
    height: 1.45rem;
  }

  .switch input:checked + .switch-track .switch-thumb {
    transform: translateX(1.3rem);
  }

  .personal-fields {
    flex: 1;
    min-width: 0;
  }

  .filters-personal .field.amount {
    width: 100%;
  }

  .filters-personal .input-wrap {
    min-height: 2.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
  }

  .filters-personal .input-wrap input,
  .filters-personal .input-wrap .prefix {
    font-size: 0.84rem;
  }

  .filters .presets {
    flex-wrap: nowrap;
    gap: 0.4rem;
    width: 100%;
  }

  .filters .presets button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 2rem;
    padding: 0.25rem 0.4rem;
    font-size: 0.78rem;
  }

  .filters .presets button.is-active {
    background: var(--deep);
    color: #fff;
  }

  .filters .filters-personal .presets {
    gap: 0.3rem;
  }

  .filters .filters-personal .presets button {
    min-height: 1.6rem;
    padding: 0.12rem 0.3rem;
    font-size: 0.7rem;
  }

  .rank-note {
    gap: 0.45rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.78rem;
  }

  .rank-note svg {
    width: 0.95rem;
    height: 0.95rem;
  }

  .filter-group-terms .term-label-row {
    order: 1;
  }

  .filter-group-terms .filter-hint {
    padding-left: 0.2rem;
    font-size: 0.7rem;
  }

  .results-section {
    margin-top: 0.15rem;
  }

  .results-head {
    align-items: stretch;
    margin-bottom: 0.65rem;
  }

  .results-head h2 {
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .results-controls {
    width: auto;
    margin-left: auto;
  }

  .results-controls .filter-label {
    display: none;
  }

  .results {
    gap: 0.55rem;
  }

  .result-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.7rem;
    row-gap: 0.55rem;
    padding: 0.85rem 0.9rem 0.75rem;
    border-radius: 1rem;
  }

  .result-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .bank-name {
    font-size: 0.95rem;
  }

  .product-name {
    font-size: 0.75rem;
  }

  .factors,
  .factors[open] {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-left: 0;
    padding-top: 0;
  }

  .payout-row {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.05rem;
    margin: 0;
    padding: 0;
    border: none;
    text-align: right;
  }

  .payout-rate {
    flex-direction: column;
    align-items: flex-end;
    justify-self: end;
    font-size: 1.35rem;
    line-height: 1;
    text-align: right;
  }

  .payout-aer,
  .payout-row > .payout-aer {
    min-width: 0;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    text-align: right;
  }

  .payout-aer::after {
    content: none;
  }

  .payout-row > .payout-aer::before,
  .payout-rate .payout-aer::before {
    content: 'AER ';
    font-weight: 700;
  }

  /* Single payout without an amount: name block gets the full first row,
     the rate shares the second row with "Show More Details". */
  .results-wrap:not(.with-interest):not(.multi-payout) .result-copy {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .results-wrap:not(.with-interest):not(.multi-payout) .payout-row {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  .results-wrap:not(.with-interest):not(.multi-payout) .factors {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
  }

  /* Centred on the 1.35rem rate line. */
  .results-wrap:not(.with-interest):not(.multi-payout) .factors summary {
    min-height: 1.35rem;
  }

  /* The AER line sits under the summary, so an open panel starts below it. */
  .results-wrap:not(.with-interest):not(.multi-payout) .factors[open] .detail-grid {
    margin-top: 1.4rem;
  }

  .results-wrap.with-interest .payout-row {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.85rem;
    row-gap: 0.35rem;
    align-items: center;
    justify-items: stretch;
    margin: 0;
    padding: 0.7rem 0 0;
    border-top: 1px solid #e7eeeb;
    text-align: left;
  }

  .results-wrap.with-interest .payout-row > .payout-rate {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: stretch;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    justify-self: start;
    gap: 0.2rem;
    padding-right: 0.85rem;
    border-right: 1px solid #e7eeeb;
    font-size: 1.65rem;
    line-height: 1;
    text-align: left;
  }

  .results-wrap.with-interest.interest-monthly .payout-row > .payout-rate,
  .results-wrap.with-interest.interest-annually .payout-row > .payout-rate {
    grid-row: 1 / span 4;
  }

  .results-wrap.with-interest .payout-rate .payout-aer {
    font-size: 0.72rem;
    text-align: left;
  }

  .results-wrap.with-interest .payout-money {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    column-gap: 0.6rem;
    row-gap: 0;
    min-width: 0;
    padding: 0;
    background: none;
    font-size: 0.9rem;
    line-height: 1.25;
    white-space: nowrap;
    text-align: right;
  }

  .results-wrap.with-interest .payout-money::before {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--muted);
  }

  .interest-monthly .payout-money.period::before {
    content: 'Monthly interest';
  }

  .interest-annually .payout-money.period::before {
    content: 'Annual interest';
  }

  .results-wrap.with-interest .payout-money.gross::before {
    content: 'Gross interest';
  }

  .results-wrap.with-interest .payout-money.deducted::before {
    content: 'Deduction';
  }

  .results-wrap.with-interest .payout-money.after-tax::before {
    content: 'Net interest';
  }

  .results-wrap.with-interest .payout-money.net {
    grid-column: 1 / -1;
    margin-top: 0.3rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.75rem;
    background: var(--deep);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.15;
  }

  .results-wrap.with-interest .payout-money.net::before {
    content: 'Net earnings';
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(234, 244, 241, 0.72);
  }

  .pagination .chip {
    min-width: 2.5rem;
    min-height: 2.5rem;
  }
}

@media (max-width: 359px) {
  .results-wrap.with-interest .payout-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-wrap.with-interest .payout-row > .payout-rate,
  .results-wrap.with-interest.interest-monthly .payout-row > .payout-rate,
  .results-wrap.with-interest.interest-annually .payout-row > .payout-rate {
    grid-row: auto;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0 0 0.35rem;
    border-right: none;
  }

  .results-wrap.with-interest .payout-money {
    grid-column: 1;
  }
}

@keyframes m-sheet-in {
  from { transform: translateY(1.5rem); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.m-filters-open .m-sheet {
    animation: none;
  }
}
.about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(100% - 2rem, 60rem);
  padding-bottom: 2rem;
}

.about-intro {
  padding: 1.75rem 1.75rem 1.6rem;
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 241, 105, 0.22), transparent 45%),
    linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%);
  color: #eaf4f1;
}

.about-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glow);
}

.about-intro h1 {
  margin-top: 0.45rem;
  max-width: 32rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.about-lead {
  margin-top: 0.6rem;
  max-width: 38rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(234, 244, 241, 0.82);
}

.about-cta {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--glow);
  color: var(--deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.about-cta:hover,
.about-cta:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px rgba(200, 241, 105, 0.9);
}

.about-card {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
}

.institution-back {
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.institution-back:hover,
.institution-back:focus-visible {
  border-color: var(--accent);
}

.institution-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

#institution h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--deep);
}

.institution-site {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.institution-site:hover,
.institution-site:focus-visible {
  background: #143026;
}

.institution-switch {
  margin-top: 1.25rem;
}

.institution-tab {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.institution-switch .segmented label {
  padding: 0.4rem 0.8rem;
  border-radius: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.institution-switch .segmented label:hover {
  color: var(--ink);
}

.institution-tab:focus-visible + label {
  outline: 2px solid var(--deep);
  outline-offset: 2px;
}

.institution-tab:checked + label {
  background: #fff;
  color: var(--deep);
  box-shadow: 0 2px 8px -2px rgba(6, 44, 53, 0.25);
}

.institution-switch:has(#institution-fd:checked) #institution-savings-panel,
.institution-switch:has(#institution-savings:checked) #institution-fd-panel {
  display: none;
}

.institution-products {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.institution-card h2 a,
.institution-card h2 a:visited {
  color: inherit;
  text-decoration: none;
}

.institution-card h2 a:hover,
.institution-card h2 a:focus-visible {
  text-decoration: underline;
}

.institution-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.institution-card li {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

.institution-notes {
  margin-top: 0.65rem;
}

.institution-empty {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.about-card h2 {
  margin-bottom: 0.75rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep);
}

.about-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
}

.about-steps li {
  display: flex;
  gap: 0.65rem;
}

.about-step-no {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.5rem;
  background: var(--glow);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--deep);
}

.about-steps h3 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}

.about-steps p,
.about-terms dd,
.about-notes li,
.about-muted {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

.about-steps p {
  margin-top: 0.15rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.about-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-terms {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.about-terms dt {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
}

.about-banks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}

.about-banks li {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6f9f8;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--deep);
}

.about-notes {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-left: 1.1rem;
}

.about-notes li::marker {
  color: var(--accent);
}

@media (max-width: 760px) {
  .about-steps,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    padding: 1.35rem 1.25rem;
  }
}
