:root { color-scheme: light; --paper: #fafafa; --accent: #b91c1c; --ink: #18181b; --body: #3f3f46; --muted: #62626d; --line: #d4d4d8; --mono: 'JetBrains Mono', 'Courier New', monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--body); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #2563eb; outline-offset: 6px; }
p, h1, h2 { margin: 0; }
.video-hero { position: relative; z-index: 1; isolation: isolate; display: grid; place-items: center; height: calc(100vh - 160px); height: calc(100svh - 160px); overflow: hidden; background: #18181b url('./assets/packsmith-poster-desktop.jpg') center / cover no-repeat; color: white; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; }
.has-video .hero-video { opacity: 1; }
.hero-mark { position: absolute; top: max(clamp(32px, 5vw, 80px), env(safe-area-inset-top)); left: max(clamp(32px, 5vw, 80px), env(safe-area-inset-left)); display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: .04em; color: white; font-family: var(--mono); font-size: clamp(3.5rem, 6vw, 6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.08em; mix-blend-mode: difference; }
.hero-mark-block { grid-column: 1 / -1; color: #000; background: #fff; border-radius: 0; padding: 0 .13em .07em .06em; margin-top: .06em; }
.hero-logo { display: block; width: 1.2em; height: 1.2em; filter: invert(1); }
.hero-link { position: absolute; bottom: max(48px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); padding: 12px 16px; color: #fff; background: #18181b; border-radius: 3px; font-family: var(--mono); font-size: 1rem; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.hero-link:hover { color: #fff; }
.hero-toggle { position: absolute; right: 24px; bottom: 24px; width: auto; min-height: 44px; padding: 10px 14px; background: #18181b; border: 1px solid #71717a; border-radius: 3px; font-size: .875rem; cursor: pointer; }
.hero-toggle:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.hero-toggle[hidden] { display: none; }
#content { scroll-margin-top: -2rem; }
@supports not (mix-blend-mode: difference) { .hero-mark { text-shadow: 0 2px 20px #000; } .hero-mark-block { text-shadow: none; } }
@media (max-width: 700px) { .video-hero { background-image: url('./assets/packsmith-poster-mobile.jpg'); } .hero-mark { top: max(32px, env(safe-area-inset-top)); left: max(28px, env(safe-area-inset-left)); font-size: clamp(2.75rem, 12vw, 3.5rem); } .hero-link { bottom: max(88px, env(safe-area-inset-bottom)); } .hero-toggle { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); } }
@media (max-height: 450px) { .video-hero { height: 70vh; height: 70svh; } .hero-mark { top: 20px; left: 24px; font-size: 2.5rem; } .hero-link { bottom: 20px; } }
.case-background { position: fixed; inset: 0; overflow: hidden; pointer-events: none; user-select: none; z-index: 0; }
.case-layer { position: absolute; inset: -24px; background-position: center; background-repeat: repeat-y; background-size: max(1100px, 100vw) auto; }
.case-layer-far { background-image: url('./assets/wireframes-far.svg'); opacity: .09; transform: translate3d(var(--far-x, 0px), var(--far-y, 0px), 0); }
.case-layer-near { background-image: url('./assets/wireframes-near.svg'); opacity: .13; transform: translate3d(var(--drift-x, 0px), var(--drift-y, 0px), 0); }
.page { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 100px 36px 40px; display: grid; grid-template-columns: 340px minmax(0, 1fr); column-gap: 92px; }
#content.page { padding-top: 40px; }
.identity { align-self: start; position: sticky; top: 64px; }
.brand-mark { display: block; width: 1.2em; height: 1.2em; }
.wordmark { display: inline-grid; grid-template-columns: 1fr auto; align-items: center; column-gap: .04em; color: var(--ink); font-family: var(--mono); font-weight: 800; font-size: clamp(3.5rem, 6vw, 5.2rem); line-height: 1.08; letter-spacing: -.08em; text-decoration: none; }
.wordmark .reverse { grid-column: 1 / -1; margin-top: .06em; padding: 0 .13em .07em .06em; border-radius: 0; }
.reverse { background: var(--ink); color: var(--paper); padding: 0 .13em .05em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.strapline { font-family: var(--mono); color: var(--ink); font-size: .875rem; font-weight: 700; line-height: 1.6; margin-top: 28px; }
.intro { margin-top: 24px; }
nav { display: flex; align-items: start; flex-direction: column; gap: 10px; margin-top: 32px; font-size: .9375rem; }
.identity-note { color: var(--muted); font-size: .875rem; margin-top: 68px; }
.eyebrow { font-family: var(--mono); font-size: .875rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
h1 { font-family: var(--mono); color: var(--ink); font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; line-height: 1.34; letter-spacing: -.065em; }
.opening > p:not(.eyebrow) { margin-top: 26px; font-size: 1.0625rem; }
.text-link { display: inline-block; margin-top: 15px; font-size: .9375rem; font-weight: 700; }
.features { margin-top: 49px; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 15px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.number { font-family: var(--mono); font-size: 1rem; font-weight: 700; color: var(--muted); line-height: 1.5; }
h2 { font-family: var(--mono); color: var(--ink); font-size: 1rem; line-height: 1.5; font-weight: 800; letter-spacing: -.025em; }
.feature p { margin-top: 9px; }
.pricing { margin-top: 48px; border: 2px solid var(--ink); padding: 28px; background: var(--paper); }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tag { font-family: var(--mono); font-size: .75rem; font-weight: 700; color: var(--paper); background: var(--accent); padding: 3px 8px; border-radius: 3px; }
.price { font-family: var(--mono); font-size: 4.5rem; line-height: 1.2; letter-spacing: -.075em; font-weight: 800; color: var(--ink); margin-top: 24px; }
.price .price-note { display: block; font-size: .875rem; font-weight: 400; letter-spacing: -.025em; margin-top: 8px; color: var(--body); }
.discount-price, .beta-label { color: var(--accent); }
.beta-label { font-weight: inherit; }
.price .discount-price { font-size: inherit; white-space: nowrap; text-decoration-thickness: .045em; }
.price-description { margin-top: 14px; }
.included { list-style: none; margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.included li { position: relative; padding-left: 24px; }
.included li + li { margin-top: 7px; }
.included li::before { content: '+'; position: absolute; left: 0; color: var(--ink); font-family: var(--mono); font-weight: 700; }
button, .commerce-button { width: 100%; padding: 16px 12px; border: 0; border-radius: 0; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: .9375rem; font-weight: 700; line-height: 1.5; }
button:disabled { opacity: 1; cursor: not-allowed; }
.free-button { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.commerce-button + .free-button, .closing-price .commerce-button + .free-button { margin-top: 12px; }
.checkout-note { color: var(--muted); text-align: center; font-size: .875rem; margin-top: 12px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .875rem; padding-top: 32px; margin-top: 12px; }
footer > span { font-family: var(--mono); font-weight: 700; color: var(--ink); }
.product-credit { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.product-credit:hover { text-decoration: underline; }
.product-credit img { display: block; width: 94px; height: 64px; object-fit: contain; }
.feature-details { position: relative; z-index: 1; max-width: 1200px; padding: 64px 40px 40px; margin: 0 auto; }
.feature-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 64px; min-height: 540px; padding: 72px 0; border-top: 1px solid var(--line); }
.feature-story:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.feature-story:nth-child(even) .story-copy { grid-column: 2; grid-row: 1; }
.feature-story:nth-child(even) .story-diagram { grid-column: 1; grid-row: 1; }
.story-copy h2, .closing-copy h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.45; letter-spacing: -.055em; }
.story-copy > p:not(.eyebrow), .closing-copy > p:not(.eyebrow) { max-width: 38ch; margin-top: 24px; font-size: 1.0625rem; }
.story-copy > p + p:not(.eyebrow) { margin-top: 14px; }
.story-diagram { margin: 0; min-width: 0; background: rgba(250,250,250,.86); }
.story-diagram img { display: block; width: 100%; height: auto; }
.comparison { padding: 64px 0 32px; border-top: 1px solid var(--line); }
.comparison h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.45; letter-spacing: -.055em; }
.comparison-intro { max-width: 58ch; margin-top: 24px; font-size: 1.0625rem; }
.comparison-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 36px; background: var(--paper); }
.comparison-table .feature-column { width: 50%; }
.comparison-table th, .comparison-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; overflow-wrap: break-word; }
.comparison-table th:first-child { text-align: left; }
.comparison-table thead th { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); color: var(--ink); font-family: var(--mono); font-size: 1.125rem; }
.comparison-table tbody th { color: var(--ink); font-weight: 400; }
.comparison-table tr > :last-child { background: #eeeeef; }
.plan-price { display: block; margin-top: 6px; font-family: Arial, Helvetica, sans-serif; font-size: .875rem; font-weight: 400; }
.not-included { color: var(--muted); }
.feature-status { display: inline-block; color: #15803d; font-size: 1.25rem; font-weight: 700; line-height: 1; }
.not-included .feature-status { color: #b91c1c; }
.comparison-actions { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 28px; }
.comparison-actions .free-button { width: auto; min-width: 200px; }
.comparison-actions .text-link { margin-top: 0; }
.closing-offer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 64px; padding: 56px; margin: 36px 0 32px; border: 2px solid var(--ink); background: var(--paper); }
.closing-price .price { margin-top: 14px; }
.closing-price .commerce-button { margin-top: 28px; }
@media (max-width: 960px) { .feature-story, .feature-story:nth-child(even) { gap: 32px; } .closing-offer { gap: 32px; padding: 32px; } }
@media (max-width: 700px) {
  .feature-details { padding: 32px 24px; max-width: 540px; }
  .comparison { padding: 48px 0 32px; }
  .comparison h2 { font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .comparison-intro { font-size: 1rem; }
  .comparison-table .feature-column { width: 44%; }
  .comparison-table th, .comparison-table td { padding: 14px 8px; font-size: .8125rem; line-height: 1.5; }
  .comparison-table thead th { font-size: 1rem; }
  .plan-price { font-size: .8125rem; }
  .feature-story, .feature-story:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 32px; min-height: 0; padding: 48px 0; }
  .feature-story:nth-child(even) .story-copy, .feature-story:nth-child(even) .story-diagram { grid-column: auto; grid-row: auto; }
  .story-copy h2, .closing-copy h2 { font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .story-copy > p:not(.eyebrow), .closing-copy > p:not(.eyebrow) { font-size: 1rem; }
  .closing-offer { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 32px; margin-top: 16px; }
}
.skip-link { position: fixed; top: 12px; left: 12px; background: var(--ink); color: white; padding: 10px 16px; z-index: 2; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); color: white; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 960px) { .page { grid-template-columns: 270px minmax(0, 1fr); gap: 44px; padding-top: 64px; } .price .price-note { margin: 8px 0 0; } }
@media (max-width: 700px) { .page { display: block; max-width: 540px; padding: 40px 24px 28px; } .identity { position: static; } .wordmark { font-size: 4.25rem; } .strapline { margin-top: 22px; } .intro { margin-top: 18px; } nav { margin-top: 22px; flex-direction: row; flex-wrap: wrap; column-gap: 24px; } .identity-note { display: none; } .overview { margin-top: 52px; } h1 { font-size: clamp(1.75rem, 7.5vw, 2.6rem); } .opening > p:not(.eyebrow) { font-size: 1rem; } .desktop-break { display: none; } .features { margin-top: 32px; } .feature { gap: 10px; } .pricing { padding: 22px; margin-top: 32px; } .price { font-size: 4rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) { .case-layer { transform: none !important; } }
@media (max-width: 700px) { .case-layer { background-size: 1000px auto; } .case-layer-far { opacity: .06; } .case-layer-near { opacity: .09; } }

.commerce-button { display: block; text-align: center; text-decoration: none; box-sizing: border-box; }
a.commerce-button:hover { opacity: .85; }
a.commerce-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.purchase-help { border-top: 1px solid var(--line); padding: 32px 0; max-width: 760px; }
.purchase-help p { margin-top: 14px; }

.footer-nav { flex-direction: row; flex-wrap: wrap; gap: 24px; margin: 0; }
.downloads-page { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 64px 40px 40px; }
.downloads-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.downloads-header .wordmark { font-size: 3rem; }
.downloads-header nav { flex-direction: row; flex-wrap: wrap; margin: 0; gap: 24px; }
[aria-current="page"] { font-weight: 700; }
.download-intro { margin: 80px 0 40px; max-width: 660px; }
.download-intro > p:not(.eyebrow) { margin-top: 24px; }
.download-note { color: var(--muted); font-size: .9375rem; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.download-card { border: 1px solid var(--ink); background: var(--paper); padding: 28px; }
.download-card h2 { font-size: 1.5rem; }
.download-card > p:not(.eyebrow) { margin-top: 16px; }
.download-preview:disabled { background: #e4e4e7; color: var(--muted); border: 1px solid var(--line); }
.download-release { margin-top: 24px; }
.download-release small { display: block; margin-top: 8px; color: var(--muted); overflow-wrap: anywhere; }
.download-help { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-block: 1px solid var(--line); padding: 40px 0; margin-top: 48px; }
.download-help p:not(.eyebrow) { margin-top: 16px; }
a.commerce-button:not(.free-button):hover { color: var(--paper); }
@media (max-width: 700px) {
  .downloads-page { padding: 32px 24px; }
  .downloads-header { align-items: flex-start; flex-direction: column; }
  .download-intro { margin-top: 48px; }
  .download-grid, .download-help { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

.news-intro { max-width: 760px; margin: 80px 0 40px; }
.news-intro > p:last-child { margin-top: 24px; }
.news-intro > .text-link { margin: 0 0 32px; }
.news-list, .news-post { max-width: 760px; }
.news-entry { padding: 32px 0; border-top: 1px solid var(--line); }
.news-entry h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.news-entry > p:not(.eyebrow) { margin-top: 18px; max-width: 62ch; }
.news-body { padding-bottom: 48px; font-size: 1.0625rem; overflow-wrap: anywhere; }
.news-body > * + * { margin-top: 24px; }
.news-body h2, .news-body h3 { margin-top: 40px; font-family: var(--mono); color: var(--ink); }
.news-body h2 { font-size: 1.5rem; }
.news-body img { max-width: 100%; height: auto; }
.news-body pre { overflow-x: auto; padding: 20px; background: #eeeeef; }
.news-body blockquote { margin-left: 0; padding-left: 24px; border-left: 3px solid var(--accent); }
.news-body li + li { margin-top: 8px; }
@media (max-width: 700px) { .news-intro { margin-top: 48px; } }
