/* Reformas Control landing.
   Art direction "Recién pintado": every section is a wall rolled in one colour
   of the app's paint chart; real screens are printed sheets held to the wall
   with strips of masking tape. Same type families as the app. */

@font-face {
  font-family: "Red Hat Display";
  src: url("/assets/fonts/red-hat-display-900.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Display";
  src: url("/assets/fonts/red-hat-display-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Text";
  src: url("/assets/fonts/red-hat-text-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Text";
  src: url("/assets/fonts/red-hat-text-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Mono";
  src: url("/assets/fonts/red-hat-mono-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --wall: #f2f1ec;
  --paper: #fdfcf8;
  --ink: #1d2433;
  --ink-soft: #454d5e;
  --line: #dcdbd2;
  --raspberry: #be1e55;
  --raspberry-deep: #9c1544;
  --tape: #e9dca9;

  /* Paint chart. Denim and slate are a step deeper than in the store
     graphics so that white body text keeps a 4.5:1 contrast. */
  --denim: #4d6ea4;
  --saffron: #f0b94d;
  --lagoon: #3b9a9c;
  --clay: #e07a5f;
  --wisteria: #9b82c4;
  --sage: #8dbb97;
  --rose: #db7fa8;
  --slate: #5c6a7f;

  --display: "Red Hat Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --text: "Red Hat Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Red Hat Mono", ui-monospace, Consolas, "Courier New", monospace;

  --edge: 56px;
  --space: clamp(48px, 6.5vw, 92px);
  --gutter: clamp(20px, 4vw, 40px);
  --sheet: 372px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Tape strips and roller edges may reach past the screen edge; they are cut there. */
main,
.top,
.foot {
  overflow-x: clip;
}

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

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

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wall--denim :focus-visible,
.wall--slate :focus-visible,
.foot :focus-visible {
  outline-color: #fff;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header ---------- */

.top {
  position: relative;
  z-index: 30;
  background: var(--wall);
}

.top__in {
  display: flex;
  align-items: center;
  gap: 12px 28px;
  min-height: 76px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-height: 44px;
}

.brand__mark {
  width: 52px;
  height: 52px;
  margin: -4px -4px -4px -8px;
  flex: none;
}

.brand__name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand__last {
  color: var(--raspberry);
}

.top__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  margin-left: auto;
}

.top__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.top__nav a:hover {
  border-bottom-color: var(--raspberry);
}

.lang {
  display: inline-flex;
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  flex: none;
}

.lang__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 40px;
  padding: 0 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  background: var(--paper);
  color: var(--ink);
}

.lang__item.is-current {
  background: var(--ink);
  color: #fff;
}

a.lang__item:hover {
  background: #f6dbe5;
}

/* ---------- Walls ---------- */

.wall {
  position: relative;
  padding: calc(var(--space) + var(--edge)) 0 var(--space);
  background-color: var(--paint);
  /* Brush texture: stretched noise for the bristle marks, plus very faint
     vertical bands for the roller passes. */
  background-image: url("/assets/brand/brush.webp"),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 168px, rgba(0, 0, 0, 0.035) 168px 176px, rgba(255, 255, 255, 0) 176px 330px, rgba(0, 0, 0, 0.03) 330px 336px);
}

.wall--denim {
  --paint: var(--denim);
  color: #fff;
}
.wall--saffron {
  --paint: var(--saffron);
}
.wall--lagoon {
  --paint: var(--lagoon);
}
.wall--clay {
  --paint: var(--clay);
}
.wall--wisteria {
  --paint: var(--wisteria);
}
.wall--sage {
  --paint: var(--sage);
}
.wall--rose {
  --paint: var(--rose);
}
.wall--slate {
  --paint: var(--slate);
  color: #fff;
}

.wall > .wrap {
  position: relative;
  z-index: 1;
}

.wall__edge {
  position: absolute;
  left: 0;
  top: calc(100% - 1px);
  width: max(100%, 1100px);
  max-width: none;
  height: var(--edge);
  fill: var(--paint);
  pointer-events: none;
}

.bare {
  position: relative;
  padding: calc(var(--space) + var(--edge)) 0 var(--space);
  background: var(--wall);
}

.bare--gap {
  padding: calc(var(--edge) + 40px) 0 0;
}

.kicker {
  display: inline-block;
  margin-bottom: 22px;
  padding-bottom: 12px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) left bottom / 44px 4px no-repeat;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.5rem);
}

h2 {
  font-size: clamp(1.9rem, 3.9vw, 3.1rem);
}

h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.lede {
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
}

.wall p,
.bare p {
  max-width: 36em;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 700;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

/* ---------- Masking tape ---------- */

.tape {
  position: absolute;
  z-index: 2;
  width: 118px;
  height: 30px;
  background: linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 45%, rgba(120, 100, 30, 0.1)), rgba(233, 220, 169, 0.92);
  clip-path: polygon(2% 0, 98% 0, 100% 18%, 97% 34%, 100% 52%, 97% 70%, 100% 86%, 98% 100%, 2% 100%, 0 84%, 3% 66%, 0 50%, 3% 32%, 0 16%);
  pointer-events: none;
}

.tape--left {
  top: -14px;
  left: -52px;
  transform: rotate(-36deg);
}

.tape--right {
  top: -14px;
  right: -52px;
  transform: rotate(36deg);
}

.tape--top {
  top: -15px;
  left: 50%;
  width: 96px;
  height: 28px;
  transform: translateX(-50%) rotate(-3deg);
}

/* ---------- Sheets (real screens) ---------- */

.sheet {
  position: relative;
  width: min(100%, var(--sheet));
  padding: 36px 16px 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 10px 12px 0 rgba(29, 36, 51, 0.17);
}

.sheet img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--wall);
}

