/* X-1 PRO AiO — 2026 redesign layer */

:root {
  --accent: #ff3b30;
  --accent-2: #ff624a;
  --accent-soft: #ff8a72;
  --accent-dim: rgba(255, 59, 48, .1);
  --accent-bd: rgba(255, 92, 72, .28);
  --bg: #f4f5f7;
  --bg-card: #ffffff;
  --bg-2: #f7f7f8;
  --bg-3: #eceef1;
  --border: rgba(16, 19, 26, .09);
  --border-2: rgba(16, 19, 26, .16);
  --t1: #12141a;
  --t2: #5d626d;
  --t3: #8e939e;
  --green: #21a366;
  --blue: #3274ee;
  --orange: #dc7b21;
  --purple: #8358e8;
  --nav-h: 76px;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', 'Noto Sans Thai', system-ui, sans-serif;
  --r: 14px;
  --r-lg: 24px;
  --sh: 0 1px 2px rgba(20, 20, 30, .04), 0 10px 30px rgba(20, 20, 30, .06);
  --sh-lg: 0 30px 80px rgba(25, 20, 28, .14);
}

body.dark {
  --bg: #07090d;
  --bg-card: #0d1016;
  --bg-2: #12161e;
  --bg-3: #191e28;
  --border: rgba(255, 255, 255, .075);
  --border-2: rgba(255, 255, 255, .14);
  --t1: #f6f7f9;
  --t2: #a5aab4;
  --t3: #6f7581;
  --sh: 0 1px 1px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .24);
  --sh-lg: 0 40px 110px rgba(0, 0, 0, .48);
}

html {
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  background: var(--bg);
}

button,
input {
  font: inherit;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
[role='button']:focus-visible {
  outline: 3px solid rgba(255, 92, 72, .32);
  outline-offset: 3px;
}

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

/* Loading */
#loader {
  gap: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 59, 48, .12), transparent 28%),
    var(--bg);
}

.loader-logo-img {
  width: min(230px, 55vw);
  filter: drop-shadow(0 12px 30px rgba(255, 49, 46, .18));
}

.loader-track {
  width: 150px;
  height: 3px;
  background: var(--border-2);
}

.loader-fill {
  background: linear-gradient(90deg, var(--accent), #ff8a62);
  box-shadow: 0 0 18px rgba(255, 59, 48, .55);
}

/* Navigation */
#navbar {
  height: var(--nav-h);
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  gap: 28px;
  background: rgba(244, 245, 247, .72);
  border-color: transparent;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

body.dark #navbar {
  background: rgba(7, 9, 13, .68);
}

#navbar.scrolled {
  background: rgba(244, 245, 247, .9);
  border-color: var(--border);
  box-shadow: 0 12px 35px rgba(10, 12, 18, .06);
}

body.dark #navbar.scrolled {
  background: rgba(7, 9, 13, .88);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
}

.nav-logo {
  gap: 7px;
  min-width: 152px;
}

.nav-logo-svg {
  width: 126px;
  height: auto;
}

.nav-logo-aio {
  padding-bottom: 1px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
}

.nav-links {
  flex: 1;
  justify-content: center;
  gap: 3px;
}

.nav-link {
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--t2);
}

.nav-link:hover,
.nav-link.active {
  color: var(--t1);
  background: var(--bg-2);
}

.nav-link.active::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  margin: 4px auto -4px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-r {
  gap: 7px;
}

.lang-wrap,
.theme-btn {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.lang-wrap {
  height: 38px;
  align-items: center;
  border-radius: 11px;
}

.lang-btn {
  min-width: 31px;
  padding: 5px 7px;
  border-radius: 7px;
}

.lang-btn.active {
  color: #fff;
  background: var(--accent);
  box-shadow: none;
}

.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.nav-ghost,
.nav-cta {
  min-height: 40px;
  border-radius: 11px;
}

.nav-ghost {
  background: var(--bg-card);
  border-color: var(--border);
}

.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, #ff493e, #e92324);
  box-shadow: 0 8px 22px rgba(235, 40, 38, .25), inset 0 1px rgba(255, 255, 255, .22);
}

