:root {
  --paper: #F2F4F6;
  --panel: #FBFCFD;
  --ink: #12161C;
  --muted: #545D69;
  --rule: #C9CFD6;
  --signal: #1C3FCF;
  --on-signal: #FFFFFF;
  --wash: rgba(28, 63, 207, 0.09);
  --err: #B42318;
  --foot: #0B0D10;
  --foot-text: #E9ECEF;
  --foot-muted: #A3ABB5;
  --foot-rule: #2E343C;
  --serif: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gap: 40px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121519;
    --panel: #181C21;
    --ink: #E9ECEF;
    --muted: #A3ABB5;
    --rule: #323942;
    --signal: #8DA2FF;
    --on-signal: #0B0D10;
    --wash: rgba(141, 162, 255, 0.13);
    --err: #FF8A80;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #121519;
  --panel: #181C21;
  --ink: #E9ECEF;
  --muted: #A3ABB5;
  --rule: #323942;
  --signal: #8DA2FF;
  --on-signal: #0B0D10;
  --wash: rgba(141, 162, 255, 0.13);
  --err: #FF8A80;
  color-scheme: dark;
}

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

html {
  background: var(--foot);
  overscroll-behavior-y: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overscroll-behavior-y: none;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

.cv-main { flex: 1 0 auto; outline: none; }

:lang(fi), :lang(nl) { hyphens: auto; }
html:not([lang="en"]) h1, html:not([lang="en"]) h2, html:not([lang="en"]) h3 { hyphens: auto; }
.cv-foot { flex-shrink: 0; }

img, svg { display: block; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.cv-wrap {
  width: 100%;
  max-width: 1264px;
  margin: 0 auto;
  padding: 0 32px;
}

.cv-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.cv-skip {
  position: absolute;
  top: -120px;
  left: 12px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.cv-skip:focus { top: 12px; }

.cv-mast { position: relative; z-index: 20; }

.cv-mast__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  font-size: 13px;
}

.cv-mast__line {
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
}

.cv-mast__tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.cv-edition,
.cv-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.cv-edition { border-right: 1px solid var(--rule); }
.cv-edition:hover .cv-edition__text,
.cv-lang__btn:hover { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 5px; text-decoration-thickness: 2px; }

.cv-edition__icon { width: 18px; height: 18px; }
.cv-edition__icon--day,
.cv-edition__text--day { display: none; }

:root[data-theme="dark"] .cv-edition__icon--night,
:root[data-theme="dark"] .cv-edition__text--night { display: none; }
:root[data-theme="dark"] .cv-edition__icon--day,
:root[data-theme="dark"] .cv-edition__text--day { display: inline; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cv-edition__icon--night,
  :root:not([data-theme="light"]) .cv-edition__text--night { display: none; }
  :root:not([data-theme="light"]) .cv-edition__icon--day,
  :root:not([data-theme="light"]) .cv-edition__text--day { display: inline; }
}

.cv-lang { position: relative; }

.cv-lang__btn {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.cv-lang__btn svg { width: 10px; height: 6px; transition: transform 0.2s ease; }
.cv-lang__btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.cv-lang__list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 232px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--ink);
  border-top-width: 3px;
  box-shadow: 0 18px 40px -18px rgba(12, 16, 22, 0.35);
}
.cv-lang__list[hidden] { display: none; }

.cv-lang__list li + li { border-top: 1px solid var(--rule); }

.cv-lang__list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 15px;
}
.cv-lang__list a:hover,
.cv-lang__list a:focus-visible { background: var(--wash); outline-offset: -2px; }
.cv-lang__list a[aria-current="page"] { color: var(--signal); font-weight: 600; }
.cv-lang__code { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }

.cv-mast__title {
  display: flex;
  justify-content: center;
}


.cv-mast__name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22em;
  width: 100%;
  padding: 14px 0 12px;
  border-top: 3px solid var(--ink);
  border-bottom: 4px double var(--ink);
  font-family: var(--serif);
  font-stretch: 68%;
  font-weight: 700;
  font-size: clamp(46px, 7.2vw, 100px);
  line-height: 1;
  letter-spacing: -0.012em;
  text-decoration: none;
}

.cv-mark { width: 0.62em; height: 0.62em; flex: none; }
.cv-mark path { fill: none; stroke-width: 3.4; stroke-linecap: square; }
.cv-mark__a { stroke: var(--ink); }
.cv-mark__b { stroke: var(--signal); }

