:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #142d2a;
  background: #edf4f1;
  font-size: 100%;
}

body { margin: 0; }

main {
  box-sizing: border-box;
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 8vw, 5.5rem) 1rem 2rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -.045em;
  line-height: 1.1;
}

header p {
  color: #415a54;
  margin: .7rem 0 1.75rem;
}

section {
  overflow: hidden;
  background: white;
  border: 1px solid #c9d8d2;
  border-radius: 1rem;
  box-shadow: 0 .5rem 2rem #133c2b0c;
}

.rates-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  padding: .95rem 1.15rem;
}

.rates-header p, #copy-status {
  color: #415a54;
  margin: 0;
  font-size: .9375rem;
}

button {
  border: 0;
  border-radius: .5rem;
  padding: .7rem .95rem;
  min-height: 2.75rem;
  color: white;
  background: #08604c;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

button:hover:enabled { background: #074c3d; }
button:focus-visible { outline: 3px solid #24846f; outline-offset: 3px; }
button:disabled { color: #4b615b; background: #e0eae6; cursor: default; }

table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th, td {
  width: 50%;
  border-top: 1px solid #e0e9e5;
  padding: .61rem 1.15rem;
  text-align: left;
}

th {
  background: #edf5f1;
  border-bottom: 1px solid #bed4ca;
  font-size: .9375rem;
}

th:last-child, td:last-child { text-align: right; }
tbody tr:nth-child(even) { background: #f8fbfa; }
#copy-status { border-top: 1px solid #e0e9e5; padding: .9rem 1.15rem; }