.nav-cta:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #ff6651, #ef2928);
}

.hamburger {
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg-card);
}

.hamburger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  top: calc(var(--nav-h) - 1px);
  padding: 14px 24px 22px;
  background: rgba(13, 16, 22, .97);
  backdrop-filter: blur(20px);
}

body:not(.dark) .mobile-menu {
  background: rgba(255, 255, 255, .97);
}

.mobile-menu a {
  padding: 14px 4px;
}

.dl-menu {
  top: calc(100% + 12px);
  width: 244px;
  padding: 8px;
  border-radius: 16px;
  box-shadow: var(--sh-lg);
}

.dl-opt {
  padding: 11px;
  border-radius: 11px;
}

.dl-opt-copy,
.dl-btn-copy,
.dl-opt-lbl,
.dl-opt-sub,
.dl-btn-lbl,
.dl-btn-sub {
  display: block;
}

/* Hero */
#home {
  min-height: 850px;
  padding-top: var(--nav-h);
  isolation: isolate;
  background:
    radial-gradient(circle at 77% 42%, rgba(255, 52, 48, .13), transparent 31%),
    radial-gradient(circle at 25% 15%, rgba(86, 94, 255, .07), transparent 26%),
    var(--bg);
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 15%, transparent 88%);
}

body:not(.dark) #home::before {
  background-image:
    linear-gradient(rgba(20, 25, 35, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 25, 35, .05) 1px, transparent 1px);
}

#home::after {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  right: -260px;
  top: 80px;
  z-index: -1;
  border: 1px solid rgba(255, 59, 48, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 59, 48, .025), 0 0 0 180px rgba(255, 59, 48, .018);
}

.hero-bg-grid,
.hero-bg-fade {
  display: none;
}

.hero-inner {
  max-width: 1240px;
  min-height: 750px;
  padding: 84px 24px 112px;
  grid-template-columns: minmax(0, .93fr) minmax(500px, 1.07fr);
  gap: 76px;
}

.hero-left {
  max-width: 610px;
}

.hero-logo-banner {
  max-width: 235px;
  margin-bottom: 30px;
  filter: drop-shadow(0 10px 28px rgba(255, 50, 46, .13));
}

.hero-eyebrow {
  margin-bottom: 20px;
  padding: 7px 12px;
  border-color: var(--accent-bd);
  background: rgba(255, 59, 48, .07);
  font-size: 10px;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.hero-eyebrow-dot {
  position: relative;
  box-shadow: 0 0 0 5px rgba(255, 59, 48, .09), 0 0 14px rgba(255, 59, 48, .5);
}

.hero-h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 5.2vw, 5.15rem);
  line-height: .99;
  letter-spacing: -.068em;
}

.hero-h1 .accent {
  color: transparent;
  background: linear-gradient(105deg, #ff3534 4%, #ff8a63 86%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-h1 .light-t {
  color: var(--t2);
  font-weight: 520;
}

.hero-desc {
  max-width: 570px;
  margin-bottom: 30px;
  color: var(--t2);
  font-size: 16px;
  line-height: 1.82;
}

.hero-cta {
  gap: 12px;
  margin-bottom: 28px;
}

.btn-primary,
.btn-secondary {
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 13px;
  font-size: 14px;
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-2);
  box-shadow: var(--sh);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--accent-bd);
}

.hero-pills {
  gap: 8px;
}

.hero-pill {
  padding: 6px 10px;
  background: transparent;
  border-color: var(--border);
  box-shadow: none;
  color: var(--t2);
  font-family: var(--mono);
  font-size: 10px;
}

.hero-pill i {
  color: var(--accent-soft);
}

