:root {
  --bg: #090c10;
  --surface: #10151b;
  --surface-2: #171d24;
  --surface-3: #202730;
  --paper: #f1f3f5;
  --paper-2: #e4e8ec;
  --ink: #10151b;
  --text: #f7f9fb;
  --muted: #9ba6b1;
  --muted-dark: #5e6974;
  --accent: #43c9ff;
  --accent-strong: #18b8f5;
  --border: rgba(255, 255, 255, 0.13);
  --border-dark: rgba(16, 21, 27, 0.14);
  --header-height: 76px;
  --shell: min(1240px, calc(100vw - 64px));
  --motion: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

button,
a[href] {
  touch-action: manipulation;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--accent);
  color: #061015;
  transform: translateY(-180%);
  transition: transform 180ms var(--motion);
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-space {
  padding: 128px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  color: var(--text);
  transition: transform 260ms var(--motion), opacity 220ms var(--motion);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 12, 16, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 240ms var(--motion);
}

.site-header.is-scrolled::before,
.site-header.menu-open::before {
  opacity: 1;
}

.header-inner {
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.1;
  stroke-linecap: square;
  stroke-linejoin: bevel;
}

.brand-name b {
  color: var(--accent);
  font-weight: 750;
}

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

.desktop-nav a {
  position: relative;
  display: grid;
  min-height: 44px;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 550;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 18px;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.4);
  transition: transform 220ms var(--motion), opacity 180ms var(--motion);
}

