:root {
  --page-bg: #f6f8ff;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6478;
  --brand: #4a5dff;
  --brand-2: #7c5cff;
  --brand-dark: #2837c9;
  --cyan: #2dd4bf;
  --border: #e6e9f5;
  --radius-lg: 30px;
  --radius-md: 18px;
  --shadow: 0 30px 80px rgba(18, 29, 88, 0.12);
  --shadow-sm: 0 16px 40px rgba(18, 29, 88, 0.08);
  --shell: 1180px;
  --mono: 'SFMono-Regular', 'Cascadia Code', Consolas, 'Liberation Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--text);
  background: var(--page-bg);
  font-family:
    'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

img {
  max-width: 100%;
}

button {
  font: inherit;
}

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

.site-main {
  flex: 1;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--text);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

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

.btn--lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 15px;
}

.btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #5b6dff, var(--brand-2));
  box-shadow: 0 18px 40px rgba(74, 93, 255, 0.36);
}

.btn--primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(74, 93, 255, 0.44);
}

.btn--glass {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn--white {
  color: #1b2a83;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(3, 8, 30, 0.24);
}

.btn--white:hover {
  color: #1b2a83;
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(3, 8, 30, 0.32);
}

.btn--ghost-dark {
  color: var(--text);
  border: 1px solid var(--border);
  background: #f6f8ff;
}

.btn--ghost-dark:hover {
  color: var(--brand);
  background: #eef1ff;
}

.btn--header {
  min-height: 40px;
  padding: 0 20px;
  color: #16205a;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(3, 8, 30, 0.18);
}

.btn--header:hover {
  color: #16205a;
  transform: translateY(-1px);
}

/* ---------- Header / Navbar ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 40, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-brand:hover {
  color: #ffffff;
}

.site-brand__logo {
  width: auto;
  height: 30px;
  display: block;
  object-fit: contain;
}

.site-brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: 18px;
  font-weight: 800;
}

.site-brand__name {
  white-space: nowrap;
}

.site-nav-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

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

.site-nav__link {
  position: relative;
  padding: 9px 17px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #9aa6ff, #5df1c4);
  opacity: 0;
  transform: scaleX(0.5);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.site-nav__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav__link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.site-nav__link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav__item {
  position: relative;
}

.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.site-nav__chevron {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.site-nav__item--dropdown:hover .site-nav__chevron,
.site-nav__item--dropdown:focus-within .site-nav__chevron {
  transform: rotate(180deg);
}

.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 60;
  min-width: 230px;
  display: grid;
  gap: 4px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(7, 12, 40, 0.24);
  transform: translate(-50%, 8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

/* 鼠标从触发按钮移到下拉面板之间的透明过渡区 */
.site-nav__dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.site-nav__item--dropdown:hover .site-nav__dropdown,
.site-nav__item--dropdown:focus-within .site-nav__dropdown {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-nav__dropdown-link {
  padding: 11px 14px;
  border-radius: 11px;
  color: #27314d;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.site-nav__dropdown-link:hover,
.site-nav__dropdown-link.is-active {
  color: var(--brand);
  background: #f4f6ff;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}

.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.site-header__phone:hover {
  color: #ffffff;
}

.site-header__phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile nav */

.site-mobile-nav {
  display: none;
  position: relative;
}

.site-mobile-nav__toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.site-mobile-nav__toggle::-webkit-details-marker {
  display: none;
}

.site-mobile-nav__bars {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
  background: linear-gradient(#ffffff, #ffffff) center / 20px 2px no-repeat;
}

.site-mobile-nav__bars::before,
.site-mobile-nav__bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
}

.site-mobile-nav__bars::before {
  top: 0;
}

.site-mobile-nav__bars::after {
  bottom: 0;
}

.site-mobile-nav[open] .site-mobile-nav__toggle {
  background: rgba(255, 255, 255, 0.14);
}

.site-mobile-nav__panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(300px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(7, 12, 40, 0.28);
}

.site-mobile-nav__links {
  display: grid;
}

.site-mobile-nav__link {
  padding: 13px 14px;
  border-radius: 12px;
  color: #27314d;
  font-size: 15px;
  font-weight: 600;
}

.site-mobile-nav__link + .site-mobile-nav__link {
  border-top: 1px solid #f0f2fa;
  border-radius: 0;
}

.site-mobile-nav__link:hover,
.site-mobile-nav__link.is-active {
  color: var(--brand);
  background: #f4f6ff;
}

.site-mobile-nav__group {
  display: grid;
  gap: 2px;
  padding: 8px 0;
}

.site-mobile-nav__group + .site-mobile-nav__group {
  border-top: 1px solid #f0f2fa;
}

.site-mobile-nav__group-title {
  padding: 9px 14px 6px;
  color: #27314d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-mobile-nav__group-title.is-active {
  color: var(--brand);
}

.site-mobile-nav__link--child {
  margin-left: 14px;
  padding-left: 16px;
  border-left: 2px solid #e6e9f5;
  border-radius: 0 12px 12px 0;
  font-size: 14px;
  font-weight: 500;
}

.site-mobile-nav__link--child + .site-mobile-nav__link--child {
  border-top: 0;
}

.site-mobile-nav__actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.site-mobile-nav__actions .btn {
  min-height: 46px;
}

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

.home {
  background: var(--page-bg);
}

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 8vw, 106px) 0 clamp(150px, 15vw, 204px);
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 12%, rgba(124, 92, 255, 0.5), transparent 32rem),
    radial-gradient(circle at 12% 88%, rgba(45, 212, 191, 0.16), transparent 26rem),
    linear-gradient(135deg, #070b22 0%, #101a56 46%, #3c50e3 100%);
}

.home-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 78%);
}

.home-hero__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.home-hero__orb--a {
  top: -140px;
  right: 6%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.55), transparent 68%);
}

