@font-face {
  font-family: "Geist";
  src: url("./assets/fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #071826;
  --navy-900: #0b2236;
  --navy-800: #14334b;
  --navy-700: #20445e;
  --page: #f4f6f5;
  --surface: #eef1f0;
  --surface-2: #e5eaeb;
  --blue-gray: #b5c0c5;
  --muted: #5c6d77;
  --line: #c7d0d3;
  --white-on-navy: #f4f6f5;
  --shell: 1180px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--navy-950);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--navy-700);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  background: var(--navy-950);
  color: var(--white-on-navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: color-mix(in srgb, var(--page) 96%, transparent);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 28px;
}

.wordmark {
  flex: 0 0 auto;
  width: 120px;
  height: 25px;
  display: block;
  overflow: hidden;
  background: url("./assets/brand/pluginos-lockup-navy.svg") center / contain no-repeat;
  color: transparent;
  font-size: 0;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a,
.text-link {
  color: var(--muted);
  font-size: 14px;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.text-link:hover {
  color: var(--navy-950);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 550;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.button-primary {
  background: var(--navy-950);
  border-color: var(--navy-950);
  color: var(--white-on-navy);
}

.button-primary:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.button-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--navy-950);
}

.button-secondary:hover {
  background: var(--surface-2);
  border-color: var(--blue-gray);
}

.button-inverted {
  background: var(--white-on-navy);
  border-color: var(--white-on-navy);
  color: var(--navy-950);
}

.button-inverted:hover {
  background: var(--surface-2);
  border-color: var(--surface-2);
}

.button-full {
  width: 100%;
}

.menu-button {
  display: none;
  min-width: 46px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy-950);
}

.menu-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.menu-lines {
  width: 22px;
  display: grid;
  gap: 6px;
}

.menu-lines i {
  width: 100%;
  height: 1px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] .menu-lines i:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines i:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--page);
}

