/* Renderer scaffold CSS for social icon rows */
.social-icon-row,
section.links.social ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.social-icon-row li,
section.links.social ul li {
  display: inline-flex;
  margin: 0;
  padding: 0;
}
.social-icon-row a,
section.links.social a.link-card.compact,
section.links.social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  min-height: 40px !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 999px;
  box-sizing: border-box;
  text-decoration: none;
}
.social-icon-row svg,
section.links.social svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.wmd-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Published pages ship script-src 'none' by default — no JavaScript runs
   unless this site's site.config sets javascript: true, and even then it's
   same-origin scripts only (no third-party CDN, no service workers, no
   connect-src egress). CSS-only patterns remain the recommended default:
   :target, :checked, <details>/<summary>, :hover/:focus-within.
   Remote stylesheets/fonts (fonts.googleapis.com etc.) are blocked, but 20
   popular Google Fonts families are already available as self-hosted fonts
   at our origin:
   <link rel="stylesheet" href="/_ikiro/fonts/inter.css"> then
   font-family: 'Inter', sans-serif; (swap the slug — roboto, montserrat,
   playfair-display, roboto-mono, ... — see AGENTS.md for the full list).
   Any other family: drop a .woff2 in assets/ and declare @font-face here. */

@import url("/_ikiro/fonts/inter.css");
@import url("/_ikiro/fonts/roboto-mono.css");

:root {
  color-scheme: dark;
  scrollbar-color: rgba(255, 255, 255, 0.35) var(--bg);
  --bg: #030619;
  --text: #f4f5fa;
  --muted: #9aa3b8;
  --accent: #12bdbc;
  --accent-soft: rgba(18, 189, 188, 0.12);
  --border: rgba(255, 255, 255, 0.1);
  --max: 40rem;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.site-main {
  max-width: var(--max);
  margin: 0 auto;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2.5rem, 10vw, 4.5rem) 1.25rem 3rem;
}

section {
  margin: 0 0 2.5rem;
}

section:last-of-type {
  margin-bottom: 0;
}

.site-main > h1 {
  margin-top: auto;
  margin-bottom: 0;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.018em;
}

.site-main > h2 {
  margin-top: 0.75rem;
  margin-bottom: auto;
  font-family: "Roboto Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  word-break: break-all;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 480px) {
  .site-main {
    padding-inline: 1rem;
  }
}
