@font-face {
  font-family: Fraunces;
  src: url(/assets/polices/Fraunces-latin.woff2);
}
@font-face {
  font-family: Inter;
  src: url(/assets/polices/Inter-latin.woff2);
  font-weight: 100 900;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #191c1e;
  background: #fff;
  font:
    16px/1.5 Inter,
    system-ui,
    sans-serif;
}
a {
  color: inherit;
}
button,
summary {
  font: inherit;
  cursor: pointer;
}
header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e8ea;
  padding: 0 max(calc((100vw - 1100px) / 2), 5vw);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -1.6px;
  text-decoration: none;
}
.brand img {
  width: 34px;
}
.nav {
  border: 1px solid #d9dddf;
  padding: 8px 15px;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 550;
}
.nav span {
  margin-left: 9px;
}
main {
  max-width: 1160px;
  padding: 0 30px;
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: 6.5%;
  margin: 40px 0;
}
.label,
.caption,
.num,
.sheetref {
  font:
    500 10px/1.4 ui-monospace,
    Menlo,
    monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.label:before {
  content: "";
  background: #ff8c00;
  width: 25px;
  height: 3px;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font:
    400 clamp(53px, 5.3vw, 80px)/1.02 Fraunces,
    Georgia,
    serif;
  letter-spacing: -0.055em;
  margin: 20px 0;
}
p {
  font-size: 16px;
  color: #57616c;
  max-width: 415px;
  line-height: 1.65;
}
.download {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 29px 0 8px;
}
.badge img {
  width: 168px;
  display: block;
}
.qr {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid #d9dddf;
  padding-left: 21px;
}
.qr img {
  width: 131px;
  height: 131px;
  padding: 12px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  image-rendering: pixelated;
}
.qr span {
  font-size: 11px;
  line-height: 1.45;
  color: #57616c;
}
.android {
  margin: 10px 0 0;
  font-size: 13px;
}
.android a {
  text-underline-offset: 4px;
  font-weight: 550;
}
figure {
  position: relative;
  margin: 0;
  height: 510px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #162538;
  background-image:
    linear-gradient(#c0d2df0b 1px, transparent 1px),
    linear-gradient(90deg, #c0d2df0b 1px, transparent 1px);
  background-size: 21px 21px;
  isolation: isolate;
}
.plan {
  position: absolute;
  width: 570px;
  height: 320px;
  transform: rotate(-24deg);
  top: 95px;
  left: -55px;
  border: 5px double #b5c8d441;
  z-index: -1;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 134px,
    #b5c8d433 134px 135px,
    #162538 135px 138px,
    #b5c8d43b 138px 139px,
    transparent 139px 183px
  );
}
.plan:after,
.plan:before {
  content: "";
  position: absolute;
  inset: 38% 0 auto;
  height: 24%;
  border-block: 4px double #b5c8d43b;
}
.plan:after {
  inset: 62% 7% 0 56%;
  height: auto;
  border: 4px double #b5c8d43b;
}
.phone {
  position: absolute;
  left: 50%;
  top: 25px;
  width: 202px;
  transform: translateX(-50%) rotate(4deg);
  border-radius: 30px;
  background: #121619;
  padding: 5px;
  box-shadow:
    0 22px 30px #050b1670,
    0 0 0 1.5px #99a3aa;
  overflow: hidden;
}
.phone img {
  display: block;
  width: 100%;
  border-radius: 25px;
}
.caption {
  position: absolute;
  bottom: 16px;
  left: 18px;
  color: #e8edf3;
  background: #162538;
  padding: 3px 6px;
}
.sheetref {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #a8b7c4;
}
.cross {
  position: absolute;
  width: 20px;
  height: 20px;
  bottom: 42px;
  right: 35px;
  border: 1px solid #ffab43;
  border-radius: 50%;
}
.cross:before,
.cross:after {
  content: "";
  position: absolute;
  background: #ffab43;
  left: 9px;
  top: -6px;
  height: 30px;
  width: 1px;
}
.cross:after {
  transform: rotate(90deg);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid #dce0e2;
  padding: 24px 0;
  gap: 25px;
}
.step {
  padding-left: 22px;
  border-left: 1px solid #dce0e2;
}
.step:first-child {
  padding-left: 0;
  border: 0;
}
.num {
  color: #8d500a;
}
.step h2 {
  font:
    400 24px/1.2 Fraunces,
    Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 7px 0;
}
.step p {
  font-size: 13px;
}
.wait {
  margin: 26px 0 40px;
}
.wait summary {
  font-size: 14px;
}
.wait form {
  max-width: 430px;
  background: #f6f7f8;
  padding: 20px;
  margin-top: 12px;
  border-radius: 8px;
}
.wait label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}
.wait input:not([type="checkbox"]):not([type="hidden"]) {
  font: inherit;
  padding: 10px;
  width: 100%;
  margin-bottom: 12px;
}
.wait button,
dialog button {
  padding: 8px 13px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: white;
}
.wait small {
  display: block;
  color: #57616c;
  margin-top: 8px;
}
dialog {
  border: 1px solid #dce0e2;
  border-radius: 14px;
  width: min(420px, 92vw);
  padding: 24px;
  color: inherit;
}
dialog::backdrop {
  background: #16253860;
}
.dlghead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
dialog h2 {
  font:
    400 25px Fraunces,
    Georgia,
    serif;
}
dialog a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  border-top: 1px solid #dce0e2;
  padding: 12px 0;
}
dialog a span {
  color: #57616c;
  font-size: 13px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #ff8c00;
  outline-offset: 4px;
}
@media (max-width: 750px) {
  header {
    height: 62px;
    padding: 0 20px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 30px;
  }
  main {
    padding: 0 22px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
    margin: 30px 0 24px;
  }
  .label {
    font-size: 10px;
  }
  h1 {
    font-size: clamp(43px, 12.5vw, 63px);
    margin: 14px 0;
  }
  .intro p {
    font-size: 15px;
    line-height: 1.55;
  }
  .download {
    margin: 18px 0 0;
  }
  .badge img {
    width: 155px;
  }
  .qr {
    display: none;
  }
  .android {
    margin-top: 12px;
  }
  figure {
    height: 330px;
  }
  .phone {
    width: 171px;
    top: 20px;
  }
  .caption {
    bottom: 10px;
    left: 10px;
  }
  .sheetref {
    font-size: 8px;
  }
  .cross {
    right: 18px;
    bottom: 22px;
  }
  .steps {
    grid-template-columns: 1fr;
    padding: 4px 0;
    gap: 0;
  }
  .step,
  .step:first-child {
    border: 0;
    padding: 15px 0;
  }
  .step + .step {
    border-top: 1px solid #eee;
  }
  .step h2 {
    display: inline;
    margin-left: 10px;
    font-size: 21px;
  }
  .step p {
    margin: 4px 0 0;
  }
  .wait {
    margin-top: 20px;
  }
}

[hidden] {
  display: none !important;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wait .permission {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.wait input[type="checkbox"] {
  flex: none;
}
.wait form p,
.wait details p {
  font-size: 13px;
}
.wait details {
  margin: 15px 0;
}
.wait details p {
  max-width: 60ch;
  margin-top: 10px;
}
#email-success {
  margin-top: 16px;
}
#send-link {
  background: #191c1e;
  color: white;
  margin-bottom: 8px;
}
#form-error {
  color: #a92318;
}
footer {
  margin: 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #57616c;
  font-size: 12px;
}
@media (min-width: 751px) and (max-width: 960px) {
  .download {
    gap: 10px;
  }
  .qr {
    padding-left: 10px;
  }
  .qr span {
    display: none;
  }
}
