/* Inku pre-launch site and legal pages. Brand: ClashDisplay + Urbanist, night #0B0B16, pink #D02886, purple #54218E. */
@font-face { font-family: 'Clash Display'; src: url('/assets/ClashDisplay-Semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('/assets/Urbanist-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('/assets/Urbanist-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #0B0B16; --card: #14142B; --text: #F4EEFB; --muted: #B9A8D6; --line: rgba(223, 192, 255, 0.18);
  --pink: #FF5FB3; --pink-strong: #D02886; --purple: #54218E; --lavender: #DFC0FF; --mark: rgba(255, 51, 153, 0.18);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #FBF9FC; --card: #FFFFFF; --text: #14142B; --muted: #5B4D72; --line: rgba(20, 20, 43, 0.14);
    --pink: #B0186E; --pink-strong: #D02886; --mark: rgba(208, 40, 134, 0.14); color-scheme: light; }
  .brand img { filter: brightness(0) saturate(100%) invert(16%) sepia(64%) saturate(3000%) hue-rotate(262deg); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 Urbanist, system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: var(--pink); text-underline-offset: 3px; }
a:hover { color: var(--lavender); }
a:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: 'Clash Display', Urbanist, sans-serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--pink-strong); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }

/* Header and footer of the legal pages */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; max-width: 980px; margin: 0 auto; padding: 18px 20px; border-bottom: 2px solid var(--line); }
.brand img { display: block; height: 26px; width: auto; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 16px; flex: 1; font-weight: 700; font-size: 15px; }
.top nav a { color: var(--text); text-decoration: none; padding: 10px 0; }
.top nav a[aria-current="page"], .top nav a:hover { color: var(--pink); }
.lang { font-weight: 700; font-size: 14px; border: 2px solid var(--line); padding: 8px 12px; text-decoration: none; }
.foot { max-width: 980px; margin: 64px auto 0; padding: 24px 20px 48px; border-top: 2px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); }

/* Document */
.doc { max-width: 760px; margin: 0 auto; padding: 32px 20px 0; }
.kicker { margin: 0; color: var(--pink); font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.doc h1 { font-size: clamp(32px, 6vw, 48px); margin: 8px 0 4px; }
.updated { color: var(--muted); font-size: 14px; margin-top: 0; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; padding-top: 8px; border-top: 2px solid var(--line); }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.facts { list-style: none; padding: 16px 18px !important; background: var(--card); border: 2px solid var(--line); box-shadow: 5px 5px 0 0 var(--pink-strong); }
mark.todo { background: var(--mark); color: var(--pink); font-weight: 700; padding: 0 4px; border-radius: 3px; }
.warn { border-left: 4px solid var(--pink-strong); padding: 8px 14px; background: var(--card); }
.links { margin-top: 32px; font-weight: 700; }
.other-lang { margin-top: 56px; padding-top: 8px; border-top: 4px solid var(--pink-strong); }
.cards { list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.cards a { display: block; padding: 16px 18px; background: var(--card); border: 2px solid var(--line); color: var(--text); text-decoration: none; box-shadow: 5px 5px 0 0 var(--purple); }
.cards a:hover { border-color: var(--pink); }
.cards strong { display: block; font-family: 'Clash Display', Urbanist, sans-serif; font-weight: 600; font-size: 19px; }
.cards span { color: var(--muted); font-size: 15px; }

/* Pre-launch home and 404 */
.soon { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; background:
  radial-gradient(1200px 600px at 85% 10%, rgba(208, 40, 134, 0.28), transparent 60%),
  radial-gradient(900px 600px at 0% 100%, rgba(84, 33, 142, 0.45), transparent 60%), var(--bg); }
.soon-card { position: relative; max-width: 640px; width: 100%; text-align: left; }
.soon-card .brand img { height: 44px; }
.soon h1 { font-size: clamp(44px, 10vw, 84px); margin: 28px 0 8px; line-height: 0.95; }
.soon h1 span { color: var(--pink); }
.soon p { font-size: 19px; color: var(--muted); max-width: 30em; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; padding: 0; list-style: none; }
.socials a { display: inline-block; padding: 12px 16px; border: 2px solid var(--text); color: var(--text); font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; box-shadow: 4px 4px 0 0 var(--pink-strong); }
.socials a:hover { background: var(--pink-strong); border-color: var(--pink-strong); color: #fff; }
.soon .small { font-size: 14px; }
.soon .small a { color: var(--muted); }
.mascot { position: absolute; right: -24px; bottom: -40px; width: 180px; height: auto; transform: rotate(8deg); opacity: 0.95; pointer-events: none; }
@media (max-width: 720px) { .mascot { position: static; display: block; width: 130px; margin: 12px 0 0 auto; transform: rotate(6deg); } }
@media (max-width: 720px) {
  .top { justify-content: space-between; }
  .top nav { order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; white-space: nowrap; margin: 0 -20px; padding: 0 20px; scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
}
