/* Linty: the app's shared palette, with room for the product to tell its story. */
:root {
  --paper: var(--color-bg);
  --surface: var(--color-bg-elevated);
  --ink: var(--color-text-primary);
  --muted: var(--color-text-secondary);
  --accent: var(--color-accent);
  --line: var(--color-border-subtle);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --site-header-height: 79px;
  --anchor-gap: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--site-header-height) + var(--anchor-gap)); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-ui); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1,h2,h3,p,figure,dl,dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button,a,summary { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--color-accent-glow-strong); }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(72px, 8vw, 112px); }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 100; padding: 10px 18px; background: var(--surface); border: 1px solid var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.brand-mark { display: inline-block; width: 24px; height: 28px; flex: 0 0 auto; background: currentColor; color: var(--accent); mask: url('brand/mark.svg') center / contain no-repeat; -webkit-mask: url('brand/mark.svg') center / contain no-repeat; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 600; letter-spacing: -.055em; white-space: nowrap; }
.wordmark-note { font-size: 13px; font-weight: 400; line-height: 1; letter-spacing: 0; margin-left: 2px; color: var(--muted); }
.site-header .wordmark { line-height: 1; align-items: baseline; }
.site-header .brand-mark { align-self: center; }
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: calc(var(--site-header-height) - 1px); }
.main-nav { display: flex; gap: 28px; font-size: 13px; color: var(--muted); margin-left: auto; }
.main-nav a:hover,.footer a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.theme-switch { display: flex; padding: 3px; background: var(--color-bg-secondary); border: 1px solid var(--line); border-radius: 7px; }
.theme-switch button { border: 0; border-radius: 4px; background: transparent; color: var(--muted); padding: 5px 9px; font-size: 11px; line-height: 1.3; }
.theme-switch button[aria-pressed='true'] { background: var(--surface); color: var(--accent); box-shadow: 0 1px 3px var(--color-shadow); }
.theme-switch button:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 10px 18px; background: var(--accent); color: var(--color-text-inverted); border: 1px solid transparent; border-radius: var(--radius-control); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color var(--motion-control); }
.button:hover { background: var(--color-accent-soft); }
.button span { font-size: 19px; line-height: 1; }
.button-small { min-height: 34px; padding: 6px 12px; font-size: 12px; gap: 12px; }
.button .download-label,.button .download-label > span { font: inherit; }
.download-label { display: grid; }
.download-label > span { grid-area: 1 / 1; }
.download-starting { visibility: hidden; }
.button .download-symbol { position: relative; width: 1em; text-align: center; }
[data-download].is-downloading { cursor: progress; }
.is-downloading .download-label > span:first-child { visibility: hidden; }
.is-downloading .download-starting { visibility: visible; }
.is-downloading .download-symbol { color: transparent; }
.is-downloading .download-symbol::after,.app-icon-link.is-downloading::after { content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border: 2px solid var(--color-text-inverted); border-right-color: transparent; border-radius: 50%; animation: download-spin 750ms linear infinite; pointer-events: none; }
.app-icon-link.is-downloading::after { width: 26px; height: 26px; border-width: 3px; border-color: var(--accent); border-right-color: transparent; }
.app-icon-link.is-downloading .icon-surface { opacity: .3; }
:root[data-motion='off'] .is-downloading .download-symbol::after,:root[data-motion='off'] .app-icon-link.is-downloading::after { animation: none; }
@keyframes download-spin { to { transform: rotate(360deg); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--accent); font-size: 14px; font-weight: 500; padding: 6px 0; background: none; border: 0; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link span { font-size: 18px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.accent-rule { width: 25px; height: 2px; background: var(--accent); }
kbd { display: inline-flex; justify-content: center; min-width: 26px; padding: 0 5px; border: 1px solid var(--color-border); border-bottom-width: 2px; border-radius: 4px; color: var(--accent); font-family: var(--font-ui); font-size: .85em; line-height: 1.5; }
.hero { padding-top: clamp(44px, 5vw, 76px); }
.hero-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 56px; margin-bottom: 46px; }
h1 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 450; letter-spacing: -.058em; line-height: 1.07; }
h1 span { color: var(--accent); }
.hero-detail { max-width: 440px; padding-bottom: 2px; }
.hero-detail > p:first-child { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 38ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
.fine-print { margin-top: 12px; font-size: 11px; line-height: 1.7; color: var(--muted); }
[data-mac-download] { margin-top: 4px; font-size: 12px; }
.request-shortcut { display: flex; width: fit-content; font-size: 12px; }
.feature-requests { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 100px); border-top: 1px solid var(--line); }
.request-options > p { color: var(--muted); font-size: 14px; }
.request-options .actions { margin-top: 16px; }
.request-options .fine-print { font-size: 11px; }
.platform-requests { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-block: 12px; }
.product-stage { padding: 22px 32px 20px; border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); background: var(--color-panel); border-radius: 14px; position: relative; isolation: isolate; margin-inline: auto; container-type: inline-size; }
.product-stage::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 80% 0, var(--color-sidebar-header), transparent 70%); pointer-events: none; }
.product-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.product-label { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.product-label .brand-mark { width: 12px; height: 14px; }
.product-controls { display: flex; align-items: center; gap: 10px; }
.screen-switch { display: flex; gap: 4px; }
.screen-switch button { position: relative; padding: 6px 12px; border: 1px solid transparent; border-radius: 5px; background: transparent; font-size: 12px; color: var(--color-text-secondary); transition: color var(--motion-control) var(--ease-out), background-color var(--motion-control) var(--ease-out), border-color var(--motion-control) var(--ease-out); }
.screen-switch button::after { content: ''; position: absolute; bottom: 3px; left: 12px; right: 12px; height: 1px; background: var(--accent); opacity: .65; transform: scaleX(0); transition: transform 280ms ease; }
.screen-switch button[aria-pressed='true'] { background: var(--color-accent-glow); color: var(--accent); }
.screen-switch button[aria-pressed='true']::after { transform: scaleX(1); }
.screen-switch button[aria-pressed='false']:hover { color: var(--color-text-primary); background: var(--color-bg-hover); }
.screen-switch button[aria-pressed='true']:hover { color: var(--accent); background: var(--color-accent-glow-strong); }
.screen-switch button:focus-visible { outline: 2px solid var(--color-border-focus); outline-offset: 2px; }
.screen-switch button[aria-pressed]:active { background: var(--color-bg-active); }
.product-playback:active { transform: scale(.97); }
.product-playback { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); transition: color 180ms, background-color 180ms, transform 180ms; }
.product-playback:hover:not(:disabled) { color: var(--accent); background: var(--color-accent-glow); }
.product-playback:disabled { opacity: .5; }
.product-playback-icon { width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.product-playback[data-paused='true'] .product-playback-icon { width: 0; height: 0; border: 0; border-left: 7px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.product-window { position: relative; overflow: hidden; border: 1px solid var(--color-border); border-radius: 9px; background: var(--paper); box-shadow: 0 14px 36px -22px var(--color-shadow); aspect-ratio: 3 / 2; }
.product-slide { position: absolute; inset: 0; background: var(--paper); }
.product-slide.is-entering { z-index: 2; animation: product-enter 1800ms var(--ease-in-out) both; }
.product-slide.is-leaving { z-index: 1; animation: product-leave 1800ms var(--ease-in-out) both; }
.product-stage[data-transition-paused='true'] .product-slide { animation-play-state: paused; }
@keyframes product-enter { from { transform: translate3d(-100%,0,0); } to { transform: translate3d(0,0,0); } }
@keyframes product-leave { from { transform: translate3d(0,0,0); } to { transform: translate3d(100%,0,0); } }
.product-window img { width: 100%; height: 100%; object-fit: contain; cursor: default; user-select: none; }
:root[data-motion='off'] .product-stage * { animation: none !important; transition: none !important; }
.product-figure figcaption { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 16px; min-height: 19px; }
.sample-label { white-space: nowrap; }
#screen-caption { min-height: 3.4em; }
/* Reserve the padding, toolbar and two-line caption before sizing the 3:2 image.
   Narrow/mobile and very short windows keep their natural scrolling layout. */
@media (min-width: 761px) and (min-height: 560px) {
  .product-stage {
    --product-frame-space: 152px;
    --product-image-height: calc(100svh - var(--site-header-height) - var(--anchor-gap) * 2 - var(--product-frame-space));
    width: min(100%, calc(var(--product-image-height) * 1.5 + 66px));
  }
}
@container (max-width: 640px) {
  .product-label { display: none; }
  .product-toolbar { justify-content: center; }
}
.facts { list-style: none; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding: 25px 0; margin: 0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.app-icons { display: inline-flex; gap: 3px; align-items: center; }
.app-icons img { width: 22px; height: 22px; }
.facts li { display: flex; align-items: center; gap: 9px; }
.fact-symbol { display: block; width: 18px; height: 18px; flex: 0 0 18px; background: var(--accent); mask: var(--fact-icon) center / contain no-repeat; -webkit-mask: var(--fact-icon) center / contain no-repeat; }
.fact-cpu { --fact-icon: url('brand/cpu.svg'); }
.fact-command { --fact-icon: url('brand/command.svg'); }
.facts a:hover { text-decoration: underline; text-underline-offset: 4px; }
h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 450; letter-spacing: -.05em; line-height: 1.12; }
.section-copy > p:not(.eyebrow) { font-size: 15px; color: var(--muted); margin-top: 24px; max-width: 37ch; }
.section-copy > .text-link { margin-top: 24px; }
.workflow { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 108px); align-items: center; }
.workflow-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 24px; }
.workflow-steps li { display: flex; gap: 16px; }
.step-number { color: var(--accent); border-left: 2px solid var(--accent); padding-left: 10px; font-size: 12px; line-height: 1.6; height: 20px; margin-top: 3px; }
.workflow-steps h3 { font-weight: 550; font-size: 14px; margin-bottom: 3px; }
.workflow-steps p { color: var(--muted); font-size: 13px; }
.utility-section { background: var(--color-bg-secondary); border-block: 1px solid var(--line); padding-block: 80px; }
.utility-layout,.privacy-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.utility-list > div { padding: 24px 0; border-top: 1px solid var(--color-border); }
.utility-list > div:first-child { padding-top: 0; border: 0; }
.utility-list dt { font-size: 19px; letter-spacing: -.02em; font-weight: 500; display: flex; gap: 22px; }
.utility-list dt span { font-family: var(--font-code); font-size: 10px; letter-spacing: 0; color: var(--accent); margin-top: 7px; }
.utility-list dd { font-size: 14px; color: var(--muted); margin: 10px 0 0 34px; max-width: 40ch; }
.privacy-ledger { border-top: 2px solid var(--accent); }
.ledger-header { display: flex; align-items: center; gap: 12px; padding: 20px 0; font-size: 13px; font-weight: 500; }
.ledger-header .brand-mark { width: 14px; height: 16px; }
.privacy-ledger dl > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; border-top: 1px solid var(--line); padding: 20px 0; }
.privacy-ledger dt { font-size: 13px; font-weight: 550; }
.privacy-ledger dd:not(.ledger-label) { font-size: 12px; line-height: 1.8; color: var(--muted); grid-column: 1; }
.ledger-label { grid-column: 2; grid-row: 1; font-family: var(--font-code); font-size: 9px; color: var(--accent); padding-top: 3px; }
.ledger-footer { font-size: 11px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.getting-started { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); padding-top: 20px; }
.faq-list { border-top: 1px solid var(--color-border); }
details { padding-block: 20px; border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; cursor: pointer; font-size: 14px; list-style: none; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary span { font-size: 20px; font-weight: 400; color: var(--accent); }
details[open] summary span { transform: rotate(45deg); }
details > p { color: var(--muted); font-size: 13px; margin-top: 14px; padding-right: 26px; }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 40px; background: var(--color-panel); padding: 42px 48px; border-top: 2px solid var(--accent); border-radius: 0 0 12px 12px; }
.closing-brand { display: flex; align-items: center; gap: 28px; }
.closing-brand img { flex: 0 0 auto; }
.closing .eyebrow { margin-bottom: 12px; }
.closing h2 { font-size: clamp(26px, 3vw, 38px); }
.closing > div:last-child { flex-shrink: 0; }
.closing [data-download-note] { max-width: 30ch; }
.release-link { display: inline-block; color: var(--accent); font-size: 11px; margin-top: 5px; }
.release-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer { display: flex; align-items: baseline; gap: 24px; padding-block: 44px; }
.footer-brand { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; }
.footer .wordmark { font-size: 20px; line-height: 1; align-items: baseline; }
.footer .brand-mark { width: 17px; height: 21px; align-self: center; }
.footer p { font-size: 11px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-left: auto; font-size: 11px; color: var(--muted); }
@media (max-width: 1000px) {
  .main-nav { gap: 18px; }
  .header-actions { gap: 16px; }
  .hero-intro { grid-template-columns: 1.1fr 1fr; gap: 32px; }
  .hero-detail > p:first-child { font-size: 14px; }
  .actions { gap: 12px; }
  .product-label { display: none; }
  .product-toolbar { justify-content: center; }
  .closing { padding: 36px 28px; }
  .closing-brand { gap: 16px; }
}
@media (max-width: 760px) {
  :root { --site-header-height: 67px; }
  .main-nav,.wordmark-note { display: none; }
  .header-inner { gap: 14px; }
  .header-actions { gap: 12px; }
  .hero-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  h1 { font-size: clamp(38px, 7vw, 54px); }
  .hero-detail { max-width: none; }
  .hero-detail > p:first-child { font-size: 16px; max-width: 42ch; }
  .product-stage { padding: 14px 14px 12px; }
  .product-toolbar { margin-bottom: 12px; }
  .screen-switch button { padding: 5px 8px; font-size: 11px; }
  .product-figure figcaption { flex-direction: column; gap: 4px; font-size: 10px; min-height: 38px; margin-top: 10px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 11px; }
  .workflow,.utility-layout,.privacy-layout,.getting-started,.feature-requests { grid-template-columns: 1fr; gap: 42px; }
  .section-copy > p:not(.eyebrow) { max-width: 46ch; }
  .utility-section { padding-block: 64px; }
  .getting-started { padding-top: 0; }
  .closing { flex-direction: column; align-items: flex-start; gap: 26px; padding: 30px 24px; }
  .closing-brand { gap: 12px; }
  .closing-brand img { width: 60px; height: 60px; }
  .closing h2 { font-size: 26px; }
  .footer { flex-wrap: wrap; gap: 16px; padding-block: 32px; }
  .footer nav { width: 100%; margin: 0; }
}
@media (max-width: 380px) {
  .header-actions { gap: 8px; }
  .theme-switch button { padding-inline: 6px; }
  .button-small { padding-inline: 8px; }
  .wordmark { font-size: 22px; gap: 6px; }
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; animation: none !important; } }
@media (forced-colors: active) { .brand-mark { background: CanvasText; } .product-stage::before { display: none; } button[aria-pressed='true'] { outline: 1px solid Highlight; } }

.download-badge { display: flex; align-items: center; width: 140px; height: 20px; margin-top: 16px; }
.download-badge img { width: auto; height: 20px; max-width: 100%; }
