:root {
  --bg: #fbfbfd;
  --panel: #ffffff;
  --ink: #1d1d1f;
  --sub: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --blue: #0066cc;
  --blue-hover: #0077ed;
  --dark: #000000;
  --demo: #0c0d0f;
  --demo-line: #26282c;
  --demo-text: #d8dade;
  --demo-sub: #8a9098;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC",
    "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, table {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

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

canvas, svg, img {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(0, 102, 204, 0.16);
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

.wrap-narrow {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ---------------- nav ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 251, 253, 0.84);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(var(--wrap), calc(100% - 48px));
  height: 56px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 105px;
  height: 28px;
  flex: none;
  object-fit: contain;
}

.brand-text strong,
.brand-text small {
  display: block;
  white-space: nowrap;
}

.brand-text strong {
  font-size: 13px;
  font-weight: 500;
}

.brand-text small {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--sub);
  font-size: 13px;
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

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

.nav-toggle {
  display: none;
}

/* ---------------- buttons + links ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 980px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  border-color: var(--sub);
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.btn-dark {
  color: #f5f5f7;
  background: var(--ink);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: #333336;
  border-color: #333336;
}

.btn-sm {
  height: 30px;
  padding: 0 14px;
  font-size: 12.5px;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-size: 17px;
}

.text-link::after {
  content: "›";
  font-weight: 400;
  transition: transform 0.15s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.text-link:hover {
  text-decoration: underline;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}

/* ---------------- hero ---------------- */

.hero {
  padding: clamp(56px, 7vw, 92px) 0 clamp(40px, 5vw, 64px);
  text-align: center;
}

.kicker {
  color: var(--faint);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 12px auto 18px;
  max-width: 980px;
  font-size: clamp(40px, 6.2vw, 84px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero .sub {
  margin: 0 auto;
  max-width: 700px;
  color: var(--sub);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
}

.hero .link-row {
  margin-top: 26px;
}

.hero-media {
  margin-top: clamp(36px, 4vw, 56px);
}

.media-frame {
  overflow: hidden;
  border-radius: 24px;
  background: var(--demo);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
}

.media-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  color: var(--demo-sub);
  border-bottom: 1px solid var(--demo-line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.media-bar b {
  color: var(--demo-text);
  font-weight: 500;
}

.media-frame canvas {
  width: 100%;
  aspect-ratio: 16 / 8.4;
}

.media-caption {
  margin-top: 14px;
  color: var(--faint);
  font-size: 12px;
  text-align: center;
}

/* ---------------- sections ---------------- */

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section-tight {
  padding: clamp(56px, 6vw, 84px) 0;
}

.section-dark {
  color: #f5f5f7;
  background: var(--dark);
}

.section-dark .kicker,
.section-dark .sub,
.section-dark .feature-copy p,
.section-dark .feature-copy li {
  color: rgba(255, 255, 255, 0.62);
}

.section-dark .text-link {
  color: #2997ff;
}

.statement {
  text-align: center;
}

.statement h2 {
  margin: 10px auto 20px;
  max-width: 940px;
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.statement p {
  margin: 0 auto;
  max-width: 700px;
  color: var(--sub);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}

.section-head {
  max-width: 860px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
}

.section-head p {
  margin-top: 14px;
  color: var(--sub);
  font-size: 17px;
  line-height: 1.65;
}

/* ---------------- feature rows ---------------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 7vw, 96px) 0;
}

.feature.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.feature.reverse .feature-copy {
  order: 2;
}

.feature.reverse .feature-visual {
  order: 1;
}

.feature-copy .kicker {
  font-size: 12px;
}

.feature-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.feature-copy p {
  color: var(--sub);
  font-size: 16.5px;
  line-height: 1.7;
}

.feature-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 18px;
  color: var(--sub);
  font-size: 14px;
}

.feature-copy li::before {
  content: "·";
  margin-right: 6px;
  color: var(--faint);
}

.feature-copy .text-link {
  margin-top: 22px;
  font-size: 16px;
}

.feature-visual {
  overflow: hidden;
  border-radius: 20px;
  background: var(--demo);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.feature-visual canvas {
  width: 100%;
  aspect-ratio: 16 / 10;
}

/* ---------------- spec columns ---------------- */

.spec-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.spec-columns h3 {
  font-size: 20px;
  font-weight: 600;
}

.spec-columns p {
  margin-top: 10px;
  color: var(--sub);
  font-size: 14.5px;
  line-height: 1.65;
}

.spec-columns .meta {
  margin-top: 14px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
}

/* ---------------- dark band ---------------- */

.dark-band {
  padding: clamp(80px, 10vw, 140px) 0;
}

.dark-band h2 {
  max-width: 900px;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.dark-band p {
  margin-top: 20px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.7;
}

.dark-band .text-link {
  margin-top: 26px;
  color: #2997ff;
  font-size: 17px;
}

/* ---------------- contact ---------------- */

.contact {
  text-align: center;
}

.contact h2 {
  margin: 10px auto 18px;
  max-width: 900px;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.012em;
}

.contact .sub {
  margin: 0 auto;
  max-width: 640px;
  color: var(--sub);
  font-size: 17px;
  line-height: 1.65;
}

.contact .link-row {
  margin-top: 26px;
}

.form {
  display: grid;
  gap: 18px;
  width: min(640px, 100%);
  margin: 48px auto 0;
  text-align: left;
}

.form label span {
  display: block;
  margin-bottom: 6px;
  color: var(--faint);
  font-size: 12px;
}

.form label {
  min-width: 0;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px 2px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  font-size: 16px;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-bottom-color: var(--ink);
}

.form textarea {
  resize: vertical;
}

.form .btn {
  justify-self: start;
  margin-top: 8px;
}

.form-note {
  min-height: 20px;
  color: var(--blue);
  font-size: 12px;
}

/* ---------------- footer ---------------- */

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-inner strong {
  color: var(--sub);
  font-weight: 500;
}

.footer-inner small {
  display: block;
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

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

/* ---------------- reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.28, 0.11, 0.32, 1), transform 0.7s cubic-bezier(0.28, 0.11, 0.32, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ================= tool pages ================= */

.tool-hero {
  padding: clamp(56px, 7vw, 92px) 0 clamp(32px, 4vw, 48px);
  text-align: center;
}

.tool-hero .crumb {
  color: var(--faint);
  font-size: 12px;
}

.tool-hero h1 {
  margin: 10px auto 16px;
  max-width: 900px;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.014em;
}

.tool-hero .sub {
  margin: 0 auto;
  max-width: 720px;
  color: var(--sub);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
}

.tool-hero .link-row {
  margin-top: 22px;
}

/* ================= solution pages: editorial ================= */

.sol-hero {
  padding: clamp(56px, 7vw, 88px) 0 clamp(34px, 4vw, 52px);
  border-bottom: 1px solid var(--line-soft);
}

.sol-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: end;
}

.sol-hero .crumb {
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.sol-hero h1 {
  margin: 12px 0 16px;
  max-width: 760px;
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.018em;
}

.sol-hero .sub {
  max-width: 640px;
  color: var(--sub);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
}

.sol-hero .link-row {
  justify-content: flex-start;
  margin-top: 24px;
}

.sol-scope {
  border-top: 1px solid var(--line);
}

.sol-scope > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  padding: 15px 0 16px;
  border-bottom: 1px solid var(--line);
}

.sol-scope dt {
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.sol-scope dd {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  text-align: right;
}

.sol-hero-compact {
  padding-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 0;
}

.showcase-section {
  padding-top: clamp(10px, 2vw, 18px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 28px;
  background: #0b0d0f;
  color: #f5f5f7;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
}

.showcase-media {
  position: relative;
  min-height: 440px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #050607;
}

.showcase-media canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.showcase-chip {
  position: absolute;
  top: 18px;
  left: 20px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 980px;
  background: rgba(8, 10, 12, 0.6);
  color: rgba(245, 245, 247, 0.65);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.showcase-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 54px);
}

.showcase-eyebrow {
  color: #2997ff;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-info h2 {
  max-width: 460px;
  margin-top: 12px;
  font-size: clamp(30px, 3.1vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.showcase-desc {
  max-width: 430px;
  margin-top: 14px;
  color: rgba(245, 245, 247, 0.62);
  font-size: 14px;
  line-height: 1.75;
}

.showcase-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.showcase-specs > div {
  min-width: 0;
}

.showcase-specs dt {
  color: rgba(245, 245, 247, 0.42);
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

.showcase-specs dd {
  margin-top: 5px;
  color: #f5f5f7;
  font-family: var(--mono);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.showcase-cta {
  align-self: flex-start;
  margin-top: 26px;
}

.showcase-note {
  margin-top: 14px;
  color: rgba(245, 245, 247, 0.34);
  font-size: 11px;
  line-height: 1.6;
}

.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.showcase-tab {
  padding: 18px 20px 19px;
  border: 1px solid #e3ded4;
  border-radius: 16px;
  background: #fffdf9;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.showcase-tab span {
  color: #b4674a;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

.showcase-tab strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.showcase-tab small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 12px;
}

.showcase-tab:hover {
  border-color: #b9b2a6;
}

.showcase-tab.active {
  border-color: #0066cc;
  box-shadow: inset 0 2px 0 #0066cc;
}

.showcase-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 24px;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.6;
}

.showcase-foot .text-link {
  font-size: 12.5px;
}

.sol-caps {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.sol-section-head h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.sol-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.sol-cap {
  overflow: hidden;
  border: 1px solid #e3ded4;
  border-radius: 20px;
  background: #fffdf9;
}

.sol-cap-art {
  position: relative;
  height: 160px;
  background: #0b0d0f;
}

.sol-cap-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sol-cap-tag {
  position: absolute;
  top: 14px;
  left: 16px;
  color: rgba(245, 245, 247, 0.42);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.sol-cap-body {
  padding: 20px 22px 24px;
}

.sol-cap-index {
  color: #b4674a;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

.sol-cap-body h3 {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 600;
}

.sol-cap-body p {
  margin-top: 7px;
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.7;
}

.sol-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: clamp(24px, 5vw, 60px);
  align-items: end;
  padding: clamp(32px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}

.sol-cta h2 {
  margin-top: 8px;
  max-width: 640px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.sol-cta p:not(.eyebrow) {
  margin-top: 8px;
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.7;
}

.sol-cta .link-row {
  justify-content: flex-start;
  margin-top: 0;
}

@media (max-width: 1000px) {
  .sol-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .sol-scope {
    max-width: 560px;
  }

  .showcase-card {
    grid-template-columns: 1fr;
  }

  .showcase-media {
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .showcase-info {
    padding: 34px 30px 36px;
  }
}

@media (max-width: 900px) {
  .sol-cap-grid {
    grid-template-columns: 1fr;
  }

  .sol-cap-art {
    height: 150px;
  }
}

@media (max-width: 700px) {
  .sol-hero {
    padding: 48px 0 32px;
  }

  .sol-hero h1 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .showcase-card {
    border-radius: 20px;
  }

  .showcase-media {
    min-height: 300px;
  }

  .showcase-info {
    padding: 26px 20px 28px;
  }

  .showcase-info h2 {
    font-size: 28px;
  }

  .showcase-desc {
    font-size: 13.5px;
  }

  .showcase-specs {
    gap: 14px;
    margin-top: 20px;
  }

  .showcase-specs dd {
    font-size: 15px;
    white-space: normal;
  }

  .showcase-cta {
    margin-top: 22px;
  }

  .showcase-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .showcase-tab {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 10px;
    align-items: baseline;
    padding: 14px 16px;
  }

  .showcase-tab span {
    grid-row: span 2;
    padding-top: 2px;
  }

  .showcase-tab strong {
    margin-top: 0;
  }

  .showcase-tab small {
    margin-top: 1px;
  }

  .sol-cap-art {
    height: 140px;
  }

  .sol-cap-body {
    padding: 18px 18px 20px;
  }

  .sol-cta {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }
}

.app-frame {
  overflow: hidden;
  border-radius: 22px;
  background: var(--demo);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.14);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--demo-line);
  color: var(--demo-sub);
  font-size: 12px;
}

.app-top b {
  color: var(--demo-text);
  font-weight: 500;
}

.app-frame canvas {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c0d0f;
}

.app-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 10px 16px;
  border-top: 1px solid var(--demo-line);
  background: #101113;
}

.app-toolbar .spacer {
  flex: 1;
}

.tb {
  height: 28px;
  padding: 0 12px;
  color: var(--demo-sub);
  background: transparent;
  border: 1px solid #303338;
  border-radius: 980px;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.tb:hover {
  color: var(--demo-text);
  border-color: #4b4f55;
}

.tb.active {
  color: #fff;
  border-color: #6a7078;
  background: #24272b;
}

.app-clock {
  color: var(--demo-text);
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* stats under the app frame */

.stat-band {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.stat-band.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

section[id],
div[id] {
  scroll-margin-top: 120px;
}

.stat {
  padding: 20px 16px 0 0;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat span {
  display: block;
  color: var(--faint);
  font-size: 11.5px;
}

.stat b {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.stat b.hi {
  color: var(--blue);
}

/* controls on light */

.controls {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.controls-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.controls-head h2 {
  font-size: 26px;
  font-weight: 600;
}

.controls-head p {
  color: var(--sub);
  font-size: 14px;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 34px;
  margin-top: 26px;
}

.range-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--sub);
  font-size: 13px;
}

.range-field label b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  width: 100%;
  height: 20px;
  margin: 8px 0 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 1px;
  background: var(--line);
}

input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -7.5px;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  -webkit-appearance: none;
}

input[type="range"]::-moz-range-track {
  height: 1px;
  background: var(--line);
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
}

.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seg button {
  height: 34px;
  padding: 0 16px;
  color: var(--sub);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 980px;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.seg button:hover {
  color: var(--ink);
  border-color: var(--sub);
}

.seg button.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.switch-row:last-child {
  border-bottom: 0;
}

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

.switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 980px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--faint);
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.switch[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
}

.switch[aria-pressed="true"]::after {
  transform: translateX(18px);
  background: #fff;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* analysis */

.analysis {
  margin-top: 32px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.05);
}

.analysis .panel-head {
  padding: 16px 22px;
}

.analysis .panel-head > span:first-child {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.panel {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 12px;
}

.panel-head .hint {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.chart-wrap {
  height: 300px;
  padding: 6px 10px 0;
}

.chart-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
}

.metric-strip > div {
  padding: 12px 18px 13px;
  background: var(--panel);
}

.metric-strip span {
  display: block;
  color: var(--faint);
  font-size: 11px;
}

.metric-strip b {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table td {
  padding: 10px 20px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--sub);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table td:last-child {
  text-align: right;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.data-table td.pending {
  color: var(--faint);
}

/* debrief layout */

.debrief-frame canvas {
  aspect-ratio: 16 / 9.4;
}

.map-wrap {
  position: relative;
  background: #1a211d;
}

.map-wrap canvas {
  width: 100%;
  aspect-ratio: 16 / 9.4;
}

.timeline-wrap {
  border-top: 1px solid var(--demo-line);
  background: #101113;
}

.timeline-wrap canvas {
  width: 100%;
  height: 56px;
  cursor: pointer;
}

.debrief-data {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.object-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.object-table tr {
  cursor: pointer;
  border-bottom: 1px solid var(--line-soft);
}

.object-table tr:last-child {
  border-bottom: 0;
}

.object-table tr.active td {
  background: #f5f5f7;
}

.object-table td {
  padding: 11px 20px;
  color: var(--sub);
}

.object-table td:first-child {
  width: 14px;
  padding-right: 0;
}

.object-table .swatch {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.object-table td.name {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.object-table td.num {
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.obj-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.obj-meta div {
  padding: 12px 20px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.obj-meta div:nth-child(2n) {
  border-right: 0;
}

.obj-meta div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.obj-meta span {
  display: block;
  color: var(--faint);
  font-size: 11px;
}

.obj-meta b {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.mini-chart {
  width: 100%;
  height: 110px;
  border-top: 1px solid var(--line-soft);
}

.event-list {
  display: grid;
  max-height: 250px;
  overflow: auto;
}

.event-row {
  display: flex;
  gap: 12px;
  padding: 9px 20px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--sub);
  font-size: 12.5px;
  cursor: pointer;
}

.event-row:last-child {
  border-bottom: 0;
}

.event-row:hover {
  background: #f5f5f7;
}

.event-row time {
  flex: none;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

/* notes */

.tool-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(56px, 6vw, 88px) 0;
  border-top: 1px solid var(--line-soft);
}

.note h3 {
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
}

.note p {
  margin-top: 8px;
  color: var(--sub);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------------- responsive ---------------- */

@media (max-width: 1000px) {
  .feature,
  .feature.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature.reverse .feature-copy,
  .feature.reverse .feature-visual {
    order: 0;
  }

  .spec-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

  .debrief-data {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    height: 52px;
  }

  .site-nav {
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    max-height: calc(100vh - 52px);
    overflow-y: auto;
    background: #fbfbfd;
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
  }

  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
    width: 34px;
    height: 34px;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 16px;
    height: 1px;
    margin: 4px auto;
    background: currentColor;
  }

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

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

  .stat:nth-child(3n) {
    border-right: 0;
  }

  .stat-band.four .stat:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .stat-band.four .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-child(n + 4) {
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }

  .stat b {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .wrap,
  .wrap-narrow,
  .header-inner {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
    letter-spacing: -0.01em;
  }

  .hero .sub {
    font-size: 15.5px;
  }

  .hero .link-row {
    gap: 14px;
    flex-direction: column;
    align-items: center;
  }

  .media-frame {
    border-radius: 16px;
  }

  .media-bar {
    padding: 10px 14px;
    font-size: 10px;
  }

  .media-frame canvas {
    aspect-ratio: 4 / 3.4;
  }

  .section,
  .section-tight {
    padding: 56px 0;
  }

  .statement h2,
  .section-head h2,
  .contact h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .tool-hero h1 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .tool-hero .link-row {
    flex-direction: row;
    gap: 18px;
  }

  .app-frame {
    border-radius: 16px;
  }

  .app-frame > canvas,
  .map-wrap canvas {
    aspect-ratio: 4 / 3.2;
  }

  .app-toolbar {
    gap: 8px;
    padding: 10px 12px;
  }

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

  .stat:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }

  .control-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .analysis {
    margin-top: 32px;
  }

  .chart-wrap canvas {
    height: 220px;
  }

  .data-table td {
    padding: 9px 14px;
  }

  .debrief-data {
    margin-top: 32px;
  }

  .tool-notes {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }

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

/* ================= Apple-style additions ================= */

/* hero glow + layered cards */

.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30%;
  width: min(1400px, 120vw);
  height: 900px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 50% 42% at 50% 46%, rgba(0, 113, 227, 0.14), transparent 70%),
    radial-gradient(ellipse 38% 30% at 30% 30%, rgba(120, 200, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 38% 30% at 72% 34%, rgba(90, 160, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero-media {
  position: relative;
  z-index: 1;
}

.hero-media::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -40px;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.28), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.media-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.float-card {
  position: absolute;
  z-index: 3;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--ink);
  font-size: 12px;
}

.float-card b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.float-card span {
  color: var(--sub);
  font-size: 11px;
}

.float-card.tl {
  top: 56px;
  left: 24px;
}

.float-card.br {
  right: 24px;
  bottom: 26px;
}

.float-card.dark {
  background: rgba(20, 22, 24, 0.82);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f2f4f5;
}

.float-card.dark span {
  color: rgba(255, 255, 255, 0.6);
}

/* lineup */

.section-gray {
  background: #f5f5f7;
}

.lineup {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.lineup-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s cubic-bezier(0.28, 0.11, 0.32, 1), box-shadow 0.35s ease;
}

.lineup-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.12);
}

.lineup-art {
  position: relative;
  height: 168px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #0c0d0f;
  overflow: hidden;
}

.lineup-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 113, 227, 0.18), transparent 65%);
  pointer-events: none;
}

.lineup-art svg {
  width: 100%;
  height: 100%;
}

.lineup-card h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lineup-card p {
  margin-top: 8px;
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.6;
}

.lineup-links {
  display: flex;
  gap: 18px;
  margin-top: auto;
  padding-top: 18px;
}

.lineup-links .text-link {
  font-size: 13.5px;
}

/* why grid */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.why-card {
  padding: 26px;
  border-radius: 22px;
  background: #f5f5f7;
  transition: background 0.25s ease, transform 0.25s ease;
}

.why-card:hover {
  background: #eef0f2;
  transform: translateY(-3px);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.why-icon svg {
  width: 19px;
  height: 19px;
}

.why-card h3 {
  margin-top: 18px;
  font-size: 16.5px;
  font-weight: 600;
}

.why-card p {
  margin-top: 7px;
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.65;
}

/* showcase */

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(64px, 8vw, 120px) 0;
}

.showcase.reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
}

.showcase.reverse .showcase-copy {
  order: 2;
}

.showcase.reverse .showcase-visual {
  order: 1;
}

.showcase-copy h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.showcase-copy > p {
  margin-top: 18px;
  max-width: 480px;
  color: var(--sub);
  font-size: 16.5px;
  line-height: 1.65;
}

.metric-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.metric-list b {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.metric-list span {
  display: block;
  margin-top: 6px;
  color: var(--sub);
  font-size: 12.5px;
}

.showcase-links {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.showcase-visual {
  position: relative;
}

.showcase-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 113, 227, 0.22), transparent 68%);
  filter: blur(30px);
  z-index: -1;
}

.showcase-visual .screen {
  overflow: hidden;
  border-radius: 22px;
  background: #0c0d0f;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-visual canvas {
  width: 100%;
  aspect-ratio: 16 / 9.4;
}

.section-black {
  color: #f5f5f7;
  background: #000;
}

.section-black .showcase-copy > p,
.section-black .metric-list span,
.section-black .kicker {
  color: rgba(255, 255, 255, 0.62);
}

.section-black .text-link {
  color: #2997ff;
}

/* compare */

.compare-wrap {
  margin-top: 40px;
  overflow-x: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.compare th {
  padding: 22px 26px;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  color: var(--faint);
  border-bottom: 1px solid var(--line-soft);
}

.compare th:first-child {
  width: 22%;
}

.compare th .tag {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.compare td {
  padding: 18px 26px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.55;
  vertical-align: top;
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare td:first-child {
  color: var(--ink);
  font-weight: 500;
}

/* integrate */

.integrate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.integrate-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
}

.integrate-card .kicker {
  font-size: 11px;
}

.integrate-card h3 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
}

.integrate-card p {
  margin-top: 8px;
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.65;
}

.integrate-card .meta {
  margin-top: 16px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

/* deliver */

.deliver {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.deliver-card {
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.deliver-visual {
  height: 150px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 113, 227, 0.28), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(80, 200, 210, 0.22), transparent 60%),
    #0c0d0f;
}

.deliver-visual.alt {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(120, 80, 220, 0.22), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(0, 113, 227, 0.2), transparent 60%),
    #0c0d0f;
}

.deliver-visual.alt2 {
  background:
    radial-gradient(ellipse at 50% 10%, rgba(240, 140, 60, 0.18), transparent 60%),
    radial-gradient(ellipse at 30% 90%, rgba(0, 113, 227, 0.18), transparent 60%),
    #0c0d0f;
}

.deliver-body {
  padding: 24px;
}

.deliver-body h3 {
  font-size: 19px;
  font-weight: 600;
}

.deliver-body p {
  margin-top: 8px;
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.65;
}

.deliver-body ul {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: var(--faint);
  font-size: 12px;
}

.deliver-body li::before {
  content: "· ";
}

/* cta band */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 12vw, 160px) 0;
  color: #f5f5f7;
  background: #000;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -20%;
  width: 1000px;
  height: 700px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at center, rgba(0, 113, 227, 0.32), transparent 65%),
    radial-gradient(ellipse at 30% 60%, rgba(80, 200, 210, 0.16), transparent 65%);
  pointer-events: none;
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 12px auto 18px;
  max-width: 900px;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.cta-band p {
  margin: 0 auto;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16.5px;
}

.cta-band .link-row {
  margin-top: 30px;
}

.cta-band .text-link {
  color: #2997ff;
}

/* rich footer */

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding: 56px 0 36px;
  border-top: 1px solid var(--line-soft);
}

.footer-col h4 {
  margin-bottom: 12px;
  color: var(--sub);
  font-size: 12px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--faint);
  font-size: 12.5px;
}

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

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0 40px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 11.5px;
}

/* tool page additions */

.app-wrap {
  position: relative;
}

.app-wrap::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 4%;
  bottom: 8%;
  background: radial-gradient(ellipse at 50% 40%, rgba(0, 113, 227, 0.2), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.tool-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.tool-cta {
  margin-top: 56px;
  padding: 80px 40px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(0, 113, 227, 0.2), transparent 60%),
    #000;
  color: #f5f5f7;
  text-align: center;
}

.tool-cta h2 {
  margin: 8px auto 14px;
  max-width: 700px;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.1;
}

.tool-cta p {
  margin: 0 auto;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

.tool-cta .link-row {
  margin-top: 24px;
}

.tool-cta .text-link {
  color: #2997ff;
}

@media (max-width: 1000px) {
  .lineup,
  .why-grid,
  .integrate,
  .deliver,
  .tool-features {
    grid-template-columns: 1fr 1fr;
  }

  .showcase,
  .showcase.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .showcase.reverse .showcase-copy,
  .showcase.reverse .showcase-visual {
    order: 0;
  }

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

@media (max-width: 860px) {
  .float-card {
    display: none;
  }
}

@media (max-width: 600px) {
  .lineup,
  .why-grid,
  .integrate,
  .deliver,
  .tool-features,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .cta-band {
    padding: 80px 0;
  }

  .tool-cta {
    padding: 56px 24px;
  }

  .compare {
    min-width: 680px;
  }
}

/* ================= motion-first sections ================= */

.hero .kicker,
.hero h1,
.hero .sub,
.hero .link-row,
.hero .hero-actions,
.hero-media {
  opacity: 0;
  animation: rise 1s cubic-bezier(0.28, 0.11, 0.32, 1) forwards;
}

.hero .kicker { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.12s; }
.hero .sub { animation-delay: 0.22s; }
.hero .link-row,
.hero .hero-actions { animation-delay: 0.3s; }
.hero-media { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .hero .kicker,
  .hero h1,
  .hero .sub,
  .hero .link-row,
  .hero .hero-actions,
  .hero-media {
    opacity: 1;
    animation: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.motion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.motion-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #0c0d0f;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.28, 0.11, 0.32, 1), box-shadow 0.4s ease;
}

.motion-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.motion-card canvas {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.motion-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #e8ebed;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.motion-label em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 10px;
}

.lineup-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* sticky story */

.story {
  padding: 40px 0 0;
  color: #f5f5f7;
  background: #000;
}

.story .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.story-rail {
  padding: 40px 0 120px;
}

.story-step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.35;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.story-step.active {
  opacity: 1;
  transform: translateX(4px);
}

.story-step .n {
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--mono);
  font-size: 11px;
}

.story-step h3 {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
}

.story-step p {
  margin-top: 12px;
  max-width: 380px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.65;
}

.story-visual {
  position: sticky;
  top: 124px;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 140px);
  padding-top: 0;
}

.story-visual .screen {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c0d0f;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.story-visual canvas {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.story-hint {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--mono);
  font-size: 10px;
}

@media (max-width: 1000px) {
  .motion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story .wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-visual {
    position: relative;
    top: 0;
    min-height: 0;
    padding-top: 0;
    order: -1;
  }

  .story-rail {
    padding: 0 0 40px;
  }

  .story-step {
    min-height: 0;
    padding: 14px 0;
    opacity: 1;
  }
}

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

/* ================= compact tabs ================= */

.tabs {
  margin-top: 44px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.tab {
  height: 36px;
  padding: 0 18px;
  color: var(--sub);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 980px;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tab:hover {
  color: var(--ink);
  border-color: var(--sub);
}

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

.tab-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.tab-screen {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #0c0d0f;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
  aspect-ratio: 16 / 9.4;
}

.tab-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.tab-canvas.active {
  opacity: 1;
}

.tab-copy {
  display: none;
}

.tab-copy.active {
  display: block;
}

.tab-copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.012em;
}

.tab-copy > p {
  color: var(--sub);
  font-size: 15px;
  line-height: 1.65;
}

.tab-metrics {
  display: grid;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.tab-metrics div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--sub);
  font-size: 12.5px;
}

.tab-metrics b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}

.tab-copy .showcase-links {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .tab-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tab-screen {
    aspect-ratio: 4 / 3.1;
  }

  .story-step {
    min-height: 56vh;
  }
}

.story-step {
  min-height: 62vh;
}

.story-step {
  min-height: 52vh;
}

/* ================= solution navigation ================= */

.nav-dropdown {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  color: var(--sub);
  background: transparent;
  border: 0;
  font-size: 13px;
  cursor: pointer;
}

.nav-link:hover,
.nav-dropdown.open .nav-link {
  color: var(--ink);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -12px;
  z-index: 40;
  display: none;
  width: 300px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.nav-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
}

.dropdown-menu a:hover {
  background: #f5f5f7;
}

.dropdown-menu strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.dropdown-menu span {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 11.5px;
}

/* solution cards */

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.solution-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.28, 0.11, 0.32, 1), box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.12);
}

.solution-art {
  height: 150px;
  border-radius: 16px;
  background: #0c0d0f;
  overflow: hidden;
}

.solution-art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.solution-body h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.solution-body p {
  margin-top: 8px;
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.65;
}

.solution-body .link {
  margin-top: 12px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.screen-figure {
  overflow: hidden;
  border-radius: 22px;
  background: #0c0d0f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.screen-figure svg {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.product-card {
  padding: 26px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.product-card .index {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.product-card h3 {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 600;
}

.product-card p {
  margin-top: 8px;
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.65;
}

.product-card ul {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: var(--faint);
  font-size: 12px;
}

.product-card li::before {
  content: "· ";
}

@media (max-width: 900px) {
  .solution-grid,
  .screen-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .site-nav .nav-dropdown {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
    border: 0;
    padding: 0;
  }

  .dropdown-menu a {
    padding: 9px 4px;
  }
}

.product-card {
  overflow: hidden;
}

.product-visual {
  height: 130px;
  margin: -26px -26px 22px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 113, 227, 0.26), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(80, 200, 210, 0.18), transparent 60%),
    #0c0d0f;
}

.product-visual.alt {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(120, 80, 220, 0.2), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(0, 113, 227, 0.2), transparent 60%),
    #0c0d0f;
}

.product-visual.alt2 {
  background:
    radial-gradient(ellipse at 50% 10%, rgba(240, 140, 60, 0.18), transparent 60%),
    radial-gradient(ellipse at 30% 90%, rgba(0, 113, 227, 0.18), transparent 60%),
    #0c0d0f;
}

/* hardware configurator */

.config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px;
  align-items: start;
  margin-top: 44px;
}

.config-panel {
  padding: 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.config-head,
.config-summary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 18px;
}

.config-panel h2 {
  font-size: 22px;
  font-weight: 600;
}

.config-head p,
.config-summary-head p {
  margin-top: 6px;
  color: var(--sub);
  font-size: 13.5px;
  line-height: 1.6;
}

.config-presets {
  flex: 0 0 auto;
}

.config-presets button {
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

.config-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.config-spec {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.config-spec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
}

.config-spec-head h3 {
  font-size: 14px;
  font-weight: 600;
}

.config-spec-head span {
  color: var(--faint);
  font-size: 10.5px;
}

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

.spec-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: baseline;
  color: var(--sub);
  font-size: 11.5px;
}

.spec-field b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.spec-field input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
}

.config-item {
  padding: 16px;
  border: 1px solid #e8e3d8;
  border-radius: 16px;
  background: #f8f6f1;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.config-item.off {
  opacity: 0.56;
}

.config-item-head {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.config-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #e3ded4;
  border-radius: 9px;
  background: #fff;
  color: #5f5a51;
}

.config-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.config-item h3 {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}

.config-item p {
  margin-top: 4px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.55;
}

.switch {
  position: relative;
  width: 36px;
  height: 20px;
  margin-top: 4px;
  cursor: pointer;
}

.switch input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: 980px;
  background: #d8d3c8;
  transition: background 0.2s ease;
}

.switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.switch input:checked + span {
  background: #1d1d1f;
}

.switch input:checked + span::after {
  transform: translateX(16px);
}

.switch input:focus-visible + span {
  outline: 2px solid #0071e3;
  outline-offset: 2px;
}

.config-qty-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 62px;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  color: var(--faint);
  font-size: 11px;
}

.config-qty-row b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.config-qty-row input[type="range"] {
  width: 100%;
}

.config-tier {
  padding: 5px 10px;
  border: 1px solid #e3ded4;
  border-radius: 980px;
  color: #b4674a;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hw-summary {
  display: grid;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.hw-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--sub);
  font-size: 13px;
}

.hw-summary div span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 9px;
  border-radius: 50%;
  background: #b4674a;
  vertical-align: 2px;
}

.hw-summary b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
}

.hw-empty {
  padding: 18px 0;
  color: var(--faint);
  font-size: 13px;
}

.hw-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.hw-totals > div {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.hw-totals > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hw-totals span {
  display: block;
  color: var(--faint);
  font-size: 10.5px;
}

.hw-totals b {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
}

.hw-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--line-soft);
}

.hw-specs > div {
  padding: 10px 12px;
  background: #fff;
}

.hw-specs span {
  display: block;
  color: var(--faint);
  font-size: 10.5px;
}

.hw-specs b {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

.hw-field {
  display: block;
  margin-top: 18px;
}

.hw-field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--faint);
  font-size: 11.5px;
}

.hw-field textarea {
  width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  line-height: 1.6;
  resize: vertical;
}

.hw-field textarea:focus {
  outline: none;
  border-color: #0071e3;
}

.config-summary .button-row {
  margin-top: 18px;
}

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

  .config-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .config-panel {
    padding: 20px;
  }

  .config-item {
    padding: 14px;
  }

  .hw-totals b {
    font-size: 15px;
  }
}

