:root {
  --ink: #20211f;
  --paper: #f6f5ef;
  --lime: #e4ff39;
  --line: #cacbc2;
}
* {
  box-sizing: border-box;
}
body {
  margin: auto;
  max-width: 1560px;
  padding: 0 5%;
  background: var(--paper);
  color: var(--ink);
  font:
    16px Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
header,
footer,
nav,
.brand,
small,
figcaption {
  display: flex;
  align-items: center;
}
header,
footer {
  justify-content: space-between;
  padding: 24px 0;
}
header {
  border-bottom: 1px solid var(--line);
}
nav {
  gap: 36px;
}
.brand {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -2.5px;
  gap: 7px;
}
.brand img,
article img {
  width: 42px;
}
.pill {
  display: inline-block;
  border-radius: 40px;
  padding: 17px 26px;
  font-weight: bold;
}
.dark {
  background: var(--ink);
  color: var(--paper);
}
header .pill {
  padding: 13px 20px;
}
.lime,
#contacto,
button[aria-pressed="true"] {
  background: var(--lime);
}
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.hero,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  align-items: center;
}
.hero {
  padding: 40px 0 64px;
  grid-template-columns: 1.08fr 1fr;
}
small {
  font: 600 12px/1.5 monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  gap: 10px;
}
i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--ink);
}
h1,
h2,
h3 {
  letter-spacing: -0.065em;
  line-height: 0.98;
  margin: 28px 0;
}
h1 {
  font-size: clamp(46px, 6.25vw, 98px);
}
h1 span {
  background: linear-gradient(transparent 74%, var(--lime) 74%);
}
h2 {
  font-size: clamp(40px, 5vw, 80px);
}
h3 {
  font-size: 32px;
}
p {
  max-width: 48ch;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.48;
  margin: 0 0 30px;
  letter-spacing: -0.018em;
}
figure {
  margin: 0;
  position: relative;
}
figure img {
  display: block;
  width: 100%;
  height: clamp(520px, 45vw, 700px);
  object-fit: cover;
  border-radius: 24px;
}
figcaption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--ink);
  color: var(--paper);
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  font-size: 14px;
}
figcaption b {
  border-left: 1px solid #777;
  padding-left: 12px;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
button,
summary {
  cursor: pointer;
  color: inherit;
}
button {
  border: 1px solid var(--ink);
  border-radius: 30px;
  padding: 14px 18px;
  background: none;
  font: inherit;
}
.stage {
  background: var(--ink);
  border-radius: 24px;
  padding: 8%;
}
article {
  background: var(--paper);
  padding: 7%;
  border-radius: 16px;
  min-height: 350px;
}
article p {
  font-size: 16px;
}
dl {
  display: grid;
  grid-template-columns: auto auto;
  line-height: 2.4;
}
dd {
  text-align: right;
  margin: 0;
  font-weight: bold;
}
dt,
dd,
details {
  border-bottom: 1px solid var(--line);
}
summary {
  padding: 23px 0;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -0.03em;
}
#contacto {
  text-align: center;
  border-radius: 24px;
  margin-top: 50px;
  padding: 65px 6%;
}
#contacto img {
  width: 74px;
}
#contacto p {
  margin-inline: auto;
}
footer {
  padding: 38px 0;
}
:focus-visible {
  outline: 3px solid #5963bd;
  outline-offset: 4px;
}
@media (max-width: 800px) {
  nav {
    display: none;
  }
  .hero,
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  h1 {
    font-size: clamp(42px, 11vw, 76px);
  }
  figure img {
    height: 95vw;
    max-height: 510px;
  }
  section {
    padding: 46px 0;
  }
  .brand {
    font-size: 30px;
  }
  .brand img {
    width: 35px;
  }
  header {
    padding: 16px 0;
  }
  small {
    font-size: 10px;
  }
  figcaption {
    left: 12px;
    bottom: 12px;
  }
  .stage {
    padding: 5%;
  }
  article {
    min-height: 375px;
  }
  dl {
    font-size: 14px;
  }
  header .pill {
    font-size: 14px;
  }
}
