:root:has(.fp-page) {
  scroll-padding-top: 90px;
  scrollbar-width: auto;
}

:root:has(.fp-page)::-webkit-scrollbar,
.fp-page::-webkit-scrollbar { display: initial; width: initial; height: initial; }

.fp-page {
  --fp-paper: #f7f7ef;
  --fp-ink: #192820;
  --fp-dim: #4b5c51;
  --fp-border: #d9dfd2;
  --fp-dark: #15271e;
  --fp-mint: #d3eba7;
  --fp-white: #f5f8ed;
  margin: 0;
  background: var(--fp-paper);
  color: var(--fp-ink);
  scrollbar-width: auto;
}

.fp-page :is(button, a, summary):focus-visible { outline: 2px solid #639479; outline-offset: 4px; }
.fp-page [hidden] { display: none !important; }
.fp-page .skip-link { z-index: 30; }
.fp-shell { width: min(100% - 96px, 1232px); margin-inline: auto; }

.fp-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--fp-dark);
  color: var(--fp-white);
  border-bottom: 1px solid #f2fae820;
}

.fp-header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.fp-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 760;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.fp-brand img { border-radius: 9px; }
.fp-nav, .fp-header-tools, .fp-language { display: flex; align-items: center; }
.fp-nav { gap: clamp(20px, 3vw, 42px); color: #d6e3d8; font-size: .9rem; }
.fp-nav a:hover, .fp-nav a:focus-visible, .fp-nav a[aria-current] { color: #fff; }
.fp-header-tools { justify-self: end; gap: 15px; }
.fp-language { gap: 2px; font-size: .78rem; }
.fp-language button, .fp-menu { border: 0; background: transparent; }
.fp-language button { min-width: 30px; min-height: 34px; padding: 1px 5px; color: #c2d2c4; border-radius: 5px; }
.fp-language button[aria-pressed="true"] { background: #e9f4e329; color: #fff; }
.fp-nav-cta { display: inline-flex; align-items: center; gap: 10px; padding: 7px 13px; border: 1px solid #f2fae854; border-radius: 8px; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.fp-nav-cta:is(:hover, [aria-current]) { border-color: var(--fp-mint); color: var(--fp-mint); }
.fp-menu { display: none; }

.fp-hero {
  color: var(--fp-white);
  background: radial-gradient(ellipse at 79% 34%, #2d4939 0%, #1a3024 37%, transparent 71%), var(--fp-dark);
}

.fp-hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(30px, 5vw, 80px); padding-block: clamp(68px, 7vw, 112px) clamp(58px, 6.5vw, 96px); }
.fp-hero-copy h1, .fp-download-head h1 { font-size: clamp(3rem, 4.8vw, 4.6rem); font-weight: 760; line-height: 1.06; letter-spacing: -.055em; text-wrap: balance; }
.fp-hero-copy h1 span { display: block; }
.fp-hero-copy h1 span:last-child { color: var(--fp-mint); }
.fp-hero-copy > p:not(.fp-platforms), .fp-download-head p { max-width: 34em; margin-top: 23px; color: #ccdbcd; line-height: 1.78; font-size: clamp(.98rem, 1.25vw, 1.11rem); }
.fp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 25px; margin-top: 30px; }
.fp-button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 48px; padding: 10px 17px; background: var(--fp-mint); color: #1b2c16; border: 1px solid transparent; border-radius: 8px; font-weight: 720; line-height: 1.3; }
.fp-button:hover { background: #e1f3be; }
.fp-text-link { display: inline-flex; align-items: baseline; gap: 8px; width: fit-content; color: #315d47; font-size: .93rem; font-weight: 680; }
.fp-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
:is(.fp-hero, .fp-bottom) .fp-text-link { color: #e1eedf; }
.fp-hero-copy .fp-platforms { margin-top: 17px; font-size: .82rem; color: #b8ccba; }

.fp-hero-media { min-width: 0; padding: 10px 10px 0; background: #f1f6ec16; border: 1px solid #b9ceb161; border-radius: 15px; box-shadow: 0 32px 65px -32px #091d13; }
.fp-hero-image { overflow: hidden; border-radius: 9px; background: #ebece1; }
.fp-hero-image img, .fp-panel img { width: 100%; height: auto; }
.fp-hero-media figcaption { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 9px 3px; color: #d0decf; font-size: .78rem; }

.fp-section { padding-block: clamp(56px, 6.3vw, 100px); }
.fp-section h2, .fp-bottom h2 { font-size: clamp(1.85rem, 3.1vw, 3.1rem); font-weight: 740; line-height: 1.15; letter-spacing: -.045em; text-wrap: balance; }
.fp-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; border-block: 1px solid var(--fp-border); }
.fp-feature { padding: 22px 23px 25px; border-inline-start: 1px solid var(--fp-border); }
.fp-feature:first-child { border-inline-start: 0; }
.fp-feature h3 { font-size: clamp(1rem, 1.45vw, 1.22rem); line-height: 1.35; }
.fp-feature h3 a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.fp-feature h3 a:hover { color: #315d47; text-decoration: underline; text-underline-offset: 4px; }
.fp-feature h3 a span[aria-hidden] { color: #3e6b54; }
.fp-feature p, .fp-section-heading p, .fp-example-layout > div:first-child > p { margin-top: 9px; color: var(--fp-dim); font-size: .96rem; }
.fp-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px 35px; margin-bottom: 26px; }
.fp-section-heading p { max-width: 35em; }

.fp-workbench { background: #e9eee3; }
.fp-workbench-grid { display: grid; grid-template-columns: 215px minmax(0, 1fr); align-items: start; gap: 24px; }
.fp-tabs { display: grid; gap: 6px; }
.fp-tabs a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 13px; color: #364b3e; border: 1px solid transparent; border-radius: 8px; font-weight: 650; }
.fp-tabs a:hover { background: #f7faf0; }
.fp-tabs a[aria-selected="true"] { background: var(--fp-dark); color: var(--fp-white); }
.fp-panel { overflow: hidden; background: var(--fp-paper); border: 1px solid #bdc9b9; border-radius: 12px; }
.fp-panel + .fp-panel { margin-top: 16px; }
.fp-panel[role="tabpanel"] { margin-top: 0; }
.fp-panel img { background: #e2e8db; aspect-ratio: 1280 / 840; object-fit: contain; }
.fp-panel-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px 22px; padding: 17px 21px 20px; border-top: 1px solid var(--fp-border); }
.fp-panel-caption h3 { font-size: 1.12rem; line-height: 1.35; }
.fp-panel-caption p { margin-top: 4px; color: var(--fp-dim); font-size: .91rem; }
.fp-panel-caption .fp-text-link { flex-shrink: 0; }

.fp-example-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 24px clamp(35px, 8vw, 112px); }
.fp-example-layout > div:first-child > .fp-text-link { margin-top: 20px; }
.fp-prompt-list { border-top: 1px solid var(--fp-border); }
.fp-prompt-list details { border-bottom: 1px solid var(--fp-border); }
.fp-prompt-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 4px; cursor: pointer; font-weight: 700; }
.fp-prompt-list summary::-webkit-details-marker { display: none; }
.fp-prompt-list summary::after { content: "+"; color: #45745a; font-weight: 500; font-size: 1.3rem; }
.fp-prompt-list details[open] summary::after { content: "−"; }
.fp-prompt { padding: 0 4px 15px; color: var(--fp-dim); }
.fp-prompt button { margin-top: 10px; padding: 4px 9px; background: #e8eee3; border: 1px solid #c6d3c3; border-radius: 6px; color: var(--fp-ink); font-size: .88rem; }
.fp-copy-result { margin-left: 7px; font-size: .83rem; }
.fp-copy-buffer { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }

.fp-bottom { padding-block: 37px; background: var(--fp-dark); color: var(--fp-white); }
.fp-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; }
.fp-bottom h2 { font-size: clamp(1.55rem, 2.6vw, 2.35rem); }
.fp-bottom .fp-actions { margin-top: 0; }

.fp-footer { padding-block: 27px; background: #e9eee3; border-top: 1px solid var(--fp-border); }
.fp-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 17px 24px; }
.fp-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #334e3c; font-size: .87rem; }
.fp-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fp-copyright { color: var(--fp-dim); font-size: .83rem; }

.fp-download-hero { background: radial-gradient(ellipse at 80% 35%, #31513e, transparent 61%), var(--fp-dark); color: var(--fp-white); }
.fp-download-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: clamp(46px, 6.3vw, 94px); }
.fp-download-head h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
.fp-download-head p { margin-top: 15px; }
.fp-download-head img { flex: 0 0 auto; width: clamp(54px, 7vw, 96px); height: auto; border-radius: 23%; }
.fp-downloads { padding-top: clamp(43px, 5.7vw, 82px); padding-bottom: clamp(49px, 6.3vw, 86px); }
.fp-download-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px 25px; margin-bottom: 25px; }
.fp-download-heading p { margin-top: 6px; color: var(--fp-dim); font-size: .9rem; }
.fp-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; align-items: start; }
.fp-package { min-width: 0; padding: clamp(16px, 2.5vw, 27px); background: #fffef8; border: 1px solid #d0d9c9; border-radius: 11px; }
.fp-package.is-recommended { border-color: #65886f; }
.fp-package-top { min-height: 27px; display: flex; justify-content: space-between; align-items: center; gap: 5px; color: #476253; font-size: .87rem; font-weight: 650; }
.fp-recommended { padding-inline: 7px; background: #e5f1d8; border-radius: 5px; color: #284833; font-size: .75rem; }
.fp-package h3 { margin-top: 7px; font-size: clamp(1.15rem, 1.8vw, 1.58rem); line-height: 1.2; letter-spacing: -.025em; }
.fp-package-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 9px; color: var(--fp-dim); font-size: .87rem; }
.fp-package-button { justify-content: space-between; width: 100%; margin-top: 20px; padding-inline: 11px; background: var(--fp-dark); color: var(--fp-white); font-size: .94rem; }
.fp-package-button:hover { background: #2a4d3a; }
.fp-package-hash { margin-top: 12px; color: var(--fp-dim); font-size: .8rem; }
.fp-package-hash summary { width: max-content; cursor: pointer; }
.fp-package-hash code { display: block; margin-top: 6px; overflow-wrap: anywhere; }
.fp-download-status, .fp-signing { margin-top: 16px; color: var(--fp-dim); font-size: .89rem; }
.fp-install { background: #e9eee3; }
.fp-install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin-top: 23px; }
.fp-install-grid article { padding: 17px 22px; border: 1px solid #cbd5c6; border-radius: 10px; }
.fp-install-grid ol { padding-inline-start: 1.3rem; margin-block: 7px 13px; color: var(--fp-dim); }
.fp-not-found { display: grid; align-content: center; min-height: 73vh; }
.fp-not-found p { margin-top: 12px; color: var(--fp-dim); }

.fp-page .feature-hero { min-height: auto; background: radial-gradient(ellipse at 79% 34%, #2d4939, transparent 70%), var(--fp-dark); }
.fp-page .feature-hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 70px); padding-block: clamp(55px, 7.5vw, 115px); }
.fp-page .feature-hero h1 { font-size: clamp(2.4rem, 4.25vw, 4.2rem); line-height: 1.08; }
.fp-page .feature-preview { padding: 8px; background: #f1f6ec16; border: 1px solid #b9ceb161; border-radius: 12px; }
.fp-page .feature-preview img { width: 100%; border-radius: 6px; }

@media (max-width: 1080px) {
  .fp-shell { width: calc(100% - 64px); }
  .fp-hero-grid { gap: 28px; }
  .fp-hero-copy h1 { font-size: clamp(2.6rem, 5.3vw, 3.7rem); }
}

@media (max-width: 800px) {
  .fp-shell { width: calc(100% - 40px); }
  .fp-header-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; min-height: 62px; }
  .fp-brand { font-size: 1.16rem; gap: 7px; }
  .fp-brand img { width: 31px; height: 31px; }
  .fp-header-tools { grid-column: 3; grid-row: 1; gap: 7px; }
  .fp-header.is-ready .fp-menu { display: flex; justify-self: start; align-items: center; gap: 5px; min-height: 36px; padding: 5px; color: #e2eee1; font-size: .81rem; }
  .fp-menu-icon { width: 14px; height: 8px; border-block: 1px solid currentColor; }
  .fp-nav { grid-area: 2 / 1 / 3 / -1; gap: 9px 20px; flex-wrap: wrap; padding-bottom: 12px; }
  .fp-header.is-ready .fp-nav { display: none; }
  .fp-header.is-ready .fp-nav.is-open { display: grid; position: absolute; top: 100%; inset-inline: 0; gap: 0; padding: 8px; background: var(--fp-dark); border: 1px solid #829b8580; border-radius: 0 0 9px 9px; box-shadow: 0 13px 27px #12271c40; }
  .fp-nav.is-open a { padding: 9px; }
  .fp-hero-grid { grid-template-columns: 1fr 1fr; padding-block: 62px 58px; }
  .fp-hero-copy h1 { font-size: clamp(2.2rem, 5.3vw, 3.5rem); }
  .fp-workbench-grid { grid-template-columns: 1fr; gap: 12px; }
  .fp-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
  .fp-tabs a { padding: 8px; font-size: .88rem; }
  .fp-tabs a span[aria-hidden] { display: none; }
  .fp-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-feature { padding: 15px 13px; }
  .fp-feature:nth-child(odd) { border-inline-start: 0; }
  .fp-feature:nth-child(-n + 2) { border-bottom: 1px solid var(--fp-border); }
  .fp-page .feature-hero-grid { grid-template-columns: 1fr; padding-block: 44px; }
  .fp-page .feature-preview { width: min(100%, 39rem); }
}

@media (max-width: 620px) {
  .fp-hero-grid { grid-template-columns: 1fr; padding-block: 44px 37px; gap: 24px; }
  .fp-hero-copy h1 { font-size: clamp(2.5rem, 9.1vw, 3.7rem); }
  .fp-hero-copy > p:not(.fp-platforms) { margin-top: 14px; }
  .fp-actions { margin-top: 19px; }
  .fp-hero-copy .fp-platforms { margin-top: 10px; }
  .fp-hero-media { padding: 6px 6px 0; }
  .fp-hero-media figcaption { padding-block: 6px; font-size: .7rem; }
  .fp-section-heading, .fp-bottom-inner, .fp-download-heading, .fp-panel-caption { align-items: start; flex-direction: column; }
  .fp-feature-grid, .fp-install-grid { margin-top: 17px; }
  .fp-example-layout, .fp-install-grid, .fp-package-grid { grid-template-columns: 1fr; }
  .fp-panel-caption { padding: 13px; }
  .fp-footer nav { flex-basis: 100%; order: 1; }
}

@media (max-width: 355px) {
  .fp-shell { width: calc(100% - 24px); }
  .fp-header-inner { gap: 5px; }
  .fp-nav-cta { padding-inline: 7px; }
  .fp-language button { min-width: 25px; }
}