/* Product preview */
.hero-visual {
  min-width: 0;
  perspective: 1400px;
}

.hero-app {
  position: relative;
  overflow: visible;
  border-color: rgba(255, 255, 255, .12);
  border-radius: 23px;
  background: #0b0d12;
  box-shadow:
    0 46px 100px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(255, 255, 255, .025) inset,
    0 0 85px rgba(255, 48, 44, .075);
  transform: rotateY(-4deg) rotateX(1deg);
}

body:not(.dark) .hero-app {
  box-shadow: 0 42px 90px rgba(24, 28, 38, .24), 0 0 0 1px rgba(255, 255, 255, .4) inset;
}

.hero-app-bar {
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 23px 23px 0 0;
  border-color: rgba(255, 255, 255, .07);
  background: #11141b;
}

.hb-dot {
  width: 8px;
  height: 8px;
  opacity: .8;
}

.hero-app-title {
  color: #767c88;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-app-img {
  min-height: 410px;
  padding: 15px;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 59, 48, .07), transparent 32%),
    #090b0f;
}

.app-workspace {
  min-height: 380px;
  display: grid;
  grid-template-columns: 58px 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 15px;
  background: #0d1015;
}

.app-side {
  padding: 13px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #0a0c10;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.app-mini-logo {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #ff5449, #d8171c);
  box-shadow: 0 8px 20px rgba(234, 34, 34, .25);
  font-size: 10px;
  font-weight: 900;
}

.app-side-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #555c68;
  font-size: 12px;
}

.app-side-btn.active {
  color: #ff6b5e;
  background: rgba(255, 59, 48, .1);
  border: 1px solid rgba(255, 78, 66, .13);
}

.app-side-btn.last {
  margin-top: auto;
}

.app-panel {
  min-width: 0;
  padding: 18px;
}

.app-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.app-heading-copy small,
.app-card-label {
  display: block;
  color: #555c68;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.app-heading-copy strong {
  display: block;
  margin-top: 3px;
  color: #f2f3f5;
  font-size: 14px;
}

.app-online {
  padding: 5px 8px;
  border: 1px solid rgba(55, 207, 129, .16);
  border-radius: 20px;
  color: #51d690;
  background: rgba(38, 189, 111, .07);
  font-family: var(--mono);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.app-online::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.app-device {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 13px;
  background: linear-gradient(125deg, rgba(255, 255, 255, .035), rgba(255, 59, 48, .025));
}

.device-icon {
  width: 48px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 11px;
  color: #ff6b5f;
  background: #12151b;
  font-size: 23px;
}

.device-name {
  color: #f2f3f6;
  font-size: 12px;
  font-weight: 700;
}

.device-id {
  margin-top: 3px;
  color: #5c626e;
  font-family: var(--mono);
  font-size: 7px;
}

.device-state {
  padding: 5px 8px;
  border-radius: 7px;
  color: #55d993;
  background: rgba(40, 190, 111, .08);
  font-size: 7px;
  font-weight: 700;
}

.app-device-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 9px 0 14px;
}

.app-device-meta > div {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 9px;
  background: rgba(255, 255, 255, .016);
}

.app-device-meta span {
  display: block;
  margin-bottom: 2px;
  color: #505662;
  font-size: 7px;
}

.app-device-meta strong {
  display: block;
  overflow: hidden;
  color: #b9bdc5;
  font-family: var(--mono);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 7px;
}

.app-mode {
  min-width: 0;
  padding: 10px 7px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 9px;
  color: #767c87;
  background: rgba(255, 255, 255, .018);
  text-align: center;
  font-size: 8px;
}

.app-mode i {
  display: block;
  margin-bottom: 5px;
  color: #5b606b;
  font-size: 11px;
}

.app-mode.active {
  border-color: rgba(255, 77, 64, .28);
  color: #ff887d;
  background: rgba(255, 59, 48, .08);
}

