/* ==========================================================================
   Visasoft — www99.visasoft.com.hk
   Design system and site styles
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1b1714;
  --ink-2: #2c2520;
  --ink-3: #443a33;
  --paper: #faf7f2;
  --paper-2: #f2ece3;
  --paper-3: #e9e1d5;
  --white: #ffffff;
  --orange: #f16739;
  --orange-deep: #d94f22;
  --orange-soft: #fde6dc;
  --muted: #6f655c;
  --muted-2: #8b8178;
  --line: rgba(27, 23, 20, 0.12);
  --line-soft: rgba(27, 23, 20, 0.07);
  --line-dark: rgba(255, 255, 255, 0.14);
  --ok: #1c7a53;
  --ok-soft: #e0f2e8;
  --warn: #a96b0b;
  --warn-soft: #faeed5;
  --danger: #b83f2a;
  --danger-soft: #fbe3dd;
  --shadow-sm: 0 2px 6px rgba(27, 23, 20, 0.05);
  --shadow-md: 0 18px 45px rgba(27, 23, 20, 0.09);
  --shadow-lg: 0 40px 90px rgba(27, 23, 20, 0.16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1200px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}

h4 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

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

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

::selection {
  background: var(--orange);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid rgba(241, 103, 57, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 56px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.btn svg {
  flex: none;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(241, 103, 57, 0.26);
}
.btn-primary:hover {
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(27, 23, 20, 0.2);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--orange);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover {
  background: var(--paper-2);
}

.btn-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--white);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--white);
}
.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13.5px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.text-link svg {
  transition: transform 0.25s var(--ease);
}
.text-link:hover {
  color: var(--orange-deep);
  border-color: currentColor;
}
.text-link:hover svg {
  transform: translateX(3px);
}
.text-link-light {
  color: var(--white);
}
.text-link-light:hover {
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  padding-block: 6px;
}
.topbar-group {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s var(--ease);
}
.topbar a:hover {
  color: var(--white);
}
.topbar svg {
  opacity: 0.75;
}
.topbar-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
}
.topbar .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #58d68d;
  box-shadow: 0 0 0 3px rgba(88, 214, 141, 0.16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(250, 247, 242, 0.95);
  box-shadow: 0 6px 24px rgba(27, 23, 20, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img {
  width: 176px;
  height: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav > ul > li {
  position: relative;
}
.nav > ul > li > a,
.nav > ul > li > .nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  background: none;
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav > ul > li > a:hover,
.nav > ul > li > .nav-parent:hover,
.nav > ul > li.is-active > a {
  color: var(--ink);
  background: rgba(27, 23, 20, 0.05);
}
.nav .caret {
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--ease);
}
.nav li:hover > .nav-parent .caret,
.nav li:focus-within > .nav-parent .caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  display: block;
  top: calc(100% + 8px);
  left: 50%;
  width: 290px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}
.nav ul.dropdown {
  display: block;
}
.nav li:hover > .dropdown,
.nav li:focus-within > .dropdown,
.nav li.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav a[aria-current="page"] {
  color: var(--ink);
}
.dropdown a[aria-current="page"] {
  background: var(--paper-2);
  font-weight: 600;
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.dropdown a:hover {
  background: var(--paper-2);
  color: var(--ink);
}
.dropdown .dropdown-label {
  padding: 8px 12px 5px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.dropdown .dropdown-split {
  height: 1px;
  margin: 8px 6px;
  background: var(--line-soft);
}

.menu-btn {
  display: none;
  position: relative;
  z-index: 130;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.7px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.menu-btn span:nth-child(1) {
  top: 16px;
}
.menu-btn span:nth-child(2) {
  top: 21px;
}
.menu-btn span:nth-child(3) {
  top: 26px;
}
.nav-open .menu-btn span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-open .menu-btn span:nth-child(2) {
  opacity: 0;
}
.nav-open .menu-btn span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

/* --------------------------------------------------------------------------
   Shared section furniture
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(68px, 9vw, 118px);
}
.section-tight {
  padding-block: clamp(48px, 6vw, 76px);
}
.section-white {
  background: var(--white);
}
.section-paper {
  background: var(--paper);
}
.section-sand {
  background: var(--paper-2);
}
.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-dark p {
  color: rgba(250, 247, 242, 0.68);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.eyebrow-light {
  color: var(--orange);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(38px, 5vw, 58px);
}
.section-head-copy {
  max-width: 720px;
}
.section-head h2 {
  margin-bottom: 0.35em;
}
.section-head p {
  max-width: 58ch;
  color: var(--muted);
  font-size: 16.5px;
}
.section-head .section-side {
  flex: none;
  padding-bottom: 6px;
}

.lede {
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  line-height: 1.65;
  color: var(--muted);
}

.accent {
  color: var(--orange-deep);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(60px, 8vw, 100px) clamp(64px, 8vw, 110px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 520px at 84% 8%, rgba(241, 103, 57, 0.17), transparent 66%),
    radial-gradient(620px 420px at 2% 100%, rgba(241, 103, 57, 0.06), transparent 70%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(27, 23, 20, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 23, 20, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(700px 500px at 75% 30%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(700px 500px at 75% 30%, black, transparent 78%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}
.hero-copy {
  max-width: 680px;
}
.hero h1 {
  margin-bottom: 0.42em;
}
.hero h1 .underline {
  display: inline-block;
  color: var(--orange-deep);
  background-image: linear-gradient(transparent 72%, rgba(241, 103, 57, 0.2) 72%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.hero .lede {
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.hero-points svg {
  width: 15px;
  height: 15px;
  color: var(--orange-deep);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(241, 103, 57, 0.42);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(241, 103, 57, 0.42);
  }
  60% {
    box-shadow: 0 0 0 9px rgba(241, 103, 57, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(241, 103, 57, 0);
  }
}

/* Console visual */
.hero-visual {
  position: relative;
  perspective: 1200px;
}
.console {
  position: relative;
  background: #181412;
  color: #f7f2ea;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 50px 100px rgba(27, 23, 20, 0.34),
    0 2px 0 rgba(255, 255, 255, 0.05) inset;
  transform: rotate(-1.4deg);
  transition: transform 0.5s var(--ease);
}
.console:hover {
  transform: rotate(0deg) translateY(-4px);
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.console-dots {
  display: inline-flex;
  gap: 5px;
}
.console-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.console-dots i:first-child {
  background: rgba(241, 103, 57, 0.9);
}
.console-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.console-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #75d6a4;
}
.console-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #75d6a4;
}
.console-main {
  padding: 24px;
}
.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.console-label {
  display: block;
  margin-bottom: 5px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.console-score {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}
.console-score span {
  margin-left: 2px;
  font-size: 20px;
  color: var(--orange);
}
.console-delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 7px;
  font-size: 10.5px;
  color: #75d6a4;
}
.gauge {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--orange) calc(var(--p, 98) * 1%), rgba(255, 255, 255, 0.1) 0);
}
.gauge::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #181412;
}
.gauge b {
  position: relative;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}
