/* trapu.com (from vibeos.top's). Light and dark follow the system; the switch in the header overrides it (data-theme on <html>). */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f5f8;
  --surface: #ffffff;
  --line: #e3e5ea;
  --text: #15171c;
  --muted: #5b6170;
  --faint: #8a90a0;
  --tile: #ffffff;
  --tile-line: #e3e5ea;
  --code-bg: #f4f5f8;
  --accent: #2f4b86;
  --brand: #1E2D4A;
  --shadow: 0 1px 2px rgba(20, 22, 28, .06), 0 8px 28px rgba(20, 22, 28, .08);
  --radius: 20px;
  --wrap: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111318; --bg-soft: #171a20; --surface: #1b1e25; --line: #2a2e37; --text: #eceef3; --muted: #a6acb9;
    --faint: #7c8392; --tile: #2a2d33; --tile-line: #353943; --code-bg: #1b1e25; --accent: #a8b8e6; --brand: #dfe5f2;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 32px rgba(0, 0, 0, .35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111318; --bg-soft: #171a20; --surface: #1b1e25; --line: #2a2e37; --text: #eceef3; --muted: #a6acb9;
  --faint: #7c8392; --tile: #2a2d33; --tile-line: #353943; --code-bg: #1b1e25; --accent: #a8b8e6; --brand: #dfe5f2;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 32px rgba(0, 0, 0, .35); color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 Roboto, "Roboto Flex", system-ui, -apple-system, "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code, pre, kbd { font-family: "Roboto Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88em; }
:not(pre) > code { background: var(--code-bg); border: 1px solid var(--line); padding: .08em .38em; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.accent-text { color: var(--muted); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.logo { height: 34px; width: auto; }
.logo-d { display: none; }
:root[data-dark] .logo-l { display: none; }
:root[data-dark] .logo-d { display: block; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--bg-soft); text-decoration: none; }
.theme { border: 1px solid var(--line); background: var(--surface); color: var(--text); width: 40px; height: 40px;
  border-radius: 12px; display: grid; place-items: center; cursor: pointer; flex: none; }
.theme svg { width: 20px; height: 20px; }
.theme .sun { display: none; }
:root[data-dark] .theme .sun { display: block; }
:root[data-dark] .theme .moon { display: none; }
.chat-btn { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); width: 40px;
  height: 40px; border-radius: 12px; place-items: center; flex: none; margin-right: -10px; }
.chat-btn svg { width: 21px; height: 21px; }
.chat-btn:hover { text-decoration: none; background: var(--bg-soft); }
.chat-btn[aria-current="page"] { background: var(--bg-soft); border-color: var(--muted); }
@media (max-width: 760px) {
  .nav .hide-s { display: none; }
  .chat-btn { display: grid; }
  .nav a { padding: 8px 9px; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
  .nav .hide-xs { display: none; }
}

/* hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; letter-spacing: .02em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; background: var(--surface); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px color-mix(in srgb, #3ddc84 25%, transparent); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 40em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 13px 22px; border-radius: 14px;
  border: 1px solid var(--line); color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--text); color: var(--bg); border-color: transparent; }
.btn.outline { border: 2px solid var(--text); background: transparent; color: var(--text); }
.btn svg { width: 18px; height: 18px; }

.phone { justify-self: center; width: min(330px, 78vw); aspect-ratio: 1080 / 2280; border-radius: 35px; padding: 11px;
  background: #0b0c0f; box-shadow: 0 0 0 2px #2c2f36, 0 30px 80px rgba(10, 12, 20, .35); position: relative; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; background: #000; }
.phone::after { content: ""; position: absolute; top: 21px; right: 8.5%; width: 15px; height: 15px; border-radius: 50%; background: #050506; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 56px 0 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.stat b { display: block; white-space: nowrap; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* sections */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.grid { display: grid; gap: 16px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
/* a cell may be narrower than its widest line: long commands scroll inside their box, not the page */
.grid > * { min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.card ul { color: var(--muted); margin: .4em 0 0; padding-left: 1.1em; }
.card li { margin: .25em 0; }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--bg-soft); border: 1px solid var(--line); }
.card .ic svg { width: 22px; height: 22px; }

/* apps */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.app { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.app img { width: 52px; height: 52px; flex: none; }
.app b { display: block; }
.app span { color: var(--muted); font-size: .92rem; line-height: 1.45; display: block; }
.app em { font-style: normal; color: var(--faint); font-size: .8rem; }

/* screenshots */
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px;
  margin: 0 auto; max-width: calc(var(--wrap) + 0px); scrollbar-width: thin; }
.shots figure { margin: 0; flex: none; width: 210px; scroll-snap-align: start; }
.shots img { width: 210px; aspect-ratio: 540 / 1200; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); background: #000; box-shadow: var(--shadow); }
.shots figcaption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 10px; font-weight: 600; }
.shots figure.wide { width: 370px; }
.shots figure.wide img { width: 370px; aspect-ratio: 2560 / 1600; }