/* ================= embedded visual system ================= */

.system-frame {
  margin-top: 22px;
  overflow: hidden;
  border-radius: 24px;
  background: #0b0d0f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.system-frame iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
  background: #0b0d0f;
}

.system-note {
  margin-top: 14px;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .system-frame {
    border-radius: 16px;
  }

  .system-frame iframe {
    height: 900px;
  }
}

/* ================= standalone tool page ================= */

.tool-page {
  padding: 26px 0 72px;
}

.tool-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.tool-page-head .crumb {
  color: var(--faint);
  font-size: 12px;
}

.tool-page-head h1 {
  margin-top: 8px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.tool-page-head .sub {
  margin-top: 10px;
  color: var(--sub);
  font-size: 14.5px;
}

.tool-page-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 16px;
  padding-bottom: 4px;
}

.tool-page .system-frame {
  margin-top: 18px;
}

/* ================= visual solution intro ================= */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 26px;
}

.launch-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  overflow: hidden;
  margin-top: 16px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(41, 151, 255, 0.12), transparent 55%),
    #0b0d0f;
  color: #f5f5f7;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.launch-art {
  position: relative;
  min-height: 360px;
  padding: 18px;
  border-right: 1px solid rgba(214, 220, 223, 0.1);
}

.launch-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.launch-art canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.art-chip {
  position: absolute;
  padding: 5px 10px;
  color: rgba(214, 236, 228, 0.8);
  border: 1px solid rgba(214, 220, 223, 0.16);
  border-radius: 980px;
  background: rgba(8, 12, 15, 0.62);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.art-chip.tl {
  top: 18px;
  left: 18px;
}

.art-chip.br {
  right: 18px;
  bottom: 18px;
}

.art-chip.bl {
  left: 18px;
  bottom: 18px;
}

.launch-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
}