.sheet figcaption {
  padding-top: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Paper notes ---------- */

.note {
  position: relative;
  padding: 28px 22px 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 7px 0 rgba(29, 36, 51, 0.15);
}

.note--figures {
  width: min(100%, 400px);
  margin-top: 46px;
}

.note__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.note__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.note__sub {
  margin-top: 4px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.figures {
  margin-top: 14px;
}

.figures div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px dashed #c9c7bb;
}

.figures dt {
  font-size: 0.98rem;
}

.figures dd {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.figures div:nth-last-child(-n + 2) dt {
  font-weight: 700;
}

.note__foot {
  margin-top: 10px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

/* ---------- Buttons / call to action ---------- */

.cta {
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  margin: 0;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
}

.btn__icon {
  flex: none;
}

.btn--play {
  background: var(--raspberry);
  color: #fff;
  box-shadow: 4px 5px 0 rgba(29, 36, 51, 0.25);
}

.btn--play:hover {
  background: var(--raspberry-deep);
}

.btn--soon {
  background: var(--paper);
  color: var(--ink);
  border: 2px dashed var(--ink);
  cursor: default;
}

.btn--paper {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
}

.cta__note {
  margin-top: 14px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(40px, 6vw, 76px) 0 44px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sheet);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.hero__text {
  padding-top: clamp(0px, 3vw, 40px);
}

.hero__sheet {
  margin-bottom: -210px;
}

.facts {
  position: relative;
  background: var(--wall);
  padding: calc(var(--edge) + 30px) 0 20px;
}

.facts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 36px;
  max-width: calc(100% - var(--sheet) - clamp(32px, 6vw, 88px));
  min-height: 150px;
}

.facts__list li {
  padding-top: 12px;
  border-top: 4px solid var(--ink);
}

.facts__list strong {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: -0.015em;
}

.facts__list span {
  display: block;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* ---------- Feature walls ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sheet);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}

.split--flip {
  grid-template-columns: var(--sheet) minmax(0, 1fr);
}

.split--flip .sheet {
  order: -1;
}

.split__text p + p,
.trio__text p + p {
  margin-top: 14px;
}

.split__text h2,
.trio__text h2 {
  margin-bottom: 22px;
}

.trio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px 250px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.trio__notes {
  display: grid;
  gap: 34px;
  padding-top: 40px;
}

.trio__notes .note strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

.trio__notes .note span:last-child {
  display: block;
  font-size: 0.95rem;
  line-height: 1.45;
}

.trio__notes .note:nth-child(odd) {
  transform: rotate(-0.8deg);
}

.trio__notes .note:nth-child(even) {
  transform: rotate(0.9deg);
}

.wall__head {
  max-width: 820px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.pair__item:nth-child(2) {
  margin-top: 84px;
}

.pair__item h3 {
  margin: 40px 0 10px;
}

.strip {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--paper);
  border-left: 6px solid var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 5px 6px 0 rgba(29, 36, 51, 0.15);
}

.stagger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.stagger__item {
  display: grid;
  gap: 40px;
}

.stagger__item--low {
  margin-top: 110px;
}

.stagger__text h3 {
  margin-bottom: 10px;
}

/* ---------- Caveats poster ---------- */

.poster {
  position: relative;
  padding: clamp(44px, 6vw, 68px) clamp(22px, 5vw, 68px) clamp(36px, 5vw, 56px);
  background: var(--paper);
  box-shadow: 12px 14px 0 rgba(29, 36, 51, 0.14);
}

.poster__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(24px, 4vw, 48px);
  margin-top: 36px;
}

