@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --ice-0: #e8fbff;
  --ice-1: #b8ecff;
  --ice-2: #71c8ef;
  --ink: #042235;
  --deep: #0b3f5d;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f2fcff 0%, #d6f3ff 42%, #e9f7ff 100%);
}

.site {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.05rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 22;
  border-bottom: 1px solid rgba(11,63,93,0.18);
  background: rgba(230, 249, 255, 0.87);
  backdrop-filter: blur(10px);
}

.topline {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  min-height: 74px;
}

.brand {
  text-decoration: none;
  color: var(--deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.brand img { width: 34px; height: 34px; }

.spread { flex: 1; }

.menu-button {
  display: none;
  border: 1px solid rgba(11,63,93,0.35);
  color: var(--deep);
  background: #f5fdff;
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.35rem;
}

nav a {
  text-decoration: none;
  color: var(--deep);
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
}

nav a:hover { background: rgba(113,200,239,0.2); }

.hero {
  padding: 2.2rem 0 1rem;
}

.ribbon {
  border: 1px solid rgba(11,63,93,0.18);
  border-radius: 20px;
  background: linear-gradient(130deg, rgba(232,251,255,0.92), rgba(184,236,255,0.82));
  padding: 1.5rem;
  box-shadow: 0 14px 35px rgba(6, 71, 102, 0.13);
}

.ribbon h1 {
  font-family: 'Syne', sans-serif;
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4.7vw, 3.5rem);
  color: #083d5c;
}

.notice-strip {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.notice-strip strong {
  background: #0b3f5d;
  color: #f0fbff;
  padding: 0.44rem 0.62rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.body-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 1rem;
  padding-bottom: 2.4rem;
}

.stage {
  border: 1px solid rgba(11,63,93,0.22);
  border-radius: 18px;
  overflow: hidden;
  background: #001f31;
}

.stage iframe {
  width: 100%;
  min-height: 690px;
  border: 0;
}

.deck {
  display: grid;
  gap: 0.8rem;
}

.tile {
  border: 1px solid rgba(11,63,93,0.16);
  border-radius: 16px;
  padding: 0.9rem;
  background: rgba(239, 252, 255, 0.88);
}

.tile h2 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: #0a4669;
}

.doc-space {
  padding: 2rem 0 3rem;
}

.paper {
  max-width: 980px;
  border: 1px solid rgba(11,63,93,0.2);
  border-radius: 18px;
  background: #f5fdff;
  padding: 1.35rem;
}

.paper h1 {
  margin-top: 0;
  font-family: 'Syne', sans-serif;
  color: #0a4669;
}

footer {
  border-top: 1px solid rgba(11,63,93,0.2);
}

.base {
  padding: 1rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.9rem;
}

.base a { color: #0b6f99; }

.guard {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(2, 23, 37, 0.82);
  padding: 1rem;
}

.guard.closed { display: none; }

.guard-panel {
  width: min(520px, 100%);
  border: 1px solid rgba(184,236,255,0.38);
  border-radius: 16px;
  background: #e9f8ff;
  padding: 1.1rem;
}

.guard-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.guard-actions button {
  border: 0;
  border-radius: 8px;
  padding: 0.52rem 0.82rem;
  font-weight: 700;
}

.guard-actions .yes { background: #0b6f99; color: #fff; }
.guard-actions .no { background: #b7ddec; color: #083d5c; }

@media (max-width: 940px) {
  .body-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .menu-button { display: inline-flex; }
  nav {
    display: none;
    width: 100%;
    border-top: 1px solid rgba(11,63,93,0.2);
    padding-top: 0.5rem;
  }
  nav.show { display: block; }
  .topline { flex-wrap: wrap; }
  nav ul { flex-direction: column; }
  .stage iframe { min-height: 470px; }
  .base { grid-template-columns: 1fr; }
}