:root {
  color-scheme: dark;
  --bg: #000;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.64);
  --faint: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.16);
  --card: #141414;
  --pill: #1a1a1a;
  --accent: #ff6129;
  --hot: #fc3b00;
  --soft: #ff7145;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wide: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

body {
  min-height: 100svh;
}

a {
  color: inherit;
}

button,
a {
  font: inherit;
}

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

.bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 22px 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background:
    radial-gradient(circle at 32% 32%, #fff 0 18%, transparent 19%),
    linear-gradient(145deg, var(--soft), var(--hot));
}

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

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--text);
}

.nav-open {
  display: none;
}

.open {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #242424;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}

.open:hover {
  background: #303030;
}

.burger {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #242424;
  cursor: pointer;
}

.burger::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff;
}

.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 54px 28px 0;
  text-align: center;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 7.4vw, 92px);
  line-height: 0.96;
}

.lead {
  max-width: 34rem;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--pill);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}

.pill:hover {
  background: #242424;
}

.pill.is-on,
.pill.is-on:hover {
  background: var(--accent);
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 34px 28px 12px;
}

.card {
  padding: 10px 10px 20px;
  border-radius: 22px;
  background: var(--card);
}

.card[hidden] {
  display: none;
}

.shot {
  position: relative;
  height: 214px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--hot);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/grain.png");
  opacity: 0.28;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.badge {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}

.shot-food {
  background:
    linear-gradient(rgba(0, 0, 0, 0.18) 2px, transparent 2px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 2px, transparent 2px),
    linear-gradient(180deg, var(--soft), var(--hot));
  background-size: 72px 72px, 72px 72px, auto;
}

.plate {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, var(--soft) 0 30%, #fff 34% 100%);
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.shot-sleep {
  background: linear-gradient(180deg, #000 0%, #3a1008 42%, var(--hot) 78%, var(--soft));
}

.moon {
  position: absolute;
  top: 28px;
  right: 34px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #ffe4d8 46%, var(--soft) 100%);
  box-shadow: 0 0 48px rgba(255, 255, 255, 0.28);
}

.shot-mail {
  background: linear-gradient(145deg, var(--soft), var(--accent) 40%, #6e1604 100%);
}

.sheet {
  position: absolute;
  left: 48px;
  top: 46px;
  width: 168px;
  height: 112px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  transform: rotate(-8deg);
}

.sheet::before,
.sheet::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 97, 41, 0.45);
}

.sheet::before {
  top: 28px;
}

.sheet::after {
  top: 46px;
  right: 48px;
}

.sheet.back {
  left: auto;
  right: 36px;
  top: 64px;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(7deg);
}

.shot-tasks {
  background: linear-gradient(180deg, #1a0704, var(--hot) 70%, var(--accent));
}

.row {
  position: absolute;
  left: 28px;
  right: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.row::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

.row::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 11px;
  width: 8px;
  height: 4px;
  border-bottom: 2px solid var(--hot);
  border-left: 2px solid var(--hot);
  transform: rotate(-45deg);
}

.row:nth-child(1) {
  top: 36px;
}

.row:nth-child(2) {
  top: 76px;
}

.row:nth-child(3) {
  top: 116px;
  right: 70px;
}

.shot-day {
  background:
    radial-gradient(circle at 50% 46%, #fff 0 8%, var(--soft) 22%, var(--hot) 40%, transparent 41%),
    linear-gradient(180deg, #000 0%, #2a0c06 42%, var(--hot) 100%);
}

.card h2 {
  margin: 16px 8px 6px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0 8px;
  color: var(--faint);
  font-size: 15px;
  line-height: 1.4;
}

.foot {
  position: relative;
  margin-top: 36px;
  padding: 8px 28px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #000 0 22%, #fc3b00 68%, #ff6129 84%, #ff7145 100%);
}

.rule {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--wide);
  margin: 28px auto 8px;
  color: var(--faint);
}

.rule span {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.rule i {
  font-style: normal;
  font-size: 13px;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1.3fr;
  gap: 28px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 36px 0 12px;
}

.cols h2 {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.cols a,
.cols p {
  display: block;
  margin: 0 0 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.cols a:hover {
  color: var(--soft);
}

.invite .open {
  margin-top: 8px;
}

.word {
  max-width: var(--wide);
  margin: 28px auto 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(72px, 13vw, 180px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.78;
  text-align: center;
  white-space: nowrap;
  transform: translateY(8%);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 18px;
    padding-right: 18px;
  }

  .bar > .open {
    display: none;
  }

  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
  }

  .brand {
    order: 1;
  }

  .nav {
    display: none;
    order: 3;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 14px;
    padding: 18px;
    border-radius: 18px;
    background: #141414;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-open {
    display: inline;
  }

  .hero,
  .grid,
  .foot {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(44px, 12vw, 64px);
  }

  .grid,
  .cols {
    grid-template-columns: 1fr;
  }

  .shot {
    height: 230px;
  }
}