.launch-copy .kicker {
  color: #2997ff;
}

.launch-copy h2 {
  margin-top: 10px;
  max-width: 460px;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.012em;
}

.launch-copy > p {
  margin-top: 14px;
  max-width: 470px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14.5px;
  line-height: 1.65;
}

.launch-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 24px 0;
  padding-top: 18px;
  border-top: 1px solid rgba(214, 220, 223, 0.1);
}

.launch-specs span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11.5px;
}

.launch-specs b {
  margin-right: 6px;
  color: #e6e9eb;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
}

.launch-copy .btn-primary {
  color: #fff;
  background: #0071e3;
  border-color: #0071e3;
}

.launch-copy small {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
}

@media (max-width: 900px) {
  .launch-panel {
    grid-template-columns: 1fr;
  }

  .launch-art {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid rgba(214, 220, 223, 0.1);
  }

  .tool-page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .tool-page-actions {
    padding-bottom: 0;
  }
}

/* ================= navigation + visual entry ================= */

.solution-art {
  position: relative;
}

.solution-card-live {
  border: 1px solid rgba(0, 113, 227, 0.22);
  box-shadow: 0 14px 40px rgba(0, 113, 227, 0.1);
}

.solution-card-live:hover {
  box-shadow: 0 28px 64px rgba(0, 113, 227, 0.16);
}

