:root {
  color-scheme: dark;
  --bg: #083849;
  --line: #29616e;
  --cyan: #2cf5e9;
  --muted: #94b1bb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: #f4f7f6;
  font:
    15px/1.6 "Courier New",
    monospace;
}
header {
  background: #177082;
  border-bottom: 1px solid var(--line);
  padding: 20px max(24px, calc((100vw - 1100px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 42px;
  height: 36px;
  object-fit: cover;
  border-radius: 3px;
}
a {
  color: inherit;
}
nav {
  display: flex;
  gap: 24px;
  text-transform: uppercase;
  font-size: 13px;
}
nav a {
  text-decoration: none;
}
nav span,
.accent,
.eyebrow,
.powered {
  color: var(--cyan);
}
main {
  max-width: 900px;
  margin: auto;
  border-inline: 1px solid var(--line);
}
.hero {
  text-align: center;
  padding: 52px 50px 0;
}
h1 {
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin: 22px 0;
}
h2 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 14px 0;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}
.accent {
  text-transform: uppercase;
}
.intro {
  max-width: 570px;
  margin: 32px auto;
  color: var(--muted);
}
.powered {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: bold;
  margin-top: 30px;
}
.foods {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin: 22px 0 38px;
}
figure {
  margin: 0;
}
figure img {
  width: 130px;
  height: 88px;
  object-fit: cover;
  border: 1px solid var(--line);
}
figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 -50px;
  border-top: 1px solid var(--line);
}
.actions a,
button {
  padding: 18px 24px;
  text-align: left;
  text-transform: uppercase;
  font:
    700 15px "Courier New",
    monospace;
  text-decoration: none;
}
.actions a + a {
  border-left: 1px solid var(--line);
}
.actions span,
button span {
  float: right;
  color: var(--cyan);
}
.section {
  padding: 48px 50px;
  border-top: 1px solid var(--line);
}
.section > p {
  color: var(--muted);
}
.section .eyebrow {
  color: var(--cyan);
}
.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--cyan);
  text-underline-offset: 5px;
}
form {
  margin-top: 28px;
}
label {
  display: block;
  margin: 18px 0 8px;
}
input {
  width: 100%;
  padding: 14px;
  background: #062d3c;
  border: 1px solid #57808c;
  color: white;
  font:
    16px "Courier New",
    monospace;
  border-radius: 0;
}
input:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.hint {
  font-size: 12px;
  color: var(--muted);
}
button {
  cursor: pointer;
  background: #177082;
  color: white;
  border: 1px solid var(--line);
  width: 100%;
  margin-top: 18px;
}
button:hover,
.actions a:hover {
  background: #176477;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
.login {
  max-width: 640px;
  margin: auto;
  min-height: 75vh;
  border-top: 0;
}
.login > p {
  overflow-wrap: anywhere;
}
.section .error {
  color: #ffd1c7;
  background: #532d33;
  padding: 14px;
  border-left: 3px solid #ff9482;
}
footer {
  text-align: center;
  color: var(--muted);
  padding: 30px;
  font-size: 12px;
}
@media (max-width: 600px) {
  header {
    padding: 16px;
    align-items: flex-start;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  nav {
    gap: 10px;
    font-size: 11px;
  }
  .hero {
    padding: 32px 20px 0;
  }
  .section {
    padding: 32px 20px;
  }
  .actions {
    margin: 0 -20px;
  }
  .actions a {
    font-size: 12px;
    padding: 16px;
  }
  .foods {
    gap: 12px;
  }
  figure img {
    width: 86px;
    height: 70px;
  }
  figcaption {
    font-size: 9px;
  }
  h2 {
    font-size: 28px;
  }
}
