@font-face { font-family: Bricolage; src: url(bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: DM; src: url(dm-sans.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }
:root {
  --red: #f74b32;
  --deep: #290f0a;
  --ink: #28251e;
  --paper: #fff9ec;
  --sand: #fae8cf;
  --link: #a63821;
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.55 DM, sans-serif;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, blockquote, dd { margin: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.wrap { width: min(78rem, 90%); margin-inline: auto; }
header, .hero { background: var(--red); color: var(--deep); }
.bar, .foot, nav, .actions { display: flex; align-items: center; gap: 1.5rem; }
.bar, .foot { justify-content: space-between; padding-block: 1.2rem; }
.bar { border-bottom: 1px solid #290f0a60; }
.brand { display: inline-flex; text-decoration: none; }
nav a, .actions a, .brand { display: inline-flex; align-items: center; min-height: 44px; }
a { color: inherit; font-weight: 650; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -5rem; background: var(--paper); padding: .5rem; z-index: 1; }
.skip:focus { top: 1rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.pill, .cta { border-radius: 4rem; text-decoration: none; }
.pill { border: 1px solid currentColor; padding: .4rem 1.35rem; }
.cta { background: var(--ink); color: var(--paper); padding: .9rem 1.5rem; }
.spread { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,6rem); align-items: center; }
.hero .spread { padding-block: clamp(2.4rem,5vw,5rem); }
h1, h2, h3, .foot strong { font-family: Bricolage, sans-serif; letter-spacing: -.065em; line-height: 1; }
h1 { font-size: clamp(3rem,6vw,5.6rem); }
.pitch h1 { font-weight: 800; font-size: clamp(3.25rem,7.6vw,7.1rem); line-height: .94; text-wrap: balance; }
.pitch p { font-size: clamp(1.1rem,1.6vw,1.45rem); line-height: 1.38; max-width: 39ch; margin: 1.7rem 0; }
.mascota { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1.1rem; }
h2 { font-size: clamp(2.5rem,4.7vw,4.2rem); }
.example { background: var(--sand); padding-block: clamp(3rem,7vw,7rem); }
.example blockquote, .reading blockquote { font-size: 1.35rem; margin: 1.5rem 0 1rem; }
.example p, .closer p { max-width: 46ch; margin-bottom: 1rem; }
.ticket { background: var(--paper); border-top: 5px solid var(--red); padding: clamp(1.4rem,4vw,3.4rem); position: relative; }
.ticket::after { content: ""; position: absolute; height: 10px; inset: auto 0 -9px; background: linear-gradient(135deg,var(--paper) 25%,transparent 25%) 0 0/20px 20px, linear-gradient(225deg,var(--paper) 25%,transparent 25%) 0 0/20px 20px; }
.ticket .stamp { font: .82rem/1.5 monospace; text-transform: uppercase; letter-spacing: .08em; }
.ticket h3 { font-size: clamp(2.1rem,3vw,3rem); margin-bottom: .5rem; }
.ticket dl { margin-block: 1.3rem; font-variant-numeric: tabular-nums; }
.ticket dl div { border-top: 1px dashed #776a58; padding-block: .7rem; display: flex; justify-content: space-between; align-items: baseline; }
.ticket dd { font-size: 1.75rem; font-weight: 750; }
.ticket .fine { margin: 0; font-size: .95rem; }
.closer, .reading { padding-block: clamp(3rem,6vw,6rem); }
.closer p { margin-top: 1rem; }
.closer a, .example a, .reading a { color: var(--link); }
.reading { width: min(45rem, 89%); margin-inline: auto; }
.reading h2 { font-size: 1.9rem; margin: 2.2rem 0 .6rem; }
.reading p, .reading blockquote { margin-bottom: 1rem; }
.intro { margin-top: 1.2rem; font-size: 1.3rem; }
.reading blockquote { border-left: 4px solid var(--red); padding-left: 1rem; }
code { font-size: .95em; overflow-wrap: anywhere; }
footer { border-top: 1px solid #c8bca8; }
.foot strong { font-size: 1.4rem; }
@media (max-width: 720px) {
  .spread { grid-template-columns: 1fr; }
  .hero .spread { gap: 2rem; }
  .mascota { max-width: 32rem; }
  .bar, nav, .actions { gap: .8rem; }
  .bar img { width: 128px; }
  .foot { flex-wrap: wrap; }
  .foot nav, .actions { flex-wrap: wrap; }
}
@media (max-width: 465px) {
  .bar nav a:first-child { display: none; }
  .ticket { margin-top: .5rem; }
}

pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--sand); padding: 1rem; }

[hidden] { display: none !important; }
h2, h3 { text-wrap: balance; }
button, summary { font: inherit; cursor: pointer; }
button { color: inherit; }
.actions { flex-wrap: wrap; }
.actions .cta { gap: .75em; }
.actions .cta span { transition: transform .18s ease-out; }
.actions .cta:is(:hover,:focus-visible) span { transform: translate(.15em,-.15em); }
.mascota { height: auto; }
.journey { padding-block: clamp(3rem,6vw,6rem); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.steps li { border-top: 1px solid #ccbba1; padding-top: 1rem; }
.steps h3 { font-size: clamp(1.5rem,2.7vw,2.2rem); margin: .8rem 0 .6rem; }
.steps p { max-width: 34ch; }
.pose { display: block; width: clamp(5rem,10vw,8rem); aspect-ratio: 1; border-radius: 50%; background-image: url(gestos.webp); background-size: 300% 100%; background-repeat: no-repeat; }
.hello { background-position: left; } .listen { background-position: right; } .point { background-position: center; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.7rem; }
.choices button, .copyline button, .copy-prompt { border: 1px solid currentColor; border-radius: 2rem; padding: .55rem 1rem; min-height: 44px; background: transparent; font-weight: 650; }
.choices button[aria-pressed="true"], .copyline button { background: var(--ink); color: var(--paper); }
.ticket dt small { display: block; font-size: .88rem; font-weight: 450; }
.ticket dl div { padding: .7rem .6rem; gap: .4rem; align-items: center; }
.ticket dl div.chosen { background: #fae8cf; box-shadow: inset 3px 0 var(--red); }
.ticket dd { white-space: nowrap; }
.ticket .advice { min-height: 3.1em; }
.closer .cta, .reading .cta { color: var(--paper); display: inline-flex; }
.setup details { border-top: 1px solid #c8bca8; padding: 1rem 0; }
.setup summary { font-family: Bricolage,sans-serif; font-weight: 700; font-size: 1.35rem; }
.setup summary + p { margin-top: .8rem; }
.setup details li + li { margin-top: .5rem; }
.copyline { background: var(--sand); border-radius: .6rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; padding: 1rem; }
.copyline code { min-width: 0; }
.copy-prompt { margin-bottom: 1rem; }
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .steps li { display: grid; grid-template-columns: 4.7rem 1fr; gap: .3rem 1rem; align-items: start; }
  .steps .pose { width: 4.7rem; grid-row: span 2; }
  .steps h3 { margin: 0; } .steps p { max-width: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .mascota { animation: arrive .6s ease-out both; }
  .steps li:is(:hover,:focus-within) .pose { transform: rotate(-4deg); }
  .pose { transition: transform .2s ease; }
  @keyframes arrive { from { transform: translateY(.65rem) rotate(1deg); opacity: .65; } }
}
@media (prefers-reduced-motion: reduce) {
  .actions .cta span { transition: none; }
}