.console-list {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.console-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  font-size: 12px;
}
.console-row > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.dot-ok {
  background: #5cc98c;
  box-shadow: 0 0 0 3px rgba(92, 201, 140, 0.12);
}
.dot-warn {
  background: #e8a33d;
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.12);
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tag-ok {
  background: rgba(92, 201, 140, 0.12);
  color: #7bdba7;
}
.tag-warn {
  background: rgba(232, 163, 61, 0.12);
  color: #efb45a;
}
.console-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 56px;
  margin: 18px 0;
}
.console-chart i {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(241, 103, 57, 0.9), rgba(241, 103, 57, 0.25));
  opacity: 0.55;
}
.console-chart i:nth-last-child(-n + 3) {
  opacity: 1;
}
.console-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.console-foot span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.console-foot strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  transform: rotate(1.4deg);
}
.float-card .float-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex: none;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange-deep);
}
.float-card strong {
  display: block;
  font-size: 11.5px;
  line-height: 1.3;
}
.float-card span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.float-a {
  top: -20px;
  right: -14px;
}
.float-b {
  bottom: -22px;
  left: -20px;
  transform: rotate(-1.2deg);
}

/* --------------------------------------------------------------------------
   Sector marquee
   -------------------------------------------------------------------------- */

.sector-strip {
  background: var(--paper-2);
  border-block: 1px solid var(--line-soft);
  padding-block: 15px;
  overflow: hidden;
}
.sector-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}
.sector-label {
  flex: none;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.marquee {
  position: relative;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--orange);
  transform: rotate(45deg);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats-band {
  background: var(--ink);
  color: var(--paper);
  padding-block: 42px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat {
  padding-left: 22px;
  border-left: 1px solid var(--line-dark);
}
.stat:first-child {
  border-left: 0;
  padding-left: 0;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 2.85rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}
.stat strong em {
  font-style: normal;
  color: var(--orange);
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(250, 247, 242, 0.56);
}

/* --------------------------------------------------------------------------
   Cards and grids
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: 20px;
}
.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 23, 20, 0.18);
  box-shadow: var(--shadow-md);
}
.card h3 {
  margin-bottom: 0.35em;
}
.card p {
  color: var(--muted);
  font-size: 14.5px;
}
.card .card-link {
  margin-top: auto;
  padding-top: 20px;
}
.card-num {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}
.icon-tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange-deep);
}
.icon-tile svg {
  width: 24px;
  height: 24px;
}
.icon-tile-dark {
  background: rgba(241, 103, 57, 0.12);
  color: var(--orange);
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.check-list li {
  position: relative;
  padding-left: 25px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange-soft);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 4.4px;
  top: 0.62em;
  width: 4px;
  height: 7px;
  border: solid var(--orange-deep);
  border-width: 0 1.7px 1.7px 0;
  transform: rotate(42deg);
}
.check-list-light li {
  color: rgba(250, 247, 242, 0.66);
}
.check-list-light li::before {
  background: rgba(241, 103, 57, 0.18);
}
.check-list-light li::after {
  border-color: var(--orange);
}

.mini-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.mini-card:hover {
  background: var(--white);
  border-color: var(--line);
}
.mini-card .mini-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  color: var(--orange-deep);
}
.mini-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.mini-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

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

.feature {
  padding-block: clamp(62px, 8vw, 104px);
}
.feature + .feature {
  border-top: 1px solid var(--line-soft);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.feature-copy {
  max-width: 600px;
}
.feature-copy h2 {
  margin-bottom: 0.45em;
}
.feature-copy .lede {
  margin-bottom: 22px;
}
.feature.alt .feature-copy {
  order: 2;
}
.feature.alt .feature-visual {
  order: 1;
}
.feature-link {
  margin-top: 24px;
}

.panel {
  position: relative;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.panel-dark {
  background: var(--ink);
  border-color: var(--line-dark);
  color: var(--paper);
  box-shadow: var(--shadow-lg);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.panel-title {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 10px;
  font-weight: 600;
}
.panel-badge-warn {
  background: var(--warn-soft);
  color: var(--warn);
}
.panel-badge-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.version-list {
  display: grid;
  gap: 0;
}
.version-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}
.version-row:first-child {
  border-top: 0;
}
.version-name {
  font-size: 13px;
  font-weight: 600;
}
.version-path {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}
.version-path .old {
  color: var(--danger);
}
.version-path .arrow {
  color: var(--muted-2);
}
.version-path .new {
  color: var(--ok);
  font-weight: 600;
}
.progress {
  grid-column: 1 / -1;
  height: 5px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.progress span {
  display: block;
  width: var(--v, 80%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), #f7a07f);
}

.runbook {
  display: grid;
  gap: 0;
}
.runbook-step {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}
.runbook-step:first-child {
  border-top: 0;
}
.runbook-num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper-2);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-3);
}
.runbook-step.is-done .runbook-num {
  background: var(--ok-soft);
  color: var(--ok);
}
.runbook-step h4 {
  margin: 1px 0 2px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
}
.runbook-step p {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}
.runbook-status {
  padding-top: 2px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.runbook-step.is-done .runbook-status {
  color: var(--ok);
}
.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.panel-metrics span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.panel-metrics strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.findings {
  display: grid;
  gap: 0;
}
.finding {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}
.finding:first-child {
  border-top: 0;
}
.finding-name {
  font-size: 12.5px;
  font-weight: 500;
}
.finding-meta {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--muted);
}
.sev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sev-critical {
  background: var(--danger);
  color: var(--white);
}
.sev-high {
  background: var(--danger-soft);
  color: var(--danger);
}
.sev-medium {
  background: var(--warn-soft);
  color: var(--warn);
}
.sev-low {
  background: var(--ok-soft);
  color: var(--ok);
}
.score-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--paper);
}
.score-strip .score-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.score-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
}
.score-strip .score-note {
  font-size: 10.5px;
  color: var(--ok);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */

.products {
  position: relative;
  overflow: hidden;
}
.products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 420px at 90% 0%, rgba(241, 103, 57, 0.13), transparent 70%);
  pointer-events: none;
}
.products .container {
  position: relative;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
}
.product-screen {
  display: grid;
  place-items: center;
  min-height: 224px;
  margin-bottom: 22px;
  padding: 20px;
  background: linear-gradient(150deg, #f7f1e8, #efe5d7);
  border-radius: 14px;
  overflow: hidden;
}
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 8px 8px;
}
.product-kicker {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.product-card h3 {
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 25px;
}
.product-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(250, 247, 242, 0.62);
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 20px;
}
.product-tags span {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: rgba(250, 247, 242, 0.62);
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s var(--ease);
}
.product-link:hover {
  color: var(--orange);
}
.product-link svg {
  transition: transform 0.25s var(--ease);
}
.product-link:hover svg {
  transform: translate(2px, -2px);
}