.cv-front { padding: 44px 0 96px; }

.cv-front__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  grid-template-areas:
    "head head head head head head head head slip slip slip slip"
    "lede lede lede lede lede lede lede lede slip slip slip slip"
    "fig fig fig fig fig fig fig fig slip slip slip slip";
  grid-template-rows: auto auto 1fr;
}

.cv-front__head { grid-area: head; }
.cv-front__lede { grid-area: lede; }
.cv-ledger { grid-area: fig; }
.cv-coupon { grid-area: slip; }

.cv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.cv-kicker__dot {
  width: 8px;
  height: 8px;
  background: var(--signal);
  flex: none;
}

.cv-front__h1 {
  margin: 22px 0 30px;
  font-family: var(--serif);
  font-stretch: 62.5%;
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 94px);
  line-height: 0.98;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.cv-front__lede {
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.cv-dropcap {
  columns: 2;
  column-gap: var(--gap);
  column-rule: 1px solid var(--rule);
  font-size: 17.5px;
  line-height: 1.62;
  text-align: left;
}

.cv-dropcap::first-letter {
  float: left;
  margin: 0.05em 0.1em 0 0;
  font-family: var(--serif);
  font-stretch: 80%;
  font-weight: 700;
  font-size: 4.4em;
  line-height: 0.78;
  color: var(--signal);
}

.cv-ledger {
  margin: 44px 0 0;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.cv-ledger__cap {
  padding: 12px 0 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.3;
}

.cv-ledger__head,
.cv-ledger__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 84px;
  gap: 16px;
  align-items: baseline;
}

.cv-ledger__head {
  padding: 6px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.cv-ledger__head span:last-child,
.cv-ledger__when { text-align: right; }

.cv-ledger__row { padding: 16px 10px 16px 0; }

.cv-ledger__who {
  font-family: var(--serif);
  font-stretch: 88%;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
}

.cv-ledger__what {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.cv-ledger__what svg { width: 10px; height: 10px; fill: var(--signal); flex: none; }

.cv-ledger__when {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 15px;
}

.cv-ledger__row--copy {
  background: linear-gradient(var(--wash), var(--wash)) no-repeat left center / 100% 100%;
  padding-left: 12px;
  margin-left: -12px;
}

.cv-ledger__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 4px;
}

.cv-ledger__arrow {
  width: 24px;
  height: 64px;
  flex: none;
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.6;
}
.cv-ledger__ticks { stroke: var(--rule); }

.cv-ledger__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
}

.cv-js .cv-ledger__shaft { stroke-dasharray: 58; stroke-dashoffset: 58; transition: stroke-dashoffset 0.7s cubic-bezier(0.6, 0, 0.3, 1) 0.15s; }
.cv-js .cv-ledger__tip { opacity: 0; transition: opacity 0.2s ease 0.8s; }
.cv-js .cv-ledger__row--copy { background-size: 0% 100%; transition: background-size 0.6s cubic-bezier(0.6, 0, 0.3, 1) 0.95s; }
.cv-js .cv-ledger__row--copy > span { opacity: 0.18; transition: opacity 0.4s ease 1.05s; }

.cv-js .cv-ledger.is-printed .cv-ledger__shaft { stroke-dashoffset: 0; }
.cv-js .cv-ledger.is-printed .cv-ledger__tip { opacity: 1; }
.cv-js .cv-ledger.is-printed .cv-ledger__row--copy { background-size: 100% 100%; }
.cv-js .cv-ledger.is-printed .cv-ledger__row--copy > span { opacity: 1; }

.cv-coupon {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 30px 28px 24px;
  border: 2px dashed var(--ink);
  background: var(--panel);
}

.cv-coupon__cut {
  position: absolute;
  top: -14px;
  left: 22px;
  padding: 0 6px;
  background: var(--paper);
}
.cv-coupon__cut svg,
.cv-strip__cut svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.cv-coupon__no {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  color: var(--muted);
}
.cv-coupon__no span:first-child { font-family: var(--serif); font-style: italic; font-size: 15px; }
.cv-coupon__no span:last-child { color: var(--signal); font-weight: 600; }

.cv-coupon__title {
  margin: 18px 0 6px;
  font-family: var(--serif);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.04;
}

.cv-coupon__title { hyphens: manual; }

.cv-coupon__sub { color: var(--muted); font-size: 15.5px; line-height: 1.5; }

.cv-slip { margin-top: 22px; }
.cv-slip__body { display: grid; gap: 16px; }

.cv-field { display: grid; gap: 4px; }
.cv-field__label { font-size: 13px; font-weight: 600; }
.cv-field__row { display: flex; gap: 12px; align-items: stretch; }

.cv-field__input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 2px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 18px;
  -webkit-appearance: none;
  appearance: none;
}
.cv-field__input::placeholder { color: var(--muted); opacity: 0.75; }
.cv-field__input:focus { outline: none; border-bottom-color: var(--signal); box-shadow: 0 2px 0 var(--signal); }
.cv-field__input:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.cv-field__input[aria-invalid="true"] { border-bottom-color: var(--err); }