.mobile-nav-inner {
  min-height: calc(100dvh - var(--header-height));
  padding-block: 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mobile-nav-inner > a:not(.button) {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.mobile-nav-inner .button {
  margin-top: 28px;
}

.hero {
  padding-block: clamp(78px, 10vw, 132px) clamp(64px, 8vw, 96px);
}

.hero-copy {
  width: min(100%, 880px);
  margin: 0 auto clamp(42px, 6vw, 64px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 520;
  letter-spacing: -0.05em;
  line-height: 1.01;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 580;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.hero-summary {
  max-width: 690px;
  margin: 0 auto 30px;
  font-size: clamp(17px, 2vw, 19px);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quiet-note {
  margin: 18px 0 0;
  font-size: 13px;
}

.film-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 460px;
  padding: 12px;
  display: grid;
  grid-template-rows: 30px 1fr 30px;
  overflow: hidden;
  border: 1px solid var(--navy-800);
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--white-on-navy);
  box-shadow: 0 28px 72px rgba(7, 24, 38, 0.12);
}

.film-topline,
.film-controls {
  display: grid;
  align-items: center;
  color: var(--blue-gray);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.film-topline {
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.film-stage {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
}

.film-composition {
  position: absolute;
  inset: 0;
}

.film-block {
  position: absolute;
  display: block;
  background: var(--navy-800);
  transition: transform 850ms ease, opacity 850ms ease;
}

.film-block-a { width: 28%; height: 62%; left: 4%; top: 9%; }
.film-block-b { width: 18%; height: 39%; left: 36%; bottom: 8%; background: var(--navy-700); opacity: 0.55; }
.film-block-c { width: 25%; height: 54%; right: 15%; top: 8%; }
.film-block-d { width: 13%; height: 30%; right: 3%; bottom: 12%; background: var(--navy-700); opacity: 0.44; }

.film-poster {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.film-poster p {
  margin-bottom: 16px;
  color: var(--white-on-navy);
  font-size: 16px;
  font-weight: 550;
}

.film-poster small {
  margin-top: 14px;
  color: var(--blue-gray);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.play-button {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white-on-navy);
  color: var(--navy-950);
  transition: transform 160ms ease, background-color 160ms ease;
}

.play-button:hover {
  transform: scale(1.04);
  background: var(--surface-2);
}

.play-button span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
}

.film-frame.is-playing .play-button span {
  width: 12px;
  height: 14px;
  margin-left: 0;
  border: 0;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}

.film-frame.is-playing .film-block-a { transform: translate(10%, 6%); }
.film-frame.is-playing .film-block-b { transform: translate(-8%, -8%); opacity: 0.74; }
.film-frame.is-playing .film-block-c { transform: translate(-6%, 9%); }
.film-frame.is-playing .film-block-d { transform: translate(8%, -10%); opacity: 0.65; }

.film-controls {
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}

.film-controls > i {
  height: 2px;
  overflow: hidden;
  background: var(--navy-700);
}

.film-controls b {
  width: 0;
  height: 100%;
  display: block;
  background: var(--surface-2);
  transition: width 1200ms linear;
}

.film-frame.is-playing .film-controls b {
  width: 36%;
}

.section {
  padding-block: clamp(78px, 10vw, 124px);
}

.section-bordered {
  border-top: 1px solid var(--line);
}

.soft-section {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-intro {
  max-width: 740px;
}

.section-intro > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 17px;
}

.section-intro .button {
  margin-top: 25px;
}

.steps {
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.steps li {
  min-height: 246px;
  padding: 24px 20px;
  background: var(--surface);
}

.step-number {
  width: 34px;
  height: 34px;
  margin-bottom: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
}

.steps p {
  margin-bottom: 0;
  font-size: 14px;
}

.community-section {
  background: var(--navy-950);
  color: var(--white-on-navy);
}

.community-section .eyebrow,
.community-section p {
  color: var(--blue-gray);
}

.community-heading {
  margin-bottom: 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.community-heading .button {
  flex: 0 0 auto;
}

.community-browser {
  overflow: hidden;
  border: 1px solid var(--navy-700);
  border-radius: 11px;
  background: var(--navy-900);
}

.browser-toolbar {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--navy-700);
}

.browser-search,
.browser-filter {
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--navy-700);
  border-radius: 7px;
  color: var(--blue-gray);
  font-size: 13px;
}

.browser-search {
  flex: 1;
}

.plugin-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plugin-card {
  overflow: hidden;
  border: 1px solid var(--navy-700);
  border-radius: 9px;
  background: var(--navy-900);
}

.plugin-preview {
  aspect-ratio: 16 / 10;
  padding: 18px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--navy-700);
  background: var(--navy-800);
}

.plugin-panel {
  width: 68%;
  height: 74%;
  padding: 12px;
  border: 1px solid var(--navy-700);
  background: var(--navy-900);
}

.plugin-panel-wide { width: 82%; height: 62%; }
.plugin-panel-compact { width: 58%; height: 82%; }

.plugin-panel i {
  width: 100%;
  height: 7px;
  margin-bottom: 8px;
  display: block;
  background: var(--navy-700);
}

.plugin-panel span {
  width: 50%;
  height: 24px;
  margin: 14px 0 0 auto;
  display: block;
  background: var(--surface-2);
}

.plugin-card-body {
  padding: 17px;
}

.plugin-card-body p {
  margin-bottom: 14px;
  font-size: 14px;
}

.plugin-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.plugin-meta span {
  padding: 4px 8px;
  border: 1px solid var(--navy-700);
  border-radius: 999px;
  color: var(--blue-gray);
  font-size: 11px;
}

.requirements-layout,
.offer-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(48px, 8vw, 108px);
  align-items: start;
}

.requirements-list {
  border-top: 1px solid var(--line);
}

.requirements-list article {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.requirement-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--page);
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.requirements-list h3,
.requirements-list p {
  margin-bottom: 0;
}

.requirements-list p {
  font-size: 14px;
}

.offer-layout {
  align-items: center;
}

.offer-card {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--navy-700);
  border-radius: 11px;
  background: var(--navy-900);
  color: var(--white-on-navy);
}

.offer-card .eyebrow,
.offer-card p,
.offer-card li {
  color: var(--blue-gray);
}

.offer-price {
  margin-bottom: 26px;
  padding-bottom: 26px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--navy-700);
}

.offer-price strong {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 530;
  letter-spacing: -0.045em;
}

.offer-price span {
  color: var(--blue-gray);
  font-size: 13px;
}

.offer-includes {
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.offer-includes li {
  position: relative;
  padding-left: 31px;
  font-size: 14px;
  line-height: 1.45;
}

.offer-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white-on-navy);
  font-size: 11px;
}

