@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/montserrat.ttf") format("truetype");
}
:root {
  --brand-teal: #4395a6;
  --brand-gold: #f7bd3d;
  --brand-ink: #101b1e;
  --brand-font: Montserrat, "Segoe UI", sans-serif;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-family: var(--brand-font);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.4px;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.wordmark img {
  margin-right: 8px;
}
.wordmark span {
  color: #72becb;
}
.wordmark small {
  align-self: flex-end;
  font-size: 11px;
  color: #98a9ae;
  letter-spacing: 0;
  margin: 0 0 2px 3px;
}
.wordmark:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 5px;
}
/* The calculator uses the homepage's type family, including labels and numeric controls. */
.calculator-page {
  --mono: var(--brand-font);
  --muted2: #91a5ad;
  --text: #f5f7f7;
  background-image: radial-gradient(900px 500px at 90% 0, #4395a60d, transparent 65%);
  -webkit-font-smoothing: antialiased;
}
.calculator-page .app-header {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.app-header .brand-home {
  margin: 0;
}
.calculator-page :is(table, input, select) {
  font-variant-numeric: tabular-nums;
}
.calculator-page a:not(.wordmark) {
  color: #84c7d2;
}
.calculator-page .card h2 {
  font-weight: 700;
  letter-spacing: 0.09em;
}
@media (max-width: 400px) {
  .app-header .wordmark {
    font-size: 23px;
  }
  .app-header .brand-home {
    font-size: 10px;
  }
}
body:not(.homepage) {
  --bg: #10191c;
  --surface: #172327;
  --surface2: #1e2d33;
  --line: #304249;
  --accent: #f7bd3d;
  --accent-dim: #39321e;
  --muted: #a0b1b8;
  --display: var(--brand-font);
  --body: var(--brand-font);
  font-family: var(--brand-font);
}
.brand-home {
  display: inline-block;
  margin: 0 0 18px;
  color: #84c7d2;
  font: 600 12px var(--brand-font);
  text-decoration: none;
}
.brand-home:hover {
  text-decoration: underline;
}
.brand-home:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 5px;
}
.tool-page {
  background: #10191c;
}
.tool-page a {
  color: #83c5d1;
}
.tool-page section,
.tool-page article {
  background: #17272c;
}
.tool-page button {
  background: #286b79;
}
.tool-page :focus-visible {
  outline-color: #f7bd3d;
}
