:root {
  --ink: #151515;
  --ink-soft: #30302e;
  --paper: #ffffff;
  --canvas: #f5f5f1;
  --canvas-strong: #ecece6;
  --muted: #6b6b65;
  --line: #deded7;
  --line-dark: #343432;
  --brand: #ffb52e;
  --brand-strong: #f59b1a;
  --brand-soft: #fff1cf;
  --green: #3aa979;
  --blue: #4d7ff0;
  --danger: #e6655e;
  --shadow-sm: 0 8px 24px rgba(21, 21, 21, 0.06);
  --shadow-lg: 0 30px 70px rgba(21, 21, 21, 0.14);
  --radius: 8px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

img,
svg {
  display: block;
}

figure {
  margin: 0;
}

img {
  max-width: 100%;
}

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

h1,
h2,
h3,
.button,
.brand,
.eyebrow,
.nav-link,
.section-kicker {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  line-height: 1.16;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #245fd8;
  outline-offset: 3px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(21, 21, 21, 0.045);
}

.scroll-progress {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 18px;
  font-weight: 900;
}

.brand-logo {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 100%;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-inline: 16px;
  color: #575752;
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease;
}

.nav-link::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 10px 26px rgba(245, 155, 26, 0.24);
}

.button-primary:hover {
  background: #ffc044;
  border-color: #ffc044;
  box-shadow: 0 14px 32px rgba(245, 155, 26, 0.3);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 10px 24px rgba(21, 21, 21, 0.16);
}

.button-dark:hover {
  background: #292927;
  border-color: #292927;
}

.button-secondary {
  color: var(--ink);
  background: var(--paper);
  border-color: #cfcfc8;
}

.button-secondary:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.button-small {
  min-height: 40px;
  padding-inline: 15px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
  place-items: center;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 49;
  padding: 20px 24px 32px;
  overflow-y: auto;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-inner {
  display: grid;
  gap: 4px;
  width: min(100%, 560px);
  margin-inline: auto;
}

.mobile-nav a:not(.button) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 800;
}

.mobile-nav a[aria-current="page"] {
  color: #9a5f08;
}

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

main {
  overflow: clip;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 72px));
  padding: calc(var(--header-height) + 72px) 0 70px;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: var(--header-height) 0 auto;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 24px;
  height: 3px;
  background: var(--brand);
  content: "";
}

.hero h1 {
  margin-bottom: 24px;
  font-size: 64px;
  font-weight: 950;
}

.hero-title-line {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 39px;
  font-weight: 760;
}

.hero-lead {
  max-width: 510px;
  margin-bottom: 30px;
  color: #5a5a55;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.compatibility {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.compatibility li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.compatibility .icon {
  width: 16px;
  height: 16px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}

.hero-watermark {
  position: absolute;
  top: -46px;
  right: -80px;
  width: 236px;
  height: 236px;
  opacity: 0.07;
  filter: grayscale(1);
  transform: rotate(-8deg);
}

.product-preview {
  --preview-x: 0deg;
  --preview-y: 0deg;
  position: relative;
  z-index: 2;
  min-height: 520px;
  overflow: hidden;
  background: #1d1d1b;
  border: 1px solid #080808;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: rotateX(var(--preview-x)) rotateY(var(--preview-y));
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.window-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 42px;
  padding-inline: 14px;
  color: #aaa9a1;
  background: #252523;
  border-bottom: 1px solid #353532;
  font-size: 11px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  background: #77766f;
  border-radius: 50%;
}

.window-dots i:first-child {
  background: var(--danger);
}

.window-dots i:nth-child(2) {
  background: var(--brand);
}

.window-dots i:last-child {
  background: var(--green);
}

.window-title {
  justify-self: center;
}

.window-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.window-status::before {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

.app-view {
  display: grid;
  grid-template-columns: 64px 1fr;
  min-height: 478px;
}

.app-rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  padding: 16px 10px;
  background: #181816;
  border-right: 1px solid #333330;
}

.app-mark {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #272724;
  border-radius: 7px;
  place-items: center;
}

.app-mark img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.rail-item {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #7f7f78;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  place-items: center;
  transition: color 160ms ease, background-color 160ms ease;
}

.rail-item:hover,
.rail-item.is-active {
  color: var(--brand);
  background: #2b2b28;
}

.rail-item .icon {
  width: 18px;
  height: 18px;
}

.rail-spacer {
  flex: 1;
}

.app-main {
  min-width: 0;
  padding: 20px 22px 22px;
  color: #f5f5ee;
  background: #20201e;
}

.app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.app-search {
  display: flex;
  align-items: center;
  width: min(260px, 60%);
  height: 34px;
  gap: 8px;
  padding-inline: 11px;
  color: #8f8e87;
  background: #2b2b28;
  border: 1px solid #363633;
  border-radius: 5px;
  font-size: 11px;
}

.app-search .icon {
  width: 14px;
  height: 14px;
}

.app-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: var(--brand);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  place-items: center;
}

