:root {
  color-scheme: light;
  --text: #1c1c1c;
  --background: #fff;
  --muted: #5c5c5c;
  --rule: #d8d8d8;
  --link: #000030;
}

* { box-sizing: border-box; }

html { background: var(--background); }

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Helvetica, Arial, "Nimbus Sans", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }

.site-header, main, .site-footer {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
}

.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.site-header a { text-decoration: none; font-weight: 500; }

main { padding: 50px 0 52px; }

.symbols {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  margin-bottom: 20px;
  white-space: nowrap;
}

.balance {
  font-size: 76px;
  line-height: 1;
}

.handshake {
  font-size: 56px;
  line-height: 1;
}

h1 {
  margin: 0 0 28px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}

.license-text { max-width: 650px; font-size: 23px; line-height: 1.4; }
.license-text p { margin: 0 0 16px; }

.site-footer {
  padding: 18px 0 24px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 480px) {
  main { padding-top: 38px; }
  .symbols { min-height: 72px; gap: 14px; }
  .balance { font-size: 62px; }
  .handshake { font-size: 46px; }
  h1 { font-size: 30px; }
  .license-text { font-size: 21px; }
}
