:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #111b49;
  --fold: #a44235;
  --rule: #d6e4f0;
  --rounded: ui-rounded, "SF Pro Rounded", "Rounded fallback", system-ui, sans-serif;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(76rem, calc(100% - clamp(2.5rem, 10vw, 9rem))); margin-inline: auto; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid var(--fold); outline-offset: 5px; }
.skip { position: absolute; z-index: 2; top: .75rem; left: 1rem; padding: .8rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.mast, footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mast { min-height: 5.1rem; border-bottom: 1px solid var(--rule); }
nav a, footer a { min-height: 44px; display: inline-flex; align-items: center; }
nav a { font-size: 1rem; font-weight: 600; text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1.14fr; align-items: center; column-gap: 3%; padding-block: clamp(3rem, 5.5vw, 5.5rem); }
h1, h2, h3, p { margin: 0; }
h1 {
  max-width: 31rem;
  font-family: var(--rounded);
  font-size: clamp(2.55rem, 4.8vw, 4.15rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.04;
  text-wrap: balance;
}
h2, h3, nav a, .cta, li::before { font-family: var(--rounded); }
.intro p { max-width: 29em; margin-block: 1.5rem 1.8rem; color: #43485c; font-size: clamp(1.08rem, 1.5vw, 1.27rem); line-height: 1.48; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; border-radius: 3rem; padding: .8rem 1.45rem; background: var(--ink); color: white; font-size: 1rem; font-weight: 600; text-decoration: none; }
.cta:hover { background: #26346b; }
.intro small { display: block; margin-top: .65rem; color: #5a5c67; font-size: .875rem; }
[hidden] { display: none !important; }
button.cta { border: 0; cursor: pointer; font-family: var(--rounded); }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--fold); outline-offset: 3px; }
#access-form { max-width: 27rem; }
#access-form label { display: block; margin-bottom: .55rem; font-weight: 600; }
.access-row { display: flex; flex-wrap: wrap; gap: .5rem; }
#access-form input[type="email"], #access-form textarea { display: block; width: 100%; margin-bottom: 1rem; min-height: 3rem; padding: .75rem .9rem; font: inherit; color: var(--ink); border: 1px solid #77859b; border-radius: .85rem; }
#access-form textarea { resize: vertical; line-height: 1.4; }
#invite-interests { margin: 0; padding: 0; border: 0; min-width: 0; }
#invite-interests legend { padding: 0; font-weight: 600; }
#interest-hint { margin: .3rem 0 .5rem; color: #5a5c67; font-size: .9rem; }
#access-form #invite-interests label:has(input) { display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; margin: 0; font-weight: 400; cursor: pointer; }
#invite-interests input { flex-shrink: 0; width: 1.125rem; height: 1.125rem; margin: 0; accent-color: var(--ink); }
#access-form label[for="invite-other"] { margin-top: .75rem; }
.access-cancel { padding: 0 .4rem 0 0; min-height: 44px; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; text-decoration: underline; }
#access-form [role="alert"] { color: #983323; font-size: .91rem; }
#access-success { max-width: 26rem; font-weight: 600; }
.city-scene { position: relative; isolation: isolate; }
.skyline { display: block; width: 100%; height: auto; }
.flier { position: absolute; width: 26%; height: auto; left: 28%; top: 13%; transform: rotate(-6deg); }
@media (prefers-reduced-motion: no-preference) {
  .flier { animation: cross-city 4.6s cubic-bezier(.35,0,.23,1) both; }
  @keyframes cross-city {
    0%   { transform: translate(158%, 44%) scale(.68) rotate(4deg); }
    46%  { transform: translate(79%, -11%) scale(.88) rotate(-9deg); }
    76%  { transform: translate(30%, 1%) scale(.96) rotate(-3deg); }
    100% { transform: rotate(-6deg); }
  }
}
.guide { border-block: 1px solid var(--rule); background: #f1f8ff; padding-block: clamp(2.5rem,5vw,4.75rem); scroll-margin-top: 1rem; }
h2 { font-size: clamp(2rem,3.6vw,3.1rem); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; }
.guide-layout ol { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5%; }
.guide-layout li { min-width: 0; }
.pose { display: flex; align-items: flex-end; height: clamp(6rem, 10vw, 8rem); margin-bottom: 1.2rem; border-bottom: 2px solid #dbeafa; padding: 0 .6rem .5rem; }
.pose img { height: 90%; max-width: 100%; object-fit: contain; }
h3 { margin: 0 0 .45rem; font-size: 1.45rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.2; }
li p { color: #43485c; font-size: 1.025rem; line-height: 1.55; max-width: 32em; }
footer { min-height: 5.5rem; }
footer a { color: #515569; font-size: .9375rem; }
@media (max-width: 700px) {
  .mast { min-height: 4rem; }
  .mast img { width: 7.25rem; height: auto; }
  .hero { grid-template-columns: 1fr; padding-block: 2.6rem 2.05rem; }
  h1 { width: min(100%, 25rem); }
  .city-scene { width: min(100%,30rem); justify-self: center; margin-top: 1.25rem; }
  .intro p { margin-block: 1.1rem 1.4rem; }
  .guide-layout ol { grid-template-columns: 1fr; gap: 1.3rem; }
  .guide-layout li { display: grid; grid-template-columns: minmax(3.3rem,18%) 1fr; gap: 0 1rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
  .pose { grid-row: 1 / 3; height: auto; padding: .3rem 0; margin: 0; border: 0; align-items: flex-start; }
  .pose img { width: 100%; height: auto; }
  li p { grid-column: 2; }
}

@font-face {
  font-family: "Rounded fallback";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("./assets/nunito-latin.woff2") format("woff2");
}