.app-mode.active i {
  color: #ff5b50;
}

.app-action {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.app-progress {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, .06);
}

.app-progress::after {
  content: '';
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e72928, #ff765f);
  box-shadow: 0 0 12px rgba(255, 59, 48, .4);
}

.app-start {
  padding: 9px 16px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #ff4d42, #e12425);
  box-shadow: 0 7px 18px rgba(235, 38, 37, .18);
  font-size: 8px;
  font-weight: 700;
}

.hero-app-footer {
  min-height: 42px;
  padding: 10px 17px;
  border-color: rgba(255, 255, 255, .07);
  border-radius: 0 0 23px 23px;
  background: #0f1218;
}

.haf-tag {
  color: #5e6470;
  font-size: 8px;
}

.haf-badge {
  border-color: rgba(48, 204, 119, .16);
  color: #51cf8a;
  background: rgba(44, 184, 108, .065);
  font-size: 8px;
}

.visual-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  color: #d6d8dd;
  background: rgba(15, 18, 24, .86);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .32);
  backdrop-filter: blur(16px);
  font-size: 9px;
  font-weight: 600;
}

.visual-float i {
  color: #55d994;
}

.visual-float.one {
  top: 15%;
  right: -26px;
  animation: floatY 5s ease-in-out infinite;
}

.visual-float.two {
  bottom: 14%;
  left: -28px;
  animation: floatY 5s 1.2s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Stats */
.stats-wrap {
  position: relative;
  z-index: 5;
  border: 0;
  background: transparent;
}

.stats-grid {
  max-width: 1192px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--sh-lg);
  transform: translateY(-44px);
  backdrop-filter: blur(22px);
}

body.dark .stats-grid {
  background: rgba(13, 16, 22, .9);
}

.stat-item {
  min-height: 144px;
  padding: 28px 18px;
  display: grid;
  grid-template-columns: 42px auto;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-content: center;
  text-align: left;
}

.stat-item:hover {
  background: var(--bg-2);
}

.stat-icon {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid var(--border);
}

.stat-num {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.stat-lbl {
  margin-top: 3px;
  font-size: 11px;
}

/* Shared sections */
.section {
  padding: 112px 0;
}

.section + .section {
  border-color: var(--border);
}

.container {
  max-width: 1240px;
  padding-inline: 24px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-eyebrow {
  margin-bottom: 14px;
  color: var(--accent-soft);
  font-size: 10px;
  letter-spacing: .14em;
}

.section-eyebrow::before {
  width: 18px;
  height: 1px;
  background: currentColor;
}

.section-title {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.055em;
}

.section-title .accent {
  color: var(--accent);
}

.section-desc {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--t2);
  font-size: 15px;
  line-height: 1.8;
}

/* Services bento */
#services {
  padding-top: 72px;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 59, 48, .06), transparent 25%),
    var(--bg);
}

.services-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.service-card,
.service-card.span2 {
  min-height: 300px;
  grid-column: span 4;
  padding: 28px;
  border-color: var(--border);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .03), transparent 50%),
    var(--bg-card);
  box-shadow: none;
}

.service-card.span2 {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 1fr .72fr;
  align-content: center;
  column-gap: 30px;
}

.service-card:nth-child(n + 3) {
  grid-column: span 3;
}

.service-card.span2 .service-ic,
.service-card.span2 .service-name,
.service-card.span2 .service-desc {
  grid-column: 1;
}

.service-card.span2 .service-foot {
  grid-column: 1 / 3;
}

.service-card.span2::after {
  content: 'A5  →  A12+';
  grid-column: 2;
  grid-row: 1 / 4;
  min-height: 150px;
  display: grid;
  place-items: center;
  align-self: stretch;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--t1);
  background:
    radial-gradient(circle, rgba(255, 59, 48, .12), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 23px, var(--border) 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, var(--border) 24px);
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.service-card::before {
  left: 28px;
  right: 28px;
  height: 2px;
}