.solution-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  color: #dbeffd;
  border: 1px solid rgba(143, 199, 209, 0.3);
  border-radius: 980px;
  background: rgba(8, 12, 15, 0.66);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

.solution-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2997ff;
  box-shadow: 0 0 8px rgba(41, 151, 255, 0.8);
}

/* ================= JSBSim XML generator ================= */

.gen-suite {
  margin-top: 26px;
  padding: 26px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

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

.gen-head h2 {
  margin-top: 6px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.gen-head p {
  max-width: 680px;
  margin-top: 8px;
  color: var(--sub);
  font-size: 14px;
  line-height: 1.6;
}

.gen-actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 10px;
}

.gen-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  margin-top: 22px;
}

.gen-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-content: start;
}

.gen-field label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--sub);
  font-size: 12px;
}

.gen-field label span {
  color: var(--faint);
  font-family: var(--mono);
}

.gen-field input {
  width: 100%;
  height: 36px;
  margin-top: 6px;
  padding: 0 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-family: var(--mono);
  font-size: 12.5px;
}

.gen-field input:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.55);
}

.gen-preview {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 420px;
  border-radius: 18px;
  background: #0b0d0f;
}

.gen-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  color: #8f969c;
  border-bottom: 1px solid rgba(214, 220, 223, 0.12);
  font-family: var(--mono);
  font-size: 11px;
}

