/* Nunu List: the server list, server pages, adding a server, Insights. Uses the tokens from app.css. */
.site-links a[aria-current="page"] { color: var(--ink); }
.add-srv { margin-right: 4px; }
.av-28 { width: 28px; height: 28px; } .av-40 { width: 40px; height: 40px; }
.dot-on { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3fae5a; margin-right: 6px; vertical-align: .05em; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,174,90,.45); } 70% { box-shadow: 0 0 0 7px rgba(63,174,90,0); } 100% { box-shadow: 0 0 0 0 rgba(63,174,90,0); } } /* taste-skill-ignore: online pulse */
.srv-ic { border-radius: 30%; object-fit: cover; flex: none; background: var(--surface-2); }
.srv-ic-txt { display: inline-grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 600; letter-spacing: -0.02em; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 13px; text-decoration: none; transition: background-color .15s, color .15s; }
.tag:hover { color: var(--ink); background: var(--field-1); }
.tag-cat { background: var(--accent-soft); color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; transition: background-color .15s, transform .15s var(--ease); }
.chip span { font-size: 12px; color: var(--muted); }
.chip:hover { background: var(--surface-2); transform: translateY(-1px); }
.chip.on { background: var(--ink); color: var(--bg); }
.chip.on span { color: inherit; opacity: .7; }
.chip-more { background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.select { height: 40px; padding: 0 32px 0 12px; border: 0; border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 15px; cursor: pointer; }

/* search */
.search { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 999px; padding: 6px 6px 6px 18px; transition: background-color .15s; max-width: 640px; }
.search:focus-within { background: var(--surface-2); outline: 2px solid var(--accent); outline-offset: 2px; }
.search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 17px; height: 44px; outline: none; color: var(--ink); }
.search input::-webkit-search-cancel-button { display: none; }
.search-lg input { height: 52px; font-size: 18px; }
.search-lg .btn { min-height: 52px; padding: 0 26px; }

/* home hero */
.h2-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(40px, 7vw, 96px) var(--m) clamp(48px, 6vw, 80px); }
.h2-copy h1 { font-size: clamp(52px, 8.2vw, 128px); letter-spacing: -0.055em; line-height: .92; animation: rise .8s var(--ease) both; }
.h2-sub { margin-top: 22px; max-width: 34ch; font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.015em; animation: rise .8s var(--ease) .08s both; }
.h2-copy .search { margin-top: 32px; animation: rise .8s var(--ease) .16s both; }
.h2-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; animation: rise .8s var(--ease) .24s both; }
.h2-owner { margin-top: 26px; color: var(--muted); animation: rise .8s var(--ease) .32s both; }
.h2-owner a { color: var(--ink); font-weight: 500; }

.stack { position: relative; height: 420px; animation: rise .9s var(--ease) .2s both; }
.stack-card { position: absolute; left: 0; right: 0; top: calc(var(--i, 0) * 26px); display: block; background: var(--surface); color: var(--ink); text-decoration: none; border-radius: 22px; padding: 22px;
  transform: scale(calc(1 - var(--i, 0) * .05)); transform-origin: 50% 0; opacity: calc(1 - var(--i, 0) * .22); z-index: calc(10 - var(--i, 0));
  transition: top .7s var(--ease), transform .7s var(--ease), opacity .7s var(--ease); }