.service-card:hover {
  border-color: var(--card-bd, var(--border-2));
  box-shadow: 0 24px 65px rgba(0, 0, 0, .13);
  transform: translateY(-5px);
}

.service-ic {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 20%, transparent);
  border-radius: 14px;
}

.service-name {
  margin-bottom: 10px;
  font-size: 17px;
}

.service-desc {
  font-size: 13px;
  line-height: 1.75;
}

.service-foot {
  margin-top: 22px;
}

.service-deco {
  right: 12px;
  bottom: -20px;
  font-size: 118px;
  opacity: .025;
}

.tag {
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 9px;
}

/* Workflow */
#workflow {
  position: relative;
  overflow: hidden;
  background: var(--bg-card) !important;
}

#workflow::before {
  content: '01   02   03';
  position: absolute;
  right: -30px;
  top: 35px;
  color: var(--border);
  font-family: var(--mono);
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -.08em;
  pointer-events: none;
}

#workflow .section-header {
  position: relative;
  z-index: 1;
}

.steps-row {
  gap: 14px;
}

.steps-row::after {
  display: none;
}

.step {
  position: relative;
  min-height: 238px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: var(--bg);
  text-align: left;
  transition: border-color .2s ease, transform .2s ease;
}

.step:hover {
  border-color: var(--accent-bd);
  transform: translateY(-4px);
}

.step::after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  right: -70px;
  bottom: -70px;
  border: 1px solid var(--accent-bd);
  border-radius: 50%;
  opacity: .5;
}

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 0 30px;
  border: 1px solid var(--accent-bd);
  border-radius: 13px;
  color: var(--accent-soft);
  background: var(--accent-dim);
  box-shadow: none;
}

.step-lbl {
  color: var(--accent-soft);
  font-size: 9px;
  letter-spacing: .1em;
}

.step-title {
  margin-bottom: 8px;
  font-size: 16px;
}

.step-desc {
  max-width: 300px;
  font-size: 13px;
}

/* Compatibility checker */
#checker {
  background:
    radial-gradient(circle at 12% 10%, rgba(67, 96, 255, .055), transparent 28%),
    var(--bg);
}

#checker .section-header {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
}

#checker .section-eyebrow {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

#checker .section-title {
  grid-column: 1;
  grid-row: 2;
}

#checker .section-desc {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  justify-self: end;
  padding-bottom: 8px;
}

.checker-wrap {
  overflow: hidden;
  border-color: var(--border);
  border-radius: 22px;
  background: var(--bg-card);
  box-shadow: 0 25px 80px rgba(0, 0, 0, .12);
}

.checker-head {
  padding: 18px;
  gap: 14px;
  background: var(--bg-card);
}

.checker-search i {
  left: 16px;
}

.checker-input {
  min-height: 48px;
  padding-left: 43px;
  border-color: var(--border);
  border-radius: 12px;
  background: var(--bg-2);
}

.checker-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.checker-filters {
  padding: 4px;
  gap: 3px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-2);
}

.filter-btn {
  min-height: 38px;
  padding: 7px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
}

.filter-btn.active {
  color: var(--t1);
  background: var(--bg-card);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .07);
}

.filter-btn.active i {
  color: var(--accent);
}

.checker-tbl-wrap {
  max-height: 560px;
  overflow: auto;
  scrollbar-gutter: stable;
}

.checker-tbl th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 20px;
  color: var(--t3);
  background: var(--bg-2);
  font-size: 9px;
}

.checker-tbl td {
  padding: 15px 20px;
  font-size: 13px;
}

.checker-tbl tbody tr {
  transition: background .15s ease;
}

.checker-tbl tbody tr:hover td {
  background: color-mix(in srgb, var(--accent) 3%, var(--bg-card));
}

.dev-chip,
.bp-badge {
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 9px;
}

