@font-face { font-family: "Source Sans 3"; src: url("/assets/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
* { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; font-family: var(--font-ui); color: var(--color-text); background: var(--color-bg); font-size: 17px; line-height: 1.6; }
a { color: var(--color-accent); text-underline-offset: .2em; }
a:hover { color: var(--color-accent-hover); }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 4.4vw, 4rem); font-weight: 600; margin: 0 0 24px; }
h2 { font-size: 1.75rem; font-weight: 600; }
p { margin: 0 0 20px; }
.content-width { max-width: 1216px; padding-inline: 40px; margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 8px 16px; background: var(--color-surface); transform: translateY(-150%); border: 2px solid var(--color-accent); border-radius: 6px; }
.skip-link:focus { transform: none; }
.site-header { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.header-inner { max-width: 1216px; margin: auto; padding: 20px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--color-text); text-decoration: none; font-size: 26px; line-height: 1; }
.brand svg { color: var(--color-accent); flex-shrink: 0; }
.brand b { font-weight: 700; }
.site-header nav { display: flex; gap: 30px; align-items: center; font-size: 16px; }
.site-header nav a { color: var(--color-text-muted); text-decoration: none; padding-block: 10px; }
.site-header nav a[aria-current] { color: var(--color-accent); }
.site-header nav .nav-download { border: 1px solid var(--color-border-strong); border-radius: 6px; padding: 9px 18px; color: var(--color-text); }
.hero { padding-top: 88px; padding-bottom: 80px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--color-accent); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.lead { color: var(--color-text-muted); font-size: 21px; line-height: 1.55; max-width: 620px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin: 32px 0 18px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; padding: 11px 22px; border-radius: 6px; border: 1px solid transparent; font-weight: 600; text-decoration: none; }
.primary { background: var(--color-accent); color: var(--color-on-accent); }
.primary:hover { background: var(--color-accent-hover); color: var(--color-on-accent); }
.secondary { background: var(--color-surface); color: var(--color-text); border-color: var(--color-border-strong); }
.secondary:hover { background: var(--color-raised); color: var(--color-text); }
.text-link { font-weight: 600; text-decoration: none; }
.quiet { font-size: 14px; color: var(--color-text-muted); }
.app-preview { background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: 10px; overflow: hidden; box-shadow: 0 16px 48px rgb(0 0 0 / .07); }
.preview-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--color-border); font-size: 15px; font-weight: 600; }
.preview-top svg { width: 26px; height: 22px; color: var(--color-accent); }
.preview-mode { margin-left: auto; font-size: 13px; background: var(--color-accent-soft); color: var(--color-accent); padding: 2px 12px; border-radius: 4px; }
.preview-body { display: grid; grid-template-columns: 40% 60%; min-height: 280px; }
.preview-service { padding: 20px 12px; border-right: 1px solid var(--color-border); }
.preview-service .eyebrow { color: var(--color-text-muted); font-size: 11px; margin: 0 10px 12px; }
.preview-item { display: flex; gap: 10px; padding: 12px 9px; font-size: 13px; line-height: 1.3; margin-bottom: 4px; border-radius: 4px; }
.preview-item > span { color: var(--color-text-muted); font-size: 18px; }
.preview-item small { display: block; margin-top: 4px; color: var(--color-text-muted); font-size: 11px; }
.preview-item.active { background: var(--color-accent-soft); color: var(--color-accent); }
.preview-slides { padding: 24px 20px 12px; background: var(--color-raised); }
.slide-main { color: #ececee; background: #18191c; padding: 16px; aspect-ratio: 16 / 10; border-radius: 4px; display: flex; flex-direction: column; justify-content: space-between; }
.slide-main > span, .slide-main small { color: #a0a2aa; font-size: 10px; }
.slide-main p { font-size: 22px; font-weight: 600; line-height: 1.25; margin: 8px 0; text-align: center; }
.slide-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.slide-row div { background: var(--color-surface); color: var(--color-text-muted); border: 1px solid var(--color-border); border-radius: 3px; font-size: 10px; padding: 12px 4px; text-align: center; }
.preview-saved { font-size: 11px; color: var(--color-text-muted); text-align: right; margin: 12px 0 0; }
.preview-saved span { color: var(--color-accent); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 32px; padding-bottom: 64px; border-top: 1px solid var(--color-border); }
.feature-number { display: inline-block; color: var(--color-accent); font-size: 14px; font-weight: 600; border-bottom: 2px solid var(--color-accent); padding-bottom: 5px; }
.features h2 { font-size: 22px; margin-top: 22px; }
.features p { color: var(--color-text-muted); font-size: 16px; }
.start-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 48px; border-top: 1px solid var(--color-border); }
.start-panel .eyebrow { margin-bottom: 12px; }
.start-panel h2 { margin: 0 0 16px; }
.start-panel p { color: var(--color-text-muted); margin-bottom: 0; }
.start-panel .button { flex-shrink: 0; }
.site-footer { margin-top: 40px; padding: 36px 40px; background: var(--color-surface); border-top: 1px solid var(--color-border); text-align: center; }
.site-footer .brand { font-size: 20px; }
.site-footer .brand svg { width: 28px; height: 23px; }
.site-footer p { color: var(--color-text-muted); font-size: 14px; margin: 16px 0; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.download-page { padding-top: 64px; padding-bottom: 24px; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.download-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; padding: 28px; }
.platform-icon { color: var(--color-accent); }
.download-card h2 { margin-bottom: 8px; }
.download-card > p { font-size: 16px; color: var(--color-text-muted); }
.download-card .download-status { font-size: 14px; margin-top: 28px; min-height: 1.6em; }
.download-card .button { width: 100%; }
.install-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.install-notes h2, .download-help h2 { font-size: 22px; }
.install-notes p, .download-help p { color: var(--color-text-muted); }
.download-help { margin-top: 28px; padding: 28px; background: var(--color-accent-soft); border-radius: 10px; }
.guide-layout { display: grid; grid-template-columns: 256px minmax(0, 1fr); gap: 56px; padding-top: 40px; padding-bottom: 40px; }
.guide-sidebar { font-size: 15px; }
.guide-sidebar summary { font-size: 17px; font-weight: 600; cursor: pointer; margin-bottom: 24px; }
.guide-group { margin-bottom: 24px; }
.guide-group h2 { color: var(--color-text-muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.guide-group a { display: block; color: var(--color-text-muted); text-decoration: none; padding: 7px 12px; margin-left: -12px; border-radius: 4px; }
.guide-group a[aria-current] { background: var(--color-accent-soft); color: var(--color-accent); font-weight: 600; }
.guide-article { max-width: 760px; min-width: 0; }
.guide-article > .eyebrow { margin: 0 0 20px; }
.article-contents { padding: 18px 24px; border: 1px solid var(--color-border); border-radius: 6px; margin-bottom: 32px; background: var(--color-surface); }
.article-contents h2 { font-size: 15px; margin: 0 0 12px; }
.article-contents a { display: inline-block; font-size: 14px; margin-right: 20px; padding-block: 3px; }
.article-contents .h3 { font-size: 13px; }
.prose { overflow-wrap: anywhere; }
.prose h1 { font-size: 38px; }
.prose h2 { font-size: 27px; margin: 40px 0 20px; }
.prose h3 { font-size: 21px; margin: 28px 0 16px; }
.prose ul, .prose ol { padding-left: 28px; }
.prose li { margin-block: 8px; }
.prose img { max-width: 100%; height: auto; border: 1px solid var(--color-border); border-radius: 6px; }
.prose code { font-family: var(--font-mono); font-size: .85em; background: var(--color-raised); border-radius: 3px; padding: 2px 5px; }
.prose pre { overflow: auto; background: var(--color-raised); border: 1px solid var(--color-border); border-radius: 6px; padding: 20px; }
.prose pre code { padding: 0; }
.prose blockquote { border-left: 3px solid var(--color-accent); margin-left: 0; padding-left: 24px; color: var(--color-text-muted); }
.prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.prose th, .prose td { padding: 10px 14px; text-align: left; border: 1px solid var(--color-border); }
.prose th { background: var(--color-raised); font-weight: 600; }
.guide-source { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--color-border); font-size: 14px; color: var(--color-text-muted); }
.error-page { padding-block: 80px; }
@media (max-width: 960px) {
  .hero { gap: 32px; }
  .hero h1 { font-size: 44px; }
  .lead { font-size: 19px; }
  .content-width { padding-inline: 28px; }
  .header-inner { padding-inline: 28px; }
  .download-grid { gap: 16px; }
  .download-card { padding: 22px; }
  .guide-layout { gap: 32px; grid-template-columns: 216px minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .content-width { padding-inline: 20px; }
  .header-inner { padding: 16px 20px; gap: 16px; flex-wrap: wrap; }
  .brand { font-size: 23px; }
  .site-header nav { font-size: 14px; gap: 18px; }
  .site-header nav .nav-download { padding: 7px 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; gap: 40px; }
  .hero h1 { font-size: 44px; }
  .app-preview { max-width: 560px; }
  .features { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; padding-bottom: 28px; }
  .features h2 { margin-top: 12px; }
  .start-panel { align-items: flex-start; flex-direction: column; padding-block: 32px; }
  .site-footer { padding: 28px 20px; }
  .download-page { padding-top: 40px; }
  .download-grid, .install-notes { grid-template-columns: 1fr; gap: 20px; }
  .download-card .download-status { margin-top: 16px; }
  .guide-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .guide-sidebar { border-bottom: 1px solid var(--color-border); padding-bottom: 20px; }
  .guide-sidebar nav { max-height: 240px; overflow-y: auto; padding-inline: 12px; }
  .guide-sidebar summary { margin-bottom: 12px; }
  .prose h1 { font-size: 32px; }
  .prose h2 { font-size: 24px; }
}