.home-hero__orb--b {
  bottom: -200px;
  left: -80px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.16), transparent 68%);
}

.home-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.home-hero__content {
  max-width: 680px;
}

.home-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.home-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5df1c4;
  box-shadow: 0 0 0 4px rgba(93, 241, 196, 0.14);
}

.home-hero__title {
  margin: 26px 0 0;
  color: #ffffff;
  font-size: clamp(2.5rem, 4.3vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.home-hero__subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.85;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.home-hero__stats {
  display: flex;
  gap: clamp(24px, 4vw, 46px);
  margin: 44px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.home-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-hero__stats strong {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.home-hero__stats span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.home-hero__aside {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero__cover {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.42);
  transform: rotate(-1.5deg);
}

.home-hero__cover img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.code-window {
  width: min(100%, 500px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(6, 10, 32, 0.78);
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(20px);
  transform: rotate(-1.5deg);
}

.code-window__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.code-window__dots {
  display: flex;
  gap: 6px;
}

.code-window__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b6b;
}

.code-window__dots i:nth-child(2) {
  background: #ffd166;
}

.code-window__dots i:nth-child(3) {
  background: #5df1c4;
}

.code-window__title {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 12px;
}

.code-window__body {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: #c7d2ff;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.9;
  tab-size: 2;
}

.tok-key {
  color: #ff8ac2;
}

.tok-var {
  color: #8ab4ff;
}

.tok-prop {
  color: #7ee7c7;
}

.tok-bool {
  color: #ffcc74;
}

.tok-str {
  color: #a5f3a0;
}

.code-window__status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
}

.code-window__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5df1c4;
  animation: home-pulse 2s ease-out infinite;
}

@keyframes home-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(93, 241, 196, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(93, 241, 196, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(93, 241, 196, 0);
  }
}

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 17px;
  color: #111a3d;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 55px rgba(2, 6, 24, 0.32);
  backdrop-filter: blur(12px);
  animation: home-float 6s ease-in-out infinite;
}

.float-badge--a {
  top: 14%;
  left: -20px;
}

.float-badge--b {
  right: -20px;
  bottom: 11%;
  animation-delay: -3s;
}

.float-badge__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 11px;
  color: var(--brand);
  background: #eef1ff;
}

.float-badge__icon--cyan {
  color: #0f9f8c;
  background: #e7fbf7;
}

.float-badge__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-badge span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.float-badge strong {
  font-size: 14px;
  font-weight: 800;
}

.float-badge small {
  margin-top: 3px;
  color: #7b849d;
  font-size: 12px;
}

@keyframes home-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Features ---------- */

.home-features {
  position: relative;
  z-index: 2;
  margin-top: clamp(-128px, -9vw, -88px);
  padding-bottom: clamp(72px, 8vw, 110px);
}

.home-features > .site-shell {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(230, 233, 245, 0.9);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(13, 24, 80, 0.14);
}

.home-features__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.home-features__head h2 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.home-features__head > p {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px 26px;
  border: 1px solid #edf0fa;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: 0;
  transform: scaleX(0.55);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(74, 93, 255, 0.22);
  box-shadow: 0 22px 50px rgba(27, 42, 110, 0.1);
  transform: translateY(-5px);
}

.feature-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.feature-card__index {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #dfe3f5;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--brand);
  background: #eef1ff;
}

.feature-card__icon--violet {
  color: #7c5cff;
  background: #f2edff;
}

.feature-card__icon--cyan {
  color: #0f9f8c;
  background: #e7fbf7;
}

