:root { --dim: #929d99; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
[id] { scroll-margin-top: 100px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.nav { background: rgba(14, 16, 19, 0.96); }
.nav-links { gap: 22px; }
.nav-links [aria-current="page"], .mobile-menu [aria-current="page"] { color: var(--mint-2); }
.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; top: 68px; right: 16px; left: 16px; max-height: calc(100dvh - 88px); overflow-y: auto; padding: 16px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 20px 50px #0008; }
.mobile-menu nav a { display: block; padding: 12px; color: var(--muted); border-radius: 6px; }
.mobile-menu nav a:hover { color: var(--text); background: var(--surface-2); }
.page-main { padding-bottom: 88px; }
.page-heading { padding-top: 28px; padding-bottom: 52px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 13px; margin-bottom: 48px; }
.breadcrumb a:hover { color: var(--mint); }
.page-heading h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); line-height: 1.08; letter-spacing: -0.04em; max-width: 20ch; text-wrap: balance; }
.page-heading .lead { max-width: 64ch; margin-top: 24px; }
.page-heading .lead a { color: var(--mint-2); text-decoration: underline; text-underline-offset: 4px; }
.page-content { min-width: 0; }
.page-shot { margin: 0 0 48px; }
.page-shot img { width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.page-shot figcaption { color: var(--muted); margin-top: 12px; font-size: 13px; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card-grid .card { min-width: 0; }
.card-grid h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 16px; }
.card-grid p + p { margin-top: 16px; }
.card-grid .btn { margin-top: 22px; }
.text-link { display: inline-block; color: var(--mint-2); margin-top: 22px; font-size: 14px; text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }
.page-band { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-strong); }
.prose { color: var(--muted); line-height: 1.8; }
.page-content.prose { max-width: 850px; }
.prose section + section { margin-top: 40px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; color: var(--text); margin: 0 0 18px; }
.prose h3 { color: var(--text); margin: 20px 0 8px; }
.prose p + p { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 10px; }
.prose a, .link-card a { color: var(--mint-2); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.prose strong { color: var(--text); }
.page-cta, .page-callout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; margin-top: 56px; padding: 36px; border: 1px solid rgba(139, 213, 202, 0.25); border-radius: var(--radius); background: linear-gradient(120deg, #8bd5ca10, var(--surface)); }
.page-cta h2, .page-callout h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.025em; line-height: 1.2; }
.action-row, .page-actions, .page-links { display: flex; flex-wrap: wrap; gap: 12px; }
.page-links { margin-top: 28px; }
.page-links a { color: var(--mint-2); text-decoration: underline; text-underline-offset: 4px; }
.link-card { padding: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.command-block { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #0b0d10; margin: 24px 0; padding: 20px; }
.command-block pre { overflow-x: auto; color: var(--mint-2); font-size: 13px; margin: 0 0 16px; }
.guide-steps { margin-top: 32px; }
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { border-collapse: collapse; width: 100%; font-size: 14px; text-align: left; }
th, td { padding: 18px 16px; border-bottom: 1px solid var(--line-strong); vertical-align: top; min-width: 150px; }
th { color: var(--text); font-weight: 600; }
thead { background: var(--surface); }
.resource-links { list-style: none; padding: 0; margin: 24px 0 0; }
.resource-links li + li { border-top: 1px solid var(--line); }
.resource-links a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 14px; color: var(--mint-2); }
.resource-links a:hover { color: var(--text); }
.resource-links span { flex-shrink: 0; }
.faq-list { max-width: 900px; }
.faq-item { border-top: 1px solid var(--line-strong); padding: 24px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { cursor: pointer; font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 600; padding-right: 20px; }
.faq-item summary::marker { color: var(--mint); }
.faq-item p { color: var(--muted); line-height: 1.8; margin: 18px 0 0; max-width: 76ch; }
.release-entry { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 40px; padding: 40px 0; border-top: 1px solid var(--line-strong); }
.release-entry h2 { font-size: 2rem; margin-bottom: 14px; }
.release-entry h3 { margin-top: 0; }
.release-meta { color: var(--muted); }
.release-meta time { display: block; margin-top: 10px; font-size: 13px; }
.home-explore { padding-top: 0; }
.home-explore .section-head { margin-bottom: 28px; }
.home-explore .resource-links { margin-top: 8px; }
.home-proof { color: var(--muted); font-size: 14px; margin-top: 20px; }
.home-proof a { color: var(--mint-2); text-decoration: underline; text-underline-offset: 4px; }
.footer-cols h4 { color: var(--muted); }
.footer-cols a { min-height: 32px; }
.footer-legal { color: var(--muted); }
.source code.inline { white-space: normal; overflow-wrap: anywhere; }
.steps li { flex-wrap: wrap; }
.privacy-page .privacy-main { padding-top: 28px; }
.privacy-page .breadcrumb { margin-bottom: 36px; }
.notfound { min-height: 65vh; }
.subpage .page-heading { position: relative; }
.subpage .page-heading::before { content: ""; position: absolute; z-index: -1; inset: -120px -10% 0; pointer-events: none; background: radial-gradient(ellipse 55% 60% at 30% 10%, rgba(139, 213, 202, 0.12), transparent 70%); }
.page-heading.is-centered { display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-heading.is-centered h1 { max-width: 16ch; }
.page-heading.is-centered .lead { margin-inline: auto; }
.page-heading.is-centered::before { background: radial-gradient(ellipse 50% 70% at 50% 0%, rgba(139, 213, 202, 0.16), transparent 70%); }
.local-nav { position: sticky; top: 68px; z-index: 40; background: rgba(14, 16, 19, 0.78); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border-block: 1px solid var(--line); }
.local-nav ul { display: flex; gap: 4px; list-style: none; margin: 0 auto; padding: 8px 0; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.local-nav ul::-webkit-scrollbar { display: none; }
.local-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.local-nav a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent, var(--mint)); }
.local-nav a:hover, .local-nav a[aria-current] { color: var(--text); background: rgba(242, 243, 239, 0.07); }
.accent-mint { --accent: #8bd5ca; } .accent-violet { --accent: #c8a5ff; } .accent-blue { --accent: #7cb4ff; } .accent-orange { --accent: #ffb86b; }
.accent-green { --accent: #a5e3a1; } .accent-pink { --accent: #ff9ccf; } .accent-yellow { --accent: #ffd66e; }
.feature-section { padding-top: 112px; scroll-margin-top: 120px; }
.feature-head { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 780px; margin: 0 auto 48px; }
.group-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 16px; color: var(--bg); background: var(--accent); box-shadow: 0 14px 40px -14px var(--accent); }
.group-icon svg { width: 28px; height: 28px; }
.feature-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.feature-head .lead { margin-inline: auto; }
.feature-visual { position: relative; margin: 0 0 20px; }
.feature-visual .window { box-shadow: 0 40px 120px -50px var(--accent), 0 30px 80px -40px #000; }
.feature-duo { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; align-items: center; }
.phone-frame { position: relative; aspect-ratio: 390 / 844; padding: 7px; border-radius: 40px; background: #050607; border: 1px solid #4a5058; box-shadow: inset 0 0 0 1px #0b0d10, 0 40px 80px -30px #000; }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 33px; }
.phone-frame .island { top: 16px; }
.feature-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-tile { position: relative; overflow: hidden; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: rgba(20, 22, 26, 0.75); transition: border-color 0.3s, transform 0.4s var(--ease); }
.feature-tile:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-2px); }
.feature-tile h3 { display: flex; align-items: flex-start; gap: 10px; font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.feature-tile h3::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.45em; border-radius: 50%; background: var(--accent); }
.feature-tile p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.feature-tile .chips { margin-top: 16px; }
.feature-tile.is-wide { grid-column: span 2; }
.feature-section > .page-links { justify-content: center; }
.mock .term-body { min-height: 0; padding: 16px 24px 20px; }
.tile-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 14px; color: var(--dim); font-size: 13px; }
.mock { border-radius: 20px; border: 1px solid var(--line-strong); background: #0f1114; overflow: hidden; box-shadow: 0 40px 120px -60px var(--accent); }
.mock-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mock-split > * + * { border-left: 1px solid var(--line); }
.mock pre { margin: 0; padding: 22px 24px; font-size: 13px; line-height: 1.8; color: #d7dcd8; overflow-x: auto; }
.mock .ghost { color: #6f7b77; font-style: italic; }
.mock .hl { display: block; margin: 0 -24px; padding: 0 24px; background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: inset 2px 0 0 var(--accent); }
.mock-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.mock-prompt { display: flex; align-items: center; gap: 10px; margin: 18px 24px 0; padding: 10px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); background: var(--surface-2); font-size: 14px; }
.mock-prompt svg { width: 16px; height: 16px; flex: none; color: var(--accent); }
.mock-prompt span { flex: 1; min-width: 0; }
.mock-rows { list-style: none; margin: 0; padding: 8px 0; font-size: 14px; }
.mock-rows li { display: flex; align-items: center; gap: 12px; padding: 10px 24px; }
.mock-rows li + li { border-top: 1px solid var(--line); }
.mock-rows code { flex: 1; min-width: 0; color: var(--text); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-rows small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.mock-title { padding: 16px 24px 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.badge { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-family: var(--mono); font-size: 12px; font-weight: 600; }
.badge-m { color: #ffd66e; background: #ffd66e1f; } .badge-u { color: #a5e3a1; background: #a5e3a11f; } .badge-d { color: #ff9f7f; background: #ff9f7f1f; }
.status { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #a5e3a1; box-shadow: 0 0 0 4px #a5e3a11f; }
.status-wait { background: #ffd66e; box-shadow: 0 0 0 4px #ffd66e1f; }
.mock-commit { margin: 4px 24px 20px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 12px; }
.swatch { margin: 0; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(20, 22, 26, 0.75); }
.swatch-art { height: 72px; border-radius: 10px; background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 78%, var(--c) 78%); border: 1px solid var(--line); }
.swatch figcaption { margin-top: 10px; font-size: 14px; font-weight: 600; }
.shot-card { padding: 0; }
.shot-card .platform-shot { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.shot-card .shot-body { padding: 28px; }
.shot-card:hover .platform-shot { transform: none; }
.shot-card .platform-shot { aspect-ratio: 16 / 10; }
.shot-card .device-tablet { left: 20%; top: 6%; width: 40%; }
.shot-card .device-phone { right: 24%; top: 30%; width: 17%; }
.shot-term { background: #0b0d10; }
.shot-term .term-body { min-height: 0; }
.card-grid .card-icon { margin-bottom: 18px; }
.card[class*="accent-"] .card-icon { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.card[class*="accent-"]:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.card-grid .card > .btn + .text-link { margin-left: 16px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .nav-inner { gap: 12px; }
  .nav-actions { margin-left: auto; }
  .nav-github { display: none; }
  .release-entry { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
  .feature-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-duo { grid-template-columns: minmax(0, 1fr) 200px; }
  .local-nav ul { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .brand-word { display: block; }
  .card-grid { grid-template-columns: 1fr; }
  .page-heading { padding-bottom: 36px; }
  .breadcrumb { margin-bottom: 32px; }
  .page-heading h1 { font-size: clamp(2.5rem, 10vw, 3.8rem); }
  .page-cta, .page-callout { padding: 24px; }
  .release-entry { grid-template-columns: 1fr; gap: 20px; }
  .feature-section { padding-top: 80px; }
  .feature-tiles, .mock-split, .feature-duo { grid-template-columns: 1fr; }
  .feature-tile.is-wide { grid-column: auto; }
  .mock-split > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .feature-duo .phone-frame { width: min(240px, 70%); margin-inline: auto; }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .swatch { padding: 8px; }
  .swatch-art { height: 48px; }
  .swatch figcaption { font-size: 12.5px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  .brand-word { display: none; }
  .nav-actions .btn, .mobile-menu summary { font-size: 13px; padding: 8px 12px; }
  .footer-cols { grid-template-columns: 1fr; }
}
