:root {
  --ink: #172d4a;
  --blue: #254775;
  --muted: #536474;
  --line: #c6d0d8;
  --bg: #f6f8f8;
  --gold: #ffe18d;
  --sea: #206957;
  font:
    16px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 0.64em 1em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: 650;
}
button.alt,
.button.alt {
  color: var(--ink);
  background: transparent;
  border-color: #8293a3;
}
button:hover,
.button:hover {
  filter: brightness(1.15);
}
:focus-visible {
  outline: 3px solid #ca7515;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -1000px;
}
.skip:focus {
  left: 12px;
  background: white;
  z-index: 5;
}
header,
footer,
.wrap {
  width: min(1280px, 92%);
  margin: auto;
}
header,
footer,
.links,
.actions,
.bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
header {
  min-height: 82px;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.23rem;
  font-weight: 750;
  letter-spacing: -0.045em;
}
.brand img {
  width: 35px;
  height: 35px;
}
.links a,
footer a {
  font-weight: 550;
  text-decoration: none;
}
.links a:hover,
footer a:hover {
  text-decoration: underline;
}
.lang {
  background: none;
  color: var(--ink);
  border: 0;
  padding: 8px;
}
.hero {
  background: #192f50;
  color: #f7f7f2;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero article {
  padding: clamp(28px, 4.2vw, 70px);
  align-self: center;
}
.eyebrow,
small.tag,
.index {
  font:
    650 0.73rem/1.5 ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.105em;
}
.hero .eyebrow,
.hero em {
  color: var(--gold);
}
h1,
h2,
h3,
p {
  margin: 0 0 0.65em;
}
h1,
h2 {
  letter-spacing: -0.062em;
  line-height: 1.04;
}
h1 {
  font-size: clamp(2.9rem, 5.6vw, 5.65rem);
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.3rem);
}
h3 {
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.hero em {
  font-style: normal;
}
.hero p {
  max-width: 38em;
  color: #e1e8ef;
}
.hero figure {
  min-height: 300px;
  background: #213a5d url(/round.svg) center/cover no-repeat;
  margin: 0;
  position: relative;
}
.hero figcaption {
  position: absolute;
  bottom: 18px;
  left: 22px;
  color: white;
  font:
    12px ui-monospace,
    monospace;
  letter-spacing: 0.08em;
}
.hero .button {
  background: var(--gold);
  color: var(--ink);
  border-color: transparent;
}
.hero .textlink {
  color: white;
}
.actions {
  margin-top: 18px;
}
.section {
  padding: clamp(32px, 5vw, 72px) 0;
}
.split,
.cards,
.grid,
.fields {
  display: grid;
  gap: 20px;
}
.split {
  grid-template-columns: 0.8fr 1.2fr;
}
.cards {
  grid-template-columns: repeat(3, 1fr);
}
.card,
.panel,
.sheet {
  padding: clamp(18px, 2.2vw, 34px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.card .index {
  display: block;
  color: #526b81;
  margin-bottom: 26px;
}
.panel {
  margin: 16px 0;
}
.bar {
  justify-content: space-between;
}
.intro {
  padding: 36px 0 12px;
  max-width: 880px;
}
.intro h1 {
  font-size: clamp(2.3rem, 4.2vw, 4.5rem);
}
.grid,
.fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wide {
  grid-column: 1/-1;
}
label {
  display: grid;
  gap: 5px;
  font-weight: 600;
  font-size: 0.91rem;
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #8798a7;
  background: #fff;
  color: var(--ink);
  border-radius: 5px;
}
textarea {
  min-height: 82px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check input {
  width: auto;
}
.muted {
  color: var(--muted);
}
.chip {
  display: inline-block;
  background: #e8f2ee;
  color: #205e50;
  border-radius: 4px;
  padding: 0.22em 0.6em;
  font-size: 0.82rem;
}
.ledger {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.ledger article,
.row {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}
.tabs button {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.tabs [aria-current="true"] {
  background: var(--ink);
  color: white;
}
.key {
  overflow-wrap: anywhere;
  user-select: all;
  background: #eef1f4;
  padding: 8px;
}
.notice {
  padding: 12px;
  background: #fff1c9;
  border-radius: 6px;
}
.notice:empty {
  display: none;
}
details {
  margin: 10px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 24px 0 38px;
  font-size: 0.9rem;
}
footer .brand {
  margin-right: auto;
}
main {
  min-height: 65vh;
}
.card p:last-child {
  margin-bottom: 0;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.metric {
  font-weight: 700;
  font-size: 1.5rem;
}
.mini {
  font-size: 0.87rem;
}
.actions a {
  font-weight: 600;
}
.cards .card:nth-child(2) {
  background: #e8eef5;
}
.cards .card:nth-child(3) {
  background: #eef2e6;
}
@media (max-width: 800px) {
  header {
    padding: 12px 0;
    gap: 6px;
  }
  .links,
  .actions {
    gap: 10px;
  }
  .hero,
  .split {
    grid-template-columns: 1fr;
  }
  .hero figure {
    min-height: 250px;
    background-size: contain;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .links {
    font-size: 0.87rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .fields {
    grid-template-columns: 1fr;
  }
  header nav.links {
    order: 3;
    width: 100%;
  }
  .hero article {
    padding: 26px;
  }
  .hero figure {
    min-height: 220px;
  }
  .bar {
    align-items: flex-start;
  }
  header .button {
    padding: 0.45em 0.65em;
  }
}
.plan-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.plan-card h2 {
  margin: 0 0 0.6rem;
}
.plan-card strong {
  font-size: 1.35rem;
}
.plan-card .button {
  margin-top: auto;
}