.feature-card__icon--amber {
  color: #d97706;
  background: #fff5e6;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

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

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.section-head h2,
.home-about__aside h2 {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.section-head > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- About ---------- */

.home-about {
  background: linear-gradient(180deg, #f6f8ff 0%, #ffffff 100%);
}

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(38px, 6vw, 84px);
}

.home-about__aside p {
  margin: 24px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #34405c;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.7;
}

.check-list span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  color: var(--brand);
  background: #e9edff;
  font-size: 12px;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.home-about__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.home-about__panel::before {
  content: '';
  position: absolute;
  top: -90px;
  right: -70px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 93, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.home-about__rich {
  position: relative;
  color: #3d475c;
  font-size: 16px;
  line-height: 1.95;
}

.home-about__rich > :first-child {
  margin-top: 0;
}

.home-about__rich > :last-child {
  margin-bottom: 0;
}

.home-about__rich p {
  margin: 0 0 1.2em;
}

.home-about__rich h2,
.home-about__rich h3 {
  margin: 1.4em 0 0.6em;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.home-about__rich h2 {
  font-size: 1.5rem;
}

.home-about__rich h3 {
  font-size: 1.2rem;
}

.home-about__rich a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-about__rich img {
  display: block;
  height: auto;
  margin: 1.4em auto;
  border-radius: var(--radius-md);
}

.home-about__tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.home-about__tags span {
  padding: 7px 14px;
  border-radius: 999px;
  color: #455080;
  background: #f2f5ff;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Process ---------- */

.home-process {
  background: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-card {
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.process-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.process-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.process-card:hover::after {
  transform: scaleX(1);
}

.process-card__step {
  color: #a2abda;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-card h3 {
  margin: 16px 0 10px;
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

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

.home-contact {
  padding: 0 0 clamp(72px, 9vw, 112px);
  background: #ffffff;
}

.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(36px, 5vw, 64px);
  border-radius: 38px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(94, 112, 255, 0.38), transparent 38%),
    linear-gradient(135deg, #070b22 0%, #131d5e 55%, #3b50e3 100%);
  box-shadow: 0 44px 110px rgba(20, 32, 105, 0.26);
}

.contact-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 20% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 40%, #000, transparent 72%);
}

.contact-panel__copy,
.contact-panel__cards {
  position: relative;
  z-index: 1;
}

.eyebrow--light {
  color: #aeb9ff;
}

.eyebrow--light::before {
  background: #aeb9ff;
}

.contact-panel__copy h2 {
  margin: 16px 0 12px;
  color: #ffffff;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.contact-panel__copy > p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.8;
}

.contact-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.contact-panel__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 32px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  list-style: none;
}

.contact-panel__points li::before {
  content: '✓';
  margin-right: 6px;
  color: #5df1c4;
}

.contact-panel__cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

.contact-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  color: #c7d0ff;
  background: rgba(124, 92, 255, 0.25);
}

.contact-card__icon--cyan {
  color: #5df1c4;
  background: rgba(93, 241, 196, 0.14);
}

.contact-card__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card__head h3 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.contact-card__head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.6;
}

.contact-card__qr {
  width: 132px;
  height: 132px;
  justify-self: center;
  padding: 6px;
  border-radius: 14px;
  background: #ffffff;
  object-fit: contain;
}

.contact-card__phone {
  color: #ffffff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.contact-card__note {
  margin: -8px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.contact-card__hours {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.contact-card__hours strong {
  color: #ffffff;
  font-weight: 600;
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  background: #070b1c;
}

.site-footer__glow {
  position: absolute;
  top: -180px;
  left: 50%;
  width: 900px;
  height: 340px;
  background: radial-gradient(ellipse, rgba(74, 93, 255, 0.24), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.site-footer__top {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(56px, 7vw, 84px) 0 clamp(42px, 5vw, 58px);
}

.site-footer__brand {
  max-width: 360px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.site-footer__logo:hover {
  color: #ffffff;
}

.site-footer__logo img {
  width: auto;
  height: 28px;
  display: block;
}

.site-footer__desc {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.85;
}

.site-footer__meta {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.site-footer__meta a,
.site-footer__meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.site-footer__meta a:hover {
  color: #ffffff;
}

.site-footer__meta svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__col h3,
.site-footer__contact h3 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.site-footer__col ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  transition: color 0.2s ease;
}

.site-footer__col a:hover {
  color: #ffffff;
}

.site-footer__nav-title {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
}

.site-footer__sub {
  gap: 9px;
  margin-top: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__sub a {
  font-size: 13px;
}

.site-footer__contact {
  min-width: 0;
}

.site-footer__qr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.site-footer__qr img {
  width: 86px;
  height: 86px;
  flex: none;
  padding: 4px;
  border-radius: 10px;
  background: #ffffff;
  object-fit: contain;
}

.site-footer__qr span {
  max-width: 100px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer__phone {
  display: inline-block;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.site-footer__phone:hover {
  color: #ffffff;
}

.site-footer__contact > p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.site-footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12.5px;
}

.site-footer__bottom-inner p {
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.site-footer__legal a,
.site-footer__legal span {
  color: rgba(255, 255, 255, 0.56);
}

.site-footer__legal a:hover {
  color: #ffffff;
}

/* ---------- Generic landing pages ---------- */

.landing-hero {
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 80px);
  background:
    radial-gradient(circle at 8% 0%, rgba(219, 228, 255, 0.8), transparent 32rem),
    radial-gradient(circle at 92% 8%, rgba(235, 224, 255, 0.55), transparent 28rem);
}

.landing-hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}

.landing-hero__grid--with-media {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.landing-hero__content {
  max-width: 720px;
}

.landing-hero--centered {
  padding-top: clamp(64px, 12vw, 132px);
  padding-bottom: clamp(64px, 10vw, 112px);
}

.landing-hero__content--centered {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.landing-hero__content--centered .landing-eyebrow {
  justify-content: center;
}

.landing-hero__content--centered .landing-subtitle {
  margin-inline: auto;
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.landing-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.landing-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.landing-subtitle {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.8;
}

.landing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 34px;
  padding: 0 28px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 34px rgba(59, 91, 253, 0.28);
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.landing-cta:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(59, 91, 253, 0.35);
}

.landing-updated {
  margin: 20px 0 0;
  color: #98a2b3;
  font-size: 13px;
}

.landing-hero__media {
  position: relative;
}

.landing-hero__media::before {
  content: '';
  position: absolute;
  inset: 10% -8% -10% 16%;
  z-index: -1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 91, 253, 0.18), rgba(124, 92, 255, 0.08));
  filter: blur(28px);
}

.landing-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.landing-body {
  padding-bottom: clamp(56px, 9vw, 100px);
}

.landing-content {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 58px);
  overflow-wrap: anywhere;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.landing-content > :first-child {
  margin-top: 0;
}

.landing-content > :last-child {
  margin-bottom: 0;
}

.landing-content h1,
.landing-content h2,
.landing-content h3,
.landing-content h4,
.landing-content h5,
.landing-content h6 {
  margin: 1.8em 0 0.65em;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.landing-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.landing-content h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.landing-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.landing-content p {
  margin: 1em 0;
  color: #3d475c;
  font-size: 16px;
  line-height: 1.9;
}

.landing-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-content ul,
.landing-content ol {
  margin: 1em 0;
  padding-left: 1.6em;
  color: #3d475c;
}

.landing-content li {
  margin: 0.45em 0;
}

.landing-content img {
  display: block;
  height: auto;
  margin: 1.6em auto;
  border-radius: var(--radius-md);
}

.landing-content video,
.landing-content iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: var(--radius-md);
}

.landing-content blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  color: #475467;
  background: #f4f6ff;
}

.landing-content blockquote p {
  margin: 0;
}

.landing-content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.landing-content code {
  padding: 0.15em 0.4em;
  border-radius: 6px;
  color: #c11574;
  background: #f4f6fb;
  font-family: var(--mono);
  font-size: 0.9em;
}

.landing-content pre {
  margin: 1.5em 0;
  padding: 20px;
  overflow-x: auto;
  border-radius: 14px;
  color: #e6e9f4;
  background: #182033;
}

.landing-content pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.landing-content table {
  width: 100%;
  margin: 1.6em 0;
  border-collapse: collapse;
  font-size: 14px;
}

.landing-content th,
.landing-content td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.landing-content th {
  color: var(--text);
  background: #f7f8fc;
  font-weight: 700;
}

/* ---------- Empty / 404 ---------- */

.status-page {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 0 96px;
  text-align: center;
}

.status-page__code {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.status-page h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.status-page p {
  max-width: 480px;
  margin: 18px 0 0;
  color: var(--muted);
}

.status-page p.status-page__countdown {
  margin-top: 12px;
  font-size: 14px;
}

.status-page__countdown strong {
  color: var(--brand);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Focus / motion ---------- */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(74, 93, 255, 0.35);
  outline-offset: 3px;
}

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

@media (max-width: 1180px) {
  .site-header__phone span {
    display: none;
  }

  .site-header__actions {
    gap: 14px;
  }

  .float-badge {
    transform: scale(0.92);
  }
}

@media (min-width: 641px) {
  .home-hero__title {
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
    gap: 36px;
  }

  .home-hero__title {
    font-size: clamp(2.4rem, 4.8vw, 3.5rem);
  }

  .home-hero__aside {
    min-height: 300px;
  }

  .float-badge {
    display: none;
  }

  .home-about__grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .home-about__aside {
    max-width: 720px;
  }

  .site-footer__top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .site-footer__contact {
    grid-column: 2 / -1;
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    gap: 16px;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav__link {
    padding: 8px 12px;
    font-size: 14px;
  }

  .site-nav__link::after {
    left: 12px;
    right: 12px;
  }

  .site-header__phone {
    display: none;
  }

  .home-hero {
    padding-bottom: 120px;
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
  }

  .home-hero__content {
    max-width: 720px;
  }

  .home-hero__aside {
    min-height: 0;
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .home-hero__stats {
    margin-top: 36px;
  }

  .home-features {
    margin-top: -72px;
  }

  .home-features__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

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

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

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

  .landing-hero__grid--with-media {
    grid-template-columns: 1fr;
  }

  .landing-hero__media {
    order: -1;
  }

  .landing-hero__media img {
    aspect-ratio: 16 / 9;
  }

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

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }

  .site-footer__contact {
    grid-column: auto;
  }

  .site-footer__bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 1000px) {
  .site-nav {
    display: none;
  }

  .site-mobile-nav {
    display: block;
  }

  .site-nav-wrap {
    justify-content: flex-end;
  }

  .site-header__actions {
    display: none;
  }
}

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

  .site-header__inner {
    min-height: 64px;
  }

  .site-brand__logo {
    height: 25px;
  }

  .home-hero {
    padding-top: 48px;
    padding-bottom: 92px;
  }

  .home-pill {
    font-size: 12px;
  }

  .home-hero__title {
    margin-top: 20px;
    font-size: clamp(2.15rem, 10vw, 2.9rem);
  }

  .home-hero__subtitle {
    margin-top: 18px;
    font-size: 15px;
  }

  .home-hero__actions {
    margin-top: 28px;
  }

  .home-hero__actions .btn {
    width: 100%;
  }

  .home-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-top: 22px;
  }

  .home-hero__stats strong {
    font-size: 1.3rem;
  }

  .home-hero__stats span {
    font-size: 11px;
  }

  .code-window {
    transform: none;
  }

  .code-window__body {
    padding: 18px;
    font-size: 12px;
  }

  .home-features {
    margin-top: -52px;
    padding-bottom: 64px;
  }

  .home-features > .site-shell {
    padding: 24px 18px;
    border-radius: 26px;
  }

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

  .feature-card {
    padding: 24px 20px;
  }

  .home-section {
    padding: 64px 0;
  }

  .section-head h2,
  .home-about__aside h2 {
    font-size: clamp(1.75rem, 7.5vw, 2.2rem);
  }

  .home-about__panel {
    padding: 24px 20px;
  }

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

  .contact-panel {
    padding: 30px 20px;
    border-radius: 28px;
  }

  .contact-panel__actions .btn {
    width: 100%;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-card__qr {
    width: 118px;
    height: 118px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
  }

  .site-footer__brand,
  .site-footer__contact {
    grid-column: auto;
  }

  .landing-hero {
    padding-top: 40px;
  }

  .landing-title {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .landing-cta {
    width: 100%;
  }
}

@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;
  }
}

/* ---------- Party building demo page ---------- */

.party {
  --party-red: #b42318;
  --party-red-dark: #5a0c16;
  --party-red-light: #e04a3a;
  --party-gold: #f0c26b;
  --party-gold-deep: #e2a93f;
  --party-cream: #fff8f3;
  --party-ink: #2b1215;
  --party-muted: #7b5b5d;
  --party-border: #f0ddd6;
  color: var(--party-ink);
  background: #ffffff;
}

.btn--party-gold {
  color: #521018;
  background: linear-gradient(135deg, #f8dc96, #e7b04a);
  box-shadow: 0 18px 40px rgba(80, 10, 20, 0.3);
}

.btn--party-gold:hover {
  color: #521018;
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(80, 10, 20, 0.36);
}

.btn--party-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.btn--party-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.party-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.party-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 0 clamp(76px, 8vw, 110px);
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 14%, rgba(240, 194, 107, 0.24), transparent 26rem),
    radial-gradient(circle at 6% 88%, rgba(224, 74, 58, 0.32), transparent 24rem),
    linear-gradient(135deg, #35070f 0%, #7c1321 46%, #b42318 100%);
}

.party-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 12%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 12%, transparent 78%);
}

.party-hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.party-hero__glow--a {
  top: -180px;
  right: 4%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(240, 194, 107, 0.26), transparent 68%);
}

.party-hero__glow--b {
  bottom: -220px;
  left: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(224, 74, 58, 0.34), transparent 68%);
}

.party-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 74px);
}

.party-hero__content {
  max-width: 680px;
}

.party-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12.5px;
}

.party-breadcrumb a {
  color: rgba(255, 255, 255, 0.64);
}

.party-breadcrumb a:hover {
  color: #ffffff;
}

.party-breadcrumb .is-current {
  color: rgba(255, 255, 255, 0.9);
}

.party-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid rgba(240, 194, 107, 0.35);
  border-radius: 999px;
  color: #f8dc96;
  background: rgba(240, 194, 107, 0.12);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
}