.checker-footer {
  min-height: 46px;
  padding: 12px 20px;
  background: var(--bg-2);
  font-size: 10px;
}

.checker-footer::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(33, 163, 102, .65);
}

/* Download callout */
.dl-band {
  width: min(1192px, calc(100% - 48px));
  margin: 0 auto 112px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    linear-gradient(115deg, rgba(255, 59, 48, .13), transparent 35%),
    var(--bg-card);
  box-shadow: var(--sh-lg);
}

.dl-band-bg {
  background:
    linear-gradient(90deg, transparent 49.9%, var(--border) 50%, transparent 50.1%),
    radial-gradient(circle at 10% 110%, rgba(255, 59, 48, .18), transparent 34%);
}

.dl-inner {
  max-width: none;
  min-height: 430px;
  padding: 54px;
  gap: 90px;
}

.dl-left .section-title {
  max-width: 520px;
}

.dl-right {
  width: 355px;
  gap: 10px;
}

.dl-btn {
  min-height: 78px;
  padding: 16px;
  border-color: var(--border);
  border-radius: 14px;
  background: var(--bg-2);
}

.dl-btn:hover {
  border-color: var(--accent-bd);
  background: var(--bg-3);
  transform: translateX(5px);
}

.dl-btn-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.dl-btn-lbl {
  font-size: 14px;
}

.dl-btn-sub {
  font-size: 10px;
}

.reg-btn {
  min-height: 54px;
  border-radius: 13px;
  font-size: 13px;
}

/* Footer */
.site-footer {
  padding: 72px 24px 32px;
  background: #05070a;
}

body:not(.dark) .site-footer {
  --t1: #f5f6f8;
  --t2: #a5aab4;
  --t3: #6f7581;
  --border: rgba(255, 255, 255, .075);
  --accent: #ff5148;
  background: #0a0c10;
}

.footer-grid,
.footer-bottom {
  max-width: 1192px;
}

.footer-grid {
  grid-template-columns: 1.7fr .8fr 1fr .9fr;
  gap: 56px;
  margin-bottom: 58px;
}

.footer-logo-svg {
  width: 142px;
  height: auto;
}

.site-footer .svg-pro,
.site-footer .svg-x1 {
  fill: #f5f6f8;
}

.site-footer .svg-x1 {
  fill: #ef3734;
}

.footer-about {
  max-width: 330px;
  color: #878d98;
  font-size: 12px;
}

.social-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #878d98;
}

.social-ic:hover {
  color: #fff;
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-col-title {
  color: #f0f1f3;
  font-size: 10px;
}

.footer-lnk {
  margin-bottom: 11px;
  color: #7f8590;
  font-size: 12px;
}

.footer-copy,
.footer-policy a {
  color: #5f6570;
  font-size: 11px;
}

#backTop {
  width: 44px;
  height: 44px;
  right: 22px;
  bottom: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  background: rgba(20, 23, 30, .9);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
}

#backTop:hover {
  background: var(--accent);
}

/* Motion */
.reveal {
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}

.services-grid .reveal:nth-child(2),
.steps-row .reveal:nth-child(2) {
  transition-delay: .06s;
}

.services-grid .reveal:nth-child(3),
.steps-row .reveal:nth-child(3) {
  transition-delay: .12s;
}

/* Responsive */
@media (max-width: 1160px) {
  .nav-ghost {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr);
    gap: 42px;
  }

  .hero-h1 {
    font-size: clamp(3rem, 5.5vw, 4.5rem);
  }

  .service-card,
  .service-card.span2,
  .service-card:nth-child(n + 3) {
    grid-column: span 6;
  }

  .service-card.span2 {
    display: block;
  }

  .service-card.span2::after {
    display: none;
  }
}