.poster__cols h3 {
  margin-bottom: 10px;
  padding-top: 14px;
  border-top: 5px solid var(--raspberry);
  font-size: 1.22rem;
}

.poster__cols p {
  font-size: 1rem;
}

/* ---------- Privacy pinboard ---------- */

.pinboard {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.pinboard__notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 28px;
  padding-top: 16px;
}

.pinboard__notes .note {
  font-size: 1rem;
  line-height: 1.5;
}

.pinboard__notes .note:nth-child(odd) {
  transform: rotate(-0.7deg);
}

.pinboard__notes .note:nth-child(even) {
  transform: rotate(0.8deg);
}

.pinboard__notes .note:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 420px);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.faq__list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--ink);
  margin-bottom: 12px;
}

.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--raspberry);
}

.faq__list details[open] summary::after {
  content: "−";
}

.faq__list details[open] {
  border-left-color: var(--raspberry);
}

.faq__list details p {
  padding: 0 18px 18px;
  max-width: 44em;
}

/* ---------- Closing ---------- */

.closing {
  padding: calc(var(--space) + 10px) 0 var(--space);
}

.closing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.chip {
  position: relative;
  width: 270px;
  padding: 30px 25px 22px;
  background: var(--paper);
  box-shadow: 10px 12px 0 rgba(29, 36, 51, 0.17);
}

.chip img {
  display: block;
  width: 220px;
  height: 220px;
}

/* ---------- Sub-pages ---------- */

.banner {
  padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px);
}

.banner h1 {
  max-width: 17em;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

.banner--tall {
  padding-block: clamp(64px, 10vw, 130px);
}

.banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.doc {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: calc(var(--edge) + 56px);
  padding-bottom: var(--space);
}

.doc__summary {
  position: sticky;
  top: 28px;
}

.doc__summary h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.doc__summary h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
}

.doc__summary ul {
  display: grid;
  gap: 10px;
}

.doc__summary li {
  position: relative;
  padding-left: 20px;
  font-size: 0.97rem;
  line-height: 1.45;
}

.doc__summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  background: var(--raspberry);
}

.doc__summary .btn {
  margin-top: 12px;
  min-height: 48px;
  font-size: 0.98rem;
}

.doc__mail a {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.doc__limit {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #c9c7bb;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.paper {
  position: relative;
  background: var(--paper);
  box-shadow: 10px 12px 0 rgba(29, 36, 51, 0.12);
}

.prose {
  padding: clamp(24px, 4.5vw, 60px);
}

.prose section + section {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.prose h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: pretty;
}

.prose__n {
  flex: none;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--raspberry);
}

.prose p,
.prose ul {
  max-width: 44em;
}

.prose p + p,
.prose p + ul,
.prose ul + p {
  margin-top: 12px;
}

.prose ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  list-style: square;
}

.prose li::marker {
  color: var(--raspberry);
}