.party-pill > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--party-gold);
  box-shadow: 0 0 0 4px rgba(240, 194, 107, 0.14);
}

.party-title {
  margin: 22px 0 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 4.5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.party-subtitle {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.85;
}

.party-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.party-meta {
  display: flex;
  gap: clamp(22px, 3.5vw, 42px);
  margin: 40px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}

.party-meta li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.party-meta strong {
  color: #ffffff;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.party-meta span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}

.party-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.party-visual__logo {
  position: relative;
  z-index: 2;
  width: min(74%, 292px);
  aspect-ratio: 1;
  padding: 18px;
  border-radius: 38px;
  background: #ffffff;
  box-shadow: 0 40px 90px rgba(40, 4, 10, 0.42);
  transform: rotate(-4deg);
}

.party-visual__logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 24px;
}

.party-visual__shot {
  position: absolute;
  z-index: 3;
  width: 220px;
  overflow: hidden;
  border: 4px solid #ffffff;
  border-radius: 16px;
  box-shadow: 0 26px 60px rgba(40, 4, 10, 0.42);
}

.party-visual__shot img {
  width: 100%;
  height: auto;
  display: block;
}

.party-visual__shot--a {
  top: 12%;
  right: -8px;
  transform: rotate(4deg);
}

.party-visual__shot--b {
  right: 42px;
  bottom: -2%;
  width: 196px;
  transform: rotate(-2deg);
}

.party-visual__badge {
  position: absolute;
  left: 0;
  bottom: 11%;
  z-index: 4;
  padding: 10px 16px;
  border-radius: 999px;
  color: #521018;
  background: linear-gradient(135deg, #f8dc96, #e7b04a);
  box-shadow: 0 16px 34px rgba(40, 4, 10, 0.28);
  font-size: 12.5px;
  font-weight: 800;
  transform: rotate(-3deg);
}

.party-highlights {
  position: relative;
  z-index: 2;
  margin-top: -54px;
}

.party-highlights__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--party-border);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 26px 66px rgba(80, 20, 20, 0.11);
}

