@import url('./assets/tokens.css');
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: auto; scroll-padding-top: 24px; }
body { margin: 0; background: var(--shepherd-field); color: var(--shepherd-wool); font: 400 16px/1.65 var(--shepherd-font); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--shepherd-sage); }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--shepherd-sage); outline-offset: 5px; border-radius: 3px; }
button { font: inherit; cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
p { color: var(--shepherd-muted); }
h1, h2, h3 { font-weight: 580; line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.3vw, 44px); }
h3 { font-size: 24px; }
.skip-link { position: absolute; top: 10px; left: 20px; padding: 10px 18px; color: var(--shepherd-field); background: var(--shepherd-wool); z-index: 10; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 96px; border-bottom: 1px solid var(--shepherd-line); gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.brand img { width: 172px; height: auto; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-size: 14px; color: var(--shepherd-muted); }
.github-link { color: var(--shepherd-wool); }
.hero { padding-top: 24px; padding-bottom: 16px; text-align: center; }
.eyebrow { display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--shepherd-sage); font-size: 14px; font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
h1 { font-size: clamp(54px, 5.6vw, 72px); line-height: 1.04; margin: 16px 0; letter-spacing: -.055em; }
h1 span, .local-section h2 span { color: var(--shepherd-sage); }
.hero-description { max-width: 660px; margin: 0 auto 20px; font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.install-command { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 7px 7px 7px 18px; min-height: 58px; border: 1px solid var(--shepherd-control-line); background: var(--shepherd-surface); border-radius: 9px; text-align: left; }
.install-command code { font: 400 16px/1.5 var(--shepherd-font-mono); white-space: normal; overflow-wrap: anywhere; flex: 1; min-width: 0; user-select: all; }
.prompt { color: var(--shepherd-sage); font-family: var(--shepherd-font-mono); user-select: none; }
.install-command button { display: flex; gap: 7px; align-items: center; justify-content: center; min-height: 44px; min-width: 94px; border: 0; border-radius: 5px; background: var(--shepherd-wool); color: var(--shepherd-field); font-size: 14px; font-weight: 600; }
.install-command button:hover { background: var(--shepherd-sage); }
.install-command button svg { width: 16px; height: 16px; }
.requirements { margin-top: 12px; font-size: 14px; line-height: 1.7; }
.hero-links, .start-links { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 14px; }
.hero-links a, .text-link { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.text-link { color: var(--shepherd-sage); font-weight: 500; }
.hero-links > a + a { color: var(--shepherd-muted); }
.hero-links a:hover, .text-link:hover { text-decoration: underline; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 32px; }
.section-heading > p, .section-heading > div { max-width: 510px; }
.disclosure { font-size: 14px; color: var(--shepherd-muted); }
.product-heading h2 { font-size: 36px; }
.product-heading .disclosure { margin-top: 14px; }
.product-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px; width: fit-content; border: 1px solid var(--shepherd-control-line); border-radius: 9px; margin: 0 0 14px; }
.product-tabs button { display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 9px 18px; border-radius: 4px; border: 1px solid transparent; background: transparent; color: var(--shepherd-muted); font-size: 14px; }
.product-tabs button[aria-selected='true'] { background: var(--shepherd-wool); color: var(--shepherd-field); }
.product-tabs button:hover:not([aria-selected='true']) { color: var(--shepherd-wool); background: var(--shepherd-surface); }
.image-frame { border: 1px solid var(--shepherd-line); border-radius: 10px; background: var(--shepherd-surface); overflow: hidden; }
.image-frame img { width: 100%; height: auto; }
figcaption { margin-top: 16px; color: var(--shepherd-muted); font-size: 14px; line-height: 1.65; }
.product-caption { display: flex; justify-content: space-between; gap: 24px; }
.product-caption > p { max-width: 620px; }
.product-caption > div { flex-shrink: 0; }
.product-caption a { display: flex; align-items: center; min-height: 44px; color: var(--shepherd-sage); text-decoration: none; }
.product-caption a:hover { text-decoration: underline; }
.mobile-caption, .mobile-map-link { display: none !important; }
.workflow { padding-block: 84px 80px; }
.workflow-steps { list-style: none; padding: 0; margin: 44px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.workflow-steps li { border-top: 1px solid var(--shepherd-line); padding-top: 18px; }
.step-number { display: block; margin-bottom: 22px; font: 400 14px/1.5 var(--shepherd-font-mono); color: var(--shepherd-sage); }
.workflow-steps h3 { margin-bottom: 14px; }
.workflow-steps p { line-height: 1.7; }
.checks-heading { margin-top: 76px; margin-bottom: 28px; max-width: 680px; }
.checks-heading p { margin-top: 18px; }
.checks-explanation { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 64px; padding: 22px 0 0; }
.checks-explanation p { max-width: 850px; }
.local-section { padding-block: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-block: 1px solid var(--shepherd-line); }
.device-icon { width: 32px; height: 32px; color: var(--shepherd-sage); margin-bottom: 24px; }
.local-section h2 { font-size: clamp(36px, 4vw, 52px); margin-bottom: 24px; }
.local-copy { padding-top: 56px; }
.local-copy p + p { margin-top: 24px; }
.local-lead { font-size: 20px; line-height: 1.6; color: var(--shepherd-wool); }
.start-section { text-align: center; padding-block: 72px; }
.sheep-path { display: flex; justify-content: center; align-items: end; width: min(400px, 90%); margin: 0 auto 36px; gap: 8px; height: 72px; }
.sheep-path span { height: 1px; background: var(--shepherd-line); flex: 1; margin-bottom: 12px; }
.sheep-path i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--shepherd-control-line); margin-bottom: 9px; }
.sheep-path img { align-self: start; }
.start-section h2 { font-size: clamp(36px, 4vw, 52px); }
.start-section > p { margin: 20px auto 26px; }
.setup-details { max-width: 640px; margin: 26px auto 0; text-align: left; font-size: 16px; }
.setup-details p + p { margin-top: 16px; }
.start-links { margin-top: 22px; }
.start-section > .herding { margin-top: 24px; margin-bottom: 0; font-size: 14px; }
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; padding-block: 68px 80px; border-top: 1px solid var(--shepherd-line); }
.faq h2 { font-size: 34px; }
.faq-list details { border-bottom: 1px solid var(--shepherd-line); }
.faq-list details:first-child { border-top: 1px solid var(--shepherd-line); }
summary { position: relative; padding: 20px 40px 20px 0; min-height: 64px; font-size: 18px; color: var(--shepherd-wool); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-size: 24px; color: var(--shepherd-sage); font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { padding: 0 20px 24px 0; }
details .text-link { margin-bottom: 20px; }
.site-footer { border-top: 1px solid var(--shepherd-line); padding-block: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.site-footer .brand img { width: 144px; }
.site-footer p { font-size: 14px; }
.site-footer nav { gap: 22px; }
.copy-status { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; border: 1px solid var(--shepherd-control-line); border-radius: 8px; background: var(--shepherd-surface); color: var(--shepherd-wool); font-size: 14px; z-index: 5; }
.copy-status:empty { display: none; }
@media (max-width: 1050px) {
  .workflow-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .section-heading, .local-section { gap: 40px; }
  .checks-explanation { grid-template-columns: 1fr; gap: 8px; }
  .faq { gap: 40px; }
  .product-caption { flex-direction: column; gap: 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 80px; gap: 16px; }
  .site-header .brand img { width: 144px; }
  nav { gap: 16px; }
  nav a { font-size: 14px; }
  .workflow-link, .github-link svg, .github-link > span { display: none; }
  .hero { padding-block: 42px 48px; text-align: left; }
  .eyebrow { justify-content: start; font-size: 14px; gap: 8px; }
  h1 { font-size: clamp(39px, 11.3vw, 58px); line-height: 1.08; margin-block: 20px; }
  .hero-description { font-size: 16px; line-height: 1.65; margin-bottom: 24px; }
  .install-command { gap: 10px; margin-inline: 0; padding-left: 12px; width: 100%; justify-content: space-between; }
  .install-command code { font-size: 13px; }
  .install-command button { min-width: 76px; gap: 5px; }
  .install-command button svg { width: 14px; height: 14px; }
  .prompt { font-size: 14px; }
  .requirements { font-size: 14px; margin-top: 16px; }
  .hero-links { justify-content: start; gap: 20px; flex-wrap: wrap; }
  .hero-links a { font-size: 14px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2 { margin-bottom: 18px; }
  .wide-only { display: none; }
  h2 { font-size: 32px; }
  .product-heading .disclosure { margin-top: 16px; }
  .product-tabs { width: 100%; justify-content: space-between; gap: 2px; padding: 5px; margin-bottom: 14px; }
  .product-tabs button { padding-inline: 9px; gap: 5px; font-size: 14px; }
  .product-tabs svg { width: 17px; height: 17px; }
  .image-frame { border-radius: 7px; }
  .product-caption { margin-top: 16px; }
  .product-caption > div { margin-top: 8px; }
  .desktop-caption, .no-js #full-size { display: none; }
  .mobile-caption, .mobile-map-link { display: block !important; }
  .workflow { padding-block: 48px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 28px; margin-block: 30px; }
  .workflow-steps li { padding-top: 16px; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
  .step-number { grid-column: 1; grid-row: 1; margin: 4px 0 0; }
  .workflow-steps h3 { grid-column: 2; font-size: 24px; margin-bottom: 12px; }
  .workflow-steps p { grid-column: 2; line-height: 1.7; }
  .checks-heading { margin-top: 48px; margin-bottom: 24px; }
  .checks-heading p { margin-top: 16px; }
  .checks-explanation { padding-top: 20px; }
  .local-section { padding-block: 48px; grid-template-columns: 1fr; gap: 20px; }
  .local-section h2 { font-size: 40px; margin-bottom: 16px; }
  .local-copy { padding-top: 0; }
  .local-lead { font-size: 18px; }
  .start-section { padding-block: 48px; text-align: left; }
  .sheep-path { margin-bottom: 32px; }
  .start-section h2 { font-size: 36px; }
  .setup-details { margin-top: 24px; }
  .start-links { justify-content: start; flex-wrap: wrap; gap: 8px 24px; }
  .faq { grid-template-columns: 1fr; gap: 28px; padding-block: 48px; }
  .faq h2 { font-size: 32px; }
  summary { font-size: 17px; }
  .site-footer { flex-direction: column; align-items: start; gap: 16px; padding-block: 26px; }
  .site-footer nav { gap: 22px; flex-wrap: wrap; }
}
@media (max-width: 350px) {
  .site-header .brand img { width: 136px; }
  .site-header nav { gap: 12px; }
  .install-command { gap: 6px; }
  .install-command .prompt { display: none; }
  .product-tabs button { padding-inline: 7px; }
  .product-tabs svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
