/* DSH Pocket — project site
   Swiss editorial: paper, ink, one signal orange, hard rules. No decorative
   surfaces, no gradients, no iconography beyond the capture itself. */

:root {
  --paper: #f2f0ea;
  --paper-deep: #e9e6dd;
  --ink: #141512;
  --ink-soft: #3c3d37;
  --muted: #6e6e64;
  --line: #d3d0c4;
  --line-strong: #a9a597;
  --accent: #ff4a1c;
  --accent-ink: #b93610;
  --night: #0d0f0e;
  --night-line: #2d322c;
  --night-muted: #94988d;
  --wrap: 1280px;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: "SFMono-Regular", "SF Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

code {
  padding: 1px 4px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 0.84em;
  white-space: nowrap;
}

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

.wrap {
  width: min(var(--wrap), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 24px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font: 600 13px/1 var(--sans);
}

.skip-link:focus {
  top: 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font: 700 12px/1 var(--mono);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.wordmark__dot {
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--accent);
}

.wordmark__slash {
  padding: 0 1px;
  color: var(--line-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  justify-self: center;
}

.nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  color: var(--ink-soft);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.04em;
}

.nav a span {
  color: var(--muted);
  font-size: 9px;
}

.nav a:hover {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
}

.version {
  color: var(--muted);
  font: 10px/1 var(--mono);
  letter-spacing: 0.06em;
}

.source {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.02em;
}

.source:hover {
  border-bottom-color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 600 13px/1 var(--sans);
  letter-spacing: -0.01em;
  cursor: pointer;
}

.btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.btn--small {
  height: 34px;
  padding: 0 13px;
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.02em;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  border-bottom: 1px solid var(--line);
}

.hero__copy {
  display: flex;
  align-items: center;
  padding: 76px 64px 76px max(32px, calc((100vw - var(--wrap)) / 2));
}

.hero__copy-inner {
  width: 100%;
  max-width: 700px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--accent);
}

h1 {
  margin: 20px 0 24px;
  font-size: clamp(44px, 5.9vw, 84px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.lede {
  max-width: 540px;
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.62;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font: 500 12px/1 var(--mono);
}

.text-link:hover {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.meta {
  margin: 0;
  color: var(--muted);
  font: 10px/1.6 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meta span {
  padding: 0 6px;
  color: var(--line-strong);
}

.hero__ink {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
  background: var(--night);
  color: var(--paper);
}

.capture {
  width: min(400px, 100%);
  margin: 0;
}

.capture__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--night-line);
  color: var(--night-muted);
  font: 10px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.capture__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7d5ca;
}

.dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}

.capture__dims {
  color: #7c8177;
  font-size: 9px;
  letter-spacing: 0.02em;
  text-align: right;
}

.capture__img {
  width: 100%;
  height: auto;
  border: 1px solid #343a33;
  border-radius: 3px;
  background: #0b0d0c;
}

.capture__caption {
  margin-top: 16px;
  color: #8d9287;
  font: 10px/1.65 var(--mono);
  letter-spacing: 0.01em;
}

/* Index */

.index {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.index__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 96px;
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}

.index__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.index__item:hover {
  background: var(--paper-deep);
}

.index__item:hover .index__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.index__num {
  color: var(--accent-ink);
  font: 10px/1 var(--mono);
  letter-spacing: 0.1em;
}

.index__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.index__desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

/* Sections */

.section {
  padding: 104px 0;
  border-bottom: 1px solid var(--line);
}

.section--rule {
  border-top: 1px solid var(--line);
}

.section--install {
  border-bottom: 0;
}

.section__grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
}

.rail {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.rail__num {
  color: var(--accent-ink);
  font: 400 30px/1 var(--mono);
  letter-spacing: -0.05em;
}

.rail__label {
  color: var(--muted);
  font: 500 9px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section__body {
  max-width: 900px;
  padding-left: 56px;
}

.section__body--wide {
  max-width: 980px;
}

h2 {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.section__intro {
  max-width: 620px;
  margin: 0 0 50px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.rows {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.row__key {
  padding-top: 4px;
  color: var(--muted);
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.row__body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.row__body p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.statement {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 700px;
  margin: 48px 0 0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.statement__mark {
  width: 8px;
  height: 8px;
  flex: none;
  margin-top: 10px;
  background: var(--accent);
}

.footnote {
  max-width: 600px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footnote strong {
  color: var(--ink-soft);
  font-weight: 600;
}

/* Architecture */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.split__copy p {
  max-width: 430px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.small-note {
  margin-top: 20px !important;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.diagram {
  margin: 0;
}

.flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.flow__node {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 16px 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.flow__node span {
  color: var(--muted);
  font: 500 9px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flow__node b {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.flow__node--key {
  border-top: 3px solid var(--accent);
}

.flow__arrow {
  align-self: center;
  color: var(--accent-ink);
  font: 18px/1 var(--mono);
}

.figcap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  color: var(--muted);
  font: 10px/1.6 var(--mono);
  letter-spacing: 0.01em;
}

.packet {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  color: var(--ink-soft);
  font: 11px/1.5 var(--mono);
  overflow-x: auto;
  white-space: nowrap;
}

.packet span {
  padding: 0 4px;
  color: var(--accent-ink);
}

/* Security */

.security {
  padding: 104px 0;
  background: var(--night);
  color: var(--paper);
}

.security .rail {
  border-color: var(--night-line);
}

.rail--light .rail__num {
  color: var(--accent);
}

.rail--light .rail__label {
  color: var(--night-muted);
}

.security__top {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--night-line);
}

.security__top h2 {
  margin: 0;
  color: var(--paper);
}

.security__top p {
  max-width: 430px;
  margin: 0;
  color: #c9c7bb;
  font-size: 16px;
  line-height: 1.6;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin: 0;
  padding: 0;
}

.fact {
  padding: 20px 0 24px;
  border-top: 1px solid var(--night-line);
}

.fact dt {
  color: var(--accent);
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact dd {
  max-width: 360px;
  margin: 8px 0 0;
  color: #c9c7bb;
  font-size: 15px;
  line-height: 1.55;
}

.creed {
  margin: 56px 0 0;
  color: #8d9287;
  font: 500 10px/1.5 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.security :focus-visible {
  outline-color: var(--accent);
}

/* Install */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 44px;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.step {
  padding: 22px 24px 0;
  border-right: 1px solid var(--line);
}

.step:first-child {
  padding-left: 0;
}

.step:last-child {
  border-right: 0;
}

.step__num {
  color: var(--accent-ink);
  font: 500 11px/1 var(--mono);
}

.step h3 {
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.step strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.package {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.package__identity {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.package__label {
  color: #9ea196;
  font: 500 9px/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.package code {
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper);
  font: 400 16px/1.4 var(--mono);
  white-space: nowrap;
  overflow-x: auto;
}

.copy {
  flex: none;
  min-height: 40px;
  padding: 11px 14px;
  border: 0;
  background: var(--accent);
  color: var(--ink);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.copy:hover {
  background: #ff6a3d;
}

.copy:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

.copy.is-copied {
  background: var(--paper);
}

.alternatives {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.alt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 24px 16px 0;
  border-right: 1px solid var(--line);
}

.alt:last-child {
  border-right: 0;
}

.alt span {
  color: var(--muted);
  font: 500 9px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.alt code {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: 11px/1.5 var(--mono);
  white-space: normal;
  overflow-wrap: anywhere;
}

.install__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
}

.requirements {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.requirements strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.install__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
}

.install__links .text-link {
  font-size: 11px;
}

/* Footer */

.footer {
  padding: 64px 0 24px;
  border-top: 1px solid var(--line);
}

.footer__word {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(48px, 10vw, 132px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.075em;
}

.footer__word .wordmark__dot {
  width: 12px;
  height: 12px;
  margin-top: 10px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.footer__tagline {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer__links div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links span {
  color: var(--muted);
  font: 500 9px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__links a {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.footer__links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 10px/1.5 var(--mono);
}

/* Toast */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  max-width: calc(100vw - 48px);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font: 11px/1.4 var(--mono);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1100px) {
  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .hero__copy {
    padding-right: 40px;
  }

  .hero__ink {
    padding: 40px;
  }

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

  .section__body {
    padding-left: 40px;
  }

  .split {
    gap: 40px;
  }

  .security__top {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding: 56px 24px 48px;
  }

  .hero__ink {
    padding: 40px 24px 48px;
  }

  .capture {
    width: min(340px, 100%);
    margin: 0 auto;
  }

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

  .index__item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .index__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 76px 0;
  }

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

  .rail {
    position: static;
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rail__num {
    font-size: 20px;
  }

  .section__body {
    padding-left: 0;
  }

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

  .security {
    padding: 76px 0;
  }

  .security .rail {
    border-color: var(--night-line);
  }

  .security__top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 40px;
  }

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

  .step {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:first-child {
    padding-left: 0;
  }

  .step:last-child {
    border-bottom: 0;
  }

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

  .alt {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .alt:last-child {
    border-bottom: 0;
  }

  .install__bottom {
    flex-direction: column;
    gap: 20px;
  }

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

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

  .footer__bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .header__inner {
    min-height: 60px;
  }

  .version {
    display: none;
  }

  .header__actions {
    gap: 14px;
  }

  h1 {
    font-size: clamp(38px, 10.5vw, 48px);
  }

  .lede {
    font-size: 16px;
  }

  .actions {
    gap: 18px;
  }

  .hero__copy {
    padding: 48px 20px 40px;
  }

  .hero__ink {
    padding: 32px 20px 40px;
  }

  .capture__bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .capture__dims {
    text-align: left;
  }

  .index__desc {
    font-size: 11px;
  }

  .section {
    padding: 64px 0;
  }

  h2 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .section__intro {
    margin-bottom: 36px;
    font-size: 16px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }

  .row__key {
    padding-top: 0;
  }

  .statement {
    font-size: 20px;
  }

  .flow {
    flex-direction: column;
  }

  .flow__arrow {
    align-self: flex-start;
    padding-left: 18px;
    transform: rotate(90deg);
  }

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

  .security {
    padding: 64px 0;
  }

  .package {
    flex-direction: column;
    align-items: stretch;
  }

  .package code {
    font-size: 14px;
  }

  .copy {
    width: 100%;
  }

  .footer {
    padding: 48px 0 20px;
  }

  .footer__word {
    gap: 8px;
    font-size: clamp(40px, 12vw, 56px);
  }

  .footer__word .wordmark__dot {
    width: 8px;
    height: 8px;
    margin-top: 6px;
  }

  .footer__grid {
    margin-top: 40px;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer__links div:last-child {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    margin-top: 40px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 37px;
  }
}

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

  .site-header,
  .toast {
    transition: none;
  }
}
