/* Central Registry theme. Same look as the shop template (shared design language). */
:root { --accent: #0ea5e9; --ink: #1f2330; --muted: #6b7180; --bg: #f6f7fb; --card: #fff; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

.hero { background: linear-gradient(135deg, var(--accent), #1f2330); color: #fff; padding: 2.5rem 0 1.75rem; }
.brand { display: flex; align-items: center; gap: .75rem; }
.logo { font-size: 2.5rem; line-height: 1; }
.hero h1 { margin: 0; font-size: 2.25rem; letter-spacing: -.02em; }
.tagline { margin: .5rem 0 1rem; opacity: .85; font-size: 1.1rem; }
.stats { display: flex; flex-wrap: wrap; gap: .5rem; }
.stats span { background: rgba(255,255,255,.15); border-radius: 999px; padding: .15rem .8rem; font-size: .85rem; }
.stats b { font-size: 1rem; }
.hero .cta { display: inline-block; margin-top: 1.25rem; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; padding: .5rem 1rem; border-radius: 8px; }

h2.section { font-size: 1.15rem; margin: 2rem 0 .75rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.25rem; }
.tile { background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); color: inherit; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
a.tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.tile .art { aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 3rem; color: #fff; font-weight: 700; }
.tile .body { padding: .75rem .9rem 1rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.tile h3 { font-size: 1rem; margin: 0; }
.tile p { color: var(--muted); font-size: .85rem; margin: 0; flex: 1; }
.tile .meta { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; font-size: .75rem; color: var(--muted); }
.badge { border-radius: 999px; padding: .1rem .55rem; background: #e0f2fe; color: #0369a1; }
.c0 { background: linear-gradient(135deg, #ff6b35, #f7c59f); }
.c1 { background: linear-gradient(135deg, #11998e, #38ef7d); }
.c2 { background: linear-gradient(135deg, #0072ff, #00c6ff); }
.c3 { background: linear-gradient(135deg, #654ea3, #eaafc8); }
.c4 { background: linear-gradient(135deg, #e11d48, #fb7185); }
.c5 { background: linear-gradient(135deg, #f7971e, #ffd200); }
.empty { color: var(--muted); background: var(--card); border-radius: 14px; padding: 1.25rem; }

.foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2rem; margin-top: 3rem; padding-top: 1.5rem; padding-bottom: 3rem; border-top: 1px solid #e3e5ec; color: var(--muted); }
.foot h3 { color: var(--ink); font-size: 1rem; margin: 0 0 .5rem; }
.foot ol, .foot ul { padding-left: 1.1rem; margin: 0; }
.foot li { margin: .2rem 0; }
code { background: #eceef4; padding: 0 .3rem; border-radius: 4px; font-size: .9em; }

/* v0.22 tabs + pages */
.hero.slim { padding: 1.5rem 0 1.25rem; }
.hero h1 a { color: inherit; text-decoration: none; }
nav.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.25rem 0 .5rem; }
nav.tabs a { text-decoration: none; padding: .4rem 1rem; border-radius: 999px; background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); font-size: .95rem; }
nav.tabs a.on { background: var(--ink); color: #fff; }
.card { background: var(--card); border-radius: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding: 1.25rem; margin-top: 1rem; }
.lead { font-size: 1.1rem; margin-top: 0; }
.steps li { margin: .35rem 0; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; padding: .45rem .9rem; border-radius: 8px; margin-right: .4rem; }
.btn.ghost { background: #e0f2fe; color: #0369a1; }
table.list { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.list th, .list td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid #eef0f5; font-size: .92rem; }
.list th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fafbfd; }
.list tr:last-child td { border-bottom: 0; }
.chart { width: 100%; height: auto; font-size: 11px; fill: var(--muted); }
.muted { color: var(--muted); font-size: .9rem; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .75rem; }
.feature { display: flex; gap: .75rem; background: var(--card); border-radius: 12px; padding: .9rem; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.feature .icon { font-size: 1.6rem; }
.feature h3 { margin: 0; font-size: 1rem; }
.feature p { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }
pre { background: #1f2330; color: #e8eaf2; padding: .75rem 1rem; border-radius: 8px; overflow-x: auto; font-size: .85rem; }
.foot.small { display: block; text-align: center; margin-top: 2.5rem; }
.features.three { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card.intro .lead { margin: 0; }
.pager { display: flex; gap: 1rem; align-items: center; margin-top: .8rem; color: var(--muted); }
h2.section small { color: var(--muted); font-weight: 400; }