.party-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 28px;
}

.party-highlight + .party-highlight {
  border-left: 1px solid var(--party-border);
}

.party-highlight > span {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  color: #7a4d10;
  background: #fdf3e2;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.party-highlight strong {
  display: block;
  color: var(--party-ink);
  font-size: 16px;
  font-weight: 800;
}

.party-highlight p {
  margin: 5px 0 0;
  color: var(--party-muted);
  font-size: 13px;
  line-height: 1.7;
}

.party-demo {
  padding: clamp(64px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--party-border);
  background:
    radial-gradient(circle at 88% 20%, rgba(240, 194, 107, 0.16), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, var(--party-cream) 100%);
}

.party-demo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(40px, 6vw, 82px);
}

.party-demo__copy h2 {
  margin: 14px 0 0;
  color: var(--party-ink);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.party-demo__copy > p {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--party-muted);
  font-size: 15px;
  line-height: 1.9;
}

.party-demo__points {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.party-demo__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #503b3d;
  font-size: 14px;
  font-weight: 500;
}

.party-demo__points span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 9px;
  color: var(--party-red);
  background: #fdf0eb;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.party-demo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.party-demo__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.party-demo__phone {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 9 / 19;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 44px;
  background: linear-gradient(160deg, #2c1014, #6b0f1a);
  box-shadow: 0 36px 80px rgba(90, 20, 25, 0.28);
}

.party-demo__phone::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  pointer-events: none;
}

.party-demo__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 104px;
  height: 24px;
  border-radius: 0 0 14px 14px;
  background: #2c1014;
  transform: translateX(-50%);
  pointer-events: none;
}

.party-demo__iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 32px;
  background: #ffffff;
}

.party-demo__hint {
  color: #7b5b5d;
  font-size: 12px;
}

.party-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--party-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.party-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--party-red), var(--party-gold-deep));
}

.party-eyebrow--light {
  color: var(--party-gold);
}

.party-eyebrow--light::before {
  background: var(--party-gold);
}

