@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2-variations"), url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #011a39;
  --ink-2: #0a2a52;
  --ink-3: #163a69;
  --blue: #3b5ac6;
  --blue-soft: #6f8beb;
  --amber: #e6a826;
  --green: #2f7d5b;
  --paper: #f7f3ec;
  --paper-2: #efe9de;
  --paper-3: #e6dfd1;
  --card: #fcfaf6;
  --text: #0e1b2e;
  --muted: #535d6f;
  --faint: #7d8494;
  --line: rgba(1, 26, 57, 0.12);
  --line-strong: rgba(1, 26, 57, 0.24);
  --on-ink: #eef1f6;
  --on-ink-muted: #a9b4c7;
  --line-ink: rgba(238, 241, 246, 0.14);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 10px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.022em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 6px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-size: 0.86em;
  letter-spacing: 0;
  font-feature-settings: normal;
}

.num {
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.eyebrow span + span::before {
  content: "/";
  margin-right: 14px;
  color: var(--line-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15.5px;
  font-weight: 560;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--ink {
  background: var(--ink);
  color: var(--on-ink);
}

.btn--ink:hover {
  background: var(--ink-3);
}

.btn--line {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.btn--line:hover {
  border-color: var(--ink);
  background: rgba(1, 26, 57, 0.04);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: #fff8ec;
}

.btn .arrow {
  transition: transform 0.2s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(247, 243, 236, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand__logo {
  width: auto;
  height: 22px;
}

.footer-logo {
  width: auto;
  height: 14px;
  margin-right: 16px;
  color: var(--on-ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.nav a:hover {
  color: var(--ink);
  background: rgba(1, 26, 57, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
}

.lang:hover {
  color: var(--ink);
  background: rgba(1, 26, 57, 0.05);
}

.header-actions .btn {
  height: 38px;
  padding: 0 14px;
  font-size: 14.5px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.hero {
  padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.03;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero__lede {
  margin-top: 24px;
  max-width: 34em;
  font-size: clamp(17px, 1.5vw, 19.5px);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.receipt {
  position: relative;
  max-width: 400px;
  margin-left: auto;
  padding: 26px 26px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 1px 0 rgba(1, 26, 57, 0.04), 0 24px 48px -24px rgba(1, 26, 57, 0.28);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text);
  transform: rotate(1.2deg);
  margin-bottom: 92px;
}

.receipt::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -10px;
  height: 10px;
  background: linear-gradient(-45deg, transparent 6px, var(--card) 6px) 0 0 / 12px 10px repeat-x, linear-gradient(45deg, transparent 6px, var(--card) 6px) 0 0 / 12px 10px repeat-x;
  filter: drop-shadow(0 1px 0 var(--line));
}

.receipt__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-strong);
}

.receipt__head b {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.receipt__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 3px 0;
}

.receipt__row span:first-child {
  color: var(--faint);
}

.receipt__lines {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-strong);
}

.receipt__row--head {
  padding-bottom: 6px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.receipt__row--head span:last-child {
  color: var(--faint);
}

.receipt__lines--sums .receipt__row span:last-child {
  color: var(--muted);
}

.receipt__total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 16px;
  border-bottom: 1px dashed var(--line-strong);
}

.receipt__codes {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  padding-top: 14px;
}

.receipt__code {
  display: block;
  color: var(--faint);
  font-size: 11px;
}

.receipt__code + .receipt__code {
  margin-top: 8px;
}

.receipt__code b {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-size: 11.5px;
  word-break: break-all;
}

.receipt__qr {
  width: 76px;
  height: 76px;
  color: var(--ink);
}

.receipt__stamp {
  position: absolute;
  top: -14px;
  right: 22px;
  padding: 5px 10px;
  border: 1.5px solid var(--green);
  border-radius: 4px;
  color: var(--green);
  background: var(--card);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(-6deg);
}

.figures {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.figures .wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.figure {
  padding: 32px 24px 30px;
  border-left: 1px solid var(--line);
}

.figure:first-child {
  border-left: 0;
  padding-left: 0;
}

.figure__value {
  display: block;
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.figure__label {
  display: block;
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.4;
}

.section {
  padding: clamp(72px, 10vw, 136px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head__index {
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
}

.section-head h2 {
  max-width: 20em;
  font-size: clamp(30px, 3.8vw, 46px);
  color: var(--ink);
}

.section-head p {
  max-width: 38em;
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
}

.path {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.path__stage {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.doc {
  position: relative;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -32px rgba(1, 26, 57, 0.35);
  font-family: var(--mono);
  font-size: 12.5px;
}

.doc__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.doc__title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 620;
  color: var(--ink);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.doc[data-tone="green"] .status {
  background: rgba(47, 125, 91, 0.12);
  color: var(--green);
}

.doc[data-tone="blue"] .status {
  background: rgba(59, 90, 198, 0.12);
  color: var(--blue);
}

.doc[data-tone="amber"] .status {
  background: rgba(230, 168, 38, 0.16);
  color: #8a5d00;
}

.doc__fields {
  display: grid;
  gap: 2px;
}

.field {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 6px 8px;
  margin: 0 -8px;
  border-radius: 6px;
  transition: background-color 0.35s var(--ease), opacity 0.35s var(--ease);
}

.field dt {
  color: var(--faint);
}

.field dd {
  margin: 0;
  min-width: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.field--code dd {
  color: var(--ink);
  font-weight: 500;
}

.field[data-from] {
  opacity: 0.32;
}

.field[data-from] dd .val {
  display: none;
}

.field[data-from] dd .pending {
  color: var(--faint);
}

.field.is-on {
  opacity: 1;
}

.field.is-on dd .val {
  display: inline;
}

.field.is-on dd .pending {
  display: none;
}

.field.is-new {
  background: rgba(59, 90, 198, 0.09);
}

[data-show][hidden] {
  display: none;
}

.field .ok {
  color: var(--green);
}

.field .warn {
  color: #8a5d00;
}

.ask {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  opacity: 0.32;
  transition: opacity 0.35s var(--ease);
}

.ask.is-on {
  opacity: 1;
}

.ask__q,
.ask__a {
  max-width: 88%;
  padding: 8px 12px;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
}

.ask__q {
  justify-self: end;
  background: var(--ink);
  color: var(--on-ink);
  border-bottom-right-radius: 4px;
}

.ask__a {
  justify-self: start;
  background: var(--paper-2);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.ask:not(.is-on) .ask__a {
  visibility: hidden;
}

.chips {
  position: absolute;
  left: -44px;
  bottom: -90px;
  display: grid;
  gap: 8px;
  transform: rotate(-1.2deg);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--sans);
  font-size: 12.5px;
  box-shadow: 0 12px 24px -12px rgba(1, 26, 57, 0.5);
}

.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--chip, #6f8beb);
}

.chip--amber {
  --chip: var(--amber);
}

.chip--green {
  --chip: #5fc79a;
}

.segments {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--on-ink-muted);
}

.segments b {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--blue-soft);
}

.stage-caption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 56vh;
  padding: 0 0 48px 56px;
  border-left: 1px solid var(--line);
  margin-left: 14px;
  opacity: 0.45;
  transition: opacity 0.4s var(--ease);
}

.step:last-child {
  min-height: auto;
  padding-bottom: 0;
}

.step.is-active {
  opacity: 1;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: -15px;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.step.is-active::before {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}

.step h3 {
  padding-top: 2px;
  font-size: clamp(22px, 2.3vw, 28px);
  color: var(--ink);
}

.step__time {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--blue);
}

.step p {
  margin-top: 12px;
  max-width: 32em;
  color: var(--muted);
}

.step__term {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
}

.step__ours {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  max-width: 32em;
  font-size: 15px;
  color: var(--text);
}

.step__ours b {
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  padding-top: 2px;
}

.plate {
  background: var(--ink);
  color: var(--on-ink);
}

.plate .section-head__index {
  color: var(--on-ink-muted);
}

.plate .section-head h2 {
  color: #fff;
}

.plate .section-head p {
  color: var(--on-ink-muted);
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
}

.product__logo {
  width: 190px;
  height: auto;
}

.product__intro p {
  margin-top: 24px;
  font-size: 18px;
  color: var(--on-ink-muted);
  max-width: 28em;
}

.product__intro p strong {
  color: var(--on-ink);
  font-weight: 560;
}

.product__intro .btn {
  margin-top: 32px;
}

.modules {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-ink);
}

.modules li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-ink);
}

.modules .mono {
  padding-top: 3px;
  color: var(--blue-soft);
}

.modules b {
  display: block;
  font-weight: 600;
  color: #fff;
}

.modules span:not(.mono) {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--on-ink-muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-left: 144px;
}

.principle {
  padding: 32px 40px 36px 0;
  border-bottom: 1px solid var(--line);
}

.principle:nth-child(even) {
  padding-left: 40px;
  padding-right: 0;
  border-left: 1px solid var(--line);
}

.principle h3 {
  font-size: 21px;
  color: var(--ink);
}

.principle p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 30em;
}

.principle .mono {
  display: block;
  margin-bottom: 14px;
  color: var(--faint);
}

.partners {
  background: var(--paper-2);
}

.partner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  margin-left: 144px;
}

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

.partner-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
}

.partner-list li:first-child {
  border-top: 1px solid var(--line);
}

.partner-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 24px;
  width: 12px;
  height: 7px;
  border-left: 1.5px solid var(--blue);
  border-bottom: 1.5px solid var(--blue);
  transform: rotate(-45deg);
}

.partner-cta {
  align-self: start;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.partner-cta h3 {
  font-size: 24px;
  color: var(--ink);
}

.partner-cta p {
  margin-top: 12px;
  color: var(--muted);
}

.partner-cta .btn {
  margin-top: 24px;
}

.company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  margin-left: 144px;
}

.company__text p {
  color: var(--muted);
  font-size: 18px;
}

.company__text p + p {
  margin-top: 18px;
}

.company__text strong {
  color: var(--text);
  font-weight: 560;
}

.ledger {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.ledger div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.ledger dt {
  color: var(--faint);
  font-size: 14.5px;
}

.ledger dd {
  margin: 0;
  color: var(--ink);
  font-weight: 520;
}

.contact {
  padding: clamp(72px, 10vw, 128px) 0;
}

.contact .eyebrow {
  color: var(--on-ink-muted);
}

.contact h2 {
  margin-top: 20px;
  max-width: 14em;
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -0.035em;
  color: #fff;
}

.contact__lede {
  margin-top: 20px;
  max-width: 34em;
  font-size: 18px;
  color: var(--on-ink-muted);
}

.channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line-ink);
}

.channel {
  display: block;
  padding: 24px 24px 26px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line-ink);
}

.channel + .channel {
  padding-left: 24px;
  border-left: 1px solid var(--line-ink);
}

.channel .mono {
  display: block;
  color: var(--on-ink-muted);
  font-size: 12px;
}

.channel b {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 560;
  color: #fff;
  overflow-wrap: anywhere;
}

a.channel b {
  text-decoration: underline;
  text-decoration-color: rgba(238, 241, 246, 0.3);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s var(--ease);
}

a.channel:hover b {
  text-decoration-color: #fff;
}

.site-footer {
  padding: 28px 0 36px;
  background: var(--ink);
  color: var(--on-ink-muted);
  font-size: 14px;
  border-top: 1px solid var(--line-ink);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-footer a {
  color: var(--on-ink-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.legal span + span::before {
  content: "/";
  margin-right: 14px;
  opacity: 0.4;
}

.prose {
  max-width: 720px;
  padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}

.prose h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 4.4vw, 50px);
  color: var(--ink);
}

.prose h2 {
  margin: 44px 0 12px;
  font-size: 22px;
  color: var(--ink);
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose p + p {
  margin-top: 14px;
}

.prose ul {
  padding-left: 20px;
}

.prose li + li {
  margin-top: 6px;
}

.prose a {
  color: var(--blue);
}

.notfound {
  min-height: calc(100vh - var(--header-h) - 90px);
  display: grid;
  align-content: center;
}

.notfound .mono {
  color: var(--faint);
}

.notfound h1 {
  margin-top: 16px;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--ink);
}

.notfound p {
  margin-top: 16px;
  max-width: 30em;
  color: var(--muted);
}

.notfound .btn {
  margin-top: 32px;
  justify-self: start;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.is-loaded .reveal {
  opacity: 1;
  transform: none;
}

.is-loaded .reveal--2 {
  transition-delay: 0.12s;
}

@media (max-width: 1020px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .principles,
  .partner-grid,
  .company {
    margin-left: 0;
  }

  .channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 880px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 17px;
    color: var(--ink);
  }

  .nav a:hover {
    background: transparent;
  }

  .menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

  .hero .wrap,
  .product {
    grid-template-columns: 1fr;
  }

  .receipt {
    margin: 0 auto 92px;
  }

  .figures .wrap {
    grid-template-columns: 1fr;
  }

  .figure,
  .figure:first-child {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 20px 0;
    border-left: 0;
  }

  .figure + .figure {
    border-top: 1px solid var(--line);
  }

  .figure__label {
    margin-top: 0;
  }

  .path {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .path__stage {
    top: var(--header-h);
    z-index: 5;
    margin: 0 calc(var(--gutter) * -1);
    padding: 12px var(--gutter) 16px;
    background: linear-gradient(var(--paper) 88%, rgba(247, 243, 236, 0));
  }

  .doc {
    padding: 14px 16px;
    font-size: 11.5px;
  }

  .doc__bar {
    padding-bottom: 10px;
    margin-bottom: 8px;
  }

  .field {
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 3px 8px;
  }

  .field--lite {
    display: none;
  }

  .ask {
    margin-top: 8px;
    padding-top: 10px;
  }

  .ask__q,
  .ask__a {
    font-size: 12px;
    padding: 6px 10px;
  }

  .stage-caption {
    display: none;
  }

  .steps {
    padding-top: 24px;
  }

  .step {
    min-height: 62vh;
    padding-left: 36px;
  }

  .principles,
  .partner-grid,
  .company {
    grid-template-columns: 1fr;
  }

  .principle,
  .principle:nth-child(even) {
    padding: 28px 0;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .header-actions .lang {
    padding: 8px 6px;
  }

  .channels {
    grid-template-columns: 1fr;
  }

  .channel,
  .channel + .channel {
    padding-left: 0;
    border-left: 0;
  }

  .ledger div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .receipt {
    transform: none;
  }

  .receipt__stamp {
    right: 10px;
  }

  .chips {
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .path__stage,
  .chips,
  .menu-toggle {
    display: none;
  }

  .step {
    opacity: 1;
    min-height: 0;
  }
}