.stack-card.is-top { box-shadow: 0 24px 60px rgba(0,0,0,.16); } /* taste-skill-ignore: floating stack */
.stack-card:nth-child(n+5) { display: none; }
.mini-top { display: flex; align-items: center; gap: 14px; }
.mini-top > div { flex: 1; min-width: 0; display: grid; }
.mini-top b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-top > div > span { color: var(--muted); font-size: 14px; }
.mini-note { font-size: 12px; font-weight: 600; color: var(--ok); background: var(--ok-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.stack-card p { margin-top: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.mini-bump { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; }
.mini-bump svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.is-top .mini-bump svg { animation: lift 1.6s var(--ease) infinite; }
@keyframes lift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* sections */
.sec { padding: clamp(56px, 7vw, 104px) var(--m) 0; }
.sec-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-top h2 { font-size: clamp(32px, 3.6vw, 56px); letter-spacing: -0.045em; }
.sec-top p { margin-top: 10px; color: var(--muted); max-width: 56ch; }

/* server cards */
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.scard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; background: var(--surface); transition: transform .25s var(--ease), background-color .2s; }
.scard:hover { transform: translateY(-4px); background: var(--surface-2); }
.scard-link { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.scard-top { display: flex; align-items: center; gap: 14px; }
.scard-id { flex: 1; min-width: 0; }
.scard-id h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scard-meta { color: var(--muted); font-size: 14px; margin-top: 3px; }
.sep { opacity: .5; }
.scard-rank { font-size: 15px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.scard-sum { line-height: 1.45; font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.scard-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 2; }
.scard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.scard-when { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.scard-join { position: relative; z-index: 2; }

/* stars */
.stars { display: inline-flex; gap: 1px; vertical-align: -.1em; }
.st { width: 14px; height: 14px; background: var(--surface-2); clip-path: polygon(50% 4%, 61% 37%, 96% 37%, 68% 58%, 79% 92%, 50% 71%, 21% 92%, 32% 58%, 4% 37%, 39% 37%); }
.stars-md .st { width: 20px; height: 20px; }
.st.on { background: #e6a817; }
.st.half { background: linear-gradient(90deg, #e6a817 50%, var(--surface-2) 50%); } /* taste-skill-ignore: half star */

/* list page */
.list-head { padding: clamp(36px, 5vw, 64px) var(--m) 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.list-title h1 { font-size: clamp(40px, 5.5vw, 84px); letter-spacing: -0.05em; line-height: .95; }
.list-title p { margin-top: 14px; color: var(--muted); max-width: 48ch; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--m) 8px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.list-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px var(--m); flex-wrap: wrap; }
.list-count { color: var(--muted); }
.list-count a { color: var(--ink); }
.sort-form { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
main > .sgrid { padding: 0 var(--m); }
.list-empty { margin: 8px var(--m); padding: 48px 28px; border-radius: 22px; background: var(--surface); display: grid; justify-items: start; gap: 12px; }
.sec .list-empty { margin: 0; }
.list-empty h2, .list-empty h3 { font-size: 28px; letter-spacing: -0.03em; }
.list-empty p { color: var(--muted); max-width: 52ch; }
.pager-pub { display: flex; justify-content: space-between; align-items: center; padding: 28px var(--m) 0; color: var(--muted); }
.list-cta { margin: clamp(56px, 7vw, 96px) var(--m) 0; padding: clamp(32px, 4vw, 56px); border-radius: 26px; background: var(--accent); color: var(--accent-ink); display: grid; gap: 14px; justify-items: start; }
.list-cta h2 { font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -0.045em; }
.list-cta p { max-width: 54ch; opacity: .9; }
.list-cta .btn-solid { background: var(--accent-ink); color: var(--accent); }

/* categories */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.cat-tile { display: grid; gap: 4px; padding: 18px 20px; border-radius: 18px; background: var(--surface); text-decoration: none; height: 100%; transition: background-color .2s, transform .2s var(--ease); }
.cat-tile:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }
.cat-tile b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.cat-tile span { color: var(--muted); font-size: 14.5px; }
.cat-tile em { font-style: normal; font-size: 13px; margin-top: 6px; color: var(--muted); }
.cat-tile:hover span, .cat-tile:hover em { color: inherit; opacity: .85; }
.tag-cloud { margin-top: 20px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* owners */
.owners { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.own-copy h2 { font-size: clamp(36px, 4.4vw, 68px); letter-spacing: -0.05em; }
.own-lead { margin-top: 12px; font-size: var(--step-lead); line-height: 1.35; max-width: 32ch; }
.own-points { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 16px; }
.own-points li { display: grid; gap: 2px; padding-left: 22px; position: relative; }
.own-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.own-points b { font-weight: 600; }
.own-points span { color: var(--muted); }
.own-demo { margin: 0; background: var(--surface); border-radius: 26px; padding: 24px; }
.demo-head { display: flex; align-items: center; gap: 12px; }
.demo-head b { flex: 1; font-weight: 600; }
.demo-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.demo-kpis div { background: var(--bg); border-radius: 14px; padding: 12px 14px; display: grid; }
.demo-kpis span { font-size: 13px; color: var(--muted); }
.demo-kpis b { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.demo-bars { height: 120px; display: flex; align-items: flex-end; gap: 6px; margin-top: 16px; padding: 12px; background: var(--bg); border-radius: 14px; }
.demo-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: var(--accent); transform: scaleY(.05); transform-origin: bottom; transition: transform .8s var(--ease); transition-delay: var(--d); }
.demo-bars.grow span { transform: none; }
.demo-rows { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.demo-rows li { display: grid; grid-template-columns: 30px 1fr auto auto; gap: 10px; align-items: center; background: var(--bg); border-radius: 12px; padding: 8px 12px; font-size: 14px; }
.demo-rows li > span:last-child { color: var(--muted); font-size: 13px; }
.demo-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 600; font-size: 13px; }
.own-demo figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* badges teaser */
.marquee { overflow: hidden; border-radius: 22px; background: var(--surface); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: strip 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 12px; padding-right: 12px; }
.marquee .strip-badge { height: 56px; font-size: 16px; }
.marquee .strip-badge .badge { width: 40px; height: 40px; }

/* faq accordion */
.faq2 h2 { font-size: clamp(32px, 3.6vw, 56px); letter-spacing: -0.045em; margin-bottom: 24px; }
.faq-list { display: grid; gap: 8px; max-width: 920px; }
.qa { background: var(--surface); border-radius: 18px; padding: 0 22px; transition: background-color .2s; }
.qa[open] { background: var(--surface-2); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; transition: transform .25s var(--ease); }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { padding-bottom: 20px; max-width: 70ch; line-height: 1.55; }

/* final call */
.cta2 { margin: clamp(64px, 8vw, 120px) var(--m) 0; padding: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 64px); border-radius: 30px; background: var(--field-dark); color: var(--paper); display: grid; gap: 22px; justify-items: start; }
.cta2 h2 { font-size: clamp(38px, 5.4vw, 88px); letter-spacing: -0.05em; line-height: .98; max-width: 16ch; }
.cta2-act { display: flex; gap: 12px; flex-wrap: wrap; }
.cta2 p { color: #9a958e; }
.btn-paper-line { background: transparent; color: var(--paper); border: 1.5px solid currentColor; min-height: 56px; padding: 0 24px; font-size: 18px; }
.btn-paper-line:hover { background: var(--paper); color: #1d1c1b; }
.site-foot { margin-top: clamp(64px, 8vw, 120px); }

/* server page */
.srvpage { padding: 0 var(--m); }
.banner-note.warn { background: var(--warn-soft); color: var(--warn); margin: 16px 0 0; }
.flow .banner-note, .ins .banner-note, .srvpage .banner-note { margin: 16px 0 0; }
.srv-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(32px, 5vw, 64px) 0 32px; }
.srv-hero .srv-ic { width: 112px; height: 112px; }
.srv-hero h1 { font-size: clamp(36px, 4.8vw, 72px); letter-spacing: -0.05em; line-height: 1; overflow-wrap: anywhere; }
.srv-hero-sum { margin-top: 10px; font-size: var(--step-lead); line-height: 1.35; max-width: 50ch; }
.srv-hero-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); }
.srv-hero-meta b { color: var(--ink); font-weight: 600; }
.srv-hero-act { display: grid; gap: 10px; justify-items: stretch; }
.join-btn { position: relative; overflow: hidden; }
.join-btn::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.18); transform: translateX(-110%) skewX(-20deg); animation: shine 3.6s var(--ease) 1.2s infinite; }
@keyframes shine { 0%, 70% { transform: translateX(-110%) skewX(-20deg); } 100% { transform: translateX(210%) skewX(-20deg); } }
.srv-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.srv-about h2, .srv-reviews h2 { font-size: 28px; letter-spacing: -0.03em; margin-bottom: 14px; }
.srv-about { background: var(--surface); border-radius: 22px; padding: 26px; }
.srv-about p { line-height: 1.6; max-width: 72ch; }
.srv-about p + p { margin-top: 14px; }
.srv-side { position: sticky; top: 16px; display: grid; gap: 14px; }
.facts { margin: 0; background: var(--surface); border-radius: 22px; padding: 8px 22px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; }
.facts div + div { border-top: 1px solid var(--surface-2); } /* taste-skill-ignore: rows in a fact list */
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }
.facts a { color: inherit; }
.side-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bump-box { background: var(--accent-soft); border-radius: 22px; padding: 20px; display: grid; gap: 8px; }
.bump-box .btn-block { margin-top: 4px; }
.bumped { animation: bumped .6s var(--ease); }
@keyframes bumped { 30% { transform: translateY(-6px) scale(1.04); } }

/* reviews */
.srv-reviews { margin-top: 40px; }
.rev-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.rev-sum { display: flex; align-items: center; gap: 10px; }
.rev-sum > b { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; }
.rev-sum > span { color: var(--muted); }
.rev-dist { list-style: none; margin: 8px 0 20px; padding: 0; display: grid; gap: 6px; max-width: 420px; }
.rev-dist li { display: grid; grid-template-columns: 16px 1fr 32px; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.rev-dist .bar { height: 8px; background: var(--surface); border-radius: 4px; overflow: hidden; }
.rev-dist .bar > span { display: block; height: 100%; background: #e6a817; border-radius: 4px; }
.rev-form { background: var(--surface); border-radius: 22px; padding: 22px; margin: 10px 0 24px; display: grid; gap: 12px; }
.rev-form h3 { font-size: 20px; letter-spacing: -0.02em; }
.rev-form textarea { width: 100%; border: 0; border-radius: 14px; background: var(--bg); padding: 14px 16px; font-size: 16px; line-height: 1.5; resize: vertical; }
.rev-form textarea:focus { outline: 2px solid var(--accent); }
.rev-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; }
.rev-foot .help { margin-right: auto; }
.star-pick { border: 0; margin: 0; padding: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-pick label { cursor: pointer; font-size: 34px; line-height: 1; color: var(--surface-2); transition: color .12s, transform .12s var(--ease); position: relative; }
.star-pick input { position: absolute; opacity: 0; pointer-events: none; }
.star-pick label:hover, .star-pick label:hover ~ label, .star-pick label:has(input:checked), .star-pick label:has(input:checked) ~ label { color: #e6a817; }
.star-pick label:hover { transform: scale(1.15); }
.star-pick label:has(input:focus-visible) { outline: 2px solid var(--focus); border-radius: 6px; }
.rev-signin { margin: 10px 0 24px; }
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rv-item { background: var(--surface); border-radius: 20px; padding: 20px; }
.rv-top { display: flex; gap: 12px; align-items: center; }
.rv-top > div { display: grid; gap: 2px; }
.rv-top .name-line { font-weight: 600; }
.rv-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; }
.rv-text { margin-top: 12px; line-height: 1.55; white-space: pre-line; }
.rv-reply { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); }
.rv-reply b { font-size: 13px; color: var(--muted); font-weight: 500; }
.rv-answer { margin-top: 10px; }
.rv-answer summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.rv-answer form { display: grid; gap: 8px; margin-top: 8px; justify-items: start; }
.rv-answer textarea { width: 100%; border: 0; border-radius: 12px; background: var(--bg); padding: 10px 12px; font-size: 15px; }

/* add a server, my servers */
.narrow-head { padding-bottom: 28px; }
.flow { padding: 0 var(--m); max-width: 980px; display: grid; gap: 22px; }
.flow-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: s; }
.flow-steps li { counter-increment: s; background: var(--surface); border-radius: 18px; padding: 16px; display: grid; gap: 4px; }
.flow-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.flow-steps span { color: var(--muted); font-size: 14px; }
.pick-servers, .my-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pick-srv, .my-srv { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: var(--surface); text-decoration: none; transition: background-color .15s, transform .2s var(--ease); }
.pick-srv:hover, .my-srv:hover { background: var(--surface-2); transform: translateX(4px); }
.pick-srv-id, .my-id { flex: 1; min-width: 0; display: grid; }
.pick-srv-id b, .my-id b { font-weight: 600; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-srv-id span, .my-id span { color: var(--muted); font-size: 14px; }
.pick-go { font-weight: 600; color: var(--ink); }
.bot-step { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px; border-radius: 22px; background: var(--surface); transition: background-color .4s; }
.bot-step b { font-size: 19px; }
.bot-step p { margin-top: 4px; max-width: 60ch; }
.bot-step.done { background: var(--ok-soft); }
.listing-form { display: grid; gap: 18px; background: var(--surface); border-radius: 22px; padding: 24px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-field { display: grid; gap: 6px; }
.lf-field label { font-weight: 500; }
.lf-field input, .lf-field textarea, .lf-field .select { width: 100%; border: 0; border-radius: 12px; background: var(--bg); padding: 12px 14px; font-size: 16px; color: var(--ink); }
.lf-field .select { height: 46px; }
.lf-field textarea { resize: vertical; line-height: 1.5; }
.lf-field input:focus, .lf-field textarea:focus, .lf-field .select:focus { outline: 2px solid var(--accent); }
.lf-foot { display: flex; justify-content: flex-end; }

/* insights */
.ins { padding: 0 var(--m); }
.ins-head { display: flex; align-items: center; gap: 18px; padding: clamp(28px, 4vw, 48px) 0 20px; flex-wrap: wrap; }
.ins-head .srv-ic { width: 64px; height: 64px; }
.ins-id { flex: 1; min-width: 240px; }
.ins-id h1 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.045em; line-height: 1.05; }
.ins-id p { margin-top: 6px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ins-id b { color: var(--ink); }
.ins-act { display: flex; gap: 8px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 4px; margin: 6px 0 18px; }
.seg a { padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.seg a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.ins-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.k { background: var(--surface); border-radius: 18px; padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.k > span { color: var(--muted); font-size: 14px; }
.k > b { font-size: 34px; font-weight: 500; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.k small { font-size: 13px; color: var(--muted); }
.up { color: var(--ok); font-weight: 600; } .down { color: var(--bad); font-weight: 600; }
.card-p { background: var(--surface); border-radius: 22px; padding: 20px 22px; margin-top: 14px; }
.cp-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.cp-h h2 { font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.legend { list-style: none; margin: 0 0 6px; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.site .chart { width: 100%; height: auto; }
.site .ch-axis { fill: var(--muted); font: 11px var(--font); }
.ch-zero { stroke: var(--surface-2); stroke-width: 1.5; }
.b-nunu { fill: var(--accent); } .b-other { fill: var(--field-1); } .b-left { fill: var(--bad); opacity: .7; }
.sw.b-nunu { background: var(--accent); } .sw.b-other { background: var(--field-1); } .sw.b-left { background: var(--bad); opacity: .7; }
.a-views { fill: var(--accent); opacity: .14; }
.l-views { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linejoin: round; }
.l-clicks { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 4 4; }
.sw.l-views { background: var(--accent); } .sw.l-clicks { background: var(--ink); }
.ins-split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ptable th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 8px 10px; }
.ptable td { padding: 10px; border-top: 1px solid var(--surface-2); vertical-align: middle; } /* taste-skill-ignore: table rows */
.ptable small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.ptable .num { text-align: right; font-variant-numeric: tabular-nums; }
.mem { display: flex; align-items: center; gap: 10px; }
.mem > span { display: grid; }
.mem b { font-weight: 600; }
.bumpers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bumpers li { display: flex; align-items: center; gap: 10px; }
.bumpers li span { flex: 1; }

/* legal */
.legal { padding: 0 var(--m); max-width: 980px; }
.legal-row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--surface-2); } /* taste-skill-ignore: document rows */
.legal-row h2 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.3; }
.legal-row p { line-height: 1.6; }

/* admin: server descriptions to read before approving */
.desc-peek { display: inline-block; position: relative; }
.desc-peek summary { list-style: none; }
.desc-peek summary::-webkit-details-marker { display: none; }
.peek { position: absolute; right: 0; top: calc(100% + 6px); width: min(460px, 80vw); max-height: 320px; overflow: auto; white-space: pre-line; text-align: left; background: var(--a-card); color: var(--a-text); padding: 16px; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.2); z-index: 20; font-size: 14px; line-height: 1.5; } /* taste-skill-ignore: popover */

@media (max-width: 1080px) {
  .ins-kpis { grid-template-columns: repeat(3, 1fr); }
  .ins-split, .owners { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .add-srv { display: none; }
  .h2-hero { grid-template-columns: 1fr; }
  .stack { height: 300px; }
  .list-head { grid-template-columns: 1fr; }
  .srv-hero { grid-template-columns: auto minmax(0, 1fr); }
  .srv-hero-act { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .srv-body { grid-template-columns: 1fr; }
  .srv-side { position: static; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .legal-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 600px) {
  .h2-copy h1 { font-size: 15vw; }
  .search { padding-left: 14px; }
  .search .btn { padding: 0 16px; }
  .stack { height: 270px; }
  .stack-card { padding: 18px; }
  .demo-kpis { grid-template-columns: 1fr 1fr; }
  .demo-kpis div:last-child { display: none; }
  .srv-hero .srv-ic { width: 72px; height: 72px; }
  .srv-hero-act { grid-template-columns: 1fr; }
  .ins-kpis { grid-template-columns: 1fr 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .lf-row { grid-template-columns: 1fr; }
  .bot-step { flex-direction: column; align-items: flex-start; }
  .k > b { font-size: 28px; }
  .ptable th:nth-child(4), .ptable td:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dot-on, .join-btn::after, .is-top .mini-bump svg, .marquee-track { animation: none; } .demo-bars span { transform: none; } }

/* v0.3 polish */
.h2-copy h1 span { display: block; }
.stack-card { top: calc(var(--i, 0) * 38px); transform: scale(calc(1 - var(--i, 0) * .045)); opacity: calc(1 - var(--i, 0) * .18); }
.site-foot { min-height: 0; padding-top: clamp(40px, 5vw, 72px); }
.site-foot .foot-legal { margin-top: clamp(40px, 5vw, 72px); }
.stack-card > * { transition: opacity .5s var(--ease); }
.stack-card:not(.is-top) > * { opacity: 0; }
@media (max-width: 900px) {
  .site-bar { flex-wrap: wrap; row-gap: 10px; }
  .site-links { display: flex; order: 3; width: 100%; gap: 20px; overflow-x: auto; margin-left: 0; scrollbar-width: none; }
  .site-links::-webkit-scrollbar { display: none; }
  .site-links a { white-space: nowrap; }
  .add-srv { display: inline-flex; }
}
@media (max-width: 420px) { .add-srv { padding: 0 12px; } }
