@font-face {
  font-family: "Metropolis";
  src: url("/assets/fonts/metropolis/Metropolis-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Metropolis";
  src: url("/assets/fonts/metropolis/Metropolis-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Metropolis";
  src: url("/assets/fonts/metropolis/Metropolis-Black.otf") format("opentype");
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #131814;
  --paper: #f5f6f2;
  --muted: #656d67;
  --orange: #ff6841;
  --lime: #d8ff66;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  border-top: 5px solid var(--ink);
  background:
    linear-gradient(rgba(19, 24, 20, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 24, 20, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  color: var(--ink);
  font-family: "Metropolis", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

button, input { font: inherit; letter-spacing: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.entry-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(24px, 5vw, 76px);
}

.entry-header a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.entry-header img { width: 29px; height: 29px; border-radius: 5px; }

.entry-header nav a {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.entry-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.entry-header .hidden {
  display: none;
}

.entry-header nav a:hover { text-decoration: underline; }

.entry-main {
  min-height: calc(100vh - 169px);
  display: grid;
  place-items: center;
  padding: 36px 24px 80px;
}

.entry-panel { width: min(960px, 100%); }

.entry-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

h1 {
  max-width: 920px;
  margin: 0 0 46px;
  font-size: clamp(3.35rem, 8vw, 7.3rem);
  font-weight: 900;
  line-height: 0.94;
  text-transform: lowercase;
}

.phone-entry-control {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 64px;
  align-items: center;
  gap: 13px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 9px 10px 9px 24px;
  background: #fff;
  box-shadow: 11px 11px 0 var(--ink);
}

.phone-entry-control > span {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 600;
}

.phone-entry-control input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 600;
}

.phone-entry-control input::placeholder { color: #abb1ac; }
.phone-entry-control:focus-within { box-shadow: 11px 11px 0 var(--orange); }

.phone-entry-control button {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease;
}

.phone-entry-control button:hover { transform: translate(-2px, -2px); background: var(--orange); }
.phone-entry-control button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.phone-entry-control svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 2; }

.entry-message {
  min-height: 22px;
  margin: 18px 0 0;
  color: #b22d1d;
  font-size: 0.86rem;
  font-weight: 600;
}

.entry-consent {
  max-width: 700px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.65;
}

.entry-consent a { color: var(--ink); }

.entry-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(19, 24, 20, 0.18);
  padding: 0 clamp(24px, 5vw, 76px);
  color: var(--muted);
  font-size: 0.68rem;
}

.entry-footer nav { display: flex; align-items: center; gap: 22px; }
.entry-footer a { color: var(--ink); text-decoration: none; }
.entry-footer a:hover { text-decoration: underline; }

@media (max-width: 620px) {
  .entry-header { height: 74px; padding-inline: 20px; }
  .entry-main { min-height: calc(100vh - 175px); place-items: start center; padding: 12vh 18px 48px; }
  h1 { margin-bottom: 32px; font-size: clamp(3rem, 17vw, 5rem); }
  .phone-entry-control { min-height: 70px; grid-template-columns: auto minmax(0, 1fr) 50px; padding-left: 15px; box-shadow: 7px 7px 0 var(--ink); }
  .phone-entry-control:focus-within { box-shadow: 7px 7px 0 var(--orange); }
  .phone-entry-control button { width: 48px; height: 48px; }
  .entry-footer { min-height: 96px; align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px; }
  .entry-footer nav { gap: 16px; }
}