.desktop-nav a:hover {
  color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

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

.header-download,
.menu-toggle {
  border: 0;
  cursor: pointer;
}

.header-download {
  min-height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #061117;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: transform 240ms var(--motion), opacity 180ms var(--motion);
}

.header-download svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.header-download:active {
  transform: translateY(0) scale(0.97);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  color: inherit;
  place-items: center;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 240ms var(--motion), opacity 180ms var(--motion);
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.site-header.menu-open .menu-toggle span:first-child {
  transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  padding: 14px 24px 24px;
  background: rgba(9, 12, 16, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-14px);
  transition: transform 240ms var(--motion), opacity 180ms var(--motion);
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a {
  display: flex;
  min-height: 52px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}

.hero {
  position: relative;
  min-height: max(760px, 100svh);
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 58%;
  background: rgba(9, 12, 16, 0.96);
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% center;
  transform: scale(1.025);
  animation: hero-drift 11s var(--motion) both;
}

.hero-shade {
  z-index: 1;
  background: rgba(3, 5, 7, 0.42);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: var(--shell);
  min-height: max(760px, 100svh);
  margin-inline: auto;
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 90px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(620px, 54vw);
}

.release-state {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--border);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-state strong {
  color: var(--accent);
}

.state-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(67, 201, 255, 0.12);
}

.hero h1 {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 15px;
  font-size: clamp(70px, 8.4vw, 132px);
  line-height: 0.82;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.hero h1 span {
  font-weight: 840;
}

.hero h1 em {
  color: var(--accent);
  font-size: 0.42em;
  font-style: italic;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.hero-lead {
  width: min(520px, 100%);
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: 0.01em;
  transition: transform 240ms var(--motion), opacity 180ms var(--motion);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button:active {
  transform: translateY(0) scale(0.975);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #061117;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(9, 12, 16, 0.26);
  color: #fff;
  backdrop-filter: blur(8px);
}

.button-wide {
  width: 100%;
}

.button.is-disabled,
.button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.52;
}

.button.is-disabled:hover,
.button[aria-disabled="true"]:hover {
  transform: none;
}

.hero-meta {
  margin-top: 48px;
  display: flex;
  gap: 0;
}

.hero-meta > div {
  min-width: 112px;
  padding-right: 30px;
  margin-right: 30px;
  border-right: 1px solid var(--border);
}

.hero-meta > div:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

.hero-meta dt {
  color: var(--muted);
  font-size: 12px;
}

.hero-meta dd {
  margin-top: 3px;
  color: #fff;
  font-size: 16px;
  font-weight: 720;
}

.hero-corner {
  position: absolute;
  right: 0;
  bottom: 78px;
  display: grid;
  justify-items: end;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
  letter-spacing: 0.12em;
}

.hero-corner span {
  font-size: 11px;
}

.hero-corner strong {
  color: #fff;
  font-size: 34px;
  font-style: italic;
  letter-spacing: -0.02em;
}

.hero-corner i {
  width: 84px;
  height: 3px;
  margin-top: 8px;
  background: var(--accent);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: relative;
  width: 1px;
  height: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(-100%);
  animation: scroll-line 1.8s var(--motion) infinite;
}

.hero-enter {
  opacity: 0;
  transform: translateY(26px);
  animation: hero-enter 780ms var(--motion) forwards;
}

.hero-enter-1 { animation-delay: 120ms; }
.hero-enter-2 { animation-delay: 220ms; }
.hero-enter-3 { animation-delay: 330ms; }
.hero-enter-4 { animation-delay: 430ms; }
.hero-enter-5 { animation-delay: 540ms; }

.release-strip {
  background: #0f141a;
  border-bottom: 1px solid var(--border);
}

.release-strip-inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.45fr;
  align-items: stretch;
}

.release-strip-inner > div {
  padding: 22px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.release-strip-inner > div:first-child {
  padding-left: 0;
}

.release-strip-inner > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.release-strip-inner span {
  color: var(--muted);
  font-size: 12px;
}

.release-strip-inner strong {
  margin-top: 2px;
  font-size: 15px;
}

.release-strip-inner .verified-item {
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.verified-item svg {
  width: 28px;
  height: 28px;
  padding: 5px;
  border: 1px solid rgba(67, 201, 255, 0.44);
  border-radius: 50%;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.verified-item span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

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

.section-heading {
  max-width: 730px;
}

.eyebrow {
  display: block;
  margin-bottom: 15px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section-heading h2,
.release-copy h2,
.final-cta h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading p {
  max-width: 590px;
  margin-top: 22px;
  color: var(--muted-dark);
  font-size: 18px;
}

.feature-layout {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(340px, 0.7fr);
  gap: 72px;
  align-items: center;
}

.product-preview {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.preview-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 10px solid #161b21;
  background: #161b21;
  box-shadow: 0 28px 60px rgba(19, 27, 34, 0.22);
}

.preview-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
  transform: translateX(-50%);
}

.preview-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 655;
  object-fit: cover;
  transition: transform 500ms var(--motion), opacity 240ms var(--motion);
}

.product-preview:hover .preview-frame img {
  transform: scale(1.012);
}

.preview-frame img.is-switching {
  opacity: 0;
  transform: scale(0.985);
}

.preview-expand {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(9, 12, 16, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(8px);
  transition: transform 220ms var(--motion), opacity 180ms var(--motion);
}

.preview-expand svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.product-preview:hover .preview-expand,
.product-preview:focus-visible .preview-expand {
  opacity: 1;
  transform: translateY(0);
}

.preview-tabs {
  margin-top: 20px;
  display: flex;
  gap: 8px;
}

.preview-tab {
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--muted-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  transition: transform 220ms var(--motion), opacity 180ms var(--motion);
}

.preview-tab span {
  margin-right: 8px;
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
}

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

.preview-tab:active {
  transform: scale(0.98);
}

.preview-tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.feature-list {
  border-top: 1px solid var(--border-dark);
}

.feature-list article {
  padding: 26px 0;
  border-bottom: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  transition: transform 240ms var(--motion);
}

.feature-list article:hover {
  transform: translateX(8px);
}

.feature-number {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-list h3 {
  font-size: 20px;
  line-height: 1.3;
}

.feature-list p {
  margin-top: 7px;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.7;
}

.install {
  background: var(--bg);
}

.section-heading-inline {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.section-heading-inline p {
  max-width: 420px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
}

.install-steps {
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.install-steps li {
  position: relative;
  min-height: 300px;
  padding: 34px 38px 38px;
  border-right: 1px solid var(--border);
}

.install-steps li:first-child {
  padding-left: 0;
}

.install-steps li:last-child {
  padding-right: 0;
  border-right: 0;
}

.step-index {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.install-steps svg {
  width: 42px;
  height: 42px;
  margin-top: 44px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-steps h3 {
  margin-top: 22px;
  font-size: 22px;
}

.install-steps p {
  max-width: 290px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.install-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.install-note svg {
  flex: 0 0 auto;
  width: 20px;
  margin-top: 2px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-note strong {
  color: #fff;
}

.tutorials {
  background: #e7ebef;
  color: var(--ink);
}

.tutorials .section-heading-inline p {
  color: var(--muted-dark);
}

.tutorial-list {
  margin-top: 70px;
  border-top: 1px solid var(--border-dark);
}

.tutorial-item {
  min-height: 148px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  transition: transform 260ms var(--motion), opacity 180ms var(--motion);
}

.tutorial-item:hover {
  transform: translateX(8px);
}

.tutorial-item:active {
  transform: translateX(3px) scale(0.995);
}

.tutorial-index {
  align-self: start;
  padding-top: 3px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.1em;
}

.tutorial-copy > span {
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 650;
}

.tutorial-copy h3 {
  margin-top: 4px;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.tutorial-copy p {
  margin-top: 7px;
  color: var(--muted-dark);
  font-size: 14px;
}

.tutorial-action {
  min-height: 48px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 720;
}

.tutorial-action svg {
  width: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--motion);
}

.tutorial-item:hover .tutorial-action svg {
  transform: translateX(4px);
}

.tutorial-author {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted-dark);
  font-size: 13px;
}

.tutorial-author strong {
  color: var(--ink);
}

.release {
  background: #11161c;
  border-top: 1px solid var(--border);
}

.release-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.75fr);
  gap: 100px;
  align-items: center;
}

.release-copy > p {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
}

.release-details {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
}

.release-details > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.release-details > div:nth-child(odd) {
  padding-right: 24px;
}

.release-details dt {
  color: var(--muted);
  font-size: 12px;
}

.release-details dd {
  margin-top: 3px;
  font-size: 15px;
  font-weight: 700;
}

.release-package {
  padding: 34px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.package-topline {
  display: flex;
  align-items: center;
  gap: 16px;
}

.package-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #071117;
}

.package-icon svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.package-topline > div {
  display: flex;
  flex-direction: column;
}

.package-topline span {
  color: var(--muted);
  font-size: 12px;
}

.package-topline strong {
  font-size: 22px;
}

.release-package > .button-wide {
  margin-top: 30px;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 96px;
}

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

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

.faq-list summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 680;
}

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

.faq-list summary svg {
  flex: 0 0 auto;
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 260ms var(--motion);
}

.faq-list details[open] summary svg {
  transform: rotate(180deg);
}

.faq-list details p {
  max-width: 650px;
  padding: 0 48px 24px 0;
  color: var(--muted-dark);
  font-size: 15px;
}

.final-cta {
  background: var(--accent);
  color: #061117;
}

.final-cta-inner {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta .eyebrow {
  color: rgba(6, 17, 23, 0.65);
}

.final-cta h2 {
  font-size: clamp(48px, 7vw, 88px);
}

.final-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.final-cta .button-primary {
  border-color: var(--bg);
  background: var(--bg);
  color: #fff;
  box-shadow: none;
}

.final-cta .button-service {
  border-color: rgba(6, 17, 23, 0.42);
  background: transparent;
  color: #061117;
}

.site-footer {
  background: var(--bg);
}

.footer-inner {
  min-height: 118px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner > span:last-child {
  justify-self: end;
}

.brand-small {
  color: #fff;
  font-size: 14px;
}

.brand-small .brand-mark {
  width: 28px;
  height: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: transform 720ms var(--motion), opacity 520ms var(--motion);
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 7, 0.68);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 300ms var(--motion);
}

.modal-panel,
.lightbox-panel {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: scale(0.95) translateY(15px);
  transition: transform 320ms var(--spring), opacity 220ms var(--motion);
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal.is-open .modal-panel,
.modal.is-open .lightbox-panel {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.modal.is-closing .modal-panel,
.modal.is-closing .lightbox-panel {
  opacity: 0;
  transform: scale(0.97) translateY(10px);
  transition-timing-function: var(--motion);
  transition-duration: 220ms;
}

.modal-panel {
  width: min(500px, 100%);
  padding: 38px;
  background: #141a21;
  border: 1px solid var(--border);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.48);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: transform 220ms var(--motion), opacity 180ms var(--motion);
}

.modal-close:hover {
  transform: rotate(5deg) scale(1.05);
  color: #fff;
}

.modal-close:active {
  transform: scale(0.94);
}

.modal-close svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.modal-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.modal-panel h2 {
  margin-top: 12px;
  padding-right: 38px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.modal-panel > p:not(.modal-footnote) {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.modal-release-line {
  margin: 28px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.modal-release-line > div {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
}

.modal-release-line > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

.modal-release-line span,
.extract-code > span {
  color: var(--muted);
  font-size: 11px;
}

.modal-release-line strong {
  margin-top: 2px;
  font-size: 14px;
}

.extract-code {
  min-height: 52px;
  margin-bottom: 16px;
  padding: 0 8px 0 14px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.extract-code[hidden] {
  display: none;
}

.extract-code strong {
  color: var(--accent);
  letter-spacing: 0.12em;
}

.extract-code button {
  min-width: 52px;
  min-height: 36px;
  border: 0;
  background: var(--surface-3);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
}

.modal-footnote {
  margin-top: 14px;
  color: #78838e;
  font-size: 11px;
  text-align: center;
}

.lightbox-panel {
  width: min(1280px, calc(100vw - 48px));
  background: #090c10;
  border: 1px solid var(--border);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.54);
}

.lightbox-panel img {
  width: 100%;
  max-height: calc(100svh - 72px);
  object-fit: contain;
}

.lightbox-panel .modal-close {
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(9, 12, 16, 0.82);
  color: #fff;
  backdrop-filter: blur(8px);
}

.toast {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 28px;
  min-width: 110px;
  padding: 11px 16px;
  background: #f4f7f9;
  color: #11161c;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  font-size: 13px;
  font-weight: 680;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px) scale(0.97);
  transition: transform 240ms var(--spring), opacity 180ms var(--motion);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

@keyframes hero-enter {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-drift {
  from { transform: scale(1.06); }
  to { transform: scale(1.025); }
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 48px, 1000px);
  }

  .hero::before {
    width: 65%;
  }

  .hero-copy {
    width: 60vw;
  }

  .hero-corner {
    display: none;
  }

  .feature-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .feature-list article:nth-child(odd) {
    padding-right: 30px;
  }

  .feature-list article:nth-child(even) {
    padding-left: 30px;
    border-left: 1px solid var(--border-dark);
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
    --shell: calc(100% - 36px);
  }

  .section-space {
    padding: 88px 0;
  }

  .desktop-nav,
  .header-download {
    display: none;
  }

  .site-header::before {
    background: rgba(9, 12, 16, 0.78);
    opacity: 1;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: 820px;
  }

  .hero::before {
    inset: 34% 0 0;
    width: auto;
    clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
    background: rgba(9, 12, 16, 0.97);
  }

  .hero-media {
    height: 52%;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-shade {
    height: 54%;
    background: rgba(3, 5, 7, 0.24);
  }

  .hero-inner {
    min-height: 820px;
    padding-top: 300px;
    padding-bottom: 62px;
    align-items: flex-end;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(62px, 18vw, 96px);
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-meta {
    margin-top: 34px;
  }

  .scroll-cue {
    display: none;
  }

  .release-strip-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .release-strip-inner > div {
    padding: 18px 16px;
  }

  .release-strip-inner > div:first-child {
    padding-left: 0;
  }

  .release-strip-inner .verified-item {
    grid-column: 1 / -1;
    min-height: 62px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    justify-content: flex-start;
  }

  .section-heading-inline {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

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

  .install-steps li,
  .install-steps li:first-child,
  .install-steps li:last-child {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 42px 54px 1fr;
    column-gap: 15px;
    align-items: center;
  }

  .install-steps li:last-child {
    border-bottom: 0;
  }

  .install-steps .step-index {
    grid-row: 1 / 3;
  }

  .install-steps svg {
    grid-row: 1 / 3;
    margin: 0;
  }

  .install-steps h3 {
    margin: 0;
  }

  .install-steps p {
    margin-top: 5px;
    max-width: none;
  }

  .release-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .release-package {
    width: 100%;
  }

  .final-cta-inner {
    min-height: 230px;
  }

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

  .footer-inner p {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .brand {
    gap: 8px;
    font-size: 15px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero {
    min-height: 800px;
  }

  .hero::before {
    inset: 31% 0 0;
  }

  .hero-media {
    height: 46%;
  }

  .hero-inner {
    min-height: 800px;
    padding-top: 270px;
    padding-bottom: 52px;
  }

  .release-state {
    min-height: 31px;
    padding: 0 10px;
    font-size: 10px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(58px, 20vw, 82px);
    gap: 10px;
  }

  .hero h1 em {
    font-size: 0.38em;
  }

  .hero-lead {
    max-width: 330px;
    font-size: 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 14px;
  }

  .hero-meta {
    width: 100%;
    justify-content: space-between;
  }

  .hero-meta > div {
    min-width: 0;
    margin-right: 0;
    padding: 0 18px;
    flex: 1;
  }

  .hero-meta > div:first-child {
    padding-left: 0;
  }

  .hero-meta > div:last-child {
    padding-right: 0;
  }

  .hero-meta dd {
    font-size: 14px;
  }

  .release-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .release-strip-inner > div:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-top: 1px solid var(--border);
  }

  .release-strip-inner .verified-item {
    grid-column: 1 / -1;
  }

  .release-strip-inner > div:nth-child(2) {
    border-right: 0;
  }

  .section-heading h2,
  .release-copy h2 {
    font-size: 42px;
  }

  .section-heading p {
    font-size: 16px;
  }

  .feature-layout {
    margin-top: 46px;
    gap: 42px;
  }

  .preview-frame {
    border-width: 5px;
  }

  .preview-expand {
    display: none;
  }

  .preview-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .preview-tab {
    padding-inline: 8px;
    font-size: 12px;
  }

  .feature-list {
    display: block;
  }

  .feature-list article:nth-child(odd),
  .feature-list article:nth-child(even) {
    padding: 22px 0;
    border-left: 0;
  }

  .feature-list article:hover {
    transform: none;
  }

  .install-steps {
    margin-top: 48px;
  }

  .install-steps li,
  .install-steps li:first-child,
  .install-steps li:last-child {
    grid-template-columns: 30px 42px 1fr;
    column-gap: 12px;
  }

  .install-steps svg {
    width: 34px;
    height: 34px;
  }

  .install-steps h3 {
    font-size: 18px;
  }

  .install-note {
    padding: 16px;
  }

  .release-details {
    grid-template-columns: 1fr;
  }

  .release-details > div:nth-child(odd) {
    padding-right: 0;
  }

  .release-package {
    padding: 24px 18px;
  }

  .tutorial-list {
    margin-top: 48px;
  }

  .tutorial-item {
    min-height: 0;
    padding: 25px 0;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }

  .tutorial-item:hover,
  .tutorial-item:active {
    transform: none;
  }

  .tutorial-action {
    grid-column: 2;
    width: fit-content;
    min-height: 44px;
    margin-top: 4px;
  }

  .tutorial-copy h3 {
    font-size: 22px;
  }

  .tutorial-copy p {
    line-height: 1.7;
  }

  .final-cta-inner {
    min-height: 270px;
    padding: 46px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta .button {
    width: 100%;
  }

  .final-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .footer-inner {
    min-height: 138px;
    padding: 26px 0;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  .footer-inner > span:last-child {
    justify-self: start;
  }

  .modal {
    padding: 16px;
    align-items: end;
  }

  .modal-panel {
    width: 100%;
    padding: 30px 22px 24px;
  }

  .modal-panel h2 {
    font-size: 26px;
  }

  .lightbox {
    align-items: center;
  }

  .lightbox-panel {
    width: calc(100vw - 24px);
  }
}

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

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

  .hero-enter,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