.app-greeting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.app-greeting h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.app-greeting p {
  margin: 0;
  color: #9b9a92;
  font-size: 11px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  gap: 6px;
  padding-inline: 10px;
  color: #c9f1dc;
  background: rgba(58, 169, 121, 0.13);
  border: 1px solid rgba(58, 169, 121, 0.34);
  border-radius: 4px;
  font-size: 10px;
}

.status-chip .icon {
  width: 13px;
  height: 13px;
}

.app-banner {
  display: grid;
  grid-template-columns: 1fr 114px;
  min-height: 124px;
  margin-bottom: 20px;
  overflow: hidden;
  background: var(--brand);
  border-radius: 6px;
}

.app-banner-copy {
  padding: 18px;
  color: var(--ink);
}

.app-banner-copy span {
  font-size: 10px;
  font-weight: 800;
}

.app-banner-copy strong {
  display: block;
  max-width: 240px;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.app-banner-art {
  position: relative;
  display: grid;
  overflow: hidden;
  background: #f4a11c;
  place-items: center;
}

.app-banner-art::before,
.app-banner-art::after {
  position: absolute;
  width: 86px;
  height: 86px;
  border: 10px solid rgba(21, 21, 21, 0.15);
  border-radius: 50%;
  content: "";
}

.app-banner-art::after {
  width: 44px;
  height: 44px;
  border-width: 7px;
}

.app-banner-art img {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
}

.app-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #d8d8d0;
  font-size: 11px;
  font-weight: 800;
}

.app-section-title span:last-child {
  color: var(--brand);
  font-size: 9px;
  font-weight: 600;
}

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

.resource-tile {
  min-width: 0;
  padding: 11px;
  background: #2a2a27;
  border: 1px solid #353532;
  border-radius: 5px;
}

.resource-art {
  display: grid;
  height: 57px;
  margin-bottom: 9px;
  color: var(--paper);
  background: #353531;
  border-radius: 4px;
  place-items: center;
}

.resource-tile:nth-child(2) .resource-art {
  color: #dfe8ff;
  background: #31405f;
}

.resource-tile:nth-child(3) .resource-art {
  color: #d5f4e4;
  background: #2d4b40;
}

.resource-art .icon {
  width: 25px;
  height: 25px;
}

.resource-tile strong,
.resource-tile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-tile strong {
  color: #e9e9e2;
  font-size: 10px;
}

.resource-tile small {
  margin-top: 3px;
  color: #8e8d86;
  font-size: 8px;
}

.floating-label {
  position: absolute;
  right: -22px;
  bottom: 34px;
  z-index: 4;
  display: flex;
  align-items: center;
  min-width: 180px;
  gap: 10px;
  padding: 13px 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 750;
}

.floating-label-icon {
  display: grid;
  width: 30px;
  height: 30px;
  color: var(--ink);
  background: var(--brand-soft);
  border-radius: 5px;
  place-items: center;
}

.floating-label-icon .icon {
  width: 16px;
  height: 16px;
}

.brand-band {
  background: var(--ink);
  border-bottom: 1px solid #292927;
}

.brand-band-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 94px;
  gap: 44px;
  color: #9e9e97;
}

.brand-band strong {
  color: var(--paper);
  font-size: 14px;
}

.brand-band-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-band-list li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
}

