/* Yorva landing — design tokens, layout and components.
   Colour values follow the original mock. Two deliberate departures, both for
   WCAG AA contrast on the #1E1E20 background:
     --accent-text  (#4EA8EA, 6.4:1) is used wherever the brand blue is TEXT;
                    #0078D7 as text is only 3.7:1 and fails AA.
     --accent-solid (#0071CE) fills buttons so white label text hits 4.9:1.
   #0078D7 itself is kept for decorative marks, borders and fills. */

:root {
  --bg: #1e1e20;
  --surface: #232326;
  --surface-hi: #26262a;

  --fg: #f5f3ef;
  --fg-70: rgba(245, 243, 239, 0.7);
  --fg-60: rgba(245, 243, 239, 0.6);
  --fg-52: rgba(245, 243, 239, 0.52);

  --accent: #0078d7;
  --accent-solid: #0071ce;
  --accent-hover: #1889e8;
  --accent-text: #4ea8ea;

  --line: rgba(245, 243, 239, 0.09);
  --line-hi: rgba(245, 243, 239, 0.16);

  --wrap: 1180px;
  --pad: 32px;
  --header-h: 68px;

  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.4), 0 28px 56px -34px rgba(0, 0, 0, 0.9);

  --ease: 0.18s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.011em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent-text);
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--accent-solid);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
  transition: top var(--ease);
}

.skip:focus {
  top: 12px;
}

/* ---------------------------------------------------------------- backdrop */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.backdrop__grid {
  position: absolute;
  inset: -10%;
  background-image: linear-gradient(rgba(245, 243, 239, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 243, 239, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: yv-grid 34s linear infinite;
}

.backdrop__ring {
  position: absolute;
  left: 50%;
  top: 38%;
  translate: -50% -50%;
  border: 1px solid rgba(245, 243, 239, 0.055);
  border-radius: 14px;
}

.backdrop__ring--lg {
  width: min(78vw, 760px);
  aspect-ratio: 1;
  animation: yv-spin 150s linear infinite;
}

.backdrop__ring--md {
  width: min(52vw, 500px);
  aspect-ratio: 1;
  border-color: rgba(0, 120, 215, 0.13);
  border-radius: 12px;
  animation: yv-spin-rev 108s linear infinite;
}

.backdrop__ring--sm {
  width: min(26vw, 250px);
  aspect-ratio: 1;
  border-color: rgba(245, 243, 239, 0.05);
  border-radius: 50%;
  animation: yv-spin 200s linear infinite;
}

.backdrop__sweep {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 120, 215, 0.26) 25%,
    rgba(0, 120, 215, 0.26) 75%,
    transparent
  );
  animation: yv-sweep 26s linear infinite;
}

.backdrop__dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.backdrop__dot--a {
  left: 24%;
  top: 22%;
  animation: yv-breathe 9s ease-in-out infinite;
}

.backdrop__dot--b {
  left: 71%;
  top: 56%;
  animation: yv-breathe 11s ease-in-out 2.5s infinite;
}

.backdrop__dot--c {
  left: 44%;
  top: 81%;
  background: rgba(245, 243, 239, 0.9);
  animation: yv-breathe 13s ease-in-out 5s infinite;
}

@keyframes yv-grid {
  from { background-position: 0 0; }
  to { background-position: 72px 72px; }
}
@keyframes yv-spin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes yv-spin-rev {
  from { rotate: 360deg; }
  to { rotate: 0deg; }
}
@keyframes yv-breathe {
  0%, 100% { opacity: 0.16; scale: 1; }
  50% { opacity: 0.55; scale: 1.6; }
}
@keyframes yv-sweep {
  0% { transform: translateX(-6vw); opacity: 0; }
  10%, 90% { opacity: 1; }
  100% { transform: translateX(106vw); opacity: 0; }
}

