/* gypc.ai — stealth site styles */

:root {
  /* CLOAK VISIBILITY — how visible the large logo icon is.
     0 = invisible, 1 = fully visible. Raise this as launch approaches
     (e.g. 0.40, 0.60, 0.80, 1). The shimmer fades out automatically. */
  --cloak-visibility: 0.20;

  /* Brand colors (GYPC style guide) */
  --purple: #2d1854;
  --magenta: #c425c9;
  --pink: #e72877;
  --orange: #ff5c3f;
  --ink: #07040f;
}

/* Montserrat, self-hosted (SIL Open Font License, see /assets/fonts/OFL.txt) */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/montserrat-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/montserrat-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/montserrat-latin-600-normal.woff2) format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #ffffff;
  background-color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body.home { background-image: radial-gradient(ellipse at 50% 55%, #1d1038 0%, #0c0719 45%, #07040f 80%); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 28px; }
.brand { display: flex; align-items: center; padding: 6px 8px; }
.brand img { display: block; height: 30px; width: auto; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 500; }
.nav-link:hover { text-decoration: underline; }

/* Home */
.hero { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 32px 24px 40px; text-align: center; }
.hero-text { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 640px; }
h1 { margin: 0; font-size: 48px; line-height: 1.12; font-weight: 600; letter-spacing: -0.5px; }
.lede { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }

.cloak { position: relative; width: 380px; max-width: 80%; aspect-ratio: 1 / 1; }
.cloak img { display: block; width: 100%; height: 100%; opacity: var(--cloak-visibility); filter: drop-shadow(0 40px 90px rgba(231, 40, 119, 0.35)); }
.cloak .sweep {
  position: absolute; inset: 0;
  opacity: calc(1 - var(--cloak-visibility));
  -webkit-mask: url(/assets/img/gypc-icon.svg) center / contain no-repeat;
  mask: url(/assets/img/gypc-icon.svg) center / contain no-repeat;
  background: linear-gradient(100deg, transparent 40%, rgba(196, 37, 201, 0.5) 48%, rgba(255, 92, 63, 0.35) 52%, transparent 60%);
  background-size: 300% 100%;
  animation: sweep 7s linear infinite;
}
@keyframes sweep { 0% { background-position: 150% 0; } 100% { background-position: -50% 0; } }

.btn-ghost { display: inline-flex; align-items: center; justify-content: center; width: 264px; max-width: 100%; min-height: 44px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.4); color: #ffffff; font-size: 14px; font-weight: 600; transition: background 0.2s ease; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(255, 255, 255, 0.08); }

/* Footer */
.site-footer { padding: 24px 24px 32px; display: flex; justify-content: center; }
.site-footer.ruled { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.site-footer address { font-style: normal; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 12px; line-height: 1.5; color: #ffffff; text-align: center; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; }

/* Privacy notice and 404 */
.doc { flex: 1 1 auto; width: 100%; max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; display: flex; flex-direction: column; gap: 36px; }
.doc-head { display: flex; flex-direction: column; gap: 12px; }
.doc h1 { font-size: 40px; line-height: 1.15; }
.doc .date { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.doc .intro { margin: 8px 0 0; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.86); }
.doc section { display: flex; flex-direction: column; gap: 8px; }
.doc h2 { margin: 0; font-size: 18px; font-weight: 600; }
.doc p, .doc address { margin: 0; font-style: normal; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.84); }
.doc address a, .doc p a { color: #ffffff; text-decoration: underline; }

/* Cookie table */
.table-wrap { overflow-x: auto; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; margin-top: 8px; }
.cookie-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.84); }
.cookie-table caption { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.cookie-table th { text-align: left; padding: 10px 16px; font-size: 12px; font-weight: 600; color: #ffffff; background: rgba(255, 255, 255, 0.05); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.cookie-table td { padding: 12px 16px; vertical-align: top; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.cookie-table td:first-child { width: 30%; }
.cookie-table td:last-child { width: 24%; }
.cookie-table code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 12.5px; color: #ffffff; word-break: break-word; }

.notfound { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 48px 24px; text-align: center; }

@media (max-width: 600px) {
  h1 { font-size: 36px; }
  .doc h1 { font-size: 32px; }
  .cloak { width: 280px; }
  .site-header { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cloak .sweep { animation: none; }
}