/* Mini product mockups */
.mock-phone {
  width: 148px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(27, 23, 20, 0.12);
  border-radius: 22px;
  box-shadow: 0 18px 32px rgba(27, 23, 20, 0.16);
}
.mock-phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 4px 8px;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8b8178;
}
.mock-phone-top i {
  width: 16px;
  height: 4px;
  border-radius: 99px;
  background: #1b1714;
}
.mock-phone-hero {
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f16739, #f3a17f 60%, #f7d8c8);
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
}
.mock-phone-hero::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  right: -8px;
  bottom: -12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.mock-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.mock-tile {
  height: 38px;
  border-radius: 5px;
  background: #f2ece3;
  position: relative;
}
.mock-tile::after {
  content: "";
  position: absolute;
  inset: 6px 6px auto;
  height: 3px;
  border-radius: 3px;
  background: rgba(27, 23, 20, 0.14);
}
.mock-phone-nav {
  display: flex;
  justify-content: space-around;
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px solid #eee7dd;
}
.mock-phone-nav i {
  width: 12px;
  height: 3px;
  border-radius: 3px;
  background: #d8cfc3;
}
.mock-phone-nav i:first-child {
  background: #f16739;
}

.mock-report {
  width: 200px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(27, 23, 20, 0.1);
  border-radius: 12px;
  box-shadow: 0 18px 32px rgba(27, 23, 20, 0.14);
}
.mock-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.mock-report-head b {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b8178;
}
.mock-score {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(#f16739 0 82%, #eee7dd 0);
  font-size: 8px;
  font-weight: 700;
  color: #1b1714;
  position: relative;
}
.mock-score::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}
.mock-score span {
  position: relative;
}
.mock-finding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid #f0eae1;
  font-size: 7px;
  color: #443a33;
}
.mock-finding i {
  width: 34px;
  height: 4px;
  border-radius: 3px;
  background: #f0eae1;
}
.mock-finding .crit {
  background: #b83f2a;
}
.mock-finding .high {
  background: #e9a08f;
}
.mock-finding .med {
  background: #eccb8c;
}
.mock-finding .low {
  background: #9ed3b8;
}