/* ------------------------------------------------------------------ header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  flex-shrink: 0;
}

.brand__mark {
  color: var(--accent);
  border-radius: 5px;
}

.brand__word {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.brand--sm .brand__word {
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__link {
  font-size: 14px;
  color: var(--fg-60);
  transition: color var(--ease);
}

.nav__link:hover {
  color: var(--fg);
}

.langs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-hi);
  border-radius: 9px;
  background: rgba(245, 243, 239, 0.02);
}

.langs__item {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 9px;
  border-radius: var(--r-sm);
  color: var(--fg-60);
  transition: background var(--ease), color var(--ease);
}

.langs__item:hover {
  color: var(--fg);
  background: rgba(245, 243, 239, 0.06);
}

.langs__item.is-active {
  background: var(--accent-solid);
  color: #fff;
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.btn--lg {
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--r-md);
}

.btn--primary {
  background: var(--accent-solid);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--primary[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-hi);
}

.btn--ghost:hover {
  border-color: rgba(245, 243, 239, 0.3);
  background: rgba(245, 243, 239, 0.035);
  color: var(--fg);
}

.btn--ghost:active {
  transform: translateY(1px);
}

/* ------------------------------------------------------------- mobile menu */

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-hi);
  border-radius: 9px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger__bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.burger[aria-expanded="true"] .burger__bar:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__bar:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobilenav {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobilenav[hidden] {
  display: none;
}

.mobilenav__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding-block: 14px 22px;
}

.mobilenav__link {
  font-size: 16px;
  color: var(--fg-70);
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.mobilenav__link:hover {
  color: var(--fg);
}

.langs--mobile {
  align-self: flex-start;
  margin-top: 16px;
}

.mobilenav__cta {
  margin-top: 14px;
  padding-block: 13px;
  font-size: 15px;
}

/* -------------------------------------------------------------------- hero */

.hero {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.hero__inner {
  padding-block: clamp(64px, 9vw, 112px) clamp(72px, 10vw, 128px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.25rem, 6.4vw, 4.5rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 15ch;
}

.hero__desc {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.6;
  color: var(--fg-70);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.hero__actions .btn--primary {
  box-shadow: var(--shadow-sm), 0 10px 24px -14px rgba(0, 120, 215, 0.9);
}

/* ---------------------------------------------------------------- sections */

.section {
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header-h);
}

.section > .wrap {
  padding-block: clamp(64px, 9vw, 104px);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.section__head--stack {
  margin-bottom: 60px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.section__note {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-60);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 18px;
}

/* ---------------------------------------------------------- service cards */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(245, 243, 239, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 22px 44px -28px rgba(0, 0, 0, 0.9);
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.glyph {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(245, 243, 239, 0.22);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glyph__sq {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
}

.glyph__bar {
  width: 12px;
  height: 4px;
  background: var(--accent);
  border-radius: 1px;
}

.glyph__ring {
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

.glyph__half {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent) 0 50%, transparent 50% 100%);
}

.card__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-52);
}

.card__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 10px;
}

.card__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-60);
  margin-bottom: 22px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-52);
  border: 1px solid rgba(245, 243, 239, 0.1);
  border-radius: var(--r-sm);
  padding: 5px 9px;
}

/* ------------------------------------------------------------------- steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid rgba(245, 243, 239, 0.1);
  padding-top: 32px;
}

.step__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.step__dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.step__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-52);
}

.step__title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.016em;
  margin-bottom: 10px;
}

.step__desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-60);
  margin-bottom: 16px;
}

.step__time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-52);
}

/* --------------------------------------------------------------------- why */

.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
}

.why__desc {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-60);
  max-width: 420px;
  text-wrap: pretty;
}

.why__quote {
  margin-top: 36px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-70);
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.value {
  background: var(--bg);
  padding: 28px;
}

.value__mark {
  display: block;
  width: 8px;
  height: 8px;
  margin-bottom: 18px;
  background: var(--accent);
}

.value__mark--sq { border-radius: 2px; }
.value__mark--sqo { background: transparent; border: 1.5px solid var(--accent); border-radius: 2px; }
.value__mark--dot { border-radius: 50%; }
.value__mark--ring { background: transparent; border: 1.5px solid var(--accent); border-radius: 50%; }
.value__mark--diamond { border-radius: 2px; rotate: 45deg; }
.value__mark--line { width: 12px; height: 2px; margin-bottom: 22px; }

.value__title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: 8px;
}

