@font-face {
  font-family: "F37 Gruffy";
  src: url("/assets/fonts/F37Gruffy-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "F37 Gruffy";
  src: url("/assets/fonts/F37Gruffy-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #F7F2E9;
  --ink: #1E2023;
  --sage: #9EB3A8;
  --orange: #FF8555;
  --peri: #DEE3FF;
  --card: rgba(255, 252, 248, .86);
  --line: rgba(30, 32, 35, .12);
  --muted: rgba(30, 32, 35, .62);
  font-family: "F37 Gruffy", Verdana, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(222, 227, 255, .85), transparent 70%),
    radial-gradient(700px 480px at 8% 92%, rgba(158, 179, 168, .28), transparent 68%),
    var(--cream);
}
body.login {
  background: #F9F7EB url("/assets/brand/login-bg.jpg") center / cover no-repeat;
}
body.app { background: #fff; }
.hero-wash {
  position: fixed;
  z-index: 0;
  inset: -18% 0 auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.hero-wash span {
  width: 30vw;
  height: 30vw;
  border-radius: 100vw;
  background: #ff612d;
  filter: blur(100px);
}
.hero-wash span:nth-child(2),
.hero-wash span:nth-child(5) { background: #d2d9ff; }
.hero-wash span:nth-child(3) { background: #f7eee0; }
.hero-wash span:nth-child(4) { opacity: .51; }
button, input { font: inherit; color: inherit; }
img { max-width: 100%; }

.stage { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.stage-pattern {
  position: absolute;
  width: 1180px;
  right: -180px;
  top: -80px;
  opacity: .72;
}
.stage-pattern--far {
  width: 980px;
  left: -260px;
  right: auto;
  top: auto;
  bottom: -220px;
  opacity: .45;
}
.stage-word {
  position: absolute;
  right: -2vw;
  bottom: -4vh;
  margin: 0;
  font-weight: 500;
  font-size: clamp(92px, 18vw, 240px);
  line-height: .8;
  letter-spacing: -.045em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(158, 179, 168, .55);
  user-select: none;
}
.stage-word--quiet { opacity: .45; font-size: clamp(80px, 14vw, 180px); bottom: -6vh; }
.stage-mark {
  position: absolute;
  width: min(42vw, 460px);
  left: -6vw;
  bottom: 8vh;
  color: var(--sage);
  opacity: .22;
}
.stage-mark--quiet { width: min(28vw, 280px); opacity: .16; bottom: 4vh; }
.stage-glass {
  position: absolute;
  width: min(46vw, 560px);
  right: 2vw;
  top: 12vh;
  filter: drop-shadow(0 24px 40px rgba(30, 32, 35, .12));
}

.top, .login-main, .desk, .foot { position: relative; z-index: 1; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding: 0 10%;
}
.wordmark-link { display: flex; line-height: 0; }
.wordmark { height: 1.5rem; width: auto; }
.top-note {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
}

.login-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  width: 100%;
  min-height: calc(100vh - 4.5rem);
  padding: 24px 10% 72px;
}
body.login .intro { flex: 0 0 auto; }
body.login .card { width: 340px; flex: 0 0 340px; }
body.login .card {
  padding: 22px 22px 18px;
  border-radius: 22px;
  background: rgba(255, 252, 248, .94);
}
body.login .card h2 { font-size: 22px; }
body.login .lead { font-size: 14px; line-height: 1.4; }
body.login label { margin-top: 18px; }
body.login input,
body.login button[type=submit] { height: 46px; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
}
.intro h1, .desk h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: .96;
  letter-spacing: -.03em;
}
body.login .intro h1 {
  max-width: 11.6ch;
  font-size: clamp(52px, 4.8vw, 68px);
  line-height: .92;
  letter-spacing: -.035em;
}
.lede, .who {
  max-width: 36ch;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
}
body.login .lede {
  max-width: 28ch;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.45;
}
.card, .panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(30, 32, 35, .06);
}
.card { padding: 28px 28px 22px; }
.card h2, .panel h2 {
  margin: 0;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -.02em;
}
.lead, .panel-head p { margin: 8px 0 0; color: var(--muted); line-height: 1.45; }
label {
  display: block;
  margin: 22px 0 8px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
}
input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  outline: none;
}
input:focus { border-color: var(--ink); }
input.code {
  font-weight: 500;
  font-size: 28px;
  letter-spacing: .28em;
  text-indent: .28em;
  text-align: center;
}
button[type=submit] {
  width: 100%;
  height: 52px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
}
button[type=submit]:hover { background: var(--orange); color: var(--ink); }
button[type=submit]:disabled { opacity: .55; cursor: wait; }
.row { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.msg { min-height: 1.3em; margin: 14px 0 0; font-size: 14px; }
.msg.bad { color: #9a3b22; }
.local[hidden] { display: none; }
.local {
  display: flex;
  justify-content: space-between;
  margin: 16px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--peri);
}
.foot {
  padding: 8px 40px 28px;
  color: var(--muted);
  font-size: 13px;
}
body.login .foot {
  position: fixed;
  left: 10%;
  bottom: 28px;
  z-index: 2;
  padding: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.desk { max-width: 1120px; margin: 0 auto; padding: 48px 40px 24px; }
.who { font-size: 15px; }
.total {
  margin: 8px 0 0;
  font-weight: 500;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -.04em;
  line-height: .95;
}
.available { margin: 10px 0 28px; color: var(--muted); }
.available b { color: var(--orange); font-weight: 500; }
.panel { padding: 22px 8px 8px; }
.panel-head { padding: 0 18px 16px; }
.panel h2 span { color: var(--sage); font-weight: 400; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  border-top: 1px solid var(--line);
}
td {
  padding: 16px;
  vertical-align: top;
  border-top: 1px solid var(--line);
}
td b { display: block; font-weight: 500; }
td span { display: block; margin-top: 4px; color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
th.num { text-align: right; }
.empty { padding: 8px 18px 22px; color: var(--muted); }

@media (max-width: 1279px) {
  body.login .intro { display: none; }
  body.login .login-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: 28px 24px 96px;
  }
  body.login .card { width: min(400px, 100%); flex: 0 0 auto; }
  body.login .foot { left: 10%; bottom: 28px; }
}
@media (max-width: 860px) {
  .desk, .foot { padding-left: 20px; padding-right: 20px; }
  body.login .foot { bottom: 20px; font-size: 11px; }
}
@media (max-width: 380px) {
  body.login .foot { left: 16px; font-size: 9px; }
}
