@font-face {
  font-family: Mulish;
  src: url("assets/mulish-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0a2255;
  --royal: #163cb2;
  --blue: #94baff;
  --sky: #adcdff;
  --mist: #e6f0ff;
  --paper: #f6faff;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --system: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(1rem, 4.8vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--navy); background: var(--paper); font: 600 1.0625rem/1.5 Mulish, Arial, sans-serif; }
h1, h2, p, ol { margin: 0; }
h1, h2 { font-weight: 1000; line-height: 1.01; letter-spacing: normal; }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.1rem); }
svg { display: block; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100%, 94rem); padding-inline: var(--gutter); margin-inline: auto; }
.split, .hero-grid { display: grid; }
.split > *, .hero-grid > * { min-width: 0; }
.split { gap: clamp(1.4rem, 3vw, 3.5rem); }
.band { padding-block: clamp(2.5rem, 5vw, 5rem); border-top: 2px solid var(--navy); }
.hero, .close { color: white; background: var(--royal); }
.hero { isolation: isolate; position: relative; }
.lead { padding-block: 1.8rem 2.4rem; }

.wordmark {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-bottom: clamp(1.7rem, 3vw, 2.8rem);
  color: var(--navy);
  font-size: clamp(2rem, 5.5vw, 4.25rem);
  font-weight: 1000;
  letter-spacing: -.008em;
  line-height: 1;
  isolation: isolate;
}
.paper-name {
  position: relative;
  padding: .035em .22em .12em .16em;
  background: var(--paper);
  transform: rotate(-3deg);
}
.raven-patch {
  z-index: -1;
  display: grid;
  place-items: center;
  width: 1.73em;
  height: 1.43em;
  margin-left: -.12em;
  padding: .12em .22em .12em .18em;
  background: var(--sky);
  clip-path: polygon(1% 9%, 12% 11%, 20% 1%, 31% 8%, 43% 0, 54% 7%, 67% 1%, 77% 10%, 89% 3%, 100% 9%, 96% 92%, 84% 87%, 74% 100%, 61% 93%, 49% 100%, 37% 91%, 24% 98%, 13% 90%, 0 96%);
  transform: rotate(7deg);
}
.raven-patch svg { width: 100%; height: 100%; transform: rotate(-7deg); }
.stamp, .source, .proof time, footer { font-family: var(--mono); }
.stamp {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: clamp(.72rem, 1vw, .82rem);
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.stamp::before { content: ""; width: 1.7em; height: 3px; background: var(--sky); }
h1 { margin: .2em 0 .23em; font-size: clamp(2.7rem, 12.25vw, 5rem); line-height: .99; }
h1 span { display: block; }
.subline { font-size: clamp(1.0625rem, 1.6vw, 1.38rem); letter-spacing: -.018em; }
.access {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding: .65rem 1.4rem;
  min-height: 3rem;
  border: 2px solid var(--navy);
  border-radius: 100px;
  background: var(--paper);
  color: var(--navy);
  box-shadow: 3px 4px 0 var(--navy);
  font-weight: 950;
  text-decoration: none;
}
.access svg { width: 1.2em; height: 1.2em; }
.access:hover { background: var(--sky); }
.access:active { transform: translate(2px, 2px); box-shadow: 1px 2px 0 var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.access:focus-visible { outline-color: white; outline-offset: 6px; }

.stage {
  position: relative;
  margin-inline: calc(0px - var(--gutter));
  padding: 1.75rem var(--gutter) 1.9rem;
  background: var(--sky);
}
.stage::before {
  content: "";
  position: absolute;
  inset: -12px 0 100%;
  background: var(--sky);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.phone { font-family: var(--system); color: var(--navy); }
.status-bar, .contact, .home-bar { display: none; }
.thread {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 30rem;
  margin-inline: auto;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.33;
  letter-spacing: -.016em;
}
.message { display: flex; position: relative; }
.incoming { margin-left: 1.65rem; margin-right: 8%; }
.outgoing { align-self: flex-end; }
.sender {
  position: absolute;
  left: -1.65rem;
  bottom: .3rem;
  width: 1.25rem;
  height: 1.25rem;
}
.bubble {
  position: relative;
  width: fit-content;
  padding: 9px 13px;
  border-radius: 18px;
  color: var(--navy);
  background: var(--paper);
}
.bubble::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  bottom: 0;
  left: -3px;
  background: inherit;
  clip-path: polygon(35% 0, 100% 75%, 75% 94%, 0 100%, 24% 74%);
}
.outgoing .bubble { background: var(--royal); color: white; }
.outgoing .bubble::after { left: auto; right: -3px; transform: scaleX(-1); }
.bubble b { font-weight: 650; }
.yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  min-width: 4rem;
  min-height: 44px;
  padding: 2px 10px;
  margin-top: 6px;
  border: 1px solid var(--royal);
  border-radius: 100px;
  cursor: pointer;
  background: white;
  color: var(--royal);
  font: 650 1rem/1.2 var(--system);
}
.yes:hover { background: var(--mist); }
.yes svg { display: none; width: .88rem; height: .88rem; }
.yes[aria-pressed="true"] { color: white; background: var(--royal); }
.yes[aria-pressed="true"] svg { display: block; }

.pain { background: var(--blue); }
.pain h2 { font-size: clamp(3.15rem, 6.1vw, 5.75rem); }
.pain h2 span, .pain-copy strong, .assurance strong, .close strong { display: block; }
.pain-copy { border-top: 3px solid var(--navy); padding-top: .85rem; }
.pain-copy > p:first-child { font-size: clamp(1.38rem, 2.1vw, 2rem); line-height: 1.22; letter-spacing: -.028em; }
.pain-copy strong { font-weight: 950; }
.source { margin-top: 1rem; font-size: .84rem; line-height: 1.55; }
.how { background: var(--paper); }
.steps {
  display: grid;
  gap: .85rem;
  margin-top: clamp(1.4rem, 3vw, 2.5rem);
  padding: 0;
  list-style: none;
}
.steps li {
  border-top: 3px solid var(--royal);
  padding-top: .6rem;
  font-size: clamp(1.2rem, 1.9vw, 1.8rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.033em;
}
.proof { background: var(--navy); color: white; }
.proof time { display: block; margin-bottom: .9rem; font-size: .89rem; font-weight: 650; }
.proof h2 { max-width: 15ch; }
.proof h2 span { color: var(--sky); white-space: nowrap; }
.receipt {
  --ticket-padding: clamp(1.12rem, 3.2vw, 2.75rem);
  padding: var(--ticket-padding);
  background: var(--mist);
  color: var(--navy);
  border-top: .65rem solid var(--blue);
}
.seats {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(.35rem, 1vw, .9rem);
  font: 650 clamp(.88rem, 1.3vw, 1.1rem)/1.3 var(--mono);
}
.assignment strong { font-size: clamp(1.6rem, 3vw, 2.8rem); letter-spacing: -.015em; }
.assignment svg { width: 100%; max-width: 8rem; height: auto; margin-top: .45rem; color: var(--royal); }
.cost {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .45rem 1rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 2px dashed var(--navy);
}
.cost::before, .cost::after {
  content: "";
  position: absolute;
  top: -9px;
  left: calc(0px - var(--ticket-padding));
  width: 8px;
  height: 16px;
  background: var(--navy);
  border-radius: 0 8px 8px 0;
}
.cost::after { left: auto; right: calc(0px - var(--ticket-padding)); transform: rotate(180deg); }
.cost s { font: 600 clamp(.9rem, 1.35vw, 1.15rem)/1.4 var(--mono); }
.cost strong { font-size: clamp(2.3rem, 4.2vw, 4rem); font-weight: 1000; line-height: 1; letter-spacing: normal; }
.assurance { background: var(--paper); }
.assurance h2 { max-width: 21ch; font-size: clamp(2.05rem, 3.65vw, 3.45rem); }
.assurance h2 strong { font-weight: inherit; color: var(--royal); }
details { align-self: start; min-width: 0; border-block: 2px solid var(--navy); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  list-style: none;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.35;
}
summary::-webkit-details-marker { display: none; }
summary svg { flex: none; width: 1.15rem; height: 1.15rem; }
details[open] summary svg { transform: rotate(180deg); }
summary:hover { text-decoration: underline; text-underline-offset: .2em; }
details p { max-width: 53ch; padding-bottom: 1.15rem; }
.permission { background: var(--mist); padding-inline: 1.1rem; }
.faq { background: var(--sky); }
.faq .split { align-items: start; }
.close strong { font-weight: inherit; }
.close h2 { max-width: 17ch; }
footer { padding-block: 1.15rem; font-size: .85rem; background: var(--navy); color: white; }

@media (min-width: 47rem) {
  body { font-size: 1.125rem; }
  .hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 0 56%;
    background: var(--sky);
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.52fr) minmax(300px, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    padding-block: clamp(1.75rem, 2.6vw, 2.5rem);
  }
  .lead { padding-block: .6rem; }
  h1 { font-size: clamp(3.2rem, 6.2vw, 6.2rem); }
  .access { margin-top: 1.55rem; }
  .stage { display: grid; place-items: center; margin: 0; padding: 0; background: transparent; }
  .stage::before { display: none; }
  .phone {
    position: relative;
    width: 300px;
    padding: 5px;
    border: 2px solid #486594;
    border-radius: 44px;
    background: #11213a;
  }
  .phone::before, .phone::after {
    content: "";
    position: absolute;
    top: 119px;
    left: -4px;
    width: 2px;
    height: 41px;
    border-radius: 2px 0 0 2px;
    background: #486594;
  }
  .phone::after { left: auto; right: -4px; top: 147px; height: 51px; border-radius: 0 2px 2px 0; }
  .screen {
    display: flex;
    flex-direction: column;
    min-height: 636px;
    border-radius: 37px;
    background: white;
  }
  .status-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 37px;
    padding: 4px 21px 0 25px;
    font-size: .81rem;
    line-height: 1;
    font-weight: 700;
  }
  .status-bar svg { width: 49px; height: 13px; }
  .island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 63px; height: 17px; border-radius: 20px; background: #11213a; }
  .contact {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 4px 0 9px;
    border-bottom: 1px solid #cedaec;
    font-size: .79rem;
    font-weight: 600;
    line-height: 1.2;
  }
  .back { position: absolute; left: 13px; top: 18px; width: 20px; height: 20px; color: var(--royal); }
  .avatar { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; color: var(--navy); background: var(--sky); }
  .avatar svg { width: 27px; height: 27px; }
  .thread {
    flex: 1;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 13px;
    font-size: 1.0625rem;
    line-height: 1.32;
  }
  .incoming { margin-left: 0; margin-right: 15px; }
  .sender { display: none; }
  .bubble { padding: 12px 13px; }
  .incoming .bubble { background: var(--mist); }
  .yes { min-height: 36px; margin-top: 5px; }
  .home-bar { display: block; width: 89px; height: 4px; margin: 5px auto 8px; border-radius: 20px; background: #11213a; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .permission { align-self: center; }
  .close .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
  .close .access { flex: none; margin: 0; }
}