/* sizes table */
.sizes { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sizes th, .sizes td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.sizes th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.sizes td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar { height: 8px; border-radius: 4px; background: var(--brand); min-width: 2px; }

/* devices */
.device { display: flex; flex-direction: column; gap: 6px; }
.badge { display: inline-block; white-space: nowrap; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); align-self: flex-start; }
.badge.ok { color: #1a9b55; border-color: color-mix(in srgb, #3ddc84 50%, var(--line)); background: color-mix(in srgb, #3ddc84 12%, transparent); }
.badge.wip { color: #b7791f; border-color: color-mix(in srgb, #ffb000 50%, var(--line)); background: color-mix(in srgb, #ffb000 12%, transparent); }

/* agent band */
.band { border-radius: 28px; padding: 44px; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand); }
.band .grid { align-items: center; }

/* docs (agents page) */
.doc { display: grid; grid-template-columns: 230px 1fr; gap: 48px; padding: 48px 20px 80px; }
.toc { position: sticky; top: 88px; align-self: start; font-size: .92rem; }
.toc b { display: block; color: var(--faint); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.toc a { display: block; color: var(--muted); padding: 5px 10px; border-radius: 8px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); background: var(--bg-soft); text-decoration: none; }
.prose { min-width: 0; max-width: 780px; }
.prose h2 { margin-top: 2.2em; padding-top: .2em; scroll-margin-top: 84px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; scroll-margin-top: 84px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0 1.4em; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; }
pre { background: var(--code-bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; overflow-x: auto; line-height: 1.5; margin: 0 0 1.2em; position: relative; }
/* the Copy button gets a band of its own above the first line */
pre:has(.copy) { padding-top: 42px; }
pre .copy { position: absolute; top: 8px; right: 8px; font: 600 .75rem/1 system-ui, sans-serif; padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
pre .copy:hover { color: var(--text); }
.note { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--bg-soft); border-radius: 12px; padding: 14px 18px; margin: 0 0 1.2em; }
.note p:last-child { margin: 0; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { padding-left: 1.8em; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.05em; height: 1.05em; border-radius: 5px; border: 2px solid var(--accent); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
footer p { margin: 0 0 .5em; }
footer a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); }

@media (max-width: 960px) {
  .hero .wrap.hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  .toc { position: static; border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--surface); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
  .band { padding: 28px 22px; }
  .stat b { font-size: 1.55rem; }
  footer .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* a phone never scrolls the page sideways: inline code such as a long function name wraps anywhere, and anything that
   still pokes out is clipped at the edge rather than widening the page (clip, unlike hidden, keeps the sticky header) */
html { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
:not(pre) > code { overflow-wrap: anywhere; }

/* what's new */
.news { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.news li { display: grid; grid-template-columns: 9.5em 1fr; gap: 18px; padding: 18px 22px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); }
.news time { color: var(--muted); font-weight: 600; font-size: .95rem; padding-top: 1px; }
.news li div { color: var(--muted); }
.news li b { color: var(--text); }
@media (max-width: 640px) { .news li { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; } }

/* ---- trapu.com ---- */
.brand span { display: inline !important; font-size: 1.25rem; }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); height: 40px;
  padding: 0 12px; border-radius: 12px; font: 600 .95rem/1 inherit; cursor: pointer; align-items: center; gap: 8px; }
.menu-btn svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .top .wrap { gap: 10px; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 12px 14px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a, .nav .hide-s, .nav .hide-xs { display: block; padding: 13px 12px; font-size: 1.05rem; border-radius: 12px; }
}
@media (min-width: 861px) { .nav .hide-s, .nav .hide-xs { display: inline-block; } }

/* hero: navy in both themes */
.hero.t { color: #F3F5FA; background:
  radial-gradient(900px 520px at 78% 30%, rgba(120, 150, 210, .22), transparent 62%),
  linear-gradient(180deg, #172338 0%, #1E2D4A 100%); padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.hero.t h1 { font-size: clamp(3.6rem, 11vw, 6.4rem); letter-spacing: -.045em; margin: 0; line-height: 1; display: flex; align-items: center; gap: .18em; }
.hero.t h1 img { height: .78em; width: auto; filter: drop-shadow(0 0 18px rgba(243, 245, 250, .25)); }
.nameline { margin: 12px 0 22px; color: #c3cbe0; font-size: 1.02rem; }
.nameline i { font-style: normal; color: #F3F5FA; font-weight: 700; }
.nameline span { white-space: nowrap; }
.kicker { font-weight: 700; color: #c3cbe0; letter-spacing: .02em; text-transform: uppercase; font-size: .86rem; margin: 0 0 8px; }
.claim { font-size: clamp(1.55rem, 3.4vw, 2.3rem); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; margin: 0 0 16px; max-width: 18em; }
.hero.t .lead { color: #d5dbea; max-width: 34em; }
.hero.t .btn { box-shadow: none; }
.hero.t .btn.primary { background: #F3F5FA; color: #15213a; }
.hero.t .btn.outline { border-color: #F3F5FA; color: #F3F5FA; }
.hero.t .btn.ghost { border: 0; background: transparent; color: #d5dbea; padding-left: 8px; padding-right: 8px; }
.runs { display: flex; gap: 10px; align-items: baseline; margin: 22px 0 0; color: #c3cbe0; font-size: .97rem; max-width: 34em; }
.runs i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .22); transform: translateY(-1px); }
.runs b { color: #F3F5FA; font-weight: 600; }
.hero.t .phone { width: min(320px, 74vw); }
@media (max-width: 960px) { .hero.t .phone { margin-top: 8px; } }

/* see it run */
.reel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.reel-nav { display: flex; gap: 8px; align-items: center; }
.reel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); display: grid; place-items: center; cursor: pointer; }
.reel-nav button svg { width: 16px; height: 16px; }
.reel-nav button:disabled { opacity: .35; cursor: default; }
.reel-count { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 700; min-width: 4.2em; text-align: center; }
.reel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.clip { flex: none; width: 236px; margin: 0; scroll-snap-align: start; }
.clip .frame { aspect-ratio: 540 / 1140; border-radius: 26px; padding: 7px; background: #0b0c0f; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.clip video { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; background: #000; }
.clip figcaption { margin-top: 12px; }
.clip figcaption b { display: block; font-size: 1.02rem; }
.clip figcaption b small { color: var(--faint); font-weight: 700; font-size: .8rem; margin-right: 6px; font-variant-numeric: tabular-nums; }
.clip figcaption span { color: var(--muted); font-size: .93rem; line-height: 1.45; display: block; }

/* ready for every day */
.daily { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 14px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.feat .hd { display: flex; align-items: center; gap: 12px; }
.feat .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: var(--bg); }
.feat .ic svg { width: 20px; height: 20px; }
.feat h3 { margin: 0; font-size: 1.12rem; }
.feat p { margin: 0; color: var(--muted); }
.feat p.fine { font-size: .88rem; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.chip { font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); background: var(--bg-soft); white-space: nowrap; }
.chip.all { }
.chip.soon { color: var(--muted); border-style: dashed; background: transparent; }

/* what you get */
.get4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.get4 .card h3 { margin-top: 0; }
.ask { margin-top: 18px; border-radius: var(--radius); border: 1px solid var(--line); border-left: 5px solid var(--brand); background: var(--surface); padding: 20px 24px; }
.ask h3 { margin: 0 0 6px; }
.ask p { margin: 0; color: var(--muted); }
.ask p + p { margin-top: 10px; }
.ask p b { color: var(--text); }
@media (max-width: 960px) { .get4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .get4 { grid-template-columns: 1fr; } }

/* devices */
.devs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.dev { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.dev h3 { margin: 0; }
.dev h3 small { color: var(--faint); font-weight: 600; font-size: .85rem; margin-left: 4px; }
.dev .top-row { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; font-size: .94rem; }
.works li { display: flex; align-items: center; gap: 8px; color: var(--text); }
.works li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: center / 11px no-repeat; }
.works .y::before { background-color: color-mix(in srgb, #3ddc84 22%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.6 2.5L10 3' fill='none' stroke='%231a9b55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.works .n::before { background-color: color-mix(in srgb, #e5484d 16%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' fill='none' stroke='%23c93c40' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.works .p::before { background-color: color-mix(in srgb, #ffb000 22%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.2v4.6M6 9.6v.2' fill='none' stroke='%23b7791f' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.works .u { color: var(--faint); }
.works .u::before { border: 1.5px dashed var(--faint); }
.works .x { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--line); }
.works .x::before { border: 1.5px solid var(--line); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px; color: var(--muted); font-size: .9rem; }
.legend .works { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legend .works li { color: var(--muted); }
.dev .meta { font-size: .93rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 4px; }
.dev .meta b { color: var(--text); font-weight: 600; }
.dev details { font-size: .93rem; color: var(--muted); }
.dev summary { cursor: pointer; font-weight: 700; color: var(--accent); }
.dev details p { margin: 8px 0 0; }
.badge.plan { color: var(--muted); }
.nolist { margin-top: 18px; color: var(--muted); }

/* install */
.diff { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 18px; color: var(--muted); }
.diff svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--text); }
.diff b { color: var(--text); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps > li { counter-increment: s; position: relative; padding-left: 50px; min-width: 0; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: var(--brand); color: var(--bg); }
.steps > li > b { display: block; margin-bottom: 4px; }
.steps > li p { color: var(--muted); margin: 0 0 8px; }
.steps pre { margin: 6px 0 0; font-size: .85rem; }
.oldname { font-size: .9rem; color: var(--muted); margin-top: 16px; }
details.src { margin-top: 14px; color: var(--muted); }
details.src summary { cursor: pointer; font-weight: 700; color: var(--accent); }
details.src pre { margin-top: 10px; }

/* AI, news, people */
.ai { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.ai .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--brand); color: var(--bg); display: grid; place-items: center; flex: none; }
.ai .ic svg { width: 26px; height: 26px; }
.ai > div:first-child { display: flex; gap: 18px; align-items: center; max-width: 720px; }
.ai h3 { margin: 0 0 4px; font-size: 1.3rem; }
.ai p { margin: 0; color: var(--muted); }
.people { text-align: center; padding: 64px 0; }
.people p.big { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; color: var(--text); }
.people p { color: var(--muted); max-width: 40em; margin: 0 auto 22px; }
.people .cta { justify-content: center; }
.btn.small { padding: 10px 16px; font-size: .95rem; }

@media (max-width: 640px) {
  .hero.t { padding: 40px 0 52px; }
  .clip { width: 72vw; max-width: 270px; }
  .works { font-size: .93rem; }
  .steps > li { padding-left: 46px; }
}

/* v1: quick links in the phone header, facts strip, per-device install tabs, credits */
.quick { display: none; color: var(--text); font-weight: 600; font-size: .95rem; padding: 8px 8px; border-radius: 10px; }
.quick:hover { background: var(--bg-soft); text-decoration: none; }
@media (max-width: 860px) { .quick { display: inline-block; } .brand + .quick { margin-left: auto; } .menu-btn { margin-left: 0; padding: 0 10px; } }
@media (max-width: 400px) { .top .wrap { gap: 4px; } .quick { padding: 8px 6px; } .brand span { font-size: 1.1rem; } }
@media (max-width: 380px) { .menu-btn .mt { display: none; } }
.rename { margin: 14px 0 0; font-size: .92rem; color: #b9c3da; }
.rename a { color: #F3F5FA; text-decoration: underline; text-decoration-color: rgba(243, 245, 250, .4); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }
.facts li { font-size: .86rem; font-weight: 600; color: #d5dbea; border: 1px solid rgba(243, 245, 250, .22); border-radius: 999px; padding: 5px 12px; }
.limit { font-size: .88rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; margin: 2px 0 0; }
.limit b { color: var(--text); font-weight: 600; }
.status-def { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 16px; font-size: .92rem; color: var(--muted); }
.status-def div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
@media (max-width: 1000px) { .status-def { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .status-def { grid-template-columns: 1fr; gap: 6px; } .status-def div { background: none; border: 0; padding: 0; } }
.dev .kern { font-size: .9rem; color: var(--muted); }
.works .d { color: var(--faint); }
.works .d::before { content: "—"; color: var(--faint); text-align: center; line-height: 18px; font-size: .8rem; }
/* install picker: radio tabs, no script needed */
.picker { margin-top: 8px; }
.picker > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.tabs label { cursor: pointer; font-weight: 700; font-size: .93rem; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.panel { display: none; }
#p-s10e:checked ~ .tabs label[for="p-s10e"], #p-poco:checked ~ .tabs label[for="p-poco"], #p-s20:checked ~ .tabs label[for="p-s20"],
#p-s5e:checked ~ .tabs label[for="p-s5e"], #p-6t:checked ~ .tabs label[for="p-6t"], #p-apt:checked ~ .tabs label[for="p-apt"] { background: var(--brand); color: var(--bg); border-color: transparent; }
#p-s10e:checked ~ .panels .pn-s10e, #p-poco:checked ~ .panels .pn-poco, #p-s20:checked ~ .panels .pn-s20,
#p-s5e:checked ~ .panels .pn-s5e, #p-6t:checked ~ .panels .pn-6t, #p-apt:checked ~ .panels .pn-apt { display: block; }
.picker > input:focus-visible ~ .tabs { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.panel .card { padding: 22px 24px; }
.erase { display: inline-block; font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; margin: 0 6px 10px 0; }
.erase.keep { color: #1a9b55; background: color-mix(in srgb, #3ddc84 14%, transparent); border: 1px solid color-mix(in srgb, #3ddc84 45%, var(--line)); }
.erase.wipe { color: #c93c40; background: color-mix(in srgb, #e5484d 10%, transparent); border: 1px solid color-mix(in srgb, #e5484d 40%, var(--line)); }
.testing { border: 1px solid color-mix(in srgb, #ffb000 50%, var(--line)); background: color-mix(in srgb, #ffb000 9%, transparent); border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; color: var(--text); font-size: .95rem; }
.panel ul.warn { margin: 12px 0 0; padding-left: 1.1em; color: var(--muted); font-size: .93rem; }
.panel ul.warn li { margin: .3em 0; }
.credits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.credits .card { font-size: .93rem; }
.credits h3 { font-size: 1rem; margin: 0 0 6px; }
.credits p { margin: 0 0 6px; }
@media (max-width: 860px) { .credits { grid-template-columns: 1fr; } }

/* the rest, in one wide card */
.feat.wide { grid-column: 1 / -1; }
.rest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.rest li { display: grid; grid-template-columns: 22px 1fr; gap: 2px 12px; align-items: start; }
.rest li > svg { width: 18px; height: 18px; margin-top: 3px; color: var(--text); }
.rest b { display: block; }
.rest span { color: var(--muted); font-size: .93rem; display: block; }
.rest .chips { grid-column: 2; padding-top: 4px; }
@media (max-width: 760px) { .rest { grid-template-columns: 1fr; } }
details.more { margin-top: 8px; }
details.more > summary { cursor: pointer; font-weight: 700; color: var(--accent); margin-bottom: 14px; }

/* round 2 */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.feat .pics { display: flex; gap: 10px; margin: 4px 0 2px; }
.feat .pics img { width: min(132px, 46%); height: auto; aspect-ratio: 540 / 1140; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid var(--line); background: #0b1020; }
.dev .issues { margin: 0; font-size: .93rem; color: var(--muted); }
.dev .issues b { color: var(--text); }
.hero .rename { margin-top: 16px; }
@media (max-width: 600px) { .feat .pics img { width: 104px; } }