.party-intro {
  padding: clamp(56px, 7vw, 88px) 0 0;
  background: linear-gradient(180deg, var(--party-cream), #ffffff);
}

.party-intro__inner {
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
}

.party-intro__inner .party-eyebrow {
  justify-content: center;
}

.party-intro__rich {
  margin-top: 22px;
  color: #513b3d;
  font-size: 16px;
  line-height: 1.95;
  text-align: left;
}

.party-intro__rich > :first-child {
  margin-top: 0;
}

.party-intro__rich > :last-child {
  margin-bottom: 0;
}

.party-intro__rich p {
  margin: 0 0 1.15em;
}

.party-intro__rich h2,
.party-intro__rich h3 {
  margin: 1.4em 0 0.6em;
  color: var(--party-ink);
}

.party-section {
  padding: clamp(72px, 8vw, 104px) 0;
  background: #ffffff;
}

.party-features {
  background: linear-gradient(180deg, var(--party-cream) 0%, #ffffff 100%);
}

.party-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: clamp(34px, 4vw, 48px);
}

.party-head h2,
.party-tech__copy h2,
.party-cta h2 {
  margin: 14px 0 0;
  color: var(--party-ink);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.party-head > p {
  max-width: 420px;
  margin: 0;
  color: var(--party-muted);
  font-size: 15px;
  line-height: 1.85;
}

.party-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: party-feature;
}

.party-feature-card {
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  border: 1px solid var(--party-border);
  border-radius: 18px;
  background: #ffffff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.party-feature-card::before {
  counter-increment: party-feature;
  content: counter(party-feature, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 16px;
  color: #efdbd3;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.party-feature-card:hover {
  border-color: #e9b7a8;
  box-shadow: 0 18px 42px rgba(120, 40, 30, 0.1);
  transform: translateY(-4px);
}

.party-feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  color: var(--party-red);
  background: #fdf0eb;
}

.party-feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.party-feature-card h3 {
  margin: 0 0 7px;
  color: var(--party-ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.party-feature-card p {
  margin: 0;
  color: var(--party-muted);
  font-size: 13px;
  line-height: 1.75;
}

.party-tech {
  background: #fff7f2;
}

.party-tech__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.party-tech__copy > p {
  margin: 20px 0 0;
  color: var(--party-muted);
  font-size: 15px;
  line-height: 1.9;
}

.party-stack {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.party-stack li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 15px 17px;
  border: 1px solid var(--party-border);
  border-radius: 15px;
  background: #ffffff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.party-stack li:hover {
  box-shadow: 0 14px 32px rgba(120, 40, 30, 0.08);
  transform: translateX(4px);
}

.party-stack > li > span {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--party-red);
  background: #fdf0eb;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.party-stack strong {
  display: block;
  color: var(--party-ink);
  font-size: 15px;
  font-weight: 800;
}

.party-stack p {
  margin: 4px 0 0;
  color: var(--party-muted);
  font-size: 13px;
  line-height: 1.7;
}

.party-tech__preview {
  position: relative;
}

.party-tech__frame {
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(135deg, #7c1321, var(--party-red));
  box-shadow: 0 34px 80px rgba(90, 20, 25, 0.24);
  transform: rotate(1.5deg);
}

.party-tech__frame img {
  width: 100%;
  display: block;
  border-radius: 15px;
}

.party-tech__caption {
  position: absolute;
  left: -18px;
  bottom: -20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--party-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(90, 20, 25, 0.16);
}

.party-tech__caption span {
  color: var(--party-red);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.party-tech__caption strong {
  color: var(--party-ink);
  font-size: 14px;
  font-weight: 800;
}

.party-showcase {
  background: #ffffff;
}

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

.party-shot-card {
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--party-border);
  border-radius: 20px;
  background: var(--party-cream);
}

.party-shot-card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.party-shot-card:hover img {
  transform: scale(1.015);
}

.party-shot-card figcaption {
  padding: 12px 8px 4px;
  color: var(--party-ink);
  font-size: 14px;
  font-weight: 700;
}

.party-cta {
  padding: 0 0 clamp(72px, 8vw, 104px);
  background: #ffffff;
}

.party-cta__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 16%, rgba(240, 194, 107, 0.3), transparent 26rem),
    linear-gradient(135deg, #4b0913, #8c1422 55%, #c4271c);
  box-shadow: 0 36px 90px rgba(90, 20, 25, 0.25);
}

.party-cta__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 20% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 40%, #000, transparent 72%);
}

.party-cta h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.party-cta p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
}

.party-cta__actions {
  display: flex;
  flex-wrap: wrap;
  flex: none;
  gap: 12px;
}

@media (max-width: 1024px) {
  .party-hero__inner,
  .party-tech__grid {
    grid-template-columns: 1fr;
  }

  .party-hero__content {
    max-width: 760px;
  }

  .party-visual {
    width: 100%;
    max-width: 540px;
    margin-inline: auto;
  }

  .party-highlights__inner {
    grid-template-columns: 1fr;
  }

  .party-highlight + .party-highlight {
    border-top: 1px solid var(--party-border);
    border-left: 0;
  }

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

  .party-cta__panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  .party-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

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

  .party-visual {
    min-height: 390px;
  }

  .party-visual__shot {
    width: 190px;
  }

  .party-visual__shot--b {
    width: 170px;
  }

  .party-cta__actions {
    width: 100%;
  }

  .party-cta__actions .btn {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .party-hero {
    padding-top: 36px;
    padding-bottom: 82px;
  }

  .party-breadcrumb {
    margin-bottom: 18px;
  }

  .party-title {
    margin-top: 18px;
    font-size: clamp(2.2rem, 10vw, 2.9rem);
  }

  .party-subtitle {
    margin-top: 16px;
    font-size: 15px;
  }

  .party-actions {
    margin-top: 26px;
  }

  .party-actions .btn {
    width: 100%;
  }

  .party-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-top: 20px;
  }

  .party-meta strong {
    font-size: 1rem;
  }

  .party-meta span {
    font-size: 11px;
  }

  .party-visual {
    min-height: 330px;
  }

  .party-visual__logo {
    width: min(67%, 218px);
    padding: 12px;
    border-radius: 28px;
  }

  .party-visual__shot {
    width: 150px;
    border-width: 3px;
    border-radius: 12px;
  }

  .party-visual__shot--a {
    right: -4px;
  }

  .party-visual__shot--b {
    display: none;
  }

  .party-visual__badge {
    left: 4%;
    bottom: 8%;
    padding: 8px 12px;
    font-size: 11px;
  }

  .party-highlights {
    margin-top: -40px;
  }

  .party-highlights__inner {
    border-radius: 20px;
  }

  .party-highlight {
    padding: 20px 18px;
  }

  .party-section {
    padding: 64px 0;
  }

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

  .party-feature-card {
    padding: 22px 20px;
  }

  .party-tech__frame {
    transform: none;
  }

  .party-tech__caption {
    position: static;
    margin-top: 16px;
  }

  .party-shot-grid {
    grid-template-columns: 1fr;
  }

  .party-cta {
    padding-bottom: 64px;
  }

  .party-cta__panel {
    padding: 30px 20px;
    border-radius: 26px;
  }

  .party-cta__actions .btn {
    width: 100%;
    flex: auto;
  }
}