.value__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-60);
}

/* ----------------------------------------------------------------- contact */

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.contact__desc {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-60);
  max-width: 400px;
  text-wrap: pretty;
}

.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--fg);
  transition: border-color var(--ease), background var(--ease);
}

.channel:hover {
  border-color: rgba(245, 243, 239, 0.22);
  background: var(--surface-hi);
  color: var(--fg);
}

.channel__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-wrap: wrap;
}

.channel__dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.channel__kind {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-52);
  width: 88px;
}

.channel__value {
  font-size: 15px;
}

.channel__arrow {
  color: var(--fg-52);
  font-size: 14px;
}

/* -------------------------------------------------------------------- form */

.form {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__field {
  display: block;
  min-width: 0;
}

.form__field--wide,
.form__foot,
.form__status,
.manual {
  grid-column: 1 / -1;
}

.form__label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-52);
  margin-bottom: 9px;
}

.form__input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-hi);
  border-radius: 9px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--fg);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.form__input::placeholder {
  color: var(--fg-52);
}

.form__input:focus-visible {
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.28);
  outline: none;
}

.form__input[aria-invalid="true"] {
  border-color: #e06c6c;
}

.form__input--area {
  line-height: 1.6;
  resize: vertical;
  min-height: 120px;
}

.select {
  position: relative;
  display: block;
}

.select select {
  appearance: none;
  padding-right: 40px;
}

.select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--fg-52);
  border-bottom: 1.5px solid var(--fg-52);
  translate: 0 -70%;
  rotate: 45deg;
  pointer-events: none;
}

.select option {
  background: var(--surface);
  color: var(--fg);
}

/* Honeypot: off-screen but not display:none, so bots still fill it. */
.form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.form__note {
  font-size: 13px;
  color: var(--fg-52);
  max-width: 300px;
  line-height: 1.5;
}

.form__submit {
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--r-md);
}

.form__status {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-70);
}

.form__status:empty {
  display: none;
}

.form__status--ok {
  color: var(--accent-text);
}

.form__status--err {
  color: #f0a0a0;
}

.manual[hidden] {
  display: none;
}

.manual {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.manual__intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-60);
  margin-bottom: 14px;
}

.manual__text {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--fg-70);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px;
  margin: 0 0 14px;
  max-height: 240px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.manual__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------------ footer */

.footer {
  border-top: 1px solid var(--line);
}

.footer__inner {
  padding-block: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.footer__rights {
  font-size: 13px;
  color: var(--fg-52);
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 13px;
  color: var(--fg-52);
  transition: color var(--ease);
}

.footer__link:hover {
  color: var(--fg);
}

.footer__link--mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.footer__sep {
  width: 1px;
  height: 14px;
  background: var(--line-hi);
}

/* ------------------------------------------------------------- error page */

.oops {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding-block: 80px;
}

.oops__code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-text);
}

/* ------------------------------------------------------------ breakpoints */

@media (max-width: 1080px) {
  .why,
  .contact {
    gap: 48px;
  }
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .why,
  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .why__desc,
  .contact__desc {
    max-width: 62ch;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 780px) {
  :root {
    --pad: 24px;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

  .section__note {
    max-width: 62ch;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    padding: 26px;
  }
}

@media (max-width: 620px) {
  :root {
    --pad: 20px;
  }

  .steps,
  .values {
    grid-template-columns: minmax(0, 1fr);
  }

  .form {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }

  .form__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .form__note {
    max-width: none;
  }

  .form__submit {
    width: 100%;
  }

  .channel__kind {
    width: auto;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer__nav {
    gap: 18px;
  }
}

/* Coarse pointers get no hover-lift; it sticks after tap. */
@media (hover: none) {
  .card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --fg-70: rgba(245, 243, 239, 0.88);
    --fg-60: rgba(245, 243, 239, 0.8);
    --fg-52: rgba(245, 243, 239, 0.72);
    --line: rgba(245, 243, 239, 0.24);
    --line-hi: rgba(245, 243, 239, 0.36);
  }
}

@media print {
  .backdrop,
  .header,
  .burger,
  .mobilenav,
  .form,
  .skip {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