.gen-preview-head span:last-child {
  color: #8fc7d1;
}

#xmlPreview {
  flex: 1;
  overflow: auto;
  margin: 0;
  padding: 14px;
  color: #b9d6da;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.55;
  white-space: pre;
}

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

  .gen-head {
    flex-direction: column;
    gap: 16px;
  }

  .analysis .chart-wrap {
    height: 240px;
  }

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

@media (max-width: 600px) {
  .analysis .panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .analysis .panel-head > span:first-child {
    white-space: nowrap;
  }

  .analysis .panel-head .seg {
    width: 100%;
  }

  .gen-suite {
    padding: 20px;
    border-radius: 20px;
  }

  .gen-form {
    grid-template-columns: 1fr;
  }

  .gen-preview {
    max-height: 320px;
  }
}

/* ================= multi-aircraft 3D tool ================= */

.multi-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 24px;
  background: #0b0d0f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.multi-globe-wrap {
  position: relative;
  height: 640px;
  overflow: hidden;
  border: 1px solid rgba(214, 220, 223, 0.08);
  border-radius: 16px;
  background: #04070b;
}

#multiGlobe,
#acmiGlobe {
  width: 100%;
  height: 100%;
}

#multiGlobe .cesium-viewer,
#multiGlobe .cesium-viewer-cesiumWidgetContainer,
#multiGlobe .cesium-widget,
#multiGlobe .cesium-widget canvas,
#acmiGlobe .cesium-viewer,
#acmiGlobe .cesium-viewer-cesiumWidgetContainer,
#acmiGlobe .cesium-widget,
#acmiGlobe .cesium-widget canvas {
  width: 100%;
  height: 100%;
}

/* 地平线暖光：城市灯光散射到低空，和单机座舱视角一致。 */
.globe-horizon-glow {
  position: absolute;
  left: -12%;
  right: -12%;
  top: 50%;
  height: 460px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
  background: radial-gradient(
    ellipse 58% 32% at 50% 50%,
    rgba(236, 164, 98, 0.46) 0%,
    rgba(178, 116, 68, 0.26) 38%,
    rgba(104, 70, 44, 0.1) 62%,
    transparent 80%
  );
  filter: blur(4px);
}

/* 与单机视景一致的暗角，让画面边缘收进夜色。 */
.multi-globe-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 120px rgba(2, 7, 12, 0.62);
  background: radial-gradient(
    ellipse 92% 82% at 50% 40%,
    transparent 56%,
    rgba(0, 2, 5, 0.38) 100%
  );
}

.multi-hud {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.art-chip.tr {
  top: 18px;
  right: 18px;
  bottom: auto;
  left: auto;
}

.multi-fallback {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  color: #8f969c;
  background: #04070b;
  font-size: 13px;
}

.multi-fallback[hidden] {
  display: none;
}

.multi-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #e6e9eb;
}

.multi-card {
  padding: 16px;
  border: 1px solid #2a2e31;
  border-radius: 16px;
  background: #101214;
}

.multi-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.multi-card h3 {
  margin: 0;
  color: #d6dcdf;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.multi-card-head span {
  color: #8f969c;
  font-family: var(--mono);
  font-size: 11px;
}

.multi-card .seg.dark {
  margin: 0;
}

.seg.dark button {
  border-color: #2a2e31;
  background: #14171a;
  color: #8f969c;
}

.seg.dark button:hover {
  color: #e6e9eb;
  border-color: #4a5056;
}

.seg.dark button.active {
  border-color: #0071e3;
  background: #0071e3;
  color: #fff;
}

.multi-range {
  display: block;
  margin-top: 14px;
  color: #8f969c;
  font-size: 12px;
}

.multi-range b {
  float: right;
  color: #e6e9eb;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.multi-range input[type="range"] {
  display: block;
  width: 100%;
  margin-top: 8px;
  accent-color: #2997ff;
}

.multi-range input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: #2a2e31;
}

.multi-range input[type="range"]::-webkit-slider-thumb {
  margin-top: -7px;
  background: #e6e9eb;
}

.multi-card .button-row {
  gap: 8px;
  margin-top: 14px;
}

.multi-card .button-row .btn {
  flex: 1;
  height: 34px;
  color: #e6e9eb;
  border-color: #33383d;
  background: #1a1d20;
  font-size: 12px;
}

.multi-card .button-row .btn:hover {
  border-color: #4a5056;
  background: #23272b;
}

.multi-stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(214, 220, 223, 0.08);
}

.multi-stats > div:last-child {
  border-bottom: 0;
}

.multi-stats span {
  color: #8f969c;
  font-size: 11.5px;
}

.multi-stats b {
  color: #e6e9eb;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.multi-globe-wrap .cesium-viewer-bottom {
  display: none;
}

.multi-globe-wrap .cesium-widget-credits {
  font-size: 10px;
  opacity: 0.65;
}