@media (max-width: 1024px) {
  .party-demo__grid {
    grid-template-columns: 1fr;
  }

  .party-demo__copy {
    max-width: 720px;
  }

  .party-demo__preview {
    max-width: 460px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .party-demo {
    padding: 60px 0;
  }

  .party-demo__actions .btn {
    width: 100%;
  }

  .party-demo__phone {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 9 / 18.4;
    padding: 8px;
    border-radius: 34px;
  }

  .party-demo__phone::before {
    inset: 6px;
    border-radius: 28px;
  }

  .party-demo__notch {
    top: 10px;
    width: 88px;
    height: 20px;
    border-radius: 0 0 12px 12px;
  }

  .party-demo__iframe {
    border-radius: 26px;
  }
}

/* ---------- Quote landing page ---------- */

.quote {
  color: var(--text);
}

.quote-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 7vw, 96px) 0 clamp(68px, 8vw, 108px);
  color: #ffffff;
  background:
    radial-gradient(circle at 8% 12%, rgba(91, 109, 255, 0.42), transparent 34rem),
    radial-gradient(circle at 92% 4%, rgba(45, 212, 191, 0.2), transparent 28rem),
    linear-gradient(140deg, #070b22 0%, #101a52 55%, #2d3fd8 100%);
}

.quote-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 20% 20%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 20%, #000, transparent 76%);
}

.quote-hero__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.quote-hero__orb--a {
  top: -120px;
  right: 6%;
  width: 310px;
  height: 310px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.4), transparent 68%);
}

.quote-hero__orb--b {
  bottom: -140px;
  left: 30%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.16), transparent 70%);
}

.quote-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
}

.quote-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(24px, 4vw, 38px);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.quote-breadcrumb a {
  color: inherit;
}

.quote-breadcrumb a:hover {
  color: #ffffff;
}

.quote-breadcrumb .is-current {
  color: rgba(255, 255, 255, 0.86);
}

.quote-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #dde3ff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.quote-pill > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5df1c4;
  box-shadow: 0 0 0 4px rgba(93, 241, 196, 0.16);
}

.quote-hero h1 {
  max-width: 720px;
  margin: 20px 0 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 4.05rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.quote-hero__subtitle {
  max-width: 580px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.85;
}

.quote-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  list-style: none;
}

.quote-hero__points li::before {
  content: '✓';
  margin-right: 6px;
  color: #5df1c4;
}

.quote-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(32px, 4vw, 44px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.quote-hero__stats strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.quote-hero__stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.quote-card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 28px;
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 40px 100px rgba(4, 10, 42, 0.42);
}

.quote-card__head h2 {
  margin: 10px 0 8px;
  color: var(--text);
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

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

.quote-card__eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.quote-form {
  margin-top: 22px;
}

.quote-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.quote-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #303a52;
  font-size: 13px;
  font-weight: 600;
}

.quote-field--wide {
  grid-column: 1 / -1;
}

.quote-field > span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.quote-field em {
  color: #d8342c;
  font-style: normal;
}

.quote-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;
  border: 1px solid #d9dfef;
  border-radius: 12px;
  color: var(--text);
  background: #f9faff;
  font: inherit;
  font-weight: 400;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.quote-field input,
.quote-field select {
  height: 46px;
  padding: 0 13px;
}

.quote-field textarea {
  min-height: 112px;
  padding: 11px 13px;
  resize: vertical;
  line-height: 1.7;
}

.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color: #98a2b3;
}

.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  border-color: rgba(74, 93, 255, 0.55);
  outline: none;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(74, 93, 255, 0.12);
}

.quote-field__hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.quote-form__error {
  margin: 18px 0 0;
  padding: 10px 14px;
  border: 1px solid #f5c2c0;
  border-radius: 10px;
  color: #a3231b;
  background: #fff4f3;
  font-size: 13px;
  line-height: 1.6;
}

.quote-slider {
  position: relative;
  height: 46px;
  margin-top: 2px;
  border-radius: 12px;
}

.quote-slider__track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #d9dfef;
  border-radius: 12px;
  background: #f9faff;
}

.quote-slider__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 46px;
  background: linear-gradient(90deg, rgba(91, 109, 255, 0.16), rgba(124, 92, 255, 0.28));
  pointer-events: none;
}

.quote-slider__hint {
  position: relative;
  z-index: 1;
  color: #5f6a83;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  user-select: none;
}

.quote-slider__handle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d9dfef;
  border-radius: 11px;
  color: var(--brand);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 42, 92, 0.14);
  cursor: grab;
  touch-action: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.quote-slider__handle:active {
  cursor: grabbing;
}

.quote-slider__handle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-slider__status {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #bfeadd;
  border-radius: 12px;
  color: #0f8f6b;
  background: #eefbf6;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}

.quote-slider__status svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-slider.is-verified .quote-slider__track {
  border-color: #bfeadd;
  background: #eefbf6;
}

.quote-slider.is-verified .quote-slider__fill {
  background: transparent;
}

.quote-slider.is-verified .quote-slider__hint {
  display: none;
}

.quote-slider.is-verified .quote-slider__handle {
  opacity: 0;
  pointer-events: none;
}

.quote-slider.is-verified .quote-slider__status {
  display: flex;
}

.quote-form__captcha-error {
  margin-top: 1px;
  color: #a3231b;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
}

.quote-form__captcha-error[hidden] {
  display: none;
}

.quote-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-form__submit {
  width: 100%;
  margin-top: 18px;
}

.quote-form__privacy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.quote-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0;
  text-align: center;
}

