:root {
  color-scheme: light;
  --paper: #FCFAF6;
  --ink: #24221F;
  --carmine: #A20B38;
  --rule: #dcd6cb;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { text-align: center; padding: clamp(1.6rem, 5vw, 3.5rem) 1rem 0; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wordmark {
  font-size: clamp(2rem, 5vw, 3.45rem);
  letter-spacing: -.085em;
  font-weight: 850;
  text-decoration: none;
}
.wordmark span { color: var(--carmine); }
main { width: min(100% - 2rem, 73rem); margin-inline: auto; }
.hero { text-align: center; padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 8vw, 6rem); }
h1, h2 { margin: 0; font-family: Georgia, serif; font-weight: 400; letter-spacing: -.048em; }
h1 { font-size: clamp(2.25rem, 6.8vw, 4.55rem); line-height: .98; text-wrap: balance; }
.unbreakable { white-space: nowrap; }
h2 { font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.05; }
.date { font-size: .875rem; margin: 1.1rem 0 1.5rem; }
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 25rem);
  margin-inline: auto;
  padding-block: .8rem;
  border-block: 1px solid var(--rule);
}
.countdown div + div { border-inline-start: 1px solid var(--rule); }
.countdown strong {
  display: block;
  font-size: clamp(1.45rem, 5.5vw, 2.55rem);
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.countdown span { font-size: .875rem; }
.illustrations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .25rem;
  width: min(100%, 25rem);
  list-style: none;
  margin: 1.6rem auto 1.7rem;
  padding: 0;
  font-size: .875rem;
}
.icon-stack {
  position: relative;
  width: 68px;
  height: 68px;
  margin-inline: auto;
}
.icon-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 500ms ease-in-out;
}
.icon-stack .current { opacity: 1; }
.message { margin: 1rem 0 .65rem; font-weight: 650; line-height: 1.45; }
.lead { margin: 0 auto; max-width: 46ch; line-height: 1.55; }
.signature { margin: .55rem auto 0; font-size: .875rem; line-height: 1.5; }
form { width: min(100%, 28rem); margin: 1.55rem auto 0; text-align: left; }
label { display: block; font-size: .875rem; margin-bottom: .4rem; }
.form-row { display: flex; flex-wrap: wrap; gap: .5rem; }
input, button { min-height: 48px; padding: .65rem .85rem; border: 1px solid var(--ink); border-radius: 3px; font: inherit; }
input { flex: 1 1 10rem; min-width: 0; color: inherit; background: transparent; }
button { flex: 1 0 auto; border-color: var(--carmine); background: var(--carmine); color: #fff; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .68; cursor: default; }
#feedback, #registrations { font-size: .875rem; margin: .8rem 0 0; }
#feedback:empty, #registrations:empty { margin: 0; }
.concept-link { display: inline-block; margin-top: 1.5rem; padding-block: .5rem; }
.concept { max-width: 73rem; margin-inline: auto; border-top: 1px solid var(--rule); padding: clamp(2rem, 6vw, 4rem) 0; }
.concept ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 0; margin: 1.7rem 0 0; }
.concept li { border-top: 1px solid var(--rule); padding-top: .85rem; }
.concept-sketch { display: block; object-fit: contain; margin: .15rem 0 .8rem; }
.concept h3 { margin: 0 0 .35rem; }
.concept p { margin: 0; line-height: 1.55; }
.concept-path, .concept-finale { display: none; }
@media (width > 38rem) {
  .concept ol { position: relative; isolation: isolate; grid-template-rows: repeat(4, auto); row-gap: 0; }
  .concept li {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
  }
  .concept-path {
    display: block;
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    width: 100%;
    height: 116px;
    pointer-events: none;
  }
  .concept li:not(:last-child) .concept-sketch { background: var(--paper); }
  .concept li:nth-child(2) .concept-sketch { justify-self: center; }
  .concept li:last-child { position: relative; text-align: right; }
  .concept li:last-child .concept-sketch { justify-self: end; visibility: hidden; }
  .concept-finale {
    display: block;
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 116px;
    object-fit: contain;
    object-position: right top;
    pointer-events: none;
  }
}
@media (max-width: 38rem) {
  .concept ol { grid-template-columns: 1fr; row-gap: 2.4rem; }
  .concept li:not(:last-child) { position: relative; }
  .concept li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(100% + .35rem);
    left: 40px;
    width: 8px;
    height: 1.65rem;
    opacity: .55;
    background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 27'%3E%3Cpath d='M3 1 C1 8 7 16 5 26' fill='none' stroke='%2324221F' stroke-linecap='round'/%3E%3C/svg%3E");
  }
  .concept li:nth-child(2)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 27'%3E%3Cdefs%3E%3ClinearGradient id='ink' x2='0' y2='1'%3E%3Cstop stop-color='%2324221F'/%3E%3Cstop offset='1' stop-color='%23A20B38'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5 1 C7 9 1 19 3 26' fill='none' stroke='url(%23ink)' stroke-linecap='round'/%3E%3C/svg%3E");
  }
}
@media (prefers-reduced-motion: reduce) {
  .icon-stack img, .icon-stack img.current { opacity: 0; transition: none; }
  .icon-stack img:first-child { opacity: 1; }
}

#signup-consent { margin: .65rem 0 0; font-size: .8125rem; }

.legal { max-width: 39rem; padding-block: 3rem; line-height: 1.65; }
.legal h1 { font-size: clamp(2rem, 7vw, 3.5rem); margin-bottom: 1.8rem; }
.legal h2 { font-size: 1.55rem; margin-top: 1.5rem; }
.legal-footer { padding: 1rem 1rem 1.8rem; text-align: center; font-size: .875rem; line-height: 1.6; }
.confirmation { max-width: 42rem; margin-inline: auto; }
.confirmation button { margin-top: .5rem; }