@media (max-width: 1000px) {
  .multi-app {
    grid-template-columns: 1fr;
  }

  .multi-globe-wrap {
    height: 560px;
  }

  .multi-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .multi-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .multi-stats > div {
    border-bottom: 0;
    padding: 4px 0;
  }
}

@media (max-width: 600px) {
  .multi-app {
    padding: 10px;
    border-radius: 18px;
  }

  .multi-globe-wrap {
    height: 420px;
  }

  .multi-side {
    grid-template-columns: 1fr;
  }

  .multi-stats {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
  }
}

/* ================= ACMI replay tool ================= */

.acmi-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.acmi-globe-wrap {
  height: 620px;
}

.acmi-timeline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #2a2e31;
  border-radius: 14px;
  background: #101214;
}

.acmi-play {
  flex: none;
  height: 30px;
  padding: 0 13px;
  color: #e6e9eb;
  border: 1px solid #33383d;
  border-radius: 7px;
  background: #1a1d20;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.acmi-play:hover {
  border-color: #4a5056;
  background: #23272b;
}

.acmi-clock {
  flex: none;
  color: #8f969c;
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.acmi-timeline input[type="range"] {
  flex: 1;
  min-width: 0;
  margin: 0;
  accent-color: #2997ff;
}

.acmi-timeline input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: #2a2e31;
}

.acmi-timeline input[type="range"]::-webkit-slider-thumb {
  margin-top: -7px;
  background: #e6e9eb;
}

.acmi-speed {
  flex: none;
  margin: 0;
}

.acmi-speed button {
  height: 30px;
  padding: 0 9px;
  font-size: 11px;
}

.acmi-side {
  min-width: 0;
}

.acmi-source {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.acmi-source .btn {
  flex: 1;
  height: 34px;
  color: #e6e9eb;
  border-color: #33383d;
  background: #1a1d20;
  font-size: 12px;
  cursor: pointer;
}

.acmi-source .btn:hover {
  border-color: #4a5056;
  background: #23272b;
}

#acmiFile {
  display: none;
}

.acmi-hint {
  margin-top: 10px;
  color: #8f969c;
  font-size: 11.5px;
  line-height: 1.55;
}

.acmi-objects {
  display: grid;
  gap: 6px;
}

.acmi-object {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  color: #8f969c;
  border: 1px solid #2a2e31;
  border-radius: 8px;
  background: #14171a;
  font-size: 11px;
  cursor: pointer;
}

.acmi-object:hover {
  border-color: #4a5056;
}

.acmi-object.active {
  color: #e6e9eb;
  border-color: #2997ff;
  background: rgba(41, 151, 255, 0.08);
}

.acmi-object b {
  color: #e6e9eb;
  font-weight: 500;
}

.acmi-object span {
  color: #8f969c;
  font-family: var(--mono);
  font-size: 10px;
}

.acmi-object em {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 1000px) {
  .acmi-globe-wrap {
    height: 560px;
  }
}

@media (max-width: 600px) {
  .acmi-globe-wrap {
    height: 400px;
  }

  .acmi-timeline {
    flex-wrap: wrap;
  }

  .acmi-timeline input[type="range"] {
    order: 5;
    flex-basis: 100%;
  }

  .acmi-speed {
    margin-left: auto;
  }
}

.acmi-reticle {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 4;
  width: 38px;
  height: 38px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.acmi-cockpit-hud {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.acmi-globe-wrap.cockpit .acmi-cockpit-hud {
  opacity: 1;
}

.acmi-globe-wrap.cockpit .acmi-reticle {
  opacity: 0;
}

.acmi-reticle::before,
.acmi-reticle::after {
  content: "";
  position: absolute;
  background: rgba(143, 199, 209, 0.75);
}

.acmi-reticle::before {
  top: 0;
  left: 50%;
  width: 1px;
  height: 12px;
  box-shadow: 0 26px 0 rgba(143, 199, 209, 0.75);
}

.acmi-reticle::after {
  top: 50%;
  left: 0;
  width: 12px;
  height: 1px;
  box-shadow: 26px 0 0 rgba(143, 199, 209, 0.75);
}

/* ================= real imagery ================= */

.media-photo-wrap {
  position: relative;
  overflow: hidden;
}

.media-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
  object-position: center 55%;
}

.media-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 980px;
  background: rgba(10, 12, 14, 0.55);
  font-size: 12px;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.media-open:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(10, 12, 14, 0.75);
}

.solution-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 600px) {
  .media-photo img {
    aspect-ratio: 4 / 3.4;
  }
}

.launch-art img {
  display: block;
  width: 100%;
  min-height: 324px;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .launch-art img {
    min-height: 264px;
  }
}

/* ================= homepage editorial ================= */

body.hf {
  background: #f6f4ef;
}

body.hf .site-header {
  background: rgba(246, 244, 239, 0.88);
  border-bottom-color: #e3dfd6;
}

.eyebrow {
  color: #877f72;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* hero */

.hf-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 88px) 0;
  color: #f2f0ea;
  background: #0b0d0f;
}

.hf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 58% at 82% 44%, rgba(225, 100, 59, 0.16), transparent 70%),
    radial-gradient(ellipse 42% 54% at 10% 6%, rgba(116, 150, 170, 0.12), transparent 70%);
  pointer-events: none;
}

.hf-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.88fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.hf-hero .eyebrow {
  color: #8b949b;
}