.prose a,
.doc a:not(.btn) {
  color: var(--raspberry-deep);
  font-weight: 700;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 2px 6px;
  background: var(--wall);
  border-radius: 4px;
  overflow-wrap: anywhere;
}

.help__group + .help__group {
  margin-top: 44px;
}

.help__group h2 {
  margin-bottom: 18px;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
}

.reminder {
  margin-top: 48px;
  padding: 24px 26px;
  background: #fbefcf;
  border-left: 6px solid var(--saffron);
}

.reminder h2 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.releases {
  max-width: 860px;
  padding-top: calc(var(--edge) + 64px);
  padding-bottom: var(--space);
}

.release {
  padding: clamp(40px, 5vw, 56px) clamp(22px, 5vw, 56px) clamp(28px, 4vw, 44px);
}

.release__version {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--raspberry-deep);
}

.release__version span {
  margin-left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.release h2 {
  margin: 10px 0 20px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.release ul {
  display: grid;
  gap: 10px;
}

.release li {
  position: relative;
  padding-left: 26px;
}

.release li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 11px;
  height: 11px;
  background: var(--raspberry);
}

/* ---------- Footer ---------- */

.foot {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: #e9e8e1;
  padding: 60px 0 34px;
  font-size: 0.98rem;
}

.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr) minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 36px 40px;
}

.foot .brand__name {
  color: #fff;
}

.foot .brand__last {
  color: #f3a6c4;
}

.foot__brand p {
  margin-top: 14px;
  max-width: 24em;
}

.foot h2 {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b9c0cf;
}

.foot ul {
  display: grid;
  gap: 2px;
}

.foot nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-underline-offset: 4px;
}

.foot__mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
}

.foot__lang {
  margin-top: 22px;
}

.foot .lang {
  border-color: #e9e8e1;
}

.foot .lang__item.is-current {
  background: #e9e8e1;
  color: var(--ink);
}

.foot .lang__item:not(.is-current) {
  background: transparent;
  color: #fff;
}

.foot a.lang__item:hover {
  background: #343d52;
}

.foot__base {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #3a4358;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: #c6cbd6;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .trio {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .trio__notes {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding-top: 26px;
  }

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

@media (max-width: 880px) {
  :root {
    --edge: 38px;
    --sheet: 340px;
  }

  body {
    font-size: 1rem;
  }

  .top__in {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-block: 10px 6px;
  }

  .top__nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 0 20px;
  }

  .top__nav a {
    font-size: 0.94rem;
  }

  .hero__grid,
  .split,
  .split--flip,
  .trio,
  .pair,
  .stagger,
  .pinboard,
  .faq,
  .closing__grid,
  .doc {
    grid-template-columns: minmax(0, 1fr);
  }

  .sheet {
    margin-inline: auto;
  }

  .split--flip .sheet {
    order: 0;
  }

  .hero__sheet {
    margin-bottom: -130px;
  }

  .facts {
    padding-top: calc(var(--edge) + 140px);
  }

  .facts__list {
    max-width: none;
    min-height: 0;
  }

  .split,
  .hero__grid {
    gap: 48px;
  }

  .note--figures {
    margin-top: 40px;
  }

  .trio__notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 20px;
  }

  .pair__item:nth-child(2),
  .stagger__item--low {
    margin-top: 0;
  }

  .pair,
  .stagger {
    gap: 64px;
  }

  .stagger__item--low .sheet {
    order: 2;
  }

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

  .chip {
    display: none;
  }

  .doc__summary {
    position: relative;
    top: 0;
  }

  .tape {
    width: 96px;
    height: 26px;
  }

  .tape--left {
    left: -40px;
    top: -12px;
  }

  .tape--right {
    right: -40px;
    top: -12px;
  }

  .tape--top {
    width: 86px;
    top: -13px;
  }
}

@media (max-width: 560px) {
  .facts__list {
    gap: 18px 20px;
  }

  .pinboard__notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

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

  .btn {
    font-size: 1rem;
    padding-inline: 18px;
  }

  .brand__name {
    font-size: 1.1rem;
  }
}

@media print {
  .wall__edge,
  .tape {
    display: none;
  }
}
