:root {
  --bg: #f2f3ff;
  --black: #111;
  --gray: #666;
  --edge: 40px;
  --edge-mobile: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { height: 100%; overflow: hidden; }

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--black);
}

/* ── Navigation ── */
.nav {
  position: absolute;
  top: var(--edge);
  right: var(--edge);
  display: flex;
  gap: 30px;
  z-index: 10;
}
.nav a {
  text-decoration: none;
  color: var(--gray);
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav a:hover,
.nav a.active { color: var(--black); }

/* ── Footer ── */
.footer {
  position: absolute;
  bottom: 30px;
  left: var(--edge);
  right: var(--edge);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--gray);
  z-index: 10;
}
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ── Mobile ── */
@media (max-width: 900px) {
  html { overflow: hidden; }

  body {
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .nav {
    position: static;
    justify-content: center;
    padding: 28px var(--edge-mobile) 0;
    gap: 24px;
    flex-shrink: 0;
  }

  .footer {
    position: static;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px var(--edge-mobile) 32px;
    font-size: 12px;
    flex-shrink: 0;
  }
}