.quote-success__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #0f9f75;
  background: #e5faf3;
}

.quote-success__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-success h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.quote-success > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.quote-success__list {
  width: 100%;
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f7f9ff;
  color: #4a556d;
  font-size: 13px;
  text-align: left;
  list-style: none;
}

.quote-success__list li::before {
  content: '✓';
  margin-right: 8px;
  color: var(--brand);
  font-weight: 700;
}

.quote-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.quote-trust {
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

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

.quote-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: clamp(24px, 3vw, 34px) clamp(16px, 2vw, 26px);
  border-left: 1px solid var(--border);
}

.quote-trust__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.quote-trust__item:last-child {
  padding-right: 0;
}

.quote-trust__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  color: var(--brand);
  background: #eef1ff;
}

.quote-trust__icon--violet {
  color: #6d4aff;
  background: #f1edff;
}

.quote-trust__icon--cyan {
  color: #0e9f83;
  background: #e6faf5;
}

.quote-trust__icon--amber {
  color: #b9770e;
  background: #fff5e2;
}

.quote-trust__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-trust__item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.quote-trust__item p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.quote-section {
  padding: clamp(66px, 8vw, 104px) 0;
}

.quote-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.quote-head h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.quote-head > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.quote-head--center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.quote-head--center > p {
  margin: 16px auto 0;
}

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

.quote-scope-card {
  padding: clamp(22px, 2.6vw, 28px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.quote-scope-card:hover {
  border-color: rgba(74, 93, 255, 0.35);
  transform: translateY(-3px);
}

.quote-scope-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--brand);
  background: #eef1ff;
}

.quote-scope-card__icon--violet {
  color: #6d4aff;
  background: #f1edff;
}

.quote-scope-card__icon--cyan {
  color: #0e9f83;
  background: #e6faf5;
}

.quote-scope-card__icon--amber {
  color: #b9770e;
  background: #fff5e2;
}

.quote-scope-card__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-scope-card h3 {
  margin: 18px 0 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
}

.quote-scope-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.quote-process {
  background: linear-gradient(180deg, #f7f9ff 0%, #eef2ff 100%);
}

.quote-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-steps li {
  position: relative;
  padding: 24px 22px;
  border: 1px solid rgba(74, 93, 255, 0.14);
  border-radius: 18px;
  background: #ffffff;
}

.quote-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #5b6dff, var(--brand-2));
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.quote-steps h3 {
  margin: 16px 0 7px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
}

.quote-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.quote-factors {
  background: #ffffff;
}

.quote-factors__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(34px, 5vw, 80px);
}

.quote-factors__copy h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.quote-factors__copy > p {
  max-width: 460px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.quote-factors__copy .btn {
  margin-top: 28px;
}

.quote-factors__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-factors__list li {
  display: flex;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fbfcff;
}

.quote-factors__list > li > span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.quote-factors__list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.quote-factors__list p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.quote-faq {
  background: var(--page-bg);
}

.quote-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(34px, 5vw, 80px);
}

.quote-faq__head h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.quote-faq__head > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.quote-faq__phone {
  display: inline-block;
  margin-top: 20px;
  color: var(--brand-dark);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.quote-faq__list details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.quote-faq__list details:first-child {
  padding-top: 0;
}

.quote-faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.quote-faq__list summary::-webkit-details-marker {
  display: none;
}

.quote-faq__list summary::after {
  content: '+';
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand);
  background: #eef1ff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.quote-faq__list details[open] summary::after {
  content: '−';
}

.quote-faq__list details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.quote-contact {
  padding-top: clamp(56px, 7vw, 88px);
}

@media (max-width: 1100px) {
  .quote-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quote-hero__content {
    max-width: 760px;
  }

  .quote-card {
    width: 100%;
    max-width: 620px;
  }

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

  .quote-trust__item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .quote-trust__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

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

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

  .quote-factors__grid,
  .quote-faq__grid {
    grid-template-columns: 1fr;
  }

  .quote-factors__copy > p {
    max-width: 640px;
  }
}

@media (min-width: 1001px) and (max-width: 1100px) {
  .quote-hero__inner {
    grid-template-columns: minmax(0, 1fr) 400px;
    align-items: start;
    gap: 40px;
  }

  .quote-hero__content {
    max-width: none;
    padding-top: 18px;
  }

  .quote-card {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .quote-head {
    display: block;
  }

  .quote-head > p {
    margin-top: 14px;
  }

  .quote-factors__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .quote-hero {
    padding: 44px 0 64px;
  }

  .quote-hero__inner {
    gap: 32px;
  }

  .quote-breadcrumb {
    margin-bottom: 22px;
  }

  .quote-hero h1 {
    font-size: clamp(2.15rem, 11vw, 2.9rem);
  }

  .quote-hero__points {
    gap: 8px 16px;
    font-size: 13px;
  }

  .quote-hero__stats {
    gap: 22px;
    margin-top: 28px;
    padding-top: 22px;
  }

  .quote-hero__stats strong {
    font-size: 1.45rem;
  }

  .quote-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .quote-form__grid {
    grid-template-columns: 1fr;
  }

  .quote-field--wide {
    grid-column: auto;
  }

  .quote-success__actions .btn {
    width: 100%;
  }

  .quote-trust__grid {
    grid-template-columns: 1fr;
  }

  .quote-trust__item {
    padding: 18px 0;
    border-left: 0;
  }

  .quote-trust__item:nth-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }

  .quote-trust__item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .quote-section {
    padding: 56px 0;
  }

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

  .quote-factors__list {
    gap: 10px;
  }

  .quote-faq__list summary {
    font-size: 14.5px;
  }

  .quote-contact {
    padding-top: 48px;
  }
}