.mock-clinic {
  width: 200px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(27, 23, 20, 0.1);
  border-radius: 12px;
  box-shadow: 0 18px 32px rgba(27, 23, 20, 0.14);
}
.mock-clinic-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 8px;
  font-weight: 700;
  color: #1b1714;
}
.mock-clinic-head span {
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b8178;
}
.mock-appt {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border-top: 1px solid #f0eae1;
  font-size: 6.5px;
  color: #443a33;
}
.mock-appt time {
  font-size: 6.5px;
  font-weight: 700;
  color: #1b1714;
  width: 26px;
}
.mock-appt i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f2ece3;
  flex: none;
}
.mock-appt b {
  font-weight: 600;
}
.mock-appt .pill {
  margin-left: auto;
  padding: 2px 5px;
  border-radius: 99px;
  background: #e0f2e8;
  color: #1c7a53;
  font-size: 5.5px;
  font-weight: 700;
  text-transform: uppercase;
}
.mock-appt .pill-wait {
  background: #faeed5;
  color: #a96b0b;
}

/* --------------------------------------------------------------------------
   Approach
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 0 22px 0 0;
}
.step::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 44px;
  right: 0;
  height: 1px;
  background: var(--line);
}
.step:last-child::before {
  display: none;
}
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-deep);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.step:hover .step-num {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.step h3 {
  margin-bottom: 7px;
  font-size: 17px;
}
.step p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Why / promise
   -------------------------------------------------------------------------- */

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.promise {
  padding: clamp(26px, 3.4vw, 38px);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.promise-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-dark);
}
.promise-head span {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.promise-head strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: rgba(250, 247, 242, 0.55);
}
.promise-item {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.promise-item:last-of-type {
  border-bottom: 0;
}
.promise-item .promise-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: rgba(241, 103, 57, 0.16);
  color: var(--orange);
}
.promise-item h4 {
  margin: 0 0 3px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
}
.promise-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(250, 247, 242, 0.56);
}
.promise-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(241, 103, 57, 0.1);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(250, 247, 242, 0.78);
}
.promise-note strong {
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   Engagement / case cards
   -------------------------------------------------------------------------- */

.case-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.case-tag {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-index {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--muted-2);
}
.case-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.case-card > p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.case-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
}
.case-outcomes span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-3);
}
.case-note {
  margin-top: 24px;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  max-width: 840px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-icon {
  background: var(--orange);
  border-color: var(--orange);
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--white);
}
.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-body {
  padding: 0 44px 24px 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-wrap {
  padding-block: clamp(48px, 7vw, 90px);
}
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: 40px;
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  background: var(--ink);
  border-radius: var(--radius-lg);
  color: var(--paper);
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 103, 57, 0.28), transparent 68%);
  pointer-events: none;
}
.cta-band > * {
  position: relative;
}
.cta-band h2 {
  margin-bottom: 0.3em;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
}
.cta-band p {
  max-width: 54ch;
  margin: 0;
  color: rgba(250, 247, 242, 0.62);
  font-size: 15px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cta-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: rgba(250, 247, 242, 0.42);
  text-align: right;
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 7vw, 92px) clamp(42px, 5vw, 66px);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 420px at 92% 0%, rgba(241, 103, 57, 0.12), transparent 68%);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  max-width: 15ch;
  margin-bottom: 0.35em;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
}
.page-hero .lede {
  max-width: 62ch;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 11.5px;
  color: var(--muted-2);
}
.breadcrumb a {
  transition: color 0.2s var(--ease);
}
.breadcrumb a:hover {
  color: var(--orange-deep);
}
.breadcrumb span {
  color: var(--muted-2);
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Content blocks for inner pages
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.split-center {
  align-items: center;
}
.prose {
  max-width: 720px;
}
.prose h2 {
  margin-top: 0;
}
.prose h3 {
  margin-top: 2em;
}
.prose p {
  color: var(--muted);
  font-size: 15.5px;
}
.prose ul {
  display: grid;
  gap: 10px;
  margin: 0 0 1.4em;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.deliverable {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.deliverable h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 7px;
}
.deliverable h3 svg {
  width: 17px;
  height: 17px;
  color: var(--orange-deep);
}
.deliverable p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-stack span,
.tech-stack a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
}
.tech-stack a {
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.tech-stack a:hover {
  border-color: rgba(27, 23, 20, 0.22);
  color: var(--ink);
}

/* Documentation and knowledge base */
.docs-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: 96px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.docs-sidebar h2 {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.docs-sidebar ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.docs-sidebar li {
  list-style: none;
}
.docs-sidebar a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.docs-sidebar a:hover {
  background: var(--paper);
  color: var(--ink);
}
.docs-sidebar-foot {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.docs-sidebar-foot a {
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-deep);
}
.docs-body {
  min-width: 0;
}
.docs-meta {
  margin: 0 0 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.docs-section {
  padding-bottom: 32px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: 110px;
}
.docs-section:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.docs-section h2 {
  margin-bottom: 0.45em;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
}
.docs-section h3 {
  margin: 28px 0 8px;
  font-size: 17px;
}
.docs-section p {
  max-width: 72ch;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.docs-section ul,
.docs-section ol {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 0;
}
.docs-section ul li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  list-style: none;
}
.docs-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.docs-steps {
  counter-reset: docs-step;
}
.docs-steps li {
  position: relative;
  padding-left: 38px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  list-style: none;
  counter-increment: docs-step;
}
.docs-steps li::before {
  content: counter(docs-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 11px;
  font-weight: 700;
}
.docs-callout {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--orange);
  border-radius: 0 12px 12px 0;
  background: var(--orange-soft);
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.65;
}
.docs-callout strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  color: var(--ink);
}
.docs-table {
  width: 100%;
  margin: 18px 0 22px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.docs-table th {
  padding: 10px 12px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.docs-table td {
  padding: 11px 12px;
  border: 1px solid var(--line-soft);
  vertical-align: top;
  color: var(--muted);
  line-height: 1.55;
}
.docs-body code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--paper-2);
  font-size: 0.92em;
}
.docs-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.timeline {
  display: grid;
  gap: 0;
  border-left: 1px solid var(--line);
  margin-left: 9px;
}
.timeline-item {
  position: relative;
  padding: 0 0 26px 30px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--orange);
}
.timeline-year {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--orange-deep);
}
.timeline-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.timeline-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.quote-panel {
  padding: clamp(26px, 4vw, 38px);
  background: var(--paper-2);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}
.quote-panel p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.quote-panel span {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.contact-card {
  display: flex;
  gap: 15px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact-card:hover {
  border-color: rgba(27, 23, 20, 0.22);
  transform: translateY(-2px);
}
.contact-card .contact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--orange-soft);
  color: var(--orange-deep);
}
.contact-card span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-card strong {
  display: block;
  margin-top: 2px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}
.contact-card small {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}

.form-card {
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-head {
  margin-bottom: 24px;
}
.form-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 6px;
}
.form-head p {
  font-size: 13px;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
.field label .req {
  color: var(--orange-deep);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 132px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(241, 103, 57, 0.12);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}
.consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--orange);
  flex: none;
}
.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.form-foot small {
  max-width: 34ch;
  font-size: 10.5px;
  color: var(--muted-2);
}
.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  display: none;
}
.form-status.is-visible {
  display: block;
}
.form-status.is-error {
  background: var(--danger-soft);
  color: var(--danger);
}
.form-status.is-success {
  background: var(--ok-soft);
  color: var(--ok);
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-note {
  margin-top: 26px;
  padding: 18px;
  border-radius: 14px;
  background: var(--paper-2);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.contact-note strong {
  color: var(--ink);
}

.map-card {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 22px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  color: var(--paper);
  border-radius: 15px;
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, black, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 80%);
}
.map-card > * {
  position: relative;
}
.map-card span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.map-card strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 34ch;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: #14110f;
  color: rgba(250, 247, 242, 0.68);
  padding-block: 64px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img {
  width: 168px;
  margin-bottom: 20px;
}
.footer-brand p {
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(250, 247, 242, 0.52);
}
.footer-contact {
  display: grid;
  gap: 7px;
  margin-top: 20px;
  font-size: 12.5px;
}
.footer-contact a {
  color: rgba(250, 247, 242, 0.76);
  transition: color 0.2s var(--ease);
}
.footer-contact a:hover {
  color: var(--orange);
}
.footer-col h4 {
  margin: 4px 0 14px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.4);
}
.footer-col ul {
  display: grid;
  gap: 8px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.68);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--white);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  color: rgba(250, 247, 242, 0.4);
}
.footer-bottom-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.footer-social a:hover {
  border-color: var(--orange);
  background: rgba(241, 103, 57, 0.12);
}
.footer-social svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .header-inner {
    gap: 20px;
  }
  .nav > ul > li > a,
  .nav > ul > li > .nav-parent {
    padding-inline: 10px;
    font-size: 14px;
  }
  .brand img {
    width: 158px;
  }
  .float-a {
    right: 4px;
  }
  .float-b {
    left: 4px;
  }
  .step {
    padding-right: 14px;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .hero-copy {
    max-width: 720px;
  }
  .hero-visual {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }
  .console {
    transform: none;
  }
  .float-a {
    top: -16px;
    right: -8px;
  }
  .float-b {
    bottom: -18px;
    left: -8px;
  }
  .card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    position: static;
    padding: 18px;
    margin-bottom: 8px;
  }
  .docs-sidebar ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .docs-sidebar-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 22px;
    align-items: center;
  }
  .product-screen {
    margin-bottom: 0;
    min-height: 260px;
  }
  .product-body {
    padding: 8px 8px 8px 0;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 0 0 26px;
  }
  .step::before {
    top: 44px;
    bottom: 0;
    left: 21px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .step:last-child::before {
    display: none;
  }
  .step-num {
    margin-bottom: 0;
  }
  .step h3 {
    margin-top: 10px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .cta-band {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .cta-actions {
    justify-content: flex-start;
  }
  .cta-note {
    text-align: left;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .section-head .section-side {
    padding-bottom: 0;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 40px, var(--container));
  }
  .topbar-group:last-child .topbar-hide {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .nav {
    position: fixed;
    z-index: 120;
    top: 0;
    right: 0;
    width: min(88vw, 400px);
    height: 100dvh;
    padding: 92px 24px 36px;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px rgba(27, 23, 20, 0.14);
    transform: translateX(102%);
    transition: transform 0.38s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open {
    transform: translateX(0);
  }
  .nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav > ul > li > a,
  .nav > ul > li > .nav-parent {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 16px;
  }
  .nav > ul > li.is-active > a {
    background: var(--paper-2);
  }
  .dropdown {
    position: static;
    width: 100%;
    padding: 4px 0 8px 12px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .nav li.is-open > .dropdown {
    max-height: 420px;
  }
  .nav li:hover > .dropdown {
    max-height: 0;
  }
  .nav li.is-open:hover > .dropdown {
    max-height: 420px;
  }
  .nav li.is-open > .dropdown,
  .nav li:hover > .dropdown,
  .nav li.is-open:hover > .dropdown {
    left: auto;
    transform: none;
  }
  .dropdown a {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--muted);
  }
  .dropdown .dropdown-label,
  .dropdown .dropdown-split {
    display: none;
  }
  .nav-backdrop {
    position: fixed;
    z-index: 110;
    inset: 0;
    display: block;
    background: rgba(20, 17, 15, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
  }
  .nav-open .site-header {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
  .nav-open .brand {
    position: relative;
    z-index: 130;
  }
  .nav-open .menu-btn {
    position: fixed;
    top: 17px;
    right: 20px;
  }
  .nav-open .header-inner {
    justify-content: flex-start;
  }
  .nav-open .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .topbar {
    font-size: 11px;
  }
  .topbar-inner {
    min-height: 34px;
  }
  .topbar .topbar-optional {
    display: none;
  }
  .hero {
    padding-top: 48px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 20px;
  }
  .stat {
    padding-left: 16px;
  }
  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .card-grid-3,
  .card-grid-2,
  .deliverable-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature.alt .feature-copy,
  .feature.alt .feature-visual {
    order: initial;
  }
  .feature-visual {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }
  .product-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .product-screen {
    margin-bottom: 20px;
  }
  .product-body {
    padding: 0 8px 8px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .float-card {
    display: none;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .console-main {
    padding: 20px;
  }
  .console-score {
    font-size: 40px;
  }
  .gauge {
    width: 66px;
    height: 66px;
  }
  .lead {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .topbar-group:first-child {
    display: none;
  }
  .topbar-inner {
    justify-content: center;
  }
  .card-grid-4 {
    grid-template-columns: 1fr;
  }
  .docs-sidebar ul {
    grid-template-columns: 1fr;
  }
  .docs-table {
    font-size: 12.5px;
  }
  .docs-table th,
  .docs-table td {
    padding: 9px 10px;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 36px);
  }
  h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.1rem);
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-points {
    gap: 8px 16px;
  }
  .sector-inner {
    gap: 16px;
  }
  .sector-label {
    display: none;
  }
  .console-bar {
    padding: 11px 13px;
  }
  .console-title {
    font-size: 9px;
  }
  .console-foot {
    gap: 8px;
  }
  .console-foot strong {
    font-size: 14px;
  }
  .page-hero-actions .btn {
    width: 100%;
  }
  .cta-band {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .cta-actions .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-screen {
    min-height: 220px;
    padding: 16px;
  }
  .panel {
    padding: 18px;
  }
  .version-row {
    grid-template-columns: 1fr;
  }
  .version-path {
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