@media (max-width: 960px) {
  #navbar {
    padding-inline: 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-r {
    margin-left: auto;
  }

  .hamburger {
    display: flex !important;
  }

  #home {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 92px 24px 118px;
    gap: 64px;
    text-align: left;
  }

  .hero-left {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-cta,
  .hero-pills {
    justify-content: center;
  }

  .hero-visual {
    display: flex;
    width: min(680px, 92%);
    margin: 0 auto;
  }

  .hero-app {
    transform: none;
  }

  .visual-float.one {
    right: -18px;
  }

  .visual-float.two {
    left: -18px;
  }

  .stats-grid {
    width: calc(100% - 48px);
  }

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

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

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .steps-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .step {
    display: block;
  }

  .dl-inner {
    padding: 44px;
    gap: 48px;
  }

  .dl-right {
    max-width: none;
  }

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

  .footer-grid > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 68px;
  }

  .nav-logo {
    min-width: 0;
  }

  .nav-logo-svg {
    width: 112px;
  }

  .lang-wrap,
  .nav-cta {
    display: none;
  }

  .hero-inner {
    padding-top: 74px;
    padding-bottom: 98px;
  }

  .hero-logo-banner {
    max-width: 190px;
  }

  .hero-h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-visual {
    width: 100%;
  }

  .app-workspace {
    grid-template-columns: 48px 1fr;
  }

  .app-panel {
    padding: 13px;
  }

  .app-device {
    grid-template-columns: 48px 1fr;
  }

  .device-state {
    display: none;
  }

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

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

  .visual-float {
    display: none;
  }

  .stat-item {
    min-height: 120px;
    padding: 22px 15px;
    grid-template-columns: 36px auto;
    column-gap: 10px;
  }

  .stat-icon {
    width: 36px;
    height: 36px;
  }

  .stat-num {
    font-size: 19px;
  }

  .section {
    padding: 82px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: clamp(1.95rem, 9vw, 2.65rem);
  }

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

  .service-card,
  .service-card.span2,
  .service-card:nth-child(n + 3) {
    min-height: 0;
    grid-column: span 1;
  }

  .step {
    min-height: 0;
  }

  #checker .section-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #checker .section-eyebrow,
  #checker .section-title,
  #checker .section-desc {
    grid-column: 1;
    grid-row: auto;
  }

  #checker .section-desc {
    justify-self: start;
  }

  .checker-head {
    align-items: stretch;
  }

  .checker-search {
    width: 100%;
  }

  .checker-filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .filter-btn {
    flex: 1;
    justify-content: center;
    white-space: nowrap;
  }

  .checker-tbl th,
  .checker-tbl td {
    padding-inline: 14px;
  }

  .dl-band {
    width: calc(100% - 32px);
    margin-bottom: 82px;
  }

  .dl-inner {
    min-height: 0;
    padding: 36px 22px;
  }

  .dl-left {
    text-align: center;
  }

  .dl-left .section-desc {
    margin-inline: auto !important;
  }

  .dl-right {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 18px;
  }

  #navbar {
    padding-inline: 14px;
  }

  .hero-inner {
    padding-inline: 18px;
  }

  .hero-h1 {
    font-size: clamp(2.4rem, 13vw, 3.2rem);
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-cta .dl-wrap,
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    justify-content: center;
  }

  .hero-pills {
    gap: 6px;
  }

  .hero-app-img {
    min-height: 0;
    padding: 8px;
  }

  .app-workspace {
    min-height: 350px;
    grid-template-columns: 1fr;
  }

  .app-side {
    display: none;
  }

  .app-panel {
    padding: 12px;
  }

  .stats-grid {
    width: calc(100% - 32px);
  }

  .stats-wrap .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    display: block;
    text-align: center;
  }

  .stat-icon {
    margin: 0 auto 10px;
  }

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

  .checker-tbl th:nth-child(3),
  .checker-tbl td:nth-child(3) {
    display: none;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    text-align: left;
  }

  .footer-policy {
    justify-content: flex-start;
  }
}

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

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

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