
:root {
  --orange: #EB3C24;
  --rust: #A42A19;
  --tint: #FDECE9;
  --hairline: #FACEC8;
  --ink: #333333;
  --slate: #666666;
  --mist: #BBBBBB;
  --panel: #F4F4F4;
  --paper: #FFFFFF;

  --night: #161412;
  --graphite: #211E1B;
  --field-rule: #767069;
  --caption: #A8A19A;
  --body-night: #C9C3BD;
  --alert: #FF7A63;
  --ember: #FF5A40;
  --legal-3: #767676;
  --heading: #1A1715;

  --f-display: 'Jost', 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
  --f-mono: 'IBM Plex Mono', 'Consolas', 'SF Mono', Menlo, monospace;
  --f-serif: 'Source Serif 4', Georgia, serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-mono); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
em, i, cite, address { font-style: normal; }
a { color: var(--rust); text-decoration: none; }
a:hover { color: var(--orange); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--night); color: #fff; padding: 12px 16px; z-index: 10; }
.skip:focus { left: 8px; }

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

.label, .field__label, .register dt, .received__label, .received__ref dt {
  font-family: var(--f-display); font-weight: 600; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
}
.label { margin: 0 0 28px; font-size: 12px; letter-spacing: 0.42em; color: var(--rust); }
.accent { color: var(--orange); }

.masthead { padding-top: 32px; }
.masthead__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--hairline); }
.nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-family: var(--f-display); font-weight: 500; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; }
.nav a { color: var(--ink); padding: 12px 0; }
.nav a:hover { color: var(--rust); }
.lockup { display: flex; align-items: center; gap: 10px; color: var(--orange); }
.lockup span { font-family: var(--f-display); font-weight: 500; font-size: 26px; letter-spacing: 0.01em; line-height: 1; }

.hero { display: flex; flex-wrap: wrap; gap: 56px 64px; align-items: flex-end; padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero__text { flex: 999 1 560px; min-width: 0; }
.hero__title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -0.015em; color: var(--heading); }
.hero__lede { margin: 36px 0 0; max-width: 34em; color: #555555; }
.hero__figure { flex: 1 1 380px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.hero__figure svg { width: 100%; height: auto; display: block; }
.hero__figure figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 11px; letter-spacing: 0.06em; color: var(--slate); }

.section { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
#practice.section { padding-top: 0; }
.section__grid { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.section__grid--ruled { padding-top: 28px; border-top: 2px solid var(--orange); }
.section__head { flex: 1 1 260px; min-width: 0; }
.section__num { margin: 0; font-family: var(--f-display); font-size: 13px; letter-spacing: 0.06em; color: var(--rust); }
.section__num--night { color: var(--orange); }
.section__title { margin: 6px 0 0; font-family: var(--f-display); font-weight: 500; font-size: 32px; line-height: 1.15; color: var(--orange); }
.section__intro { margin: 16px 0 0; max-width: 22em; color: #555555; }
.section__title--night { color: #FFFFFF; margin-top: -14px; }

.register { flex: 999 1 560px; min-width: 0; margin: 0; }
.register > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.register dt { flex: 0 0 220px; color: var(--rust); padding-top: 4px; }
.register dd { flex: 1 1 260px; margin: 0; }

.band--panel { background: var(--panel); }
.band--night { background: var(--night); color: #E8E4DF; }

.terms { flex: 999 1 560px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.terms li { display: flex; gap: 20px; padding: 22px 0 26px; border-top: 1px solid var(--mist); }
.terms__k { font-family: var(--f-display); font-weight: 500; color: var(--heading); }
.terms__n { flex: none; width: 24px; font-family: var(--f-display); font-size: 13px; color: var(--rust); }
@media (max-width: 720px) { .terms { grid-template-columns: minmax(0, 1fr); } }

.hatch { height: 12px; background: repeating-linear-gradient(-45deg, var(--orange) 0 6px, var(--paper) 6px 12px); }

.submission__intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.submission__intro p { margin: 0; color: var(--body-night); }
.submission__intro .section__num { color: var(--orange); }
.submission__body { flex: 999 1 560px; min-width: 0; }

.form { display: flex; flex-direction: column; gap: 28px; }
.form__row { display: flex; flex-wrap: wrap; gap: 28px 24px; }
.form__row > .field { flex: 1 1 260px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { color: var(--orange); padding: 0; }
legend.field__label { margin-bottom: 10px; }
.field__opt { color: #948E88; letter-spacing: 0.12em; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.field__count { font-size: 12px; color: var(--caption); }
.field__note { margin: 0; font-size: 13px; color: var(--caption); }
.field__error { margin: 0; font-size: 13px; color: var(--alert); }
.field__error--indent { margin-left: 34px; }
.field__note--indent { margin: 10px 0 0 34px; }
.band--night a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.band--night a:hover { color: var(--ember); }
.footer__copy a { color: var(--slate); text-decoration: underline; text-underline-offset: 3px; }
.footer__copy a:hover { color: var(--rust); }

.input { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--graphite); border: 1px solid var(--field-rule); border-radius: 2px; color: #F4F4F4; font: inherit; font-size: 15px; line-height: 1.5; outline: none; }
.input:focus { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); outline: none; }
.input::placeholder { color: #948E88; }
.input[aria-invalid="true"] { border-color: var(--alert); }
.input--area { min-height: 168px; resize: vertical; }
.input--short { min-height: 96px; resize: vertical; }
.input--select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--field-rule); }
.seg__opt { position: relative; display: block; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px; color: var(--body-night); font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.seg__opt + .seg__opt span { border-left: 1px solid #3D3935; }
.seg__opt input:checked + span { background: var(--orange); color: var(--night); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (max-width: 420px) { .seg__opt span { letter-spacing: 0.08em; } }
@media (max-width: 640px) {
  .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg__opt:nth-child(3) span { border-left: 0; }
  .seg__opt:nth-child(n+3) span { border-top: 1px solid #3D3935; }
}

.check { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--body-night); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--orange); }

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

.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid #3D3935; }
.btn { min-height: 52px; padding: 0 32px; background: var(--orange); color: var(--night); border: 0; border-radius: 2px; font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; cursor: pointer; }
.btn:hover { background: var(--ember); }
.btn:disabled { background: #5A3A33; color: var(--body-night); cursor: progress; }
.form__error { margin-top: -8px; }

.received { display: flex; flex-direction: column; gap: 24px; padding: 40px; border: 1px solid #3D3935; border-top: 3px solid var(--orange); outline: none; }
.received p { margin: 0; color: var(--body-night); }
.received .received__label { color: var(--orange); }
.received .received__title { font-family: var(--f-display); font-size: 28px; line-height: 1.25; color: #FFFFFF; }
.received__ref { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 16px 0; border-top: 1px solid #3D3935; border-bottom: 1px solid #3D3935; }
.received__ref dt { flex: 0 0 160px; color: var(--caption); padding-top: 4px; }
.received__ref dd { margin: 0; font-size: 16px; letter-spacing: 0.04em; color: #FFFFFF; }

.footer { padding-top: 56px; padding-bottom: 48px; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.footer__mark { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 36px; }
.legal { padding-top: 12px; border-top: 1px solid var(--orange); min-width: 0; font-family: var(--f-serif); font-size: 15px; line-height: 1.45; }
.legal__blank { height: 1.45em; }
.legal--withheld { border-top-color: transparent; }
.legal__ru { color: var(--rust); }
.legal__tr { color: var(--slate); }
.legal__en { color: var(--legal-3); }
.footer__copy { margin: 0; font-size: 12px; color: var(--slate); }

[hidden] { display: none !important; }