.hf-hero h1 {
  margin-top: 16px;
  font-size: clamp(44px, 4.7vw, 70px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hf-hero .lede {
  max-width: 520px;
  margin-top: 22px;
  color: rgba(242, 240, 234, 0.62);
  font-size: 16.5px;
  line-height: 1.75;
}

.hf-hero .lede-line {
  display: block;
}

.hf-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 30px;
}

.hf-hero .text-link {
  color: #a8c8dd;
}

.hf-hero-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hf-hero-specs > div {
  padding: 18px 16px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hf-hero-specs > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.hf-hero-specs dt {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hf-hero-specs dd {
  margin-top: 7px;
  color: #79838a;
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.hf-hero-media {
  position: relative;
  height: clamp(420px, 46vw, 590px);
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
}

.hf-hero-media img,
.hf-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
}

.hf-hero-globe {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hf-hero-media > img {
  transition: opacity 0.6s ease;
}

.hf-hero-media.is-live .hf-hero-globe {
  opacity: 1;
}

.hf-hero-media.is-live > img {
  opacity: 0;
}

.hf-hero-hud {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#heroRoute {
  animation: heroDash 3.2s linear infinite;
}

@keyframes heroDash {
  to {
    stroke-dashoffset: -32;
  }
}

.hero-wp {
  animation: heroWp 2.6s ease-in-out infinite;
}

@keyframes heroWp {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #heroRoute,
  .hero-wp {
    animation: none;
  }
}

.hf-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hf-media-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hf-media-top span {
  padding: 6px 10px;
  color: rgba(242, 240, 234, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(11, 13, 15, 0.46);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hf-media-open {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  color: #f2f0ea;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 980px;
  background: rgba(11, 13, 15, 0.42);
  font-size: 13px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hf-media-open i {
  color: #e1643b;
  font-style: normal;
}

.hf-media-open:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(11, 13, 15, 0.68);
}

/* solutions */

.hf-solutions {
  padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
}

.hf-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-top: 14px;
}

.hf-head-row h2 {
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hf-head-row p {
  max-width: 420px;
  padding-bottom: 4px;
  color: #6e6960;
  font-size: 14.5px;
  line-height: 1.75;
}

.hf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.hf-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e3ded4;
  border-radius: 16px;
  background: #fffdf9;
  transition: transform 0.35s cubic-bezier(0.28, 0.11, 0.32, 1), box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.hf-card:hover {
  border-color: #cfc6b7;
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(28, 24, 18, 0.09);
}

.hf-card-art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 10px;
  background: #0b0d0f;
}

.hf-card-art img,
.hf-card-art video,
.hf-card-art canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 7px;
  transition: transform 0.6s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.hf-card-canvas[data-motion="globe"] {
  background: #0b0d0f url("./assets/card-visual-globe.jpg") center / cover no-repeat;
}

.hf-card:hover .hf-card-art img,
.hf-card:hover .hf-card-art video,
.hf-card:hover .hf-card-art canvas {
  transform: scale(1.025);
}

.hf-card-art::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(11, 13, 15, 0.55) 0%, transparent 24%, transparent 68%, rgba(11, 13, 15, 0.62) 100%);
  pointer-events: none;
}

.hf-card-tag,
.hf-card-live,
.hf-card-caption {
  position: absolute;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  color: rgba(235, 232, 225, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hf-card-tag {
  top: 20px;
  left: 21px;
}

.hf-card-live {
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
}

.hf-card-live i {
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: #e1643b;
  box-shadow: 0 0 0 3px rgba(225, 100, 59, 0.18);
}

.hf-card-caption {
  bottom: 19px;
  left: 21px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(232, 229, 222, 0.58);
}

.hf-card-caption.right {
  left: auto;
  right: 20px;
}

.hf-card-label,
.hf-live {
  position: absolute;
  top: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

.hf-card-label {
  left: 16px;
  color: rgba(232, 229, 222, 0.8);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
}

.hf-live {
  right: 14px;
  display: inline-flex;
  align-items: center;
  color: rgba(242, 240, 234, 0.86);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hf-live i {
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: #e1643b;
  box-shadow: 0 0 0 3px rgba(225, 100, 59, 0.18);
}

.hf-hud {
  position: absolute;
  bottom: 13px;
  z-index: 2;
  color: rgba(232, 229, 222, 0.56);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hf-hud.left {
  left: 15px;
}

.hf-hud.right {
  right: 15px;
}

.hf-card-art-earth img {
  filter: saturate(0.78) brightness(0.86) contrast(1.05);
}

.hf-flightpath {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hf-card-art-earth::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 96px;
  background: linear-gradient(180deg, rgba(11, 13, 15, 0.62), transparent);
  pointer-events: none;
}

.hf-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px 25px 25px;
}

.hf-card-body h3 {
  margin-top: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
}

.hf-meta {
  color: #948b7c;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
}

.hf-card-body p {
  margin-top: 9px;
  color: #6b665c;
  font-size: 14px;
  line-height: 1.72;
}

.hf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  padding-top: 0;
  color: #1d1d1f;
  font-size: 13.5px;
}

.hf-link i {
  font-style: normal;
  transition: transform 0.22s ease;
}

.hf-card:hover .hf-link i {
  transform: translateX(4px);
}

/* tools strip */

.hf-tools {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding: 18px 24px;
  border-radius: 14px;
  background: #0b0d0f;
}

.hf-tools-label {
  color: #79838a;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
}

.hf-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hf-tools-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 15px;
  color: #d9d6cf;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease;
}

.hf-tools-grid a span {
  color: #6f787f;
  font-family: var(--mono);
  font-size: 9px;
}

.hf-tools-grid a strong {
  font-weight: 500;
  white-space: nowrap;
}

.hf-tools-grid a i {
  margin-left: auto;
  color: #6f787f;
  font-style: normal;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hf-tools-grid a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.hf-tools-grid a:hover i {
  color: #e1643b;
  transform: translate(2px, -2px);
}

/* business index */

.hf-biz {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 30px;
  padding: 22px 0 4px;
  border-top: 1px solid #e3ded4;
}

.hf-biz-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hf-biz-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 6px 15px;
  color: #3d3a34;
  border-left: 1px solid #e3ded4;
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease;
}

.hf-biz-links a span {
  color: #9a9284;
  font-family: var(--mono);
  font-size: 9px;
}

.hf-biz-links a i {
  margin-left: auto;
  color: #a39b8e;
  font-style: normal;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hf-biz-links a:hover {
  color: #111;
  background: #fbf9f4;
}

.hf-biz-links a:hover i {
  color: #e1643b;
  transform: translateX(3px);
}

/* contact panel */

.hf-contact {
  padding: clamp(56px, 7vw, 88px) 0;
}

.hf-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(32px, 4.6vw, 56px);
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 90% at 12% 0%, rgba(225, 100, 59, 0.12), transparent 60%),
    #0b0d0f;
  color: #f2f0ea;
}

.hf-contact .eyebrow {
  color: #8b949b;
}

.hf-contact-copy h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.018em;
}

.hf-contact-copy > p {
  max-width: 360px;
  margin-top: 16px;
  color: rgba(242, 240, 234, 0.6);
  font-size: 14.5px;
  line-height: 1.75;
}

.hf-contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #79838a;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.hf-contact .form {
  width: 100%;
  max-width: 520px;
  margin: 0;
}

.hf-contact .form label span {
  color: #8b949b;
}

.hf-contact .form input,
.hf-contact .form select,
.hf-contact .form textarea {
  color: #f2f0ea;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.hf-contact .form input::placeholder,
.hf-contact .form textarea::placeholder {
  color: rgba(242, 240, 234, 0.34);
}

.hf-contact .form select {
  color-scheme: dark;
}

.hf-contact .form select option {
  color: #f2f0ea;
  background: #16181b;
}

.hf-contact .form .btn {
  color: #16181b;
  border-color: #f2f0ea;
  background: #f2f0ea;
}

.hf-contact .form .btn:hover {
  border-color: #fff;
  background: #fff;
}

.hf-contact .form-note {
  color: #a8c8dd;
}

body.hf .site-footer {
  border-top-color: #e0dbcf;
}

@media (max-width: 1020px) {
  .hf-hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hf-hero-media {
    height: min(58vw, 460px);
  }

  .hf-hero-specs {
    margin-top: 36px;
  }

  .hf-head-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hf-head-row p {
    max-width: 580px;
    padding-bottom: 0;
  }
}

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

  .hf-tools {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hf-biz {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 18px;
  }

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

  .hf-biz-links a {
    border-left: 0;
    border-top: 1px solid #e3ded4;
    padding: 10px 4px;
  }

  .hf-biz-links a:nth-child(-n + 2) {
    border-top: 0;
  }

  .hf-contact-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hf-contact-copy > p {
    max-width: 480px;
  }

  .hf-contact .form {
    max-width: 100%;
  }

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

  .hf-tools-grid a {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding: 10px 4px;
  }

  .hf-tools-grid a:nth-child(-n + 2) {
    border-top: 0;
  }
}

@media (max-width: 600px) {
  .hf-hero {
    padding: 44px 0 48px;
  }

  .hf-hero h1 {
    font-size: clamp(38px, 11.4vw, 48px);
  }

  .hf-hero .lede {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hf-hero .lede-line {
    display: inline;
  }

  .hf-hero .hero-actions {
    gap: 14px;
    margin-top: 24px;
  }

  .hf-hero-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
    margin-top: 30px;
  }

  .hf-hero-specs > div:nth-child(2n) {
    border-right: 0;
  }

  .hf-hero-media {
    height: 360px;
    border-radius: 16px;
  }

  .hf-media-top span {
    font-size: 8.5px;
  }

  .hf-card-body {
    padding: 20px 20px 22px;
  }

  .hf-card-body h3 {
    font-size: 19px;
  }

  .hf-head-row h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .hf-tools {
    padding: 18px;
  }

  .hf-contact {
    padding: 48px 0;
  }

  .hf-contact-panel {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .hf-contact-copy h2 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .hf-contact-meta {
    margin-top: 22px;
  }

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

  .hf-biz-links a {
    border-top: 1px solid #e3ded4;
  }

  .hf-biz-links a:first-child {
    border-top: 0;
  }
}

/* ================= enterprise certifications ================= */

.hf-certs {
  background: transparent;
  border-top: 0;
}

.hf-certs-head {
  max-width: 720px;
}

.hf-certs-head h2 {
  margin-top: 10px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hf-certs-head > p:last-child {
  margin-top: 10px;
  color: var(--sub);
  font-size: 14px;
  line-height: 1.65;
}

.cert-marquee {
  margin-top: 26px;
  padding: 8px 0 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.cert-track {
  display: flex;
  width: max-content;
  animation: cert-scroll 42s linear infinite;
  will-change: transform;
}

.cert-marquee:hover .cert-track,
.cert-marquee:focus-within .cert-track {
  animation-play-state: paused;
}

@keyframes cert-scroll {
  to {
    transform: translateX(-50%);
  }
}

.cert-group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.cert-card {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cert-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.cert-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.cert-thumb {
  display: block;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #f4f5f7;
}

.cert-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.cert-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px 15px;
}

.cert-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cert-copy strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cert-copy small {
  color: var(--faint);
  font-size: 11.5px;
}

.cert-body i {
  flex: none;
  color: var(--blue);
  font-size: 11px;
  font-style: normal;
}

.cert-foot {
  margin-top: 14px;
  color: var(--faint);
  font-size: 11px;
}

.cert-dialog {
  width: min(1100px, 94vw);
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.cert-dialog::backdrop {
  background: rgba(8, 10, 12, 0.78);
  backdrop-filter: blur(3px);
}

.cert-dialog-inner {
  display: block;
}

.cert-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.cert-dialog-head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cert-dialog-head strong {
  font-size: 15px;
  font-weight: 600;
}

.cert-dialog-head span {
  color: var(--faint);
  font-size: 12px;
}

.cert-dialog-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
}

.cert-dialog-close:focus-visible,
.cert-dialog-close:focus {
  outline: 1px solid rgba(200, 169, 106, 0.6);
  outline-offset: 3px;
  border-radius: 3px;
}

.hf-certs:not(.is-visible) .cert-track {
  animation-play-state: paused;
}

.cert-dialog-close {
  flex: none;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.cert-dialog-close:hover {
  background: #f5f5f7;
}

.cert-dialog img {
  display: block;
  width: 100%;
  height: auto;
  background: #f4f5f7;
}

@media (max-width: 600px) {
  .cert-card {
    flex-basis: 280px;
  }

  .cert-group {
    gap: 14px;
    padding-right: 14px;
  }

  .cert-body {
    padding: 12px 14px 13px;
  }

  .cert-copy strong {
    font-size: 13px;
  }

  .cert-dialog {
    width: 94vw;
    max-height: calc(100vh - 24px);
    border-radius: 14px;
  }

  .cert-dialog-head {
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cert-track {
    animation: none;
  }

  .cert-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* refined credential cards */

.hf-certs {
  background: transparent;
  border-top: 0;
}

.hf-certs-panel {
  padding: clamp(30px, 4vw, 48px) clamp(22px, 3.4vw, 44px) clamp(20px, 2.6vw, 32px);
  overflow: hidden;
  border: 1px solid rgba(200, 169, 106, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 90% at 12% 0%, rgba(200, 169, 106, 0.1), transparent 60%),
    #0b0d0f;
}

.hf-certs .eyebrow {
  color: #bda06a;
  letter-spacing: 0.18em;
}

.hf-certs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.hf-certs-head h2 {
  margin-top: 10px;
  color: #f3efe5;
  font-size: clamp(34px, 3.8vw, 52px);
}

.hf-certs-count {
  margin: 0 0 6px;
  color: #8f7c5c;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1;
}

.hf-certs .cert-marquee {
  margin-top: 30px;
}

.hf-certs .cert-card {
  flex: 0 0 280px;
  min-height: 232px;
  padding: 20px 22px 18px;
  border: 1px solid rgba(200, 169, 106, 0.23);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 82% 0%, rgba(200, 169, 106, 0.14), transparent 56%),
    linear-gradient(180deg, #15181b 0%, #0f1214 100%);
  color: #f3efe5;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 26px rgba(0, 0, 0, 0.22);
}

.hf-certs .cert-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 169, 106, 0.48);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hf-certs .cert-card:focus-visible {
  outline: 1px solid rgba(200, 169, 106, 0.7);
  outline-offset: 3px;
}

.cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.cert-platform {
  color: #9aa0a0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.cert-index {
  color: #c8a96a;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.cert-seal {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 18px auto 12px;
  border: 1px solid rgba(200, 169, 106, 0.5);
  border-radius: 50%;
  color: #d3b77e;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.055), inset 0 0 16px rgba(200, 169, 106, 0.08);
}

.cert-main {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cert-main strong {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cert-main small {
  color: #8d949b;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.cert-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.cert-status {
  padding: 4px 10px;
  border: 1px solid rgba(200, 169, 106, 0.26);
  border-radius: 999px;
  color: #c8a96a;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.cert-action {
  color: #9aa0a0;
  font-size: 10.5px;
}

.cert-foot {
  display: none;
}

@media (max-width: 600px) {
  .hf-certs-panel {
    padding: 24px 18px 18px;
    border-radius: 18px;
  }

  .hf-certs-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hf-certs-count {
    margin: 0;
  }

  .hf-certs .cert-card {
    flex-basis: 280px;
    min-height: 212px;
    padding: 18px 20px 16px;
  }

  .hf-certs .cert-seal {
    width: 38px;
    height: 38px;
    margin: 14px auto 10px;
    font-size: 18px;
  }

  .hf-certs .cert-main strong {
    font-size: 16px;
  }

  .hf-certs .cert-action {
    font-size: 10px;
  }
}

/* ================= flight dynamics workbench ================= */

.flight-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
  margin-top: 18px;
  padding: 16px;
  border-radius: 24px;
  background: #0b0d0f;
  color: #e6e9eb;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.flight-shell .gen-suite {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 0;
  padding: 22px;
  border: 1px solid #2a2e31;
  border-radius: 16px;
  background: #101214;
  color: #e6e9eb;
  box-shadow: none;
}

.flight-shell .gen-suite .kicker {
  color: #8f969c;
}

.flight-shell .gen-head h2 {
  color: #e6e9eb;
}

.flight-shell .gen-head p {
  color: rgba(230, 233, 235, 0.55);
}

.flight-shell .gen-field label {
  color: #8f969c;
}

.flight-shell .gen-field label span {
  color: #6f777d;
}

.flight-shell .gen-field input {
  color: #e6e9eb;
  border-color: #2a2e31;
  background: #0b0e10;
}

.flight-shell .gen-field input:focus {
  border-color: #2997ff;
}

.flight-shell .gen-preview {
  border: 1px solid #2a2e31;
  background: #05080a;
}

.flight-shell .gen-actions .btn {
  color: #e6e9eb;
  border-color: #33383d;
  background: #1a1d20;
}

.flight-shell .gen-actions .btn:hover {
  border-color: #5a6168;
}

.flight-shell .gen-actions .btn-dark {
  color: #0b0d0f;
  border-color: #e6e9eb;
  background: #e6e9eb;
}

.flight-shell .gen-actions .btn-dark:hover {
  border-color: #fff;
  background: #fff;
}

.flight-shell .app-wrap {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0;
}

.flight-shell .app-frame {
  border: 1px solid #2a2e31;
  border-radius: 16px;
  background: #05080a;
  box-shadow: none;
}

.flight-shell .app-top {
  border-bottom-color: #2a2e31;
}

.flight-shell .flight-side {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.flight-side .stat-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  border: 0;
  background: transparent;
}

.flight-side .stat {
  padding: 0;
  border-right: 0;
}

.flight-side .stat span {
  color: #8f969c;
  font-size: 10.5px;
}

.flight-side .stat b {
  margin-top: 2px;
  color: #e6e9eb;
  font-size: 17px;
}

.flight-side .stat b.hi {
  color: #8fc7d1;
}

.flight-side .controls {
  margin: 0;
  padding: 14px;
  border: 1px solid #2a2e31;
  border-top: 1px solid #2a2e31;
  border-radius: 16px;
  background: #101214;
}

.flight-side .controls-head {
  display: block;
}

.flight-side .controls-head h2 {
  color: #8f969c;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flight-side .controls-head .seg {
  margin-top: 10px;
}

.flight-side .control-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

.flight-side .button-row {
  margin-top: 14px;
}

.flight-shell .range-field label {
  color: #8f969c;
}

.flight-shell .range-field label b {
  color: #e6e9eb;
}

.flight-shell .switch-row span {
  color: #8f969c;
}

.flight-shell .switch {
  border-color: #33383d;
  background: #0b0e10;
}

.flight-shell .switch::after {
  background: #8f969c;
}

.flight-shell .switch[aria-pressed="true"] {
  border-color: #2997ff;
  background: #2997ff;
}

.flight-shell .switch[aria-pressed="true"]::after {
  background: #fff;
}

.flight-shell input[type="range"] {
  accent-color: #2997ff;
}

.flight-shell .button-row .btn {
  color: #e6e9eb;
  border-color: #33383d;
  background: #1a1d20;
}

.flight-shell .button-row .btn-dark {
  color: #fff;
  border-color: #0071e3;
  background: #0071e3;
}

.flight-shell .button-row .btn-dark:hover {
  border-color: #2997ff;
  background: #2997ff;
}

.flight-shell .analysis {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0;
  border: 1px solid #2a2e31;
  border-radius: 16px;
  background: #101214;
  box-shadow: none;
}

.flight-shell .analysis .panel-head {
  border-bottom-color: #2a2e31;
  color: #8f969c;
}

.flight-shell .analysis .panel-head > span:first-child {
  color: #e6e9eb;
}

.flight-shell .analysis .chart-wrap {
  height: 300px;
}

.flight-shell .analysis .metric-strip {
  border-top-color: #2a2e31;
  background: #2a2e31;
}

.flight-shell .analysis .metric-strip > div {
  background: #101214;
}

.flight-shell .analysis .metric-strip span {
  color: #8f969c;
}

.flight-shell .analysis .metric-strip b {
  color: #e6e9eb;
}

@media (max-width: 1000px) {
  .flight-shell {
    grid-template-columns: 1fr;
  }

  .flight-shell .app-wrap {
    grid-column: 1;
    grid-row: 1;
  }

  .flight-shell .flight-side {
    grid-column: 1;
    grid-row: 2;
  }

  .flight-shell .analysis {
    grid-column: 1;
    grid-row: 3;
  }

  .flight-shell .gen-suite {
    grid-column: 1;
    grid-row: 4;
  }
}

@media (max-width: 900px) {
  .flight-shell {
    padding: 10px;
    border-radius: 18px;
  }

  .flight-shell .gen-suite {
    padding: 18px;
  }

  .flight-shell .stat {
    padding: 12px;
  }
}
