@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #fff;
  --surface: #f5f5f5;
  --ink: #191919;
  --muted: #666;
  --line: #e4e4e4;
  --green: #577b45;
  --button: #191919;
  --button-text: #fff;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --paper: #141414;
  --surface: #1e1e1e;
  --ink: #f5f5f5;
  --muted: #aaa;
  --line: #333;
  --green: #c9e6b9;
  --button: #f5f5f5;
  --button-text: #191919;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    color-scheme: dark;
    --paper: #141414;
    --surface: #1e1e1e;
    --ink: #f5f5f5;
    --muted: #aaa;
    --line: #333;
    --green: #c9e6b9;
    --button: #f5f5f5;
    --button-text: #191919;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; cursor: pointer; background: none; }
img, svg { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
p { color: var(--muted); }
.shell { width: min(1080px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 10px 18px; background: var(--ink); color: var(--paper); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.site-header { display: flex; align-items: center; gap: 32px; height: 104px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand span { font-size: 22px; font-weight: 650; letter-spacing: -.8px; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; font-size: 13px; color: var(--muted); }
.site-header nav a, .repo-link { display: inline-flex; align-items: center; min-height: 44px; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.repo-link { font-size: 13px; font-weight: 500; }
.site-header a:hover, .text-link:hover, .privacy-links a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon-button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--muted); }
.icon-button:hover { background: var(--surface); }
.sun-icon, .moon-icon, .mark-dark { display: none; }
.theme-toggle[data-choice=light] .system-icon, .theme-toggle[data-choice=dark] .system-icon { display: none; }
.theme-toggle[data-choice=light] .sun-icon, .theme-toggle[data-choice=dark] .moon-icon { display: block; }
.theme-toggle:hover .sun-icon { transform-origin: center; animation: sun-turn .5s ease-out; }
.theme-toggle:hover .moon-icon { transform-origin: center; animation: moon-tilt .3s ease-out; }
:root[data-theme=dark] .mark-dark { display: block; }
:root[data-theme=dark] .mark-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .mark-dark { display: block; }
  :root:not([data-theme=light]) .mark-light { display: none; }
}
.hero { display: grid; grid-template-columns: 1.18fr 1fr; align-items: center; gap: 60px; padding-block: 64px 92px; }
.hero-platform { font-size: 13px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -.06em; }
.hero-description { margin-top: 28px; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 24px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.4; transition: opacity .18s ease-out; }
.button:hover { opacity: .8; }
.primary { background: var(--button); color: var(--button-text); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.build-note { font-size: 11px; margin-top: 14px; max-width: 40ch; line-height: 1.7; }
.product-shot { min-width: 0; margin: 0; }
.hero-copy { min-width: 0; }
.install-block { margin-top: 28px; min-width: 0; }
.install-command { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 8px 7px 15px; min-height: 58px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.command-prompt { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--muted); user-select: none; }
.install-command code::-webkit-scrollbar { display: none; }
.install-command code { scrollbar-width: none; display: block; min-width: 0; flex: 1; overflow-x: auto; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; line-height: 2.2; color: var(--ink); scrollbar-width: none; }
.copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 68px; min-height: 42px; border-radius: 8px; font-size: 11px; background: var(--paper); border: 1px solid var(--line); transition: background-color .16s ease-out, color .16s ease-out; }
.copy-button:hover { background: var(--surface); }
.check-glyph { display: none; }
.copy-button[data-copied] { color: var(--green); }
.copy-button[data-copied] .copy-glyph { display: none; }
.copy-button[data-copied] .check-glyph { display: block; }
.copy-feedback { font-size: 12px; margin-top: 8px; }
.copy-feedback:empty { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.install-requirements { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; row-gap: 2px; font-size: 11px; margin-top: 10px; }
.install-requirements a { text-decoration: underline; text-underline-offset: 3px; min-height: 24px; }
.hero-actions .text-link { gap: 6px; }
.showcase-tabs { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; padding: 4px; margin: 0 auto 18px; border: 1px solid var(--line); border-radius: 999px; }
.showcase-tabs button { min-width: 80px; min-height: 36px; padding: 6px 16px; font-size: 12px; font-weight: 500; border-radius: 999px; color: var(--muted); transition: background-color .16s ease-out, color .16s ease-out; }
.showcase-tabs button[aria-selected=true] { color: var(--button-text); background: var(--button); }
.showcase-viewport { max-width: 420px; margin-inline: auto; overflow: hidden; aspect-ratio: 420 / 500; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 48px -28px rgb(0 0 0 / .3); }
.showcase-viewport img { display: block; width: 100%; height: auto; }
.source-instructions .install-block { margin-top: 16px; }
.source-instructions .install-command { padding-left: 10px; gap: 6px; }
.source-instructions .copy-button { flex-basis: 62px; }
.source-instructions .install-command code { font-size: 10px; }
.product-shot figcaption { font-size: 10px; text-align: center; color: var(--muted); margin-top: 14px; }
h2 { font-size: clamp(30px, 3.5vw, 42px); }
.features { border-top: 1px solid var(--line); padding-block: 68px 84px; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 38px; }
.feature-list h3 { font-size: 18px; letter-spacing: -.025em; }
.feature-list p { font-size: 14px; margin-top: 14px; max-width: 30ch; }
.setup-section { background: var(--surface); padding-block: 78px; }
.setup-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.section-heading > p { margin-top: 24px; font-size: 15px; max-width: 29ch; }
.setup-steps { list-style: none; counter-reset: setup; margin: 0; padding: 0; display: grid; gap: 30px; }
.setup-steps li { counter-increment: setup; position: relative; padding-left: 40px; }
.setup-steps li:before { content: counter(setup); position: absolute; left: 0; top: 0; color: var(--muted); font-size: 13px; line-height: 21px; }
.setup-steps h3 { font-size: 18px; letter-spacing: -.025em; line-height: 1.3; }
.setup-steps p { margin-top: 8px; font-size: 14px; max-width: 43ch; }
.privacy-section { padding-block: 88px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.privacy-section p { max-width: 44ch; font-size: 15px; }
.privacy-links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 16px; }
.privacy-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.faq-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; border-top: 1px solid var(--line); padding-block: 72px 88px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 60px; padding-block: 15px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; }
.faq-list details:first-child summary { padding-top: 0; min-height: 42px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: '+'; font-size: 22px; font-weight: 400; color: var(--muted); }
.faq-list details[open] summary:after { content: '−'; }
.faq-list details p { padding: 0 24px 20px 0; font-size: 14px; }
.build-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding-block: 56px; border-block: 1px solid var(--line); }
.build-section > div > p:not(.build-note) { font-size: 14px; margin-top: 18px; }
.build-section .button { margin-top: 24px; }
.source-instructions { align-self: start; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; font-size: 13px; }
.source-instructions summary { font-weight: 500; cursor: pointer; min-height: 24px; }
.source-instructions p { margin-top: 14px; font-size: 12px; }
.source-instructions pre { padding: 16px; background: var(--surface); border-radius: 6px; font-size: 12px; line-height: 1.8; overflow-x: auto; margin-block: 14px 0; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-block: 36px 28px; }
.site-footer .brand { gap: 7px; }
.site-footer .brand span { font-size: 17px; }
.site-footer > span { font-size: 11px; color: var(--muted); }
.site-footer > div { display: flex; gap: 24px; margin-left: auto; font-size: 12px; color: var(--muted); }
.site-footer:not(.site-footer--expanded) > div a { display: inline-flex; align-items: center; min-height: 44px; }

.document-page { max-width: 720px; margin-block: 56px 88px; }
.document-page h1 { font-size: clamp(40px, 6vw, 60px); }
.document-page .document-intro { font-size: 19px; margin-top: 24px; }
.document-page h2 { font-size: 25px; margin-top: 38px; letter-spacing: -.03em; }
.document-page p, .document-page li { font-size: 15px; line-height: 1.8; margin-top: 16px; }
.document-page code { font-size: 12px; overflow-wrap: anywhere; }
.document-page a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.brand-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-block: 36px; }
.brand-preview { padding: 36px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: #191919; text-align: center; }
.brand-preview.dark { background: #191919; color: #f5f5f5; }
.brand-preview img { width: 180px; height: 138px; object-fit: contain; margin: auto; }
.brand-preview a { display: inline-block; padding-block: 12px; margin-top: 12px; font-size: 13px; }
@keyframes sun-turn { to { transform: rotate(180deg); } }
@keyframes moon-tilt { 50% { transform: rotate(-12deg); } }
@media (max-width: 1200px) {
  .copy-button { flex-basis: 40px; }
  .copy-button [data-copy-label] { display: none; }
  .install-command code { font-size: 10px; }
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1.4fr 1fr; }
}
@media (max-width: 840px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 680px; }
  .product-shot { width: 420px; max-width: 100%; margin-inline: auto; }
}
@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 32px; }
  .hero-description { font-size: 16px; }
  .hero-actions { gap: 18px; }
  .setup-layout, .privacy-section, .faq-section, .build-section { gap: 56px; }
  .feature-list { gap: 32px; }
  .desktop-break { display: none; }
}
@media (max-width: 760px) {
  .site-header { height: 88px; }
  .site-header nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-block: 40px 64px; gap: 40px; }
  .hero-copy { min-width: 0; max-width: 580px; }
  .hero h1 { font-size: clamp(44px, 9vw, 68px); }
  .hero-description { font-size: 18px; }
  .hero-platform { margin-bottom: 20px; }
  .product-shot { width: 492px; max-width: 100%; margin-inline: auto; }
  .features { padding-block: 48px 56px; }
  .feature-list { grid-template-columns: 1fr; gap: 28px; }
  .feature-list p { max-width: 48ch; margin-top: 8px; }
  .setup-layout, .privacy-section, .faq-section, .build-section { grid-template-columns: 1fr; gap: 32px; }
  .setup-section { padding-block: 56px; }
  .section-heading > p { max-width: 40ch; margin-top: 18px; }
  .privacy-section { padding-block: 56px; }
  .privacy-section p { max-width: 48ch; }
  .faq-section { padding-block: 48px 56px; }
  .build-section { padding-block: 48px; }
  .site-footer > div { margin-left: 0; }
}
@media (max-width: 440px) {
  .shell { width: calc(100% - 40px); }
  .site-header { gap: 12px; height: 80px; }
  .site-header .brand { gap: 7px; }
  .site-header .brand img { width: 30px; height: auto; }
  .site-header .brand span { font-size: 18px; letter-spacing: -.6px; }
  .header-actions { gap: 10px; }
  .repo-link { font-size: 12px; }
  .icon-button { width: 40px; }
  .hero { padding-top: 30px; }
  .hero-description { font-size: 16px; margin-top: 22px; }
  .hero-actions { gap: 20px; margin-top: 22px; }
  .install-command { gap: 7px; padding-left: 11px; }
  .install-command code { font-size: 10px; }
  .copy-button { flex-basis: 60px; }
  .showcase-tabs button { min-height: 40px; }
  .button { font-size: 13px; padding-inline: 20px; }
  .hero-actions .text-link { font-size: 12px; }
  .showcase-viewport { border-radius: 20px; }
  .source-instructions { padding: 18px; }
  .source-instructions pre { padding: 12px; font-size: 10px; }
  .site-footer { gap: 16px; }
  .site-footer:not(.site-footer--expanded) > div { width: 100%; }
  .brand-gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.document-header .header-actions { margin-left: auto; }
.error-page .button { margin-top: 28px; }

[hidden] { display: none !important; }
.setup-steps p a { text-decoration: underline; text-underline-offset: 3px; }

/* Hunchlane-inspired footer composition, using Usage Desk's existing palette and type. */
.site-footer--expanded { position: relative; display: block; isolation: isolate; overflow: hidden; margin-top: 48px; padding: 0; background: var(--surface); }
.site-footer--expanded > .footer-content { position: relative; z-index: 1; display: block; margin-inline: auto; padding-block: 64px 148px; color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: 80px; }
.site-footer--expanded .brand { min-height: 44px; gap: 10px; }
.site-footer--expanded .brand span { font-size: 22px; font-weight: 650; letter-spacing: -.8px; }
.footer-headline { margin-top: 26px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; color: var(--ink); }
.footer-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 2px; }
.footer-columns ul { list-style: none; margin: 0; padding: 0; }
.footer-columns a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--muted); }
.footer-columns a:hover { color: var(--ink); }
.footer-baseline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-baseline p { font-size: 11px; color: var(--muted); }
.footer-credit { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px; text-align: right; }
.footer-credit a { display: inline-flex; align-items: center; min-height: 32px; }
.site-footer--expanded > .footer-wordmark { position: absolute; z-index: 0; display: block; inset-inline: 0; bottom: -.1em; margin: 0; text-align: center; font-size: clamp(64px, 17vw, 250px); font-weight: 600; line-height: .75; letter-spacing: -.07em; color: var(--ink); opacity: .035; pointer-events: none; user-select: none; white-space: nowrap; }
@media (max-width: 760px) {
  .site-footer--expanded > .footer-content { padding-block: 44px 108px; }
  .footer-grid { gap: 36px; grid-template-columns: 1fr 1fr; }
  .footer-columns { gap: 20px; }
  .footer-headline { font-size: 30px; margin-top: 20px; }
  .footer-baseline { margin-top: 30px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-columns { gap: 28px; }
  .footer-headline { font-size: 32px; }
  .footer-baseline { flex-wrap: wrap; gap: 4px; }
  .footer-credit { margin-left: auto; }
  .site-footer--expanded > .footer-content { padding-bottom: 88px; }
}
