/* ============================================================
   РОФЛЫ И КАК ИХ ПОНИМАТЬ
   Сайт-одностраничник: без сборки, без зависимостей.
   ============================================================ */

:root {
  --paper: #f1eee4;
  --paper-2: #fbf9f2;
  --ink: #11110e;
  --ink-soft: #1a1a16;
  --muted: #625f54;
  --line: rgba(17, 17, 14, 0.22);
  --lime: #d8ff3e;
  --orange: #ff5b2e;
  --white: #ffffff;
  --sans: "Helvetica Neue", "Arial", "Segoe UI", sans-serif;
  --display: "Arial Black", "Helvetica Neue", "Impact", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Palatino", "Georgia", serif;
  --mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", "Menlo", "Consolas", monospace;
  --shadow: 7px 7px 0 var(--ink);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.032;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul,
pre {
  margin: 0;
}

section[id] {
  scroll-margin-top: 82px;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 800;
}

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

.container {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- HEADER ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 13px clamp(18px, 3.5vw, 48px);
  border-bottom: 1px solid var(--ink);
  background: rgba(241, 238, 228, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand__mark {
  width: 27px;
  height: 27px;
  color: var(--ink);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand:hover .brand__mark {
  transform: rotate(90deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand__sub {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  flex: 0 0 auto;
}

.header-cta__short {
  display: none;
}

/* ---------- BUTTONS ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 21px;
  border: 2px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.015em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 0.16s ease;
}

.button:hover {
  background: var(--orange);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.button:hover svg {
  transform: translateX(3px);
}

.button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button--small {
  gap: 8px;
  padding: 10px 14px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 12px;
}

.button--small svg {
  width: 15px;
  height: 15px;
}

.button--small:hover {
  box-shadow: 5px 5px 0 var(--ink);
}

.button--ghost {
  background: var(--paper-2);
  box-shadow: 4px 4px 0 var(--ink);
}

.button--ghost:hover {
  background: var(--orange);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.text-link span {
  font-size: 16px;
  transition: transform 0.16s ease;
}

.text-link:hover {
  color: #b9340f;
  border-color: #b9340f;
}

.text-link:hover span {
  transform: translateY(3px);
}

/* ---------- HERO ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 96px) 0 clamp(52px, 6vw, 78px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--orange);
  animation: blink 2.4s ease-in-out infinite;
}

.hero__title {
  margin-left: -0.055em;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.76;
}

.hero__word {
  display: block;
  font-size: clamp(5.1rem, 13vw, 12rem);
}

.hero__sub {
  display: block;
  margin-top: 0.25em;
  font-family: var(--serif);
  font-size: clamp(2rem, 5.1vw, 4.55rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.hero__sub em {
  position: relative;
  z-index: 0;
  font-style: italic;
  white-space: nowrap;
}

.hero__sub em::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 11% -2.5% 4%;
  background: var(--lime);
  transform: rotate(-1.4deg);
}

.hero__lead {
  max-width: 570px;
  margin-top: clamp(26px, 3vw, 38px);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 30px;
}

.hero__stats {
  display: flex;
  gap: clamp(20px, 3.5vw, 42px);
  margin-top: clamp(34px, 4vw, 48px);
  padding-top: 17px;
  border-top: 1px solid var(--ink);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat dt {
  font-family: var(--display);
  font-size: clamp(23px, 2.6vw, 31px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat dd {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- FIELD CARD ---------- */

.field-card {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 385px;
  margin-right: 16px;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(2.2deg);
  animation: card-in 0.7s 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.field-card__bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 13px;
  border-bottom: 2px solid var(--ink);
  background: var(--orange);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field-card__body {
  padding: clamp(16px, 2vw, 22px);
}

.specimen {
  display: grid;
  place-items: center;
  min-height: 222px;
  padding: 18px;
  border: 2px solid var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(17, 17, 14, 0.18) 1px, transparent 0);
  background-size: 11px 11px;
}

.specimen svg {
  width: min(76%, 190px);
  filter: drop-shadow(4px 4px 0 rgba(17, 17, 14, 0.16));
}

.field-card__name {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  line-height: 1;
  text-align: center;
  letter-spacing: -0.025em;
}

.field-card__latin {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  color: var(--muted);
}

.field-card__meta {
  margin-top: 16px;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
}

.field-card__meta > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
}

.field-card__meta dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field-card__meta dd {
  text-align: right;
}

.field-card__sticker {
  position: absolute;
  right: -20px;
  bottom: 44px;
  padding: 8px 11px;
  border: 2px solid var(--ink);
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

/* ---------- TICKER ---------- */

.ticker {
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--lime);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 27s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker__group span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding: 11px 0 12px 34px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__group span::after {
  content: "✳";
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
}

/* ---------- SECTIONS ---------- */

.section {
  padding: clamp(70px, 9vw, 126px) 0;
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: clamp(38px, 5vw, 66px);
  padding-top: 11px;
  border-top: 1px solid var(--ink);
}

.section__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section__kicker > span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: var(--ink);
  color: var(--paper);
  font-size: 9px;
}

.section__aside {
  max-width: 280px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.65;
  letter-spacing: 0.055em;
  text-align: right;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.9rem, 6.6vw, 6.2rem);
  font-weight: 900;
  line-height: 0.89;
  letter-spacing: -0.055em;
}

.section-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
}

/* ---------- WHAT ---------- */

.what-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.what-copy {
  max-width: 545px;
  padding-top: 7px;
}

.what-copy p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.65;
}

.what-copy p:last-child {
  margin-bottom: 0;
}

.what-copy .lead {
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.5;
}

.what-copy strong {
  background: linear-gradient(transparent 55%, var(--lime) 55%);
  font-weight: 700;
}

.dictionary {
  margin-top: clamp(44px, 5vw, 68px);
  border: 2px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 9px 9px 0 var(--ink);
}

.dictionary__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 16px;
  border-bottom: 2px solid var(--ink);
  background: var(--orange);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.dict-item {
  min-height: 150px;
  padding: 22px;
  border-right: 1px solid var(--ink);
}

.dict-item:last-child {
  border-right: 0;
}

.dict-item__num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.dict-item p {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.dictionary__foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 16px;
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

/* ---------- TYPES ---------- */

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--dark .section__head {
  border-color: rgba(241, 238, 228, 0.34);
}

.section--dark .section__kicker > span {
  background: var(--lime);
  color: var(--ink);
}

.section--dark .section__aside {
  color: #a5a196;
}

.section--dark .section-title em {
  color: var(--lime);
}

.types-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(36px, 4vw, 54px);
}

.types-heading > p {
  max-width: 300px;
  padding-bottom: 5px;
  color: #a5a196;
  font-size: 14px;
  line-height: 1.55;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 315px;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid #3b3a33;
  background: #171714;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.type-card:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--orange);
  transform: translateY(-4px);
}

.type-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a5a196;
}

.type-card:hover .type-card__top {
  color: rgba(17, 17, 14, 0.62);
}

.type-card__ghost {
  position: absolute;
  top: 34px;
  right: 17px;
  font-family: var(--display);
  font-size: clamp(78px, 9vw, 126px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(241, 238, 228, 0.05);
  transition: color 0.2s ease;
}

.type-card:hover .type-card__ghost {
  color: rgba(17, 17, 14, 0.08);
}

.type-card h3 {
  position: relative;
  z-index: 1;
  margin-top: clamp(38px, 4vw, 54px);
  font-family: var(--display);
  font-size: clamp(29px, 3.1vw, 39px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.type-card p {
  position: relative;
  z-index: 1;
  max-width: 390px;
  margin-top: 17px;
  color: #a5a196;
  font-size: 14px;
  line-height: 1.55;
  transition: color 0.2s ease;
}

.type-card:hover p {
  color: #29291f;
}

.type-card__tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 9px;
  border: 1px solid #55534a;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c3bfb2;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.type-card:hover .type-card__tag {
  border-color: rgba(17, 17, 14, 0.4);
  color: var(--ink);
}

/* ---------- HOW ---------- */

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.how-intro {
  max-width: 490px;
}

.how-intro > p {
  max-width: 390px;
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.6;
}

.tip {
  max-width: 340px;
  margin-top: 34px;
  padding: 17px 18px 18px;
  border: 2px solid var(--ink);
  background: var(--orange);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 13px;
  line-height: 1.5;
  transform: rotate(-1.5deg);
}

.tip strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.steps {
  border-top: 1px solid var(--ink);
}

.step {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) auto;
  gap: 22px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.2s ease, background-color 0.2s ease;
}

.step:hover {
  padding-left: 8px;
  background: rgba(216, 255, 62, 0.32);
}

.step__num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.step__body h3 {
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.step__body p {
  max-width: 540px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.step__tag {
  align-self: start;
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- JOIN ---------- */

.join {
  padding: clamp(58px, 8vw, 104px) 0 clamp(64px, 8vw, 110px);
  border-top: 2px solid var(--ink);
  background: var(--lime);
}

.join__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(38px, 5vw, 60px);
  padding-top: 11px;
  border-top: 1px solid var(--ink);
}

.join__head .section__kicker > span {
  background: var(--ink);
  color: var(--lime);
}

.join__head .section__aside {
  color: rgba(17, 17, 14, 0.64);
}

.join__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}

.join__copy > p {
  max-width: 470px;
  margin-top: 25px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.55;
}

.perks {
  max-width: 470px;
  margin-top: 30px;
  border-top: 1px solid rgba(17, 17, 14, 0.45);
}

.perks li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(17, 17, 14, 0.45);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.perks li::before {
  content: "＋";
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1;
}

.join__note {
  max-width: 470px;
  margin-top: 24px !important;
  font-family: var(--mono);
  font-size: 10px !important;
  line-height: 1.5 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.join__note strong {
  padding: 1px 5px;
  background: var(--ink);
  color: var(--lime);
}

/* ---------- FORM ---------- */

.form-card {
  position: relative;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 12px 12px 0 var(--ink);
}

.form-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 17px;
  border-bottom: 2px solid var(--ink);
  background: var(--orange);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.badge {
  padding: 3px 7px;
  background: var(--ink);
  color: var(--lime);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.form-card__body {
  padding: clamp(22px, 3vw, 34px);
}

.form-card__body > h3 {
  font-family: var(--display);
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.form-card__sub {
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.field {
  margin-top: 20px;
}

.field__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 7px;
}

.field label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.field__hint {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-align: right;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  outline: none;
  transition: background-color 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.field input::placeholder {
  color: #9b978b;
}

.field input:hover {
  background: #fffef9;
}

.field input:focus {
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
}

.field input[aria-invalid="true"] {
  border-color: #c83711;
  background: #ffe9e2;
  box-shadow: 4px 4px 0 #c83711;
}

.field__error {
  min-height: 13px;
  margin-top: 5px;
  color: #a72d0b;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
}

.submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin-top: 8px;
  padding: 8px 8px 8px 18px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.submit:hover {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.submit:active {
  transform: translate(1px, 1px);
  box-shadow: none;
}

.submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.submit__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  background: var(--lime);
  color: var(--ink);
  transition: background-color 0.16s ease;
}

.submit__icon svg {
  width: 19px;
  height: 19px;
}

.submit.is-loading .submit__icon svg {
  display: none;
}

.submit.is-loading .submit__icon::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

/* ---------- FORM SUCCESS ---------- */

.form-success {
  animation: success-in 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.form-success:focus {
  outline: none;
}

.success__badge {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 11px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.success__badge strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: 25px;
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.form-success h3 {
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 39px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.form-success > p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.ticket {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0;
  padding: 12px 13px;
  border: 2px dashed var(--ink);
  background: var(--lime);
}

.ticket > span:first-child {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ticket strong {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.03em;
}

/* ---------- FOOTER ---------- */

.footer {
  padding: 30px 0;
  background: var(--ink);
  color: #918d81;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 34px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  color: var(--paper);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.footer__sub {
  margin-top: 4px;
  color: #918d81;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer__line {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: #c4c0b4;
}

.footer__up {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid #57554d;
}

.footer__up:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.footer__legal {
  width: 100%;
  padding-top: 15px;
  border-top: 1px solid #2d2c27;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- ANIMATIONS ---------- */

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(22px) rotate(4.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(2.2deg);
  }
}

@keyframes success-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1060px) {
  .site-nav {
    gap: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
    gap: 44px;
  }

  .field-card {
    margin-right: 8px;
  }

  .field-card__sticker {
    right: -8px;
  }

  .how-grid {
    gap: 48px;
  }

  .step {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .step__tag {
    grid-column: 2;
    padding-top: 0;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 44px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .field-card {
    justify-self: start;
    max-width: 380px;
    margin-left: 10px;
    margin-right: 18px;
    transform: rotate(-1.5deg);
    animation: none;
  }

  .field-card__sticker {
    right: -14px;
  }

  .what-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .what-copy {
    max-width: 650px;
  }

  .types-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .types-heading > p {
    max-width: 440px;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .how-intro {
    max-width: 620px;
  }

  .tip {
    max-width: 390px;
  }

  .join__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-card {
    max-width: 590px;
  }
}

@media (max-width: 700px) {
  .container,
  .hero {
    width: min(100% - 32px, 1280px);
  }

  .site-header {
    gap: 14px;
    padding: 11px 16px;
  }

  .brand__sub {
    display: none;
  }

  .header-cta__full {
    display: none;
  }

  .header-cta__short {
    display: inline;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 50px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .hero__word {
    font-size: clamp(4.2rem, 21vw, 7rem);
  }

  .hero__sub {
    margin-top: 0.32em;
    font-size: clamp(1.8rem, 8.8vw, 3.3rem);
  }

  .hero__lead {
    margin-top: 26px;
    font-size: 15px;
  }

  .hero__stats {
    gap: 22px;
  }

  .stat dd {
    font-size: 8px;
  }

  .field-card {
    max-width: 355px;
    margin-left: 4px;
    margin-right: 14px;
    box-shadow: 9px 9px 0 var(--ink);
  }

  .specimen {
    min-height: 190px;
  }

  .field-card__name {
    font-size: 23px;
  }

  .field-card__sticker {
    right: -10px;
    bottom: 38px;
    padding: 7px 9px;
    font-size: 8px;
  }

  .section,
  .join {
    padding: 62px 0;
  }

  .section__head,
  .join__head {
    margin-bottom: 34px;
  }

  .section__aside {
    display: none;
  }

  .section-title {
    font-size: clamp(2.7rem, 11.6vw, 4.2rem);
  }

  .dictionary {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .dictionary__head,
  .dictionary__foot {
    font-size: 7px;
  }

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

  .dict-item {
    min-height: 0;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .dict-item:last-child {
    border-bottom: 0;
  }

  .dict-item p {
    margin-top: 12px;
    font-size: 19px;
  }

  .dictionary__foot {
    flex-direction: column;
    gap: 5px;
  }

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

  .type-card {
    min-height: 290px;
  }

  .type-card__ghost {
    font-size: 96px;
  }

  .step {
    gap: 14px;
    padding: 22px 0;
  }

  .step:hover {
    padding-left: 0;
    background: transparent;
  }

  .step__tag {
    grid-column: 2;
    font-size: 7px;
  }

  .join__grid {
    gap: 34px;
  }

  .form-card {
    box-shadow: 7px 7px 0 var(--ink);
  }

  .form-card__body {
    padding: 21px 18px 23px;
  }

  .field__hint {
    display: none;
  }

  .footer__inner {
    align-items: flex-start;
  }

  .footer__line {
    width: 100%;
    order: 4;
    font-size: 14px;
  }
}

@media (max-width: 390px) {
  .brand__title {
    font-size: 16px;
  }

  .hero__word {
    font-size: 4.1rem;
  }

  .hero__sub {
    font-size: 1.72rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .field-card {
    max-width: 100%;
    margin-left: 0;
  }

  .form-card__top {
    font-size: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker__track {
    animation: none;
  }

  .field-card {
    animation: none;
  }
}