.offer-note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-more {
  margin-top: 20px;
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--navy-950);
  font-weight: 570;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--muted);
  font-size: 22px;
  font-weight: 400;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: -5px 50px 22px 0;
  font-size: 14px;
}

.final-cta {
  padding-block: clamp(92px, 13vw, 154px);
  background: var(--navy-950);
  color: var(--white-on-navy);
  text-align: center;
}

.final-cta .eyebrow,
.final-cta p {
  color: var(--blue-gray);
}

.final-cta h2 {
  max-width: 780px;
  margin-inline: auto;
}

.final-cta p:not(.eyebrow) {
  max-width: 610px;
  margin: 0 auto 30px;
  font-size: 17px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--page);
}

.footer-grid {
  padding-block: 48px;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 32px;
}

.footer-grid strong {
  margin-bottom: 13px;
  display: block;
  font-size: 14px;
  font-weight: 620;
}

.footer-grid a,
.footer-grid span,
.footer-bottom {
  color: var(--muted);
  font-size: 13px;
}

.footer-grid a {
  width: fit-content;
  margin-bottom: 9px;
  display: block;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--navy-950);
}

.footer-brand span {
  display: block;
}

.footer-brand > strong {
  width: 132px;
  height: 28px;
  overflow: hidden;
  background: url("./assets/brand/pluginos-lockup-navy.svg") left center / contain no-repeat;
  color: transparent;
  font-size: 0;
}

.footer-bottom {
  padding-block: 18px 28px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  padding-block: clamp(76px, 10vw, 126px) clamp(58px, 8vw, 88px);
  border-bottom: 1px solid var(--line);
}

.page-hero-copy {
  max-width: 860px;
}

.page-hero h1 {
  max-width: 830px;
}

.page-hero .hero-summary {
  margin-left: 0;
  margin-bottom: 0;
  text-wrap: pretty;
}

.page-section {
  padding-block: clamp(62px, 8vw, 96px);
}

.page-section-first {
  padding-top: clamp(44px, 6vw, 72px);
}

.content-heading h1 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.98;
}

.page-section + .page-section {
  border-top: 1px solid var(--line);
}

.page-section-dark {
  background: var(--navy-950);
  color: var(--white-on-navy);
}

.page-section-dark .eyebrow,
.page-section-dark p {
  color: var(--blue-gray);
}

