@font-face { font-family: "Google Sans"; font-weight: 400; font-display: swap; src: url(/fonts/googlesans-400-latin.woff2) format("woff2"); }
@font-face { font-family: "Google Sans"; font-weight: 500; font-display: swap; src: url(/fonts/googlesans-500-latin.woff2) format("woff2"); }
@font-face { font-family: "Google Sans"; font-weight: 700; font-display: swap; src: url(/fonts/googlesans-700-latin.woff2) format("woff2"); }

:root {
  --bg: #0f162b;
  --bg2: #141c38;
  --bg3: #1b2550;
  --ink: #fff;
  --mute: rgba(255, 255, 255, 0.64);
  --faint: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.13);
  --yellow: #fbbc04;
  --blue: #4285f4;
  --red: #ea4335;
  --green: #34a853;
  --purple: #bc13fe;
}

* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  font-family: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }

.grad {
  background: linear-gradient(90deg, #4285f4 0%, #9b72f2 38%, #ea4335 68%, #fbbc04 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  color: var(--ink); background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.8em 1.4em; min-height: 52px;
  transition: transform 0.12s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--yellow); color: #141a3a; border-color: transparent; }
.btn[disabled] { opacity: 0.5; cursor: default; }

/* GDG Marrakech | MoCal lockup (same as the poster). Size with --h. */
.lockup { display: flex; align-items: center; --h: 40px; }
.gdg { display: flex; align-items: center; }
.gdg .icon { height: var(--h); width: calc(var(--h) * 545 / 300); overflow: hidden; }
.gdg .icon img { display: block; height: var(--h); max-width: none; }
.gdg .text { margin-left: calc(var(--h) * 0.21); }
.gdg .word { height: calc(var(--h) * 0.442); width: calc(var(--h) * 0.442 * 2328 / 300); overflow: hidden; }
.gdg .word img { display: block; height: calc(var(--h) * 0.442); max-width: none; margin-left: calc(var(--h) * 0.442 * -675 / 300); }
.gdg .chapter { font-weight: 400; font-size: calc(var(--h) * 0.36); line-height: 1; margin-top: calc(var(--h) * 0.08); margin-left: 1px; color: #f3f4f6; }
.lockup .divider { width: 1.5px; align-self: stretch; margin: 0 calc(var(--h) * 0.5); background: rgba(243, 244, 246, 0.3); }
.lockup .mca { display: block; height: calc(var(--h) * 1.16); }
