* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%;
  min-height: 100%;
  color: #1c2330;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #f6efe0;
}
body {
  position: relative;
  min-height: 100vh;
  padding: 80px 24px 80px;
}

/* Beach sunset gradient backdrop, softened so text is readable */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    #2a3457 0%,
    #6a4a78 22%,
    #d96a5a 42%,
    #f2a35a 55%,
    #f8c87a 62%,
    #2a6f9c 64%,
    #1f5077 75%,
    #e9c182 80%,
    #d4a45c 100%
  );
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.0);
  /* subtle sun */
  background: radial-gradient(circle at 50% 56%, rgba(255,220,140,0.45) 0%, rgba(255,180,90,0) 22%);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  z-index: 10;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.topbar .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 160ms ease, transform 160ms ease;
}
.topbar .back:hover {
  background: rgba(0,0,0,0.45);
  transform: translateX(-2px);
}
.topbar .brand {
  font-family: 'Bungee', 'Impact', sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #fff;
}
.topbar .brand em {
  font-style: normal;
  color: #fde047;
  margin-left: 6px;
}

.sheet {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 48px 44px 56px;
  background: rgba(255, 252, 244, 0.96);
  border-radius: 24px;
  box-shadow:
    0 30px 80px rgba(31, 38, 64, 0.4),
    0 4px 12px rgba(31, 38, 64, 0.15);
  border: 1px solid rgba(255,255,255,0.5);
}

.sheet h1 {
  font-family: 'Bungee', 'Impact', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.01em;
  line-height: 1;
  color: #1c2330;
  margin-bottom: 8px;
}
.sheet .updated {
  color: #7a8194;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
}
.sheet section {
  margin-bottom: 28px;
}
.sheet h2 {
  font-size: 19px;
  font-weight: 800;
  color: #1c2330;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.sheet p {
  font-size: 16px;
  line-height: 1.65;
  color: #2c3344;
  margin-bottom: 12px;
}
.sheet p:last-child { margin-bottom: 0; }
.sheet ul {
  margin: 6px 0 12px 0;
  padding-left: 22px;
}
.sheet ul li {
  font-size: 16px;
  line-height: 1.6;
  color: #2c3344;
  margin-bottom: 8px;
}
.sheet ul li strong { color: #1c2330; }
.sheet a {
  color: #b91c1c;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sheet a:hover { color: #7f1d1d; }

.foot {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 36px auto 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.foot a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.foot a:hover { color: #fff; }

@media (max-width: 640px) {
  body { padding: 70px 14px 60px; }
  .sheet { padding: 32px 22px 36px; border-radius: 18px; }
  .sheet h1 { font-size: 34px; }
  .topbar { padding: 14px 16px; }
  .topbar .brand { font-size: 15px; }
}
