/* Shared presentation for the logger landing and short guide. */
:root {
    color-scheme: dark;
    --bg: #101113;
    --surface: #181a1e;
    --text: #f5f5f7;
    --body: #b4b6bd;
    --muted: #a0a3ac;
    --border: #363a42;
    --accent: #ff8c98;
    --on-accent: #101113;
    --nav: rgba(16, 17, 19, .94);
}
:root[data-theme="light"] {
    color-scheme: light;
    --bg: #fff;
    --surface: #f5f5f7;
    --text: #1d1d1f;
    --body: #60646d;
    --muted: #686c75;
    --border: #d9dce2;
    --accent: #b7192b;
    --on-accent: #fff;
    --nav: rgba(255, 255, 255, .94);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--accent); text-underline-offset: 4px; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link {
    position: absolute; top: -100px; left: 16px; z-index: 200;
    background: var(--bg); padding: 12px;
}
.skip-link:focus { top: 8px; }
.proposal-note {
    display: flex; justify-content: center; gap: 20px; padding: 6px 16px;
    font-size: 11px; color: var(--muted); background: var(--surface);
}
.proposal-note a { color: inherit; }
.site-nav {
    position: sticky; top: 0; z-index: 100; min-height: 65px;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 8px max(24px, calc((100vw - 1120px) / 2));
    background: var(--nav); border-bottom: 1px solid var(--border);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand, .nav-links a { color: var(--text); text-decoration: none; }
.brand span { font-size: 18px; font-weight: 600; letter-spacing: -.5px; }
.nav-links, .menu-links, .appearance { display: flex; align-items: center; }
.nav-links, .menu-links { gap: 26px; }
.nav-links a { font-size: 12px; }
.menu-links a[aria-current="page"] { text-decoration: underline; }
.page-nav {
    display: flex; align-items: center; gap: 24px;
    padding: 10px max(24px, calc((100vw - 1120px) / 2));
    background: var(--surface); border-bottom: 1px solid var(--border); font-size: 12px;
}
.page-nav-label { flex-shrink: 0; color: var(--muted); }
.section-links {
    display: flex; align-items: center; gap: 24px; min-width: 0;
    overflow-x: auto; overscroll-behavior-x: contain;
}
.section-links a { flex-shrink: 0; padding: 6px 0; text-decoration: none; }
.section-links a:hover { text-decoration: underline; }
.section-links a:focus-visible { outline-offset: -3px; }
.appearance { gap: 9px; }
.appearance a { color: var(--muted); min-height: 36px; display: inline-flex; align-items: center; }
.appearance a[aria-current] { color: var(--text); text-decoration: underline; }
.theme-switch {
    color: var(--body); background: none; border: 0; padding: 0;
    min-width: 28px; min-height: 36px; font-size: 18px;
}
.nav-links .nav-get, .button {
    background: var(--accent); color: var(--on-accent); border-radius: 28px;
    text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.nav-get { padding: 8px 16px; min-height: 36px; white-space: nowrap; }
.menu-toggle { display: none; }
.section { padding: 100px 24px; }
.container { max-width: 1072px; margin: auto; }
.split {
    display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 72px;
}
.hero { padding-top: 80px; }
.eyebrow { font-size: 16px; font-weight: 600; letter-spacing: -.3px; margin-bottom: 20px; }
h1 {
    font-size: clamp(52px, 5.6vw, 78px); line-height: 1.03;
    font-weight: 650; letter-spacing: -.06em;
}
h2 { font-size: clamp(36px, 4.3vw, 56px); line-height: 1.08; letter-spacing: -.045em; }
h3 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.4px; }
.lead { color: var(--body); font-size: 21px; line-height: 1.5; margin-top: 26px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
.button { padding: 12px 24px; min-height: 46px; font-size: 16px; }
.quiet-link { text-decoration: none; font-size: 15px; padding: 8px 0; }
.quiet-link:hover { text-decoration: underline; }
.caption, .small { color: var(--muted); font-size: 12px; }
.small { margin-top: 16px; }
.product-photo img { width: 100%; border-radius: 22px; }
.product-photo figcaption { margin-top: 14px; text-align: center; }
.outdoor-photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 48%; }
.help-illustrated { display: grid; grid-template-columns: 1fr 260px; gap: 36px; }
.help-copy { min-width: 0; }
.display-photo { width: 100%; max-width: 320px; margin: 0 auto; }
.display-photo a { display: block; border-radius: 16px; }
.display-photo img { width: 100%; border-radius: 16px; }
.display-photo figcaption { margin-top: 12px; line-height: 1.5; }
.surface { background: var(--surface); }
.benefits { margin-top: 30px; }
.benefits article + article { margin-top: 26px; }
.benefits p { color: var(--body); margin-top: 10px; font-size: 17px; }
.workflow h2 { max-width: 640px; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 44px; }
.workflow-grid article { border-top: 1px solid var(--border); padding-top: 24px; }
.workflow-grid p { margin-top: 12px; color: var(--body); font-size: 16px; }
.workflow-grid a { display: inline-block; margin-top: 16px; font-size: 14px; }
.firmware { text-align: center; }
.firmware .lead { max-width: 620px; margin-left: auto; margin-right: auto; }
.firmware .actions { justify-content: center; }
.manual-links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 24px; }
.manual-links a { font-size: 15px; }
footer { max-width: 1120px; margin: auto; padding: 32px 24px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-row strong { font-size: 14px; font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--body); font-size: 12px; text-decoration: none; }
footer .small { font-size: 11px; }
.help-intro { max-width: 868px; margin: auto; padding: 76px 24px 48px; }
.help-intro h1 { font-size: clamp(48px, 6vw, 68px); }
.help-intro .lead { max-width: 640px; }
.help-section { max-width: 868px; margin: auto; padding: 48px 24px; }
.help-section + .help-section { border-top: 1px solid var(--border); }
.help-section h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 26px; }
.help-section p, .help-section li { color: var(--body); }
.help-section p + p { margin-top: 16px; }
.help-section strong { color: var(--text); font-weight: 600; }
.help-section ol { padding-left: 24px; margin: 0; }
.help-section li + li { margin-top: 16px; }
.help-section .manual-link { display: inline-block; margin-top: 22px; font-size: 14px; }
.help-section .small { font-size: 13px; }
code { font: .9em ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.network-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 30px; }
.network-modes h3 { font-size: 18px; margin-bottom: 10px; }
.network-modes p { font-size: 16px; }
.button-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.button-table th, .button-table td { padding: 15px 12px 15px 0; text-align: left; vertical-align: top; }
.button-table thead { color: var(--muted); font-size: 13px; }
.button-table th { font-weight: 500; }
.button-table tbody tr { border-top: 1px solid var(--border); }
.button-table td { color: var(--body); }
.button-table td:first-child { color: var(--text); width: 31%; }
.help-section details { border-top: 1px solid var(--border); }
.help-section details:last-of-type { border-bottom: 1px solid var(--border); }
.help-section summary { padding: 22px 0; cursor: pointer; font-size: 18px; font-weight: 500; }
.help-section details p { padding-bottom: 24px; font-size: 16px; }
.help-end { margin-top: 44px; padding-top: 60px; padding-bottom: 60px; }
@media (max-width: 1000px) {
    .split { gap: 36px; }
    .nav-links, .menu-links { gap: 18px; }
}
@media (max-width: 720px) {
    .site-nav { padding: 8px 18px; gap: 10px; min-height: 62px; }
    .nav-links { gap: 9px; }
    .page-nav { padding: 8px 18px; gap: 16px; }
    .section-links { gap: 20px; }
    .appearance { gap: 7px; }
    .appearance a { font-size: 10px; }
    .theme-switch { min-width: 22px; }
    .nav-get { padding: 8px 12px; }
    .menu-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 32px; height: 36px; padding: 0; background: none; color: var(--text); border: 0;
    }
    .menu-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 24px;
    }
    .menu-open .menu-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .menu-links a { padding: 12px 0; font-size: 16px; }
    .section { padding: 64px 24px; }
    .hero { padding-top: 52px; }
    .split { grid-template-columns: 1fr; gap: 38px; }
    .hero .copy { text-align: center; }
    h1 { font-size: clamp(46px, 8.8vw, 64px); }
    h2 { font-size: clamp(36px, 7.6vw, 48px); }
    .lead { font-size: 19px; }
    .hero .actions { justify-content: center; }
    .reverse .copy { order: -1; }
    .product-photo { width: 100%; max-width: 460px; margin: auto; }
    .workflow-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
    .help-intro { padding: 50px 24px 32px; }
    .help-section { padding: 38px 24px; }
    .help-illustrated { grid-template-columns: 1fr; gap: 28px; }
    .help-section p, .help-section li { font-size: 16px; }
    .network-modes { grid-template-columns: 1fr; gap: 24px; }
    .button-table { font-size: 14px; }
    .button-table td:first-child { width: 34%; }
}
@media (max-width: 480px) {
    .brand span { display: none; }
    .site-nav { padding-left: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The race-start walkthrough keeps spacing within the existing help rhythm. */
.help-section .race-steps { margin-top: 24px; margin-bottom: 24px; }
.help-section .race-display p { padding-bottom: 16px; }
.help-section .race-display p + p { margin-top: 0; }

/* Keep the existing release selector available in the product layout. */
.release-downloads { margin-top: 40px; scroll-margin-top: 120px; }
.release-downloads > p { margin: 12px 0 24px; color: var(--body); }
.release-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.release-card { padding: 24px; border: 1px solid var(--border); border-radius: 16px; }
.release-card h4 { margin: 0 0 12px; font-size: 18px; }
.release-status { margin-bottom: 16px; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (max-width: 600px) { .release-grid { grid-template-columns: 1fr; } }

/* Show the source license inside the common page layout. */
.license-page { max-width: 868px; margin: auto; padding: 56px 24px; }
.license-page h1 { font-size: clamp(40px, 6vw, 56px); }
.license-text { margin: 32px 0; overflow-wrap: anywhere; }
.license-text p + p { margin-top: 24px; }
.license-source { margin-top: 24px; }