.brand-band-list .icon {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.section {
  padding: 112px 0;
}

.section-soft {
  background: var(--canvas);
  border-block: 1px solid var(--line);
}

.section-dark {
  color: var(--paper);
  background: var(--ink);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.section-header > div:first-child {
  max-width: 660px;
}

.section-header h2,
.feature-copy h2,
.faq-intro h2 {
  margin-bottom: 0;
  font-size: 44px;
  font-weight: 900;
}

.section-header p {
  max-width: 430px;
  margin-bottom: 3px;
  color: var(--muted);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(540px, 1.24fr);
  align-items: center;
  gap: 92px;
}

.feature-copy > p {
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list-icon {
  display: grid;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: var(--brand-soft);
  border-radius: 5px;
  place-items: center;
}

.feature-list-icon .icon {
  width: 18px;
  height: 18px;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 3px;
  font-size: 16px;
}

.feature-list span {
  color: var(--muted);
  font-size: 13px;
}

.library-panel {
  position: relative;
  min-height: 500px;
  padding: 28px;
  overflow: hidden;
  color: #ededeb;
  background: #20201e;
  border: 1px solid #131312;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.library-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.library-top strong {
  font-size: 15px;
}

.library-filter {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #2b2b28;
  border: 1px solid #3a3a36;
  border-radius: 5px;
}

.library-filter span {
  padding: 5px 10px;
  color: #8f8f88;
  border-radius: 3px;
  font-size: 9px;
}

.library-filter span:first-child {
  color: var(--ink);
  background: var(--brand);
}

.library-items {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.resource-search-result {
  margin: 0 0 12px;
  padding: 10px 12px;
  color: #d8d8d0;
  background: #292927;
  border: 1px solid #3a3a36;
  border-radius: 5px;
  font-size: 11px;
}

.library-item[hidden] {
  display: none;
}

.library-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 10px 13px;
  background: #292927;
  border: 1px solid #383834;
  border-radius: 5px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.library-item:hover {
  border-color: #57574f;
  transform: translateX(4px);
}

.library-item-icon {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--brand);
  background: #353531;
  border-radius: 4px;
  place-items: center;
}

.library-item:nth-child(2) .library-item-icon {
  color: #b7c9ff;
  background: #344263;
}

.library-item:nth-child(3) .library-item-icon {
  color: #b8ead1;
  background: #304c42;
}

.library-item:nth-child(4) .library-item-icon {
  color: #f1c0bc;
  background: #573b39;
}

.library-item strong,
.library-item small {
  display: block;
}

.library-item strong {
  font-size: 12px;
}

.library-item small {
  margin-top: 2px;
  color: #8f8f88;
  font-size: 9px;
}

.library-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #b7e9d0;
  font-size: 9px;
}

.library-state::before {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

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

.pillar {
  min-height: 285px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pillar:hover {
  border-color: #c1c1b9;
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.pillar-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 66px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pillar-index .icon {
  width: 23px;
  height: 23px;
  color: var(--brand-strong);
}

.pillar h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

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

.metric-band {
  color: var(--paper);
  background: var(--ink);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 188px;
}

.metric {
  display: grid;
  align-content: center;
  padding: 32px 44px;
  border-left: 1px solid var(--line-dark);
}

.metric:last-child {
  border-right: 1px solid var(--line-dark);
}

.metric strong {
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 26px;
}

.metric span {
  color: #a8a8a1;
  font-size: 13px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.step {
  position: relative;
  min-height: 250px;
  padding: 82px 34px 28px 0;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.step:not(:last-child)::after {
  position: absolute;
  top: -4px;
  right: 30px;
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
  content: "";
}

.step::before {
  position: absolute;
  top: 18px;
  left: 0;
  color: var(--brand-strong);
  content: "0" counter(step);
  font-size: 13px;
  font-weight: 900;
}

.step-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  color: var(--ink);
  background: var(--brand-soft);
  border-radius: 6px;
  place-items: center;
}

.step-icon .icon {
  width: 21px;
  height: 21px;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.step p {
  max-width: 225px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(560px, 1.32fr);
  gap: 90px;
}

.faq-intro p {
  max-width: 370px;
  margin: 22px 0 28px;
  color: var(--muted);
}

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

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

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  min-height: 82px;
  gap: 18px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 820;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  display: grid;
  width: 28px;
  height: 28px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  place-items: center;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.faq-toggle .icon {
  width: 15px;
  height: 15px;
}

details[open] .faq-toggle {
  color: var(--ink);
  background: var(--brand);
  border-color: var(--brand);
  transform: rotate(180deg);
}

.faq-answer {
  max-width: 690px;
  padding: 0 44px 24px 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  padding: 72px 0;
  color: var(--paper);
  background: var(--ink);
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: 36px;
}

.cta-band p {
  margin: 0;
  color: #a3a39c;
}

.site-footer {
  padding: 46px 0 32px;
  background: var(--canvas);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding-bottom: 36px;
}

.footer-brand p {
  max-width: 390px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 46px;
}

.footer-column strong,
.footer-column a {
  display: block;
}

.footer-column strong {
  margin-bottom: 13px;
  font-size: 13px;
}

.footer-column a {
  padding-block: 5px;
  color: var(--muted);
  font-size: 12px;
}

.footer-column a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: #62625d;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

/* Secondary pages */
.subhero {
  padding: calc(var(--header-height) + 82px) 0 78px;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs .icon {
  width: 13px;
  height: 13px;
}

.subhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  align-items: end;
  gap: 76px;
}

.subhero h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: 54px;
  font-weight: 930;
}

.subhero-copy > p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.subhero-aside {
  padding-left: 28px;
  border-left: 3px solid var(--brand);
}

.subhero-aside span,
.subhero-aside strong {
  display: block;
}

.subhero-aside span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.subhero-aside strong {
  font-size: 18px;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  align-items: start;
  gap: 28px;
}

.download-console {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.download-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
}

.download-console-head strong {
  font-size: 18px;
}

.version-badge {
  padding: 5px 9px;
  color: #276c50;
  background: #e8f6ef;
  border: 1px solid #c9ead9;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.os-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 24px 26px 0;
  padding: 4px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.os-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  padding-inline: 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.os-tab.is-active {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 3px 12px rgba(21, 21, 21, 0.08);
}

.download-console-body {
  padding: 30px 26px 28px;
}

.download-product {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.download-logo {
  display: grid;
  width: 74px;
  height: 74px;
  background: var(--ink);
  border-radius: 8px;
  place-items: center;
}

.download-logo img {
  width: 57px;
  height: 57px;
}

.download-product h2 {
  margin-bottom: 5px;
  font-size: 24px;
}

.download-product p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.download-hint {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  margin: 18px 0 0;
  padding: 14px;
  color: #5e5849;
  background: #fff7e2;
  border: 1px solid #f2dcaa;
  border-radius: 5px;
  font-size: 12px;
}

.download-hint .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--brand-strong);
}

.download-side {
  display: grid;
  gap: 18px;
}

.info-panel {
  padding: 24px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-panel h3 {
  margin-bottom: 18px;
  font-size: 16px;
}

.info-panel-copy {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.info-list span {
  color: var(--muted);
}

.info-list strong {
  text-align: right;
}

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

.check-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-item .icon {
  width: 24px;
  height: 24px;
  margin-bottom: 34px;
  color: var(--brand-strong);
}

.check-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.check-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.install-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 80px;
}

.install-toc {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 22px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.install-toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
}

.install-toc a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
}

.install-toc a:hover {
  color: var(--ink);
}

.install-toc a::before {
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: 50%;
  content: "";
}

.install-content {
  min-width: 0;
}

.install-step {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 28px;
  padding: 0 0 70px;
}

.install-step:last-child {
  padding-bottom: 0;
}

.install-step-number {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  color: var(--ink);
  background: var(--brand);
  border-radius: 7px;
  font-size: 16px;
  font-weight: 900;
  place-items: center;
}

.install-step:not(:last-child)::before {
  position: absolute;
  top: 66px;
  bottom: 12px;
  left: 26px;
  width: 1px;
  background: var(--line);
  content: "";
}

.install-step h2 {
  margin: 4px 0 12px;
  font-size: 28px;
}

.install-step-copy > p {
  max-width: 740px;
  margin-bottom: 20px;
  color: var(--muted);
}

.step-box {
  padding: 20px;
  background: var(--canvas);
  border-left: 3px solid var(--brand);
  border-radius: 0 6px 6px 0;
}

.step-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.step-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.language-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 80px;
}

.language-intro h2 {
  margin-bottom: 20px;
  font-size: 38px;
}

.language-intro p {
  color: var(--muted);
}

.language-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 11px;
  color: #356e54;
  background: #e9f6ef;
  border: 1px solid #cbe9da;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.feature-table {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 44px 170px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.feature-row-icon {
  display: grid;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: var(--brand-soft);
  border-radius: 5px;
  place-items: center;
}

.feature-row-icon .icon {
  width: 17px;
  height: 17px;
}

.feature-row strong {
  font-size: 14px;
}

.feature-row span {
  color: var(--muted);
  font-size: 13px;
}

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

.scenario {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  min-height: 150px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scenario .icon {
  width: 26px;
  height: 26px;
  color: var(--brand-strong);
}

.scenario h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.scenario p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.delay-1 {
  transition-delay: 80ms !important;
}

.delay-2 {
  transition-delay: 160ms !important;
}

.delay-3 {
  transition-delay: 240ms !important;
}

@media (max-width: 1120px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
    gap: 36px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-title-line {
    font-size: 33px;
  }

  .feature-layout {
    gap: 54px;
  }

  .faq-layout {
    gap: 54px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 66px;
  }

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

  .desktop-nav,
  .js .header-actions .button {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .js .menu-toggle {
    display: grid;
  }

  .hero {
    padding: calc(var(--header-height) + 62px) 0 60px;
  }

  .hero-inner,
  .feature-layout,
  .faq-layout,
  .download-layout,
  .language-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 60px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-visual {
    width: min(100%, 680px);
  }

  .brand-band-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 24px;
  }

  .brand-band-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 88px 0;
  }

  .feature-layout,
  .faq-layout,
  .language-layout {
    gap: 52px;
  }

  .feature-copy {
    max-width: 680px;
  }

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

  .pillar {
    min-height: 220px;
  }

  .pillar-index {
    margin-bottom: 40px;
  }

  .metric {
    padding-inline: 24px;
  }

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

  .subhero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .subhero-aside {
    max-width: 560px;
  }

  .download-layout {
    gap: 20px;
  }

  .install-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(560px, calc(100% - 28px));
  }

  .brand-logo {
    width: 31px;
    height: 31px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 40px) 0 48px;
  }

  .hero-inner {
    gap: 32px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-title-line {
    margin-top: 10px;
    font-size: 29px;
  }

  .hero-lead,
  .subhero-copy > p {
    font-size: 15px;
  }

  .hero-actions .button {
    min-width: min(100%, 220px);
  }

  .product-preview {
    height: 260px;
    min-height: 260px;
  }

  .app-view {
    grid-template-columns: 52px 1fr;
    min-height: 218px;
  }

  .app-rail {
    padding-inline: 7px;
  }

  .app-mark,
  .rail-item {
    width: 34px;
    height: 34px;
  }

  .app-main {
    padding: 15px;
  }

  .app-toolbar {
    margin-bottom: 14px;
  }

  .app-greeting {
    margin-bottom: 12px;
  }

  .app-banner {
    grid-template-columns: 1fr 86px;
    min-height: 90px;
    margin-bottom: 0;
  }

  .app-banner-copy strong {
    font-size: 15px;
  }

  .app-section-title,
  .resource-grid {
    display: none;
  }

  .floating-label {
    right: 12px;
    bottom: -22px;
  }

  .hero-watermark {
    right: -54px;
    width: 180px;
    height: 180px;
  }

  .brand-band-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    display: grid;
    gap: 18px;
    margin-bottom: 38px;
  }

  .section-header h2,
  .feature-copy h2,
  .faq-intro h2,
  .language-intro h2 {
    font-size: 34px;
  }

  .library-panel {
    min-height: auto;
    padding: 18px;
  }

  .library-item {
    grid-template-columns: 42px 1fr;
  }

  .library-state {
    display: none;
  }

  .pillar {
    padding: 22px;
  }

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

  .metric {
    min-height: 126px;
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
  }

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

  .step {
    min-height: auto;
    padding-bottom: 48px;
  }

  .step:not(:last-child)::after {
    right: 0;
  }

  .cta-band-inner,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .cta-band h2 {
    font-size: 30px;
  }

  .footer-main {
    gap: 38px;
  }

  .footer-links {
    gap: 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .subhero {
    padding: calc(var(--header-height) + 54px) 0 58px;
  }

  .subhero h1 {
    font-size: 40px;
  }

  .download-console-head,
  .download-console-body {
    padding-inline: 18px;
  }

  .os-tabs {
    margin-inline: 18px;
  }

  .download-product {
    grid-template-columns: 60px 1fr;
  }

  .download-logo {
    width: 60px;
    height: 60px;
  }

  .download-logo img {
    width: 46px;
    height: 46px;
  }

  .checks-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .install-layout {
    grid-template-columns: 1fr;
  }

  .install-toc {
    position: static;
  }

  .install-step {
    grid-template-columns: 52px 1fr;
    gap: 18px;
  }

  .install-step-number {
    width: 46px;
    height: 46px;
  }

  .install-step:not(:last-child)::before {
    top: 58px;
    left: 22px;
  }

  .install-step h2 {
    font-size: 23px;
  }

  .feature-row {
    grid-template-columns: 40px 1fr;
    padding-block: 16px;
  }

  .feature-row > span:last-child {
    grid-column: 2;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 37px;
  }

  .hero-title-line {
    font-size: 25px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button-secondary,
  .compatibility {
    display: none;
  }

  .hero-actions .button,
  .download-console-body .button {
    width: 100%;
  }

  .compatibility {
    display: grid;
    gap: 9px;
  }

  .app-greeting {
    grid-template-columns: 1fr;
  }

  .status-chip {
    display: none;
  }

  .app-banner {
    grid-template-columns: 1fr;
  }

  .app-banner-art {
    display: none;
  }

  .section-header h2,
  .feature-copy h2,
  .faq-intro h2,
  .language-intro h2 {
    font-size: 30px;
  }

  .subhero h1 {
    font-size: 35px;
  }

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

@media (max-width: 700px) and (max-height: 720px) {
  .hero {
    padding: calc(var(--header-height) + 20px) 0 22px;
  }

  .hero-inner {
    gap: 16px;
  }

  .hero .eyebrow,
  .hero .compatibility,
  .hero-actions .button-secondary,
  .hero-watermark,
  .floating-label {
    display: none;
  }

  .hero h1 {
    margin-bottom: 10px;
    font-size: 34px;
  }

  .hero-title-line {
    margin-top: 4px;
    font-size: 23px;
  }

  .hero-lead {
    display: -webkit-box;
    margin-bottom: 14px;
    overflow: hidden;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-preview {
    height: 120px;
    min-height: 120px;
  }

  .window-bar {
    height: 28px;
  }

  .app-view {
    grid-template-columns: 42px 1fr;
    min-height: 92px;
  }

  .app-rail {
    gap: 4px;
    padding: 5px;
  }

  .app-mark {
    width: 30px;
    height: 30px;
    margin-bottom: 0;
  }

  .app-mark img {
    width: 23px;
    height: 23px;
  }

  .rail-item,
  .app-toolbar,
  .app-banner,
  .status-chip {
    display: none;
  }

  .app-main {
    display: grid;
    align-content: center;
    padding: 10px 12px;
  }

  .app-greeting {
    margin: 0;
  }

  .app-greeting h2 {
    margin-bottom: 3px;
    font-size: 16px;
  }
}

@media (min-width: 961px) and (max-height: 650px) {
  .hero {
    min-height: calc(100svh - 72px);
    padding: calc(var(--header-height) + 24px) 0 24px;
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: 48px;
  }

  .hero-title-line {
    font-size: 30px;
  }

  .hero-lead {
    margin-bottom: 18px;
    line-height: 1.65;
  }

  .compatibility {
    margin-top: 14px;
  }

  .product-preview {
    min-height: 380px;
  }

  .app-view {
    min-height: 338px;
  }
}

@media (min-width: 701px) and (max-width: 960px) and (max-height: 650px) {
  .hero {
    min-height: calc(100svh - 72px);
    padding: calc(var(--header-height) + 28px) 0 30px;
  }

  .hero-inner {
    gap: 0;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    display: none;
  }
}

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

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

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

/* Immersive resource portal home */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.portal-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.portal-home {
  --header-height: 52px;
  background: var(--paper);
}

.portal-home .portal-header {
  height: var(--header-height);
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.portal-home .portal-header.is-scrolled {
  color: #fff;
  background: rgba(5, 11, 16, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.portal-home .scroll-progress {
  background: #a7dc20;
}

.portal-header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 36px;
}

.portal-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 88px;
  flex: 0 0 88px;
  color: #f7f9f8;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.portal-brand-spark {
  position: absolute;
  top: -6px;
  left: 5px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #aee321;
  border-left: 2px solid #aee321;
  transform: skew(-12deg);
}

.portal-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 50px;
  margin-left: 27px;
}

.portal-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: color 180ms ease;
}

.portal-nav a::after {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 2px;
  background: #b8e51d;
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.portal-nav a:hover,
.portal-nav a[aria-current="page"] {
  color: #b7e52a;
}

.portal-nav a:hover::after,
.portal-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.portal-search {
  position: relative;
  width: clamp(280px, 26.3vw, 500px);
  height: 32px;
  margin-left: 63px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.portal-search input {
  width: 100%;
  height: 100%;
  padding: 0 48px 0 14px;
  color: #eef2f1;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.portal-search input::placeholder {
  color: #8d9295;
  opacity: 1;
}

.portal-search:focus-within {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(174, 227, 33, 0.55);
}

.portal-search button {
  position: absolute;
  inset: 0 0 0 auto;
  display: grid;
  width: 46px;
  padding: 0;
  color: #d8dede;
  background: transparent;
  border: 0;
  cursor: pointer;
  place-items: center;
}

.portal-search button .icon {
  width: 18px;
  height: 18px;
}

.portal-header-spacer {
  min-width: 24px;
  flex: 1;
}

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

.portal-client-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 101px;
  height: 25px;
  color: #c6fbff;
  background: linear-gradient(#081018, #081018) padding-box, linear-gradient(115deg, #19c9ff, #c100ff) border-box;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  transition: color 160ms ease, filter 160ms ease, transform 160ms ease;
}

.portal-client-link:hover {
  color: #fff;
  filter: brightness(1.18);
  transform: translateY(-1px);
}

.portal-user-link {
  display: grid;
  width: 28px;
  height: 28px;
  color: #a9b0b3;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  place-items: center;
  transition: color 160ms ease, background-color 160ms ease;
}

.portal-user-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.portal-user-link .icon {
  width: 15px;
  height: 15px;
}

.portal-menu-toggle {
  color: #fff;
  background: rgba(4, 10, 15, 0.64);
  border-color: rgba(255, 255, 255, 0.16);
}

.portal-hero {
  --portal-x: 0px;
  --portal-y: 0px;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #0e1015;
  border-radius: 0 0 8px 8px;
  isolation: isolate;
}

.portal-media,
.portal-veil {
  position: absolute;
  inset: 0;
}

.portal-media {
  inset: -0.8%;
  z-index: -3;
  background: #101820 url("hero-game-clean.jpg") center center / cover no-repeat;
  transform: scale(1.008) translate3d(var(--portal-x), var(--portal-y), 0);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
  animation: portal-media-enter 1800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  will-change: transform;
}

.portal-veil {
  z-index: -2;
  background: linear-gradient(180deg, rgba(3, 9, 14, 0.08) 0%, rgba(3, 9, 14, 0.13) 48%, rgba(3, 9, 14, 0.5) 72%, rgba(8, 13, 18, 0.88) 100%);
}

.portal-guide-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 124px;
  z-index: -1;
  width: 1px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 12px 0 18px rgba(1, 5, 8, 0.2);
}

.portal-hero-content {
  position: absolute;
  bottom: clamp(64px, 9.5vh, 96px);
  left: 50%;
  width: min(1120px, calc(100% - 48px));
  transform: translateX(-50%);
}

.portal-hero-content h1 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 36px;
  font-weight: 850;
  line-height: 1.25;
  animation: portal-rise 680ms 180ms both;
}

.portal-lead {
  position: relative;
  max-width: 760px;
  margin: 0;
  color: #a3a7a8;
  font-size: 14px;
  line-height: 22px;
  animation: portal-rise 680ms 280ms both;
}

.portal-lead::before {
  position: absolute;
  top: 7px;
  left: -10px;
  width: 3px;
  height: 7px;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.portal-stats {
  display: flex;
  gap: 62px;
  margin: 34px 0 0;
  animation: portal-rise 680ms 380ms both;
}

.portal-stats div {
  min-width: 62px;
}

.portal-stats dt,
.portal-stats dd {
  margin: 0;
}

.portal-stats dt {
  color: #fff;
  font-size: 30px;
  font-weight: 450;
  line-height: 38px;
}

.portal-stats dd {
  color: #d5d8d8;
  font-size: 14px;
  line-height: 20px;
}

.portal-platforms {
  display: flex;
  gap: 32px;
  margin-top: 34px;
  animation: portal-rise 680ms 480ms both;
}

.portal-platforms a {
  display: grid;
  grid-template-columns: 16px 1fr 16px;
  align-items: center;
  width: 176px;
  height: 46px;
  gap: 8px;
  padding: 0 20px;
  color: #f5f7f7;
  background: rgba(3, 7, 18, 0.92);
  border: 1px solid #26344a;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.portal-platforms a:nth-child(2) {
  width: 162px;
}

.portal-platforms a:hover {
  color: #c6f448;
  background: rgba(8, 14, 25, 0.96);
  border-color: rgba(174, 227, 33, 0.7);
  transform: translateY(-2px);
}

.portal-platforms .icon {
  width: 14px;
  height: 14px;
}

.portal-platform-arrow {
  justify-self: end;
}

.portal-mobile-download {
  color: #081016;
  background: #b7e52a;
  border-color: #b7e52a;
}

.portal-mobile-search {
  position: relative;
  height: 42px;
  margin: 2px 0 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.portal-mobile-search input {
  width: 100%;
  height: 100%;
  padding: 0 48px 0 14px;
  color: #f3f6f6;
  background: transparent;
  border: 0;
  outline: 0;
}

.portal-mobile-search input::placeholder {
  color: #7f898e;
}

.portal-mobile-search:focus-within {
  border-color: rgba(174, 227, 33, 0.6);
}

.portal-mobile-search button {
  position: absolute;
  inset: 0 0 0 auto;
  display: grid;
  width: 44px;
  padding: 0;
  color: #dce1e2;
  background: transparent;
  border: 0;
  cursor: pointer;
  place-items: center;
}

.portal-mobile-search .icon {
  width: 18px;
  height: 18px;
}

.portal-catalog {
  position: relative;
  padding: 112px 0 124px;
  overflow: hidden;
  color: #f5f7f7;
  background: #0c1014;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-catalog-shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.portal-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  padding-bottom: 40px;
}

.portal-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #aee321;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.portal-section-kicker::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.portal-section-head h2 {
  margin: 0;
  color: #f7f9f8;
  font-size: 42px;
  font-weight: 820;
  line-height: 1.15;
}

.portal-section-head p {
  margin: 0 0 4px;
  color: #747d82;
  font-size: 13px;
}

.portal-resource-search-result {
  margin: 0 0 18px;
  padding: 12px 0;
  color: #b6bdc0;
  border-top: 1px solid rgba(174, 227, 33, 0.35);
  font-size: 13px;
}

.portal-resource-search-result[hidden],
.portal-resource-item[hidden] {
  display: none;
}

.portal-resource-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-resource-item {
  display: grid;
  grid-template-columns: 42px 48px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 104px;
  gap: 20px;
  color: #f1f4f4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-resource-index {
  color: #899297;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
}

.portal-resource-icon {
  display: grid;
  width: 44px;
  height: 44px;
  color: #aee321;
  background: rgba(174, 227, 33, 0.08);
  border: 1px solid rgba(174, 227, 33, 0.2);
  border-radius: 4px;
  place-items: center;
}

.portal-resource-item:nth-child(2) .portal-resource-icon {
  color: #52c8df;
  background: rgba(82, 200, 223, 0.08);
  border-color: rgba(82, 200, 223, 0.2);
}

.portal-resource-item:nth-child(3) .portal-resource-icon {
  color: #e7b45f;
  background: rgba(231, 180, 95, 0.08);
  border-color: rgba(231, 180, 95, 0.2);
}

.portal-resource-item:nth-child(4) .portal-resource-icon {
  color: #cf89d8;
  background: rgba(207, 137, 216, 0.08);
  border-color: rgba(207, 137, 216, 0.2);
}

.portal-resource-icon .icon {
  width: 20px;
  height: 20px;
}

.portal-resource-copy {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.portal-resource-copy strong {
  color: currentColor;
  font-size: 17px;
  line-height: 1.2;
}

.portal-resource-copy small {
  overflow: hidden;
  color: #747d82;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-resource-type {
  color: #899297;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
}

.portal-catalog-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}

.portal-catalog-primary,
.portal-catalog-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  gap: 9px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 750;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.portal-catalog-primary {
  min-width: 150px;
  padding-inline: 22px;
  color: #0b1013;
  background: #b6e530;
  border: 1px solid #b6e530;
}

.portal-catalog-secondary {
  padding-inline: 4px;
  color: #a9b0b3;
}

.portal-catalog-primary:hover {
  color: #070a0c;
  background: #c7f052;
  border-color: #c7f052;
  transform: translateY(-2px);
}

.portal-catalog-secondary:hover {
  color: #fff;
}

.portal-catalog-primary .icon,
.portal-catalog-secondary .icon {
  width: 16px;
  height: 16px;
}

.portal-home .site-footer {
  color: #dce1e2;
  background: #080b0e;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.portal-home .site-footer .brand,
.portal-home .site-footer .brand-text,
.portal-home .site-footer .footer-column strong {
  color: #f3f5f5;
}

.portal-home .site-footer .brand-text small,
.portal-home .site-footer .footer-brand p,
.portal-home .site-footer .footer-column a {
  color: #747d82;
}

.portal-home .site-footer .footer-column a:hover {
  color: #b6e530;
}

.portal-home .site-footer .footer-bottom {
  color: #858e93;
  border-top-color: rgba(255, 255, 255, 0.08);
}

@keyframes portal-media-enter {
  from {
    opacity: 0.82;
    transform: scale(1.025) translate3d(var(--portal-x), var(--portal-y), 0);
  }
  to {
    opacity: 1;
    transform: scale(1.008) translate3d(var(--portal-x), var(--portal-y), 0);
  }
}

@keyframes portal-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1280px) {
  .portal-header-inner {
    padding-inline: 28px;
  }

  .portal-nav {
    gap: 36px;
    margin-left: 22px;
  }

  .portal-search {
    margin-left: 38px;
  }
}

@media (max-width: 1100px) {
  .portal-nav a:nth-child(3) {
    display: none;
  }

  .portal-search {
    width: min(36vw, 360px);
    margin-left: 34px;
  }
}

@media (max-width: 960px) {
  .portal-home {
    --header-height: 64px;
  }

  .portal-header-inner {
    padding-inline: 24px;
  }

  .portal-nav,
  .portal-search,
  .portal-user-link {
    display: none;
  }

  .portal-header-spacer {
    flex: 1;
  }

  .portal-home .portal-mobile-nav {
    color: #fff;
    background: rgba(5, 11, 16, 0.98);
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .portal-home .portal-mobile-nav a:not(.button) {
    color: #f3f6f6;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .portal-home .portal-mobile-nav a[aria-current="page"] {
    color: #b7e52a;
  }

  .portal-hero-content {
    bottom: 56px;
    width: min(760px, calc(100% - 64px));
  }

  .portal-hero-content h1 {
    font-size: 32px;
  }

  .portal-guide-line {
    display: none;
  }

  .portal-catalog {
    padding: 84px 0 96px;
  }

  .portal-section-head {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 34px;
  }

  .portal-section-head p {
    margin: 0;
  }
}

@media (max-width: 640px) {
  .portal-header-inner {
    padding-inline: 20px;
  }

  .portal-brand {
    width: 84px;
    flex-basis: 84px;
    font-size: 16px;
  }

  .js .portal-client-link {
    display: none;
  }

  .portal-header-actions {
    gap: 10px;
  }

  .portal-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .portal-media {
    background-position: 58% center;
  }

  .portal-veil {
    background: rgba(3, 9, 14, 0.28);
    box-shadow: inset 0 -250px 170px -80px #0e1015;
  }

  .portal-hero-content {
    bottom: 46px;
    width: calc(100% - 40px);
  }

  .portal-hero-content h1 {
    max-width: 480px;
    margin-bottom: 12px;
    font-size: 28px;
    line-height: 1.3;
  }

  .portal-lead {
    max-width: 520px;
    font-size: 13px;
    line-height: 1.7;
  }

  .portal-stats {
    justify-content: flex-start;
    gap: 32px;
    margin-top: 28px;
  }

  .portal-stats div {
    min-width: 56px;
  }

  .portal-stats dt {
    font-size: 26px;
    line-height: 34px;
  }

  .portal-stats dd {
    font-size: 12px;
  }

  .portal-platforms {
    gap: 12px;
    margin-top: 28px;
  }

  .portal-platforms a,
  .portal-platforms a:nth-child(2) {
    width: calc(50% - 6px);
    min-width: 0;
    padding-inline: 14px;
  }

  .portal-catalog {
    padding: 68px 0 76px;
  }

  .portal-catalog-shell {
    width: calc(100% - 40px);
  }

  .portal-section-head h2 {
    font-size: 34px;
  }

  .portal-resource-item {
    grid-template-columns: 34px 44px minmax(0, 1fr);
    min-height: 94px;
    gap: 14px;
  }

  .portal-resource-icon {
    width: 40px;
    height: 40px;
  }

  .portal-resource-type {
    display: none;
  }

  .portal-resource-copy strong {
    font-size: 16px;
  }

  .portal-catalog-actions {
    margin-top: 34px;
  }
}

@media (max-width: 420px) {
  .portal-hero-content {
    bottom: 24px;
  }

  .portal-hero-content h1 {
    font-size: 25px;
  }

  .portal-lead {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .portal-stats {
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
  }

  .portal-platforms {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .portal-platforms a,
  .portal-platforms a:nth-child(2) {
    width: 100%;
  }

  .portal-resource-item {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .portal-resource-index {
    display: none;
  }

  .portal-resource-copy small {
    font-size: 11px;
  }

  .portal-catalog-actions {
    display: grid;
    gap: 12px;
  }

  .portal-catalog-primary,
  .portal-catalog-secondary {
    width: 100%;
  }

  .portal-catalog-secondary {
    border: 1px solid rgba(255, 255, 255, 0.13);
  }
}

@media (max-height: 640px) and (max-width: 960px) {
  .portal-hero-content {
    bottom: 20px;
  }

  .portal-lead {
    display: none;
  }

  .portal-stats,
  .portal-platforms {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-media,
  .portal-hero-content h1,
  .portal-lead,
  .portal-stats,
  .portal-platforms {
    animation: none;
  }
}
