/* Literata for headings and figures, Onest for text. Both are variable and served from this site.
   The Latin side of each family is cut by purpose (scripts/build/font-ranges.json, scripts/build/fonts.py):
   a Russian screen loads the small punctuation and figures files, and the big Latin letters file only when
   Latin letters appear (Literata: letters, punctuation, figures; Onest is not cut). The space and the no-break
   space come from the Cyrillic files (they hold these glyphs). The ranges of one family and style never overlap. */
@font-face {
  font-family: Literata;
  src: url('/assets/fonts/literata-latin.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  size-adjust: 82%;
  font-display: swap;
  unicode-range: U+0041-005A, U+0061-007A, U+00AA, U+00B5, U+00BA, U+00C0-00D6, U+00D8-00F6, U+00F8-024F, U+02BB-02BC, U+02C6;
}
@font-face {
  font-family: Literata;
  src: url('/assets/fonts/literata-punct.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  size-adjust: 82%;
  font-display: swap;
  unicode-range: U+0021-0023, U+0025-002A, U+002C-002F, U+003A-003B, U+003F-0040, U+005B-0060, U+007B, U+007D, U+00A1, U+00A6-00A9, U+00AB, U+00AD-00B0, U+00B4, U+00B6-00B8, U+00BB, U+00BF, U+02DA, U+02DC, U+2009, U+200B, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2122;
}
@font-face {
  font-family: Literata;
  src: url('/assets/fonts/literata-figures.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  size-adjust: 82%;
  font-display: swap;
  unicode-range: U+0024, U+002B, U+0030-0039, U+003C-003E, U+007C, U+007E, U+00A2-00A5, U+00AC, U+00B1-00B3, U+00B9, U+00BC-00BE, U+00D7, U+00F7, U+2044, U+20AC, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: Literata;
  src: url('/assets/fonts/literata-cyrillic.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  size-adjust: 82%;
  font-display: swap;
  unicode-range: U+0020, U+00A0, U+0301, U+0400-052F, U+2116;
}
@font-face {
  font-family: Literata;
  src: url('/assets/fonts/literata-latin-italic.woff2') format('woff2');
  font-weight: 200 900;
  font-style: italic;
  size-adjust: 82%;
  font-display: swap;
  unicode-range: U+0021-007E, U+00A1-024F, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2009, U+200B, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: Literata;
  src: url('/assets/fonts/literata-cyrillic-italic.woff2') format('woff2');
  font-weight: 200 900;
  font-style: italic;
  size-adjust: 82%;
  font-display: swap;
  unicode-range: U+0020, U+00A0, U+0301, U+0400-052F, U+2116;
}
@font-face {
  font-family: Onest;
  src: url('/assets/fonts/onest-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0021-007E, U+00A1-024F, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2009, U+200B, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: Onest;
  src: url('/assets/fonts/onest-cyrillic.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0020, U+00A0, U+0301, U+0400-052F, U+2116;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
svg {
  vertical-align: middle;
  flex-shrink: 0;
}
img,
canvas {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.012em;
}
h2 {
  font-size: clamp(46px, 6vw, 88px);
}
h3 {
  font-size: 32px;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.muted {
  color: var(--muted);
}
.bookmark {
  width: 17px;
  height: 27px;
  display: inline-block;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}
.wordmark {
  font: 600 46px/0.9 var(--serif);
  font-variant-numeric: lining-nums;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}
.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 25px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--lime);
  color: #14261e;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button.text-button {
  min-height: 44px;
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
}
.button:disabled {
  opacity: 0.7;
}
.button svg {
  width: 20px;
  height: 20px;
}
.arrow {
  font-size: 23px;
  line-height: 1;
}
.field {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
}
.field label,
.field > span {
  font-size: 14px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  min-width: 0;
  width: 100%;
  padding: 15px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  outline-offset: 4px;
}
.field textarea {
  resize: vertical;
  min-height: 108px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.feedback {
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  background: var(--surface);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.error {
  border-color: var(--red);
  color: var(--red);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 22px 0;
  font-size: 17px;
  line-height: 1.5;
}
.faq-plus {
  font-size: 26px;
  font-weight: 400;
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
}
.faq-answer > div {
  overflow: hidden;
}
.faq-answer p {
  padding: 0 36px 22px 0;
  color: var(--muted);
  max-width: 640px;
}
.faq-item[data-open='true'] .faq-answer {
  grid-template-rows: 1fr;
}
.faq-item[data-open='true'] .faq-plus {
  transform: rotate(45deg);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px;
  background: var(--lime);
  color: #14261e;
}
.skip-link:focus {
  transform: none;
}
::selection {
  background: var(--gold-light);
  color: #14261e;
}
@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .button {
    gap: 14px;
    padding-inline: 20px;
  }
  .wordmark {
    font-size: 40px;
  }
}

/* Lining figures everywhere: prices and dates line up with capitals. */
html { font-variant-numeric: lining-nums; }
/* A `font:` shorthand resets it, so every serif shorthand below repeats lining-nums. */
