@font-face {
  font-family: Geist;
  src: url('/assets/geist.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/bricolage-grotesque-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #121212;
  --surface: #191919;
  --ink: #f2f2f0;
  --muted: #a9a9a6;
  --line: #ffffff20;
  --font: Geist, system-ui, sans-serif;
  --heading: 'Bricolage Grotesque', Geist, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
::selection { color: var(--bg); background: var(--ink); }
.shell { max-width: 1120px; margin-inline: auto; padding-inline: 32px; }
h1, h2 { font-family: var(--heading); font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(42px, 5vw, 66px); line-height: 1.04; }
h2 { font-size: clamp(32px, 3.3vw, 44px); line-height: 1.1; }
h1 span, h2 span { color: var(--muted); }
h3 { font-size: 19px; line-height: 1.35; font-weight: 500; letter-spacing: -.025em; }
p { color: var(--muted); }
.small { font-size: 13px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 11px 22px; border: 1px solid #fff5; border-radius: 999px; background: linear-gradient(#f3f3f1, #dededb); color: #161616; font-size: 14px; line-height: 1.5; font-weight: 500; box-shadow: inset 0 1px #fff7, 0 2px 5px #0002; transition: background .2s, transform .2s; }
.button:hover { background: #fff; transform: translateY(-1px); }
.button.secondary { color: var(--ink); background: transparent; border-color: #ffffff38; box-shadow: none; }
.skip { position: fixed; top: -90px; left: 16px; z-index: 80; padding: 10px 18px; background: white; color: #121212; }
.skip:focus { top: 12px; }

/* FabigLabs: slim navigation, bounded typography and one primary hero action. */
.site-header { height: 72px; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: #121212f2; backdrop-filter: blur(16px); }
.nav-row { height: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 550; letter-spacing: -.055em; flex-shrink: 0; }
.brand img { width: 30px; height: 30px; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.site-header nav > a { color: var(--muted); }
.site-header nav > a:hover, .site-header nav > a[aria-current] { color: var(--ink); }
.site-header .nav-download { display: inline-flex; align-items: center; gap: 16px; padding: 9px 17px; border: 1px solid #ffffff2e; border-radius: 999px; color: var(--ink); }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; column-gap: 64px; padding-block: 80px 88px; }
.hero-copy > p { max-width: 480px; margin-top: 24px; font-size: 17px; line-height: 1.7; }
.hero-actions { margin-top: 28px; }
.hero-copy .release-note { font-size: 12px; margin-top: 20px; max-width: none; color: #92928f; }
.hero-mark { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero-mark img { width: 290px; opacity: .88; }
.hero-mark figcaption { font-size: 14px; color: #92928f; letter-spacing: -.01em; }
.section { padding-block: 80px; position: relative; }
.section:before { content: ''; position: absolute; top: 0; inset-inline: 32px; height: 1px; background: var(--line); }
.studio { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.workflow article { padding-block: 24px; border-top: 1px solid var(--line); }
.workflow article:first-child { border-top: 0; padding-top: 0; }
.workflow article:last-child { padding-bottom: 0; }
.workflow p { margin-top: 10px; font-size: 15px; line-height: 1.75; }
.subscription-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 112px; }
.subscription-intro > div > p { margin-top: 20px; font-size: 16px; max-width: 420px; }
.subscription-intro .text-link { margin-top: 26px; }
.subscription-intro .local-note { padding-top: 5px; }
.local-note > h3 { font-size: 20px; }
.footer { padding-block: 30px 36px; display: flex; justify-content: space-between; align-items: center; gap: 28px; position: relative; }
.footer:before { content: ''; position: absolute; top: 0; inset-inline: 32px; height: 1px; background: var(--line); }
.footer .brand { font-size: 16px; gap: 8px; }
.footer .brand img { width: 23px; height: 23px; }
.footer-brand { display: flex; align-items: center; gap: 24px; }
.footer p, .footer nav { font-size: 11px; color: #999996; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a:hover { color: var(--ink); }

/* Detail pages keep the same type scale and use open rows instead of cards. */
.page-hero { padding-block: 72px 52px; }
.page-hero h1 { max-width: 760px; font-size: clamp(36px, 4.7vw, 60px); }
.page-hero > p { margin-top: 22px; max-width: 620px; font-size: 17px; line-height: 1.7; }
.pricing { padding-bottom: 54px; }
.pricing-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.pricing-controls > p { font-size: 11px; }
.segmented { display: inline-flex; gap: 3px; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.segmented button { background: transparent; border: 0; border-radius: 999px; padding: 8px 15px; font-size: 12px; line-height: 1.4; min-height: 38px; white-space: nowrap; color: var(--muted); }
.segmented button[aria-pressed=true] { background: #dededb; color: #161616; }
.segmented button span { margin-left: 5px; font-size: 10px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 28px; }
.plan { min-width: 0; padding-inline: 30px; border-left: 1px solid var(--line); }
.plan:first-child { padding-left: 0; border-left: 0; }
.plan:last-child { padding-right: 0; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; }
.plan h2 { font: 500 20px/1.3 var(--font); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.plan-label { font-size: 12px; margin-top: 5px; }
.pro-switch { padding: 2px; }
.pro-switch button { padding: 5px 8px; min-height: 26px; font-size: 10px; }
.plan-price { margin-top: 30px; font-size: 42px; line-height: 1.2; letter-spacing: -.045em; color: var(--ink); }
.plan-price .price-unit { font-size: 12px; color: var(--muted); letter-spacing: 0; }
.billing-note { margin-top: 7px; font-size: 11px; min-height: 19px; }
.allowance { margin-top: 28px; font-size: 11px; }
.allowance strong { font-size: 16px; font-weight: 500; color: var(--ink); }
.plan [data-limits] { margin-top: 3px; font-size: 11px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; font-size: 12px; color: var(--muted); }
.plan li { padding-block: 5px; }
.pricing-notes { max-width: 880px; margin-top: 24px; font-size: 11px; line-height: 1.75; }
.pricing-notes p + p { margin-top: 8px; }
.compact-section { padding-top: 56px; padding-bottom: 72px; }
.compact-section h2 { font-size: 32px; margin-bottom: 28px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 21px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 15px; font-weight: 450; }
summary::-webkit-details-marker { display: none; }
summary > span { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
summary > span:before, summary > span:after { content: ''; position: absolute; background: #b0b0ad; }
summary > span:before { left: 1px; right: 1px; top: 6px; height: 1px; }
summary > span:after { top: 1px; bottom: 1px; left: 6px; width: 1px; }
details[open] summary > span:after { display: none; }
details > p { max-width: 760px; padding-bottom: 24px; padding-right: 40px; font-size: 14px; line-height: 1.8; }
.download-section { padding-bottom: 56px; }
.availability-note { margin-bottom: 24px; }
.availability-note p { font-size: 13px; }
.download-list { border-top: 1px solid var(--line); }
.download-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.download-row h2 { font: 500 20px/1.4 var(--font); letter-spacing: -.025em; }
.download-row p { font-size: 13px; margin-top: 3px; }
.download-pending { font-size: 12px; color: #999996; }
.setup { display: grid; grid-template-columns: 1.4fr 1fr; gap: 112px; padding-top: 56px; }
.setup h2 { font-size: 32px; }
.setup > div > p { margin-top: 20px; font-size: 16px; }
.setup .text-link { margin-top: 24px; }
.setup > .small { align-self: center; }
.help-content { max-width: 864px; padding-bottom: 80px; }
.help-content > section + section { margin-top: 56px; }
.help-content h2 { font-size: 28px; margin-bottom: 22px; }
.help-link { margin-top: 20px; }
.legal { max-width: 864px; padding-block: 72px 80px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); overflow-wrap: anywhere; }
.legal h2 { font: 500 21px/1.35 var(--font); letter-spacing: -.02em; margin-top: 36px; margin-bottom: 12px; }
.legal p, .legal li { font-size: 15px; line-height: 1.8; color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal .updated { margin-top: 16px; font-size: 13px; }
.legal .draft { margin-block: 28px; padding-left: 20px; border-left: 2px solid #777; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal ul { padding-left: 20px; }

@media (max-width: 1000px) {
  .hero { gap: 40px; }
  .hero-mark img { width: 240px; }
  .studio { grid-template-columns: 1fr 1.3fr; gap: 40px; }
  .subscription-intro, .setup { gap: 64px; }
  .footer { align-items: flex-start; }
  .footer-brand { flex-direction: column; gap: 12px; align-items: flex-start; }
  .plan { padding-inline: 20px; }
  .plan h2 { font-size: 18px; }
  .plan-top { flex-wrap: wrap; align-content: flex-start; min-height: 68px; }
  .plan-price { font-size: 36px; }
  .pricing-controls { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 84px; }
  .shell { padding-inline: 20px; }
  .site-header { height: 64px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .nav-row { gap: 16px; }
  .menu-toggle { display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; }
  .menu-toggle span { width: 18px; height: 1px; background: var(--ink); }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-header nav { position: absolute; top: 63px; inset-inline: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: 16px 20px 24px; border-bottom: 1px solid var(--line); }
  .js .site-header nav:not(.is-open) { display: none; }
  .site-header nav > a { padding: 12px 0; font-size: 16px; }
  .site-header .nav-download { margin-top: 10px; justify-content: center; padding-inline: 20px; font-size: 14px; }
  html:not(.js) .site-header { position: relative; height: auto; }
  html:not(.js) .nav-row { flex-wrap: wrap; padding-block: 18px; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-header nav { position: static; flex-basis: 100%; padding: 10px 0 0; border: 0; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 52px; }
  .hero h1 { font-size: clamp(42px, 10.8vw, 60px); }
  .hero-copy > p { font-size: 16px; margin-top: 20px; max-width: 450px; }
  .hero-actions { margin-top: 24px; }
  .hero-copy .release-note { font-size: 11px; margin-top: 16px; max-width: 310px; }
  .hero-mark { flex-direction: row; justify-content: flex-start; gap: 22px; }
  .hero-mark img { width: 82px; }
  .hero-mark figcaption { font-size: 13px; }
  .section { padding-block: 52px; }
  .section:before, .footer:before { inset-inline: 20px; }
  .studio, .subscription-intro, .setup { grid-template-columns: 1fr; gap: 36px; }
  .studio h2, .subscription-intro h2 { font-size: 34px; }
  .workflow article { padding-block: 22px; }
  .workflow p { font-size: 14px; }
  .subscription-intro > div > p { font-size: 15px; margin-top: 16px; }
  .subscription-intro .text-link { margin-top: 20px; }
  .subscription-intro .local-note { padding-top: 28px; border-top: 1px solid var(--line); }
  .footer { flex-direction: column; padding-block: 28px; gap: 26px; }
  .footer-brand { flex-direction: row; gap: 20px; align-items: center; flex-wrap: wrap; }
  .footer nav { gap: 14px 20px; }
  .page-hero { padding-block: 48px 36px; }
  .page-hero h1 { font-size: clamp(34px, 8.8vw, 46px); }
  .page-hero > p { font-size: 16px; margin-top: 20px; }
  .page-hero br { display: initial; }
  .plans { grid-template-columns: 1fr; padding-block: 0; }
  .plan { border-left: 0; padding: 28px 0; border-top: 1px solid var(--line); }
  .plan:first-child { border-top: 0; }
  .plan-top { min-height: 32px; align-content: center; }
  .plan h2 { font-size: 21px; }
  .plan-price { margin-top: 24px; font-size: 40px; }
  .plan ul { margin-top: 18px; }
  .allowance { margin-top: 22px; }
  .pricing-controls { margin-bottom: 28px; }
  .pricing-controls .small { font-size: 11px; }
  .segmented button { padding-inline: 12px; }
  .segmented button span { font-size: 9px; }
  .pro-switch button { padding-inline: 10px; }
  .pricing { padding-bottom: 40px; }
  .compact-section h2, .setup h2 { font-size: 30px; }
  summary { font-size: 14px; padding-block: 20px; }
  details > p { font-size: 14px; padding-right: 22px; }
  .download-section { padding-bottom: 40px; }
  .download-row { gap: 16px; padding-block: 22px; }
  .download-row p { font-size: 12px; }
  .download-pending { font-size: 10px; white-space: nowrap; }
  .download-row .button { font-size: 12px; padding-inline: 14px; gap: 8px; }
  .help-content { padding-bottom: 52px; }
  .help-content > section + section { margin-top: 40px; }
  .help-content h2 { font-size: 27px; }
  .legal { padding-block: 48px 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
