@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink: #0B0B0C;
  --muted: #6E6E73;
  --line: #E6E5E1;
  --pink: #FF2E93;
  --rainbow: linear-gradient(90deg, #FF2E93, #FFD60A, #7CFF4F, #00C2FF, #8B5CFF, #FF2E93);
}

* { box-sizing: border-box; }
html, body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: 'Inter Tight', Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--pink); }

@keyframes foil { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.rainbow { background: var(--rainbow); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 4s linear infinite; }
.emo { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; line-height: 1; }

.logo { font-weight: 900; font-size: 30px; letter-spacing: -0.06em; text-decoration: none; color: var(--ink); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 24px 40px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--ink); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--pink); }

/* Document pages */
.doc-head { max-width: 760px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; }
.doc-head .back { font-size: 14px; font-weight: 800; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 9px 16px; }
.doc { max-width: 760px; margin: 0 auto; padding: 24px 24px 64px; font-size: 17px; line-height: 1.6; }
.doc h1 { font-size: clamp(44px, 9vw, 72px); font-weight: 900; letter-spacing: -0.06em; line-height: 0.95; margin: 18px 0 10px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 36px; }
.doc h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; margin: 40px 0 8px; }
.doc p, .doc li { color: #2A2A2E; }
.doc ul { padding-left: 22px; }
.doc .callout { border: 1.5px solid var(--ink); border-radius: 24px; padding: 18px 20px; margin: 24px 0; font-weight: 600; }
.doc .placeholder { background: #FFF3B0; border-radius: 6px; padding: 0 5px; }
.faq details { border: 1.5px solid var(--ink); border-radius: 22px; padding: 16px 20px; margin: 12px 0; }
.faq summary { font-weight: 800; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 900; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 10px 0 0; }
.contact-card { margin-top: 40px; background: var(--ink); color: #FFFFFF; border-radius: 28px; padding: 26px 24px; }
.contact-card h2 { color: #FFFFFF; margin-top: 0; }
.contact-card p { color: #D7D7DB; }
.contact-card .email { color: #FFFFFF; font-size: 22px; font-weight: 900; letter-spacing: -0.02em; word-break: break-all; }

@media (max-width: 640px) {
  .doc-head { padding: 16px 18px; }
  .doc-head .logo { font-size: 26px; }
  .doc-head .back { padding: 10px 14px; font-size: 13px; }
  .doc { padding: 12px 18px 48px; font-size: 16px; }
  .doc h2 { font-size: 21px; margin-top: 32px; }
  .faq summary { font-size: 16.5px; }
  .faq details { padding: 14px 16px; }
  .contact-card .email { font-size: 18px; }
  .site-footer { padding: 24px 18px 34px; flex-direction: column; align-items: flex-start; }
}
