:root {
  color-scheme: light;
  --ink: #202127;
  --quiet: #505360;
  --rule: #d6d7d9;
  --link: #233ab0;
  --mono: ui-monospace, Consolas, monospace;
  font: 100%/1.55 "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fdfdfc; color: var(--ink); }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
a { color: var(--link); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #064cc7; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -6rem; padding: .6rem; background: white; z-index: 2; }
.skip:focus { top: .6rem; }
.bar, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bar { min-height: 4.4rem; border-bottom: 1px solid var(--ink); }
.brand, nav a, .foot a { min-height: 44px; display: inline-flex; align-items: center; }
.brand { gap: .5rem; font-size: 1.13rem; font-weight: 720; letter-spacing: -.04em; color: var(--ink); text-decoration: none; }
nav { display: flex; gap: clamp(.8rem, 3vw, 2rem); }
nav a { color: var(--ink); font-size: .94rem; }
.hero { display: grid; grid-template-columns: 1fr 1.06fr; align-items: start; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(2.8rem, 6vw, 5.4rem); }
.byline, .demo legend, .message small { font: .84rem/1.5 var(--mono); }
.byline { margin: 0 0 1.4rem; color: var(--quiet); }
.byline span { padding: 0 .25em; color: #6b6e78; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2.55rem, 4.2vw, 4.1rem); line-height: 1.045; letter-spacing: -.052em; font-weight: 670; text-wrap: balance; }
.invitation { align-self: center; max-width: 43ch; font-size: 1.105rem; }
.invitation p + p { margin-top: 1rem; }
.example { margin-top: 1rem; }
.example summary { width: fit-content; min-height: 44px; padding-block: .6rem; color: var(--link); text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.example[open] summary { margin-bottom: .55rem; }
.example .prompt, .example .message { margin: 0; }
.cta { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; margin-top: 1rem; font-weight: 650; }
.demo { position: relative; min-width: 0; margin: 0; padding: 1rem clamp(1rem,2.4vw,2rem) clamp(1rem,2.4vw,1.6rem); border: 1px solid #bec2cc; border-radius: 3px; background: #f4f5f7; }
.demo legend { padding-inline: .45rem; margin-left: -.45rem; color: #4e5260; }
.prompt { font-size: 1.11rem; font-weight: 650; }
.switch { display: inline-flex; margin-block: .85rem 1rem; border: 1px solid #9da2ae; border-radius: 4px; overflow: hidden; }
.switch label { display: grid; align-items: center; min-height: 44px; padding: .25rem .85rem; color: #3e4352; cursor: pointer; background: white; text-align: center; font-size: .94rem; line-height: 1.25; }
.switch label + label { border-left: 1px solid #9da2ae; }
.demo input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); padding: 0; margin: 0; }
#v1:checked ~ .switch [for=v1], #v2:checked ~ .switch [for=v2] { background: #252932; color: white; }
#v1:focus-visible ~ .switch [for=v1], #v2:focus-visible ~ .switch [for=v2] { outline: 3px solid #6585ff; outline-offset: -4px; }
.version { display: none; }
#v1:checked ~ .first, #v2:checked ~ .second { display: block; }
.message { min-height: 5.1rem; padding-bottom: .65rem; line-height: 1.4; }
.message small { display: block; color: var(--quiet); margin-bottom: .25rem; }
.poster { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 16/9; background: #203582; color: white; padding: clamp(1rem,2.4vw,2rem); }
.poster span { font-size: clamp(2.2rem,3.8vw,3.9rem); line-height: .95; font-weight: 800; letter-spacing: -.055em; }
.poster b { align-self: start; font: 650 clamp(1.25rem,2.2vw,2.25rem)/1.12 var(--mono); color: #fff3a5; }
.moon { position: absolute; z-index: -1; width: 36%; aspect-ratio: 1; right: 6%; top: 14%; border-radius: 50%; background: #fff2a3; }
.poster::after { content: ""; position: absolute; z-index: -1; inset: 42% -1% -1% 40%; background: #14244f; clip-path: polygon(0 100%,24% 65%,32% 72%,65% 29%,77% 40%,100% 0,100% 100%); }
.notes { display: grid; grid-template-columns: 1fr 1.06fr; gap: clamp(2rem,6vw,5rem); padding-block: 2.5rem 3.2rem; border-top: 1px solid var(--ink); }
h2 { font-size: 1.6rem; line-height: 1.16; letter-spacing: -.035em; }
.notes p { max-width: 50ch; margin-block: .95rem; }
.process { list-style: none; margin: 1.6rem 0 1.1rem; padding: 0; }
.process li { position: relative; display: grid; grid-template-columns: 2.65rem 1fr; gap: 1rem; align-items: start; padding-bottom: 1.3rem; }
.process li:last-child { padding-bottom: 0; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 2.7rem; bottom: .15rem; left: 1.32rem; border-left: 1px solid #a3afd8; }
.process svg { width: 2.65rem; height: 2.65rem; fill: none; stroke: #202d56; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.process .detail { stroke: var(--link); }
.process strong { display: block; line-height: 1.3; margin-top: .2rem; }
.process li p { margin: .2rem 0 0; font-size: .98rem; line-height: 1.45; color: var(--quiet); max-width: 41ch; }
address { display: grid; justify-items: start; margin-top: .5rem; font-style: normal; }
address a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.foot { padding-block: .65rem; border-top: 1px solid var(--rule); color: var(--quiet); font-size: .9rem; }
.legal { max-width: 43rem; padding-block: 2rem 4rem; }
.back { display: inline-flex; min-height: 44px; align-items: center; }
.legal h1 { margin-top: 1rem; }
.legal .date { color: var(--quiet); margin-top: .6rem; }
.legal section { margin-top: 2rem; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.legal p { margin-top: .8rem; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .hero, .notes { grid-template-columns: 1fr; gap: 2.2rem; }
  .invitation { max-width: 54ch; }
  .poster span { font-size: clamp(2rem,8vw,3.8rem); }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 2rem); }
  .brand { font-size: 1.02rem; }
  nav a { font-size: .85rem; }
  .switch label { padding-inline: .6rem; }
  .message { min-height: 6.3rem; }
}
@media (forced-colors: active) {
  #v1:checked ~ .switch [for=v1], #v2:checked ~ .switch [for=v2] { text-decoration: underline; }
}
