@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-tight-700.woff2") format("woff2"); }

:root {
  --blue: #1F5EFD;
  --ink: #0B1020;
  --muted: #5A6680;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.head {
  display: flex;
  align-items: center;
  min-height: 96px;
}

.logo { display: block; height: 26px; width: auto; }

/* --in lines the art up with .wrap, --tw is the tail width */
.stage {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  --in: max(32px, calc((100% - 1200px) / 2 + 32px));
  --tw: min(37vw, 540px);
  --depth: clamp(210px, 19vw, 290px);
}

.art {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.sky {
  position: relative;
  min-height: calc(var(--tw) * .3813 + 96px);
  display: flex;
  align-items: flex-end;
}

.copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(100% - var(--tw) - var(--in) - 32px);
  padding: 44px 0 80px var(--in);
}

h1 {
  margin: 0;
  font-family: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 66px);
  line-height: 1.01;
  letter-spacing: -.035em;
}

.copy p {
  margin: 26px 0 0;
  max-width: 30em;
  font-size: 17px;
  line-height: 1.6;
  color: #4A566E;
  text-wrap: pretty;
}

/* plain tail, only shown without js */
.mark {
  position: absolute;
  right: var(--in);
  bottom: 0;
  width: var(--tw);
  height: calc(var(--tw) * .3813);
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

.mark svg { display: block; width: 100%; height: auto; }

/* soaks up spare height so the footer sits on the bottom of tall windows */
.sea { flex: 1 0 auto; min-height: var(--depth); }

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}

.promise {
  margin: 10px 0 0;
  max-width: 27em;
  font-size: 15px;
  line-height: 1.6;
}

.end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 32px;
  font-size: 15px;
}

.mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  transition: color .2s;
}

.mail:hover { color: var(--blue); }

.copyright { color: var(--muted); }

.lost { padding-top: 12vh; padding-bottom: 20vh; }
.lost p { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: #4A566E; }
.lost a { color: var(--blue); }

@media (max-width: 860px) {
  .stage { --tw: min(52vw, 340px); }
  .sky { display: block; }
  .copy { max-width: none; padding: 28px var(--in) calc(var(--tw) * .3813 + 44px); }
}

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .stage { --in: 20px; --tw: min(60vw, 300px); --depth: 240px; }
  .logo { height: 24px; }
  .copy p { font-size: 16px; }
  .foot { padding-top: 32px; padding-bottom: 36px; }
}