.page-heading-row {
  margin-bottom: 36px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.page-heading-row .section-intro {
  max-width: 700px;
}

.changelog-section {
  padding-top: clamp(44px, 6vw, 72px);
}

.changelog-layout {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.changelog-index {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  display: grid;
  gap: 14px;
}

.changelog-intro {
  margin-bottom: clamp(34px, 5vw, 52px);
}

.changelog-intro h1 {
  margin-bottom: 20px;
}

.changelog-intro p:last-child {
  margin-bottom: 0;
}

.changelog-index > a {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 2px;
}

.changelog-index > a span {
  color: var(--muted);
  font-size: 13px;
}

.release-list {
  min-width: 0;
}

.release-entry {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.release-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.release-header h2 {
  margin-top: 8px;
}

.release-anchor {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 650;
}

.release-anchor:hover {
  border-color: var(--blue-gray);
  color: var(--navy-950);
}

.release-summary {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--navy-800);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.release-group {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.release-group h3 {
  margin: 0 0 15px;
  font-size: 20px;
}

.release-group ul {
  margin: 0;
  padding-left: 21px;
  color: var(--muted);
}

.release-group li + li {
  margin-top: 10px;
}

.release-note {
  margin-top: 38px;
  padding: 20px;
  border-radius: 9px;
  background: var(--surface-2);
}

.release-note strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.release-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.platform-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.platform-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--navy-900);
}

.platform-icon svg {
  width: 22px;
  height: 22px;
}

.platform-copy h3 {
  margin-bottom: 4px;
}

.platform-version {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}

.platform-action {
  width: 100%;
  text-align: center;
}

.platform-next {
  margin-top: 18px;
}

@media (max-width: 640px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}

.status-panel {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.status-panel h2,
.status-panel h3 {
  margin-bottom: 12px;
}

.status-panel p:last-child {
  margin-bottom: 0;
}

.status-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-label-live {
  background: var(--navy-900);
  color: var(--white-on-navy);
}

.catalog-controls {
  margin-bottom: 24px;
  padding-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--page);
  color: var(--navy-950);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--navy-700);
  outline-offset: 2px;
  border-color: var(--navy-700);
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.catalog-status {
  min-height: 22px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.catalog-card {
  min-height: 260px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.catalog-card-top {
  margin-bottom: 42px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.catalog-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--navy-900);
  color: var(--white-on-navy);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.catalog-version {
  color: var(--muted);
  font-size: 11px;
}

.catalog-card h3 {
  word-break: break-word;
}

.catalog-card p {
  margin-bottom: 22px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.catalog-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.catalog-host {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}

.setup-grid,
.learn-grid,
.application-layout,
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(44px, 8vw, 104px);
  align-items: start;
}

.setup-list,
.learn-list {
  border-top: 1px solid var(--line);
}

.setup-list article,
.learn-list article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.setup-list h3,
.learn-list h3 {
  margin-bottom: 8px;
}

.setup-list p,
.learn-list p {
  margin-bottom: 0;
  font-size: 14px;
}

.application-section {
  padding-top: clamp(52px, 7vw, 86px);
}

.application-layout {
  display: block;
}

.application-form {
  width: min(100%, 860px);
  margin-inline: auto;
  display: grid;
  gap: 16px;
}

.application-form-head,
.form-section {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.application-form-head {
  padding: clamp(24px, 4vw, 34px);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.application-form-head .status-label {
  margin-bottom: 14px;
  background: var(--navy-900);
  color: var(--white-on-navy);
}

.application-form-head h1 {
  margin-bottom: 9px;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.application-form-head .application-intro {
  max-width: 650px;
  margin-bottom: 12px;
  font-size: 15px;
}

.application-form-head p:last-child {
  margin: 0;
  font-size: 13px;
}

.form-time {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.form-section {
  padding: clamp(24px, 4vw, 34px);
  display: grid;
  gap: 25px;
}

.form-section-header {
  padding-bottom: 22px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.form-section-number {
  width: 38px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--navy-900);
  color: var(--white-on-navy);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.form-section-header h3 {
  margin-bottom: 5px;
  font-size: 20px;
}

.form-section-header p {
  margin: 0;
  font-size: 13px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field label,
.choice-field legend {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.optional {
  margin-left: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 450;
}

.field-hint,
.field-meta,
.legend-hint {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.field-meta .field-hint {
  max-width: 460px;
}

.choice-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-field legend {
  width: 100%;
  margin-bottom: 11px;
  padding: 0;
}

.legend-hint {
  margin: -3px 0 12px;
}

.choice-grid {
  display: grid;
  gap: 9px;
}

.choice-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice {
  min-height: 58px;
  padding: 12px 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--page);
  color: var(--navy-900);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.choice:hover {
  border-color: var(--blue-gray);
  background: color-mix(in srgb, var(--page) 68%, var(--surface-2));
}

.choice:has(input:checked) {
  border-color: var(--navy-700);
  background: color-mix(in srgb, var(--page) 72%, var(--surface-2));
}

.choice:focus-within {
  outline: 2px solid var(--navy-700);
  outline-offset: 2px;
}

.choice input,
.consent-choice input {
  flex: 0 0 auto;
  margin: 3px 0 0;
  accent-color: var(--navy-800);
}

.choice span {
  min-width: 0;
  display: grid;
  gap: 2px;
  font-size: 13px;
}

.choice strong {
  font-weight: 600;
}

.choice small {
  color: var(--muted);
  font-size: 10px;
}

.compact-choices .choice {
  min-height: 46px;
  align-items: center;
}

.compact-choices .choice input {
  margin-top: 0;
}

.access-choices {
  grid-template-columns: 1fr;
}

.access-choices .choice {
  min-height: 46px;
  align-items: center;
}

.conditional-fields {
  padding: 20px;
  display: grid;
  gap: 20px;
  border-left: 3px solid var(--navy-700);
  border-radius: 0 7px 7px 0;
  background: var(--surface-2);
}

.conditional-fields[hidden] {
  display: none;
}

.form-consent {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white-on-navy);
}

.form-consent .form-section-header {
  border-color: color-mix(in srgb, var(--white-on-navy) 20%, transparent);
}

.form-consent .form-section-number {
  background: var(--white-on-navy);
  color: var(--navy-950);
}

.form-consent h3,
.form-consent .form-section-header p,
.form-consent .form-note {
  color: var(--white-on-navy);
}

.consent-choice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--white-on-navy);
  font-size: 13px;
  cursor: pointer;
}

.consent-choice input {
  accent-color: var(--white-on-navy);
}

.consent-choice .optional {
  color: var(--blue-gray);
}

.form-consent .button-primary {
  background: var(--white-on-navy);
  border-color: var(--white-on-navy);
  color: var(--navy-950);
}

.form-consent .button-primary:hover {
  background: var(--surface-2);
  border-color: var(--surface-2);
}

.form-note {
  margin: 0;
  font-size: 12px;
}

.form-feedback {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid color-mix(in srgb, var(--white-on-navy) 24%, transparent);
  border-radius: 7px;
  color: var(--white-on-navy);
  font-size: 13px;
}

.form-feedback[hidden] {
  display: none;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.application-form.was-validated :is(input, select, textarea):invalid:not([type="checkbox"]):not([type="radio"]) {
  border-color: #9e3434;
}

.document-shell {
  width: min(calc(100% - 40px), 920px);
  margin-inline: auto;
}

.document-section {
  padding-block: clamp(58px, 8vw, 88px);
  border-bottom: 1px solid var(--line);
}

.document-section-first {
  padding-top: clamp(44px, 6vw, 72px);
}

.document-intro {
  margin-bottom: clamp(38px, 5vw, 52px);
  padding-bottom: clamp(34px, 5vw, 46px);
  border-bottom: 1px solid var(--line);
}

.document-intro p:last-child {
  margin-bottom: 0;
}

.document-section:last-child {
  border-bottom: 0;
}

.document-section h2 {
  max-width: 720px;
}

.document-section h3 {
  margin-top: 30px;
}

.document-section p,
.document-section li {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.document-section li + li {
  margin-top: 8px;
}

.placeholder-warning {
  margin-bottom: 34px;
  padding: 16px 18px;
  border-left: 3px solid var(--navy-700);
  background: var(--surface-2);
  color: var(--navy-950);
  font-size: 14px;
}

.back-link {
  width: fit-content;
  margin-bottom: 28px;
  display: inline-flex;
  color: var(--muted);
  font-size: 13px;
}

.back-link:hover {
  color: var(--navy-950);
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps li:last-child {
    grid-column: 1 / -1;
  }

  .community-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .requirements-layout,
  .offer-layout,
  .faq-layout,
  .setup-grid,
  .learn-grid,
  .application-layout,
  .account-layout,
  .changelog-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .changelog-index {
    position: static;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .requirements-layout .section-intro,
  .offer-layout .section-intro,
  .faq-layout .section-intro {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .desktop-only,
  .desktop-apply {
    display: none;
  }

  h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 47px);
  }

  .hero {
    padding-top: 70px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-summary {
    margin-left: 0;
    text-wrap: pretty;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .film-frame {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .film-topline span:last-child {
    display: none;
  }

  .film-block-a { width: 52%; height: 38%; left: 6%; top: 9%; }
  .film-block-b { width: 39%; height: 30%; left: 10%; bottom: 13%; }
  .film-block-c { width: 34%; height: 50%; right: 6%; top: 17%; }
  .film-block-d { width: 29%; height: 17%; right: 10%; bottom: 7%; }

  .steps,
  .plugin-grid {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li:last-child {
    min-height: 0;
    grid-column: auto;
  }

  .step-number {
    margin-bottom: 28px;
  }

  .browser-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .plugin-grid {
    padding: 14px;
    gap: 14px;
  }

  .page-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-controls,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-card {
    min-height: 240px;
  }

  .application-form-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid-two,
  .choice-grid-two,
  .choice-grid-three {
    grid-template-columns: 1fr;
  }

  .choice {
    min-height: 48px;
  }

  .field-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .document-shell {
    width: min(calc(100% - 32px), 920px);
  }

  .offer-price {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .hero-actions .button,
  .community-heading .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