.cv-field__err,
.cv-consent__err,
.cv-slip__fail {
  display: none;
  color: var(--err);
  font-size: 14px;
  line-height: 1.45;
}
.cv-field__err.is-on,
.cv-slip__fail.is-on { display: block; }

.cv-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.cv-consent__box {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
}
.cv-consent__box::after {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--on-signal);
  border-bottom: 2px solid var(--on-signal);
  transform: translateY(-1px) rotate(-45deg);
  opacity: 0;
}
.cv-consent__box:checked { background: var(--signal); border-color: var(--signal); }
.cv-consent__box:checked::after { opacity: 1; }

.cv-consent__text { font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.cv-consent__err { grid-column: 2; margin-top: 4px; }

.cv-consent.is-err .cv-consent__box { border-color: var(--err); box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15); }
.cv-consent.is-err .cv-consent__text { color: var(--err); }
.cv-consent.is-err .cv-consent__err { display: block; }

.cv-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.cv-btn:hover { background: var(--signal); color: var(--on-signal); }
.cv-btn:disabled { cursor: progress; opacity: 0.72; }
.cv-btn--wide { width: 100%; }

.cv-slip__ok { display: none; padding: 18px 0 6px; border-top: 3px solid var(--signal); }
.cv-slip__ok.is-on { display: block; }
.cv-slip__ok-title {
  font-family: var(--serif);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
}
.cv-slip__ok-text { margin-top: 6px; font-size: 15.5px; color: var(--muted); }

.cv-coupon__note { margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--muted); }

.cv-coupon__ticks {
  margin: 18px 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 7px;
  font-size: 14px;
}
.cv-coupon__ticks li { display: flex; gap: 10px; align-items: center; }
.cv-coupon__ticks svg,
.cv-index__tick {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: var(--signal);
  stroke-width: 2;
}

.cv-coupon__fine {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.cv-sect { padding: 88px 0; }
.cv-sect--tint {
  background: var(--panel);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.cv-sect__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  column-gap: var(--gap);
  align-items: baseline;
  margin-bottom: 52px;
  padding-top: 16px;
  border-top: 3px solid var(--ink);
}

.cv-sect__rail {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.3;
  color: var(--signal);
}

.cv-sect__title {
  font-family: var(--serif);
  font-stretch: 78%;
  font-weight: 650;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

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

.cv-cols__item { padding: 4px 32px 8px; border-left: 1px solid var(--rule); }
.cv-cols__item:first-child { padding-left: 0; border-left: 0; }
.cv-cols__item:last-child { padding-right: 0; }
.cv-cols__item p { font-size: 16.5px; line-height: 1.65; }

.cv-cols__glyph {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.cv-cols__title {
  margin: 18px 0 10px;
  font-family: var(--serif);
  font-stretch: 86%;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
}

.cv-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cv-steps__item { padding-top: 10px; border-top: 1px solid var(--ink); }
.cv-steps__item p { font-size: 16.5px; line-height: 1.65; }

.cv-steps__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-stretch: 70%;
  font-weight: 400;
  font-size: 150px;
  line-height: 0.86;
  color: var(--signal);
  font-variant-numeric: lining-nums;
}

.cv-steps__title {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-stretch: 86%;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
}

.cv-index,
.cv-ask { margin-left: calc(25% + 10px); }

.cv-index {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
  border-bottom: 4px double var(--ink);
}

.cv-index__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 0;
}
.cv-index__row + .cv-index__row { border-top: 1px solid var(--rule); }

.cv-index__tick { align-self: center; }

.cv-index__lead {
  flex: 0 1 auto;
  max-width: 48%;
  font-family: var(--serif);
  font-stretch: 88%;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
}

.cv-index__dots {
  flex: 1 1 24px;
  min-width: 24px;
  border-bottom: 2px dotted var(--rule);
  transform: translateY(-5px);
}

.cv-index__rest {
  flex: 0 1 40%;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.cv-ask { border-top: 1px solid var(--ink); }
.cv-ask__item { border-bottom: 1px solid var(--rule); }
.cv-ask__item:last-child { border-bottom: 4px double var(--ink); }

.cv-ask__q { font-size: inherit; }

.cv-ask__btn {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  align-items: baseline;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-stretch: 90%;
  font-weight: 600;
  font-size: 23px;
  line-height: 1.25;
}
.cv-ask__btn:hover .cv-ask__text { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.cv-ask__mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--signal);
}

.cv-ask__sign {
  position: relative;
  width: 16px;
  height: 16px;
  align-self: center;
  justify-self: end;
}
.cv-ask__sign::before,
.cv-ask__sign::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease;
}
.cv-ask__sign::after { transform: rotate(90deg); }
.cv-ask__btn[aria-expanded="true"] .cv-ask__sign::after { transform: rotate(0deg); }

