@font-face {
  font-family: Sohne;
  src: url("/assets/fonts/Sohne.woff2") format("woff2"),
       url("/assets/fonts/Sohne.woff") format("woff");
  font-weight: 200 800;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: #fff;
  color: #111;
  font-family: Sohne, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
  font-stretch: 100%;
  font-variation-settings: normal;
  letter-spacing: normal;
}

.page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.blob {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 500px;
  pointer-events: none;
  transform: translate(-2%, 2%);
}

.blob img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.8;
}

.frame {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bar {
  width: 100%;
  max-width: 1268px;
  margin: 0 auto;
  padding: 0 24px;
}

.top {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  color: oklch(0.13 0.029 290);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.03em;
}

.logo__mark {
  width: 21px;
  height: 21px;
  flex: none;
  display: block;
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
}

.col {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

h1 {
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: oklch(0.13 0.029 290);
  font-family: Sohne, ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: normal;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 450px;
  height: 56px;
  border: 1px solid oklch(0.92 0 0);
  border-radius: 12px;
  background: oklch(0.967 0.008 290);
  overflow: hidden;
}

.email__icon,
.email__go {
  display: flex;
  align-items: center;
  align-self: stretch;
  color: oklch(0.6175 0.029 290);
}

.email__icon {
  padding-left: 12px;
}

.email__go {
  padding-right: 12px;
}

.email svg {
  width: 20px;
  height: 20px;
  flex: none;
  display: block;
}

.email input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: oklch(0.13 0.029 290);
  font: 16px/24px Sohne, ui-sans-serif, system-ui, sans-serif;
  padding: 8px 12px;
}

.email input::placeholder { color: oklch(0.6175 0.029 290); }

.email button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: oklch(0.13 0.029 290);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.email button:hover { background: rgba(0, 0, 0, .05); }

@media (min-width: 768px) {
  .blob { width: 700px; }
  .top { justify-content: flex-start; }
  .col { padding: 0 24px; }
  h1 {
    font-size: 64px;
    line-height: 64px;
    text-align: left;
  }
  .stack { align-items: flex-start; }
}

.session {
  margin: 0;
  text-align: center;
  color: #3a3a3e;
  font-size: 15px;
}

.session button {
  margin-top: 16px;
  border: 0;
  background: transparent;
  color: #111;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.foot {
  width: 100%;
}

.foot__row {
  width: 100%;
  max-width: 1268px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
}

.foot p {
  margin: 0;
  color: oklch(0.5065 0.029 290);
  opacity: 0.6;
  white-space: nowrap;
}

.pipe {
  display: none;
  color: oklch(0.6175 0.029 290);
  font-size: 12px;
}

.foot nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.foot a {
  color: oklch(0.5065 0.029 290);
  text-decoration: none;
  font-size: 14px;
}

.foot a:hover { text-decoration: underline; }
.foot a[href*="terms-of-service"] {
  color: #7d00ff;
  text-decoration: underline;
  text-decoration-color: #7d00ff;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.foot a[href*="terms-of-service"]:hover { color: #6a00da; }

@media (min-width: 768px) {
  .foot__row { flex-direction: row; gap: 24px; }
  .pipe { display: block; }
  .foot nav { gap: 24px; }
}

.code {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 20, .28);
}

.code[hidden] { display: none; }

.code__card {
  width: min(400px, 100%);
  padding: 28px 24px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(20, 16, 40, .18);
}

.code__card h2 {
  margin: 0;
  text-align: center;
  font-family: Sohne, ui-sans-serif, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.code__card p {
  margin: 10px 0 22px;
  text-align: center;
  color: #6d6d76;
  font-size: 14px;
  line-height: 1.45;
}

.digits {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.digits input {
  width: 46px;
  height: 54px;
  border: 0;
  border-radius: 12px;
  background: #f3f1f7;
  text-align: center;
  font: 600 22px/1 Sohne, ui-sans-serif, system-ui, sans-serif;
  color: #111;
}

.digits input:focus {
  outline: 2px solid #111;
  outline-offset: 0;
}

.code__go {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font: 600 15px/1 Sohne, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}

.code__go:disabled {
  background: #d9d9de;
  color: #fff;
  cursor: default;
}

.code__row {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}

.code__row button {
  border: 0;
  background: transparent;
  color: #6d6d76;
  font: 13px/1.2 Sohne, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
  text-decoration: underline;
}

.code__err {
  min-height: 18px;
  margin: 10px 0 0;
  color: #c62828;
  font-size: 13px;
}
