@font-face {
  font-family: "Inter Tight";
  src: url(/fuentes/inter-tight-400.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url(/fuentes/inter-tight-700.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url(/fuentes/inter-tight-800.woff2) format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url(/fuentes/noto-sans-jp.woff2) format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

:root {
  --fondo: #f6f5f1;
  --tinta: #121212;
  --gris-texto: #5b5f66;
  --azul: #2446e8;
  --sobre-azul: #ffffff;
  --filete: #d3d1ca;
  --filete-fuerte: #121212;
  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --margen: 24px;
  --columna: 48rem;
  --medida: 29em;
  --filete-grueso: 3px;
  --titulo-escritorio: 2.5rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #0b0b0c;
    --tinta: #e9e7e1;
    --gris-texto: #8c8f96;
    --azul: #8ea0ff;
    --sobre-azul: #0b0b0c;
    --filete: #2a2b2e;
    --filete-fuerte: #3a3b3f;
  }
}

html[lang="ja"] {
  --sans: "Inter Tight", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --medida: 39em;
}

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

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: break-word;
  hyphens: auto;
}

html[lang="ja"] body {
  line-height: 1.75;
  line-break: strict;
  hyphens: manual;
  word-break: auto-phrase;
}

header,
main,
footer {
  box-sizing: border-box;
  max-width: var(--columna);
  margin: 0 auto;
  padding-left: var(--margen);
  padding-right: var(--margen);
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  padding-top: 12px;
  padding-bottom: 0;
  border-bottom: var(--filete-grueso) solid var(--filete-fuerte);
}

.marca {
  margin: 0;
}

.marca a {
  display: block;
}

.marca img {
  display: block;
  width: auto;
  height: 28px;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

header nav ul {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0 20px;
}

header nav a,
footer nav a {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.75rem 0;
}

header nav a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

header nav a[aria-current] {
  color: var(--tinta);
  font-weight: 700;
  text-decoration: none;
}

main {
  padding-bottom: 48px;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  margin: 32px 0 16px;
  font-size: 1.875rem;
}

@media (max-width: 359px) {
  :lang(ja) h1 {
    font-size: 1.5rem;
  }
}

h2 {
  margin: 40px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--filete);
  font-size: 1.375rem;
  line-height: 1.2;
}

h3 {
  margin: 28px 0 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

p,
ul,
ol,
dl {
  margin: 0 0 16px;
}

main p,
main li,
main dt,
main dd {
  max-width: var(--medida);
}

ul,
ol {
  padding-left: 1.25rem;
}

main li + li {
  margin-top: 4px;
}

dt {
  margin-top: 12px;
  font-weight: 700;
}

dd {
  margin: 4px 0 0 1rem;
}

a {
  color: var(--azul);
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 2px;
}

.saltar {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--azul);
  color: var(--sobre-azul);
  font-weight: 700;
}

.saltar:focus {
  left: 16px;
}

.lado-a-lado {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0 24px;
}

.aparato {
  max-width: 40rem;
  margin: 28px 0 32px;
}

.marco {
  background: url(/img/marco.svg) no-repeat 0 0 / 100% 100%;
  padding: 3.271% 3.271% 8.411%;
}

@media (prefers-color-scheme: dark) {
  .marco {
    background-image: url(/img/marco-noche.svg);
  }
}

.marco img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  margin-top: 8px;
  color: var(--gris-texto);
  font-size: 0.875rem;
  line-height: 1.35;
  text-align: center;
}

.capturas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0 24px;
}

.capturas .aparato {
  margin-bottom: 16px;
}

footer {
  padding-top: 8px;
  padding-bottom: 32px;
  border-top: 1px solid var(--filete);
  color: var(--gris-texto);
  font-size: 0.875rem;
  line-height: 1.35;
}

footer nav {
  margin-bottom: 8px;
}

footer p {
  margin: 0 0 8px;
}

@media (min-width: 48rem) {
  header nav ul {
    display: flex;
  }

  h1 {
    margin-top: 48px;
    font-size: var(--titulo-escritorio);
  }

  h2 {
    margin-top: 56px;
  }
}

@media print {
  :root {
    --fondo: #fff;
    --tinta: #000;
    --gris-texto: #000;
    --azul: #000;
    --filete: #000;
    --filete-fuerte: #000;
  }

  body {
    background: #fff;
    color: #000;
  }

  .saltar,
  header nav,
  footer nav {
    display: none;
  }

  .marco {
    padding: 0;
    background: none;
  }

  .aparato {
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}