.cv-ask__a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 0 40px 26px 0;
}
.cv-ask__a[hidden] { display: none; }
.cv-ask__a .cv-ask__mark { color: var(--muted); }
.cv-ask__a p { max-width: 64ch; font-size: 17px; line-height: 1.65; }

.cv-strip {
  position: relative;
  margin-top: 8px;
  padding: 84px 0;
  border-top: 2px dashed var(--ink);
  background: var(--panel);
}

.cv-strip__cut {
  position: absolute;
  top: -14px;
  left: max(32px, calc(50% - 600px));
  padding: 0 6px;
  background: var(--paper);
}

.cv-strip__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.cv-strip__title {
  font-family: var(--serif);
  font-stretch: 72%;
  font-weight: 700;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

.cv-strip__sub { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 40ch; }

.cv-strip .cv-slip { margin-top: 0; }
.cv-strip__small { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

.cv-foot {
  background: var(--foot);
  color: var(--foot-text);
  padding: 56px 0 28px;
}

.cv-notice {
  max-width: 880px;
  padding: 22px 26px;
  border: 4px double var(--foot-muted);
}
.cv-notice__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  margin-bottom: 8px;
}
.cv-notice__text { font-size: 14.5px; line-height: 1.65; color: #C9CFD6; }

.cv-foot__name {
  margin: 56px 0 18px;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--foot-rule);
  font-family: var(--serif);
  font-stretch: 62.5%;
  font-weight: 800;
  font-size: clamp(76px, 17vw, 236px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  hyphens: none;
}

.cv-foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13.5px;
  color: var(--foot-muted);
}

.cv-foot__links { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.cv-foot__links a { color: var(--foot-text); text-underline-offset: 4px; text-decoration-color: var(--foot-muted); }
.cv-foot__links a:hover { text-decoration-color: currentColor; }
.cv-foot :focus-visible { outline-color: #8DA2FF; }

.cv-doc { padding: 56px 0 104px; }

.cv-doc__head {
  padding: 16px 0 26px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.cv-doc__title {
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-stretch: 70%;
  font-weight: 700;
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.016em;
}

.cv-doc__date { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.cv-doc__body {
  max-width: 700px;
  margin-left: calc(25% + 10px);
  padding-top: 40px;
}

.cv-doc__intro {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.45;
}

.cv-doc__part { margin-top: 44px; }

.cv-doc__h {
  position: relative;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-stretch: 86%;
  font-weight: 600;
  font-size: 27px;
  line-height: 1.2;
}

.cv-doc__sign {
  position: absolute;
  right: calc(100% + 28px);
  top: 0.12em;
  white-space: nowrap;
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  color: var(--signal);
}

.cv-doc__part p + p,
.cv-doc__part p + ul,
.cv-doc__part ul + p { margin-top: 14px; }
.cv-doc__part p,
.cv-doc__list { font-size: 17px; line-height: 1.7; }

.cv-doc__list { margin: 14px 0 0; padding-left: 22px; }
.cv-doc__list li + li { margin-top: 6px; }
.cv-doc__list li::marker { color: var(--signal); }

.cv-doc__back {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 4px double var(--ink);
}
.cv-doc__back a,
.cv-err__langs a {
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  font-weight: 600;
}

.cv-err { padding: 64px 0 104px; }

.cv-err__box {
  max-width: 780px;
  margin: 0 auto;
  padding: 36px 40px 40px;
  border: 4px double var(--ink);
  background: var(--panel);
}

.cv-err__flag {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--signal);
}

.cv-err__title {
  margin: 20px 0 22px;
  font-family: var(--serif);
  font-stretch: 70%;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
}

.cv-err__text { font-size: 17.5px; max-width: 58ch; }
.cv-err__label { margin-top: 28px; font-size: 13.5px; font-weight: 600; color: var(--muted); }

.cv-err__langs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.cv-err__langs li { border-bottom: 1px solid var(--rule); }
.cv-err__langs a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px 14px 0;
  text-decoration: none;
}
.cv-err__langs a:hover span:first-child { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 4px; }
.cv-err__code { color: var(--muted); font-size: 12px; }

.cv-js .cv-reveal { opacity: 0; transition: opacity 0.7s ease; }
.cv-js .cv-reveal.is-in { opacity: 1; }

@media (max-width: 1080px) {
  :root { --gap: 28px; }
  .cv-front__grid {
    grid-template-areas:
      "head head head head head head head slip slip slip slip slip"
      "lede lede lede lede lede lede lede slip slip slip slip slip"
      "fig fig fig fig fig fig fig slip slip slip slip slip";
  }
  .cv-dropcap { columns: 1; }
}

@media (max-width: 860px) {
  .cv-wrap { padding: 0 20px; }
  .cv-front { padding-top: 28px; }
  .cv-front__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "slip" "lede" "fig";
    grid-template-rows: auto;
  }
  .cv-front__h1 { margin-bottom: 26px; }
  .cv-coupon { position: relative; top: 0; margin-bottom: 40px; }
  .cv-sect { padding: 64px 0; }
  .cv-sect__head { grid-template-columns: minmax(0, 1fr); row-gap: 8px; margin-bottom: 36px; }
  .cv-cols { grid-template-columns: minmax(0, 1fr); }
  .cv-cols__item,
  .cv-cols__item:first-child { padding: 24px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .cv-cols__item:first-child { border-top: 0; padding-top: 0; }
  .cv-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cv-steps__num { font-size: 104px; }
  .cv-index,
  .cv-ask,
  .cv-doc__body { margin-left: 0; }
  .cv-strip { padding: 64px 0; }
  .cv-strip__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cv-doc__sign { position: static; margin-right: 10px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cv-mast__line { display: none; }
  .cv-mast__tools { margin-left: auto; margin-right: -10px; }
  .cv-mast__name { padding: 10px 0; }
  .cv-front__h1 { font-size: clamp(38px, 11vw, 52px); }
  .cv-coupon { padding: 26px 18px 20px; }
  .cv-coupon__title { font-size: 31px; }
  .cv-ledger__head { display: none; }
  .cv-ledger__row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 4px;
  }
  .cv-ledger__who { grid-column: 1 / -1; font-size: 19px; }
  .cv-ledger__when { grid-column: 2; grid-row: 2; }
  .cv-ledger__what { grid-row: 2; }
  .cv-index__row { flex-wrap: wrap; gap: 6px 12px; }
  .cv-index__lead { max-width: calc(100% - 30px); flex: 1 1 0; font-size: 20px; }
  .cv-index__dots { display: none; }
  .cv-index__rest { flex: 1 1 100%; padding-left: 30px; }
  .cv-ask__btn { grid-template-columns: 38px minmax(0, 1fr) 20px; font-size: 20px; padding: 18px 0; }
  .cv-ask__a { grid-template-columns: 38px minmax(0, 1fr); padding-right: 0; }
  .cv-field__row { flex-direction: column; }
  .cv-strip .cv-btn { width: 100%; }
  .cv-notice { padding: 18px 18px; }
  .cv-err__box { padding: 28px 20px 32px; }
  .cv-err__langs { grid-template-columns: minmax(0, 1fr); }
  .cv-doc { padding-top: 36px; }
  .cv-doc__title { font-size: 40px; }
  .cv-doc__intro { font-size: 19px; }
  .cv-doc__h { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .cv-js .cv-reveal { opacity: 1; }
  .cv-js .cv-ledger__shaft { stroke-dashoffset: 0; }
  .cv-js .cv-ledger__tip,
  .cv-js .cv-ledger__row--copy > span { opacity: 1; }
  .cv-js .cv-ledger__row--copy { background-size: 100% 100%; }
}

.cv-slip__body[hidden] { display: none; }
