/* Shared landing foundation */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/landing-assets/fonts/dm-sans-latin-wght-normal.258f9f1b553bb574.woff2")
    format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/landing-assets/fonts/barlow-latin-600-normal.2b14e8397d552f35.woff2")
    format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/landing-assets/fonts/barlow-latin-700-normal.65a47caa5183b035.woff2")
    format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/landing-assets/fonts/barlow-latin-800-normal.1f132510bc7b665b.woff2")
    format("woff2");
}

:root {
  color-scheme: light;
  --bg: #f8fafc;
  --bg-strong: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dce4ee;
  --line-strong: #cbd5e1;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-solid: #ffffff;
  --accent: #0ea5e9;
  --accent-strong: #0369a1;
  --green: #10b981;
  --amber: #f59e0b;
  --violet: #7c3aed;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 12px 36px rgba(15, 23, 42, 0.08);
  --radius: 8px;
  --max: 1180px;
  --mono:
    "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono",
    Menlo, monospace;
  --display: "DotGothic16", var(--mono);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  font-family: var(--mono);
  line-height: 1.55;
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    radial-gradient(
      circle at 20% 0%,
      rgba(14, 165, 233, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 84% 12%,
      rgba(16, 185, 129, 0.12),
      transparent 28%
    ),
    var(--bg);
  background-size:
    56px 56px,
    56px 56px,
    auto,
    auto,
    auto;
  overflow-x: clip;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(248, 250, 252, 0.2),
      rgba(248, 250, 252, 0.92) 64%,
      rgba(248, 250, 252, 0.98)
    ),
    repeating-linear-gradient(
      0deg,
      rgba(15, 23, 42, 0.02),
      rgba(15, 23, 42, 0.02) 1px,
      transparent 1px,
      transparent 4px
    );
  z-index: -1;
}

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

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 10px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(203, 213, 225, 0.72);
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 700;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.brand-text {
  font-size: 14px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: max-content;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.lang-switch button {
  min-width: 40px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 700 11px/1 var(--mono);
  cursor: pointer;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.btn.primary {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.24);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: #111827;
}

.btn .arrow {
  font-size: 15px;
  line-height: 1;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: clamp(42px, 5.8vw, 74px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.section {
  padding: clamp(58px, 8vw, 92px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: 0;
}

.section-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

h3 {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
}

.check {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  margin-top: 1px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-size: 11px;
  font-weight: 900;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  background: rgba(255, 255, 255, 0.48);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  color: var(--muted);
  font-size: 12px;
}

.legal-info {
  display: grid;
  gap: 6px;
  max-width: 420px;
  margin: 14px 0 0;
  line-height: 1.6;
  color: #64748b;
}

.legal-info p {
  margin: 0;
}

.legal-info a {
  color: var(--accent-strong);
  font-weight: 800;
}


.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease,
    filter 0.72s ease;
}

.reveal.in-view,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 24px, var(--max));
  }

  .topbar {
    position: relative;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .nav-actions .btn:not(.primary) {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 15vw, 62px);
  }

  .hero-actions {
    align-items: stretch;
  }

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

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

}

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
:root {
  --bg: #f9fafb;
  --bg-strong: #ffffff;
  --ink: #1c252e;
  --muted: #637381;
  --line: #dfe3e8;
  --line-strong: #c4cdd5;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-solid: #ffffff;
  --accent: #38bdf8;
  --accent-strong: #0284c7;
  --green: #10b981;
  --mint: #35c99a;
  --mint-soft: #dcf8ed;
  --blue: #38bdf8;
  --blue-soft: #ddf4ff;
  --violet: #8b5cf6;
  --violet-soft: #eee8ff;
  --amber: #f4b52d;
  --amber-soft: #fff2c9;
  --coral: #fb6b55;
  --coral-soft: #ffe4dc;
  --shadow: 0 22px 52px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.07);
  --radius: 16px;
  --max: 1240px;
  --mono: "DM Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --display:
    "Barlow", "DM Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

html {
  background: var(--bg);
}

body {
  color: var(--ink);
  font-family: var(--mono);
  line-height: 1.6;
  letter-spacing: -0.01em;
  background:
    radial-gradient(
      circle at 88% 4%,
      rgba(56, 189, 248, 0.13),
      transparent 25%
    ),
    radial-gradient(
      circle at 7% 20%,
      rgba(53, 201, 154, 0.08),
      transparent 22%
    ),
    radial-gradient(
      circle at 92% 48%,
      rgba(251, 107, 85, 0.055),
      transparent 19%
    ),
    radial-gradient(
      circle at 6% 72%,
      rgba(139, 92, 246, 0.055),
      transparent 20%
    ),
    var(--bg);
  background-size: auto;
}

body::before {
  background: linear-gradient(
    180deg,
    rgba(249, 250, 251, 0.08),
    rgba(249, 250, 251, 0.9) 36%,
    #f9fafb 74%
  );
}

.wrap {
  width: min(100% - 48px, var(--max));
}

.topbar {
  border-bottom-color: rgba(223, 227, 232, 0.86);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(145, 158, 171, 0.08);
  backdrop-filter: blur(18px) saturate(150%);
}

.nav {
  min-height: 76px;
  gap: 24px;
}

.brand {
  gap: 11px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.brand-text {
  color: #121820;
  font-family:
    "DM Sans",
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

.nav-links {
  gap: 25px;
  color: #637381;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 9px 0;
  border-bottom: 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  border-bottom-color: transparent;
}

.lang-switch {
  padding: 4px;
  border-color: var(--line);
  border-radius: 12px;
  background: #f4f6f8;
  box-shadow: none;
}

.lang-switch button {
  min-width: 42px;
  min-height: 34px;
  border-radius: 9px;
  color: #637381;
  font-family: var(--mono);
  font-weight: 700;
}

.lang-switch button[aria-pressed="true"] {
  color: #1c252e;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.btn {
  min-height: 46px;
  padding: 0 19px;
  border-color: var(--line);
  border-radius: 12px;
  color: #1c252e;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
}

.btn:hover,
.btn:focus-visible {
  border-color: #c4cdd5;
  color: #1c252e;
  background: #f4f6f8;
  box-shadow: 0 9px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.btn.primary {
  border-color: #18232e;
  color: #ffffff;
  background: #18232e;
  box-shadow: 0 10px 24px rgba(24, 35, 46, 0.2);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  border-color: #263746;
  color: #ffffff;
  background: #263746;
  box-shadow: 0 13px 28px rgba(24, 35, 46, 0.25);
}

h1,
h2,
h3 {
  color: #1c252e;
  font-family: var(--display);
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-top: 23px;
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  text-wrap: balance;
}

h2 {
  max-width: 820px;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

h3 {
  font-weight: 700;
  line-height: 1.28;
}

.hero-actions {
  margin-top: 30px;
  gap: 12px;
}

.section {
  padding: 96px 0;
}

.section-head {
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.section-copy {
  max-width: 480px;
  color: #637381;
  font-size: 16px;
  line-height: 1.7;
}

.check {
  color: #10b981;
}
body {
  background:
    radial-gradient(circle at 88% 4%, rgba(56, 189, 248, 0.1), transparent 25%),
    radial-gradient(
      circle at 7% 22%,
      rgba(53, 201, 154, 0.07),
      transparent 23%
    ),
    radial-gradient(
      circle at 90% 74%,
      rgba(244, 181, 45, 0.035),
      transparent 18%
    ),
    var(--bg);
}

.footer {
  border-top-color: #dfe3e8;
  background: #ffffff;
}

.legal-info,
.footer-grid {
  color: #637381;
}

.reveal {
  transform: translateY(14px);
  filter: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #0ea5e9;
  content: "";
}

@media (min-width: 981px) {
  .topbar .nav {
    width: fit-content;
    max-width: calc(100% - 48px);
    min-height: 54px;
    justify-content: center;
    gap: clamp(56px, 4vw, 90px);
  }

  .topbar .brand {
    gap: 9px;
  }

  .topbar .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .topbar .brand-text {
    font-size: 21px;
  }

  .topbar .nav-links {
    gap: 26px;
    color: #344454;
    font-size: 15px;
    font-weight: 700;
  }

  .topbar .lang-switch button {
    min-width: 42px;
    min-height: 32px;
  }

  .topbar .btn {
    min-height: 44px;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 16px;
  }

  h1 {
    font-size: clamp(46px, 5.8vw, 64px);
  }
}

@media (max-width: 980px) {
  .wrap {
    width: min(100% - 36px, var(--max));
  }

  .nav {
    padding: 12px 0;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 24px, var(--max));
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    align-items: center;
    min-height: 0;
    padding: 10px 0 9px;
  }

  .nav .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    gap: 8px;
  }

  .topbar .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .topbar .brand-text {
    font-size: 18px;
    letter-spacing: -0.03em;
  }

  .nav-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    gap: 8px;
    justify-content: flex-end;
    min-width: 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
    width: 100%;
    gap: 4px 14px;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: visible;
    padding-bottom: 2px;
    font-size: 12px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(42px, 13vw, 56px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 42px);
  }

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

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 360px) {
  .topbar .brand-text {
    display: none;
  }
}

.announcement-bar {
  display: block;
  color: #ffffff;
  background: #18232e;
  transition: background 160ms ease;
}

.announcement-bar:hover,
.announcement-bar:focus-visible {
  background: #223140;
}

.announcement-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  justify-content: center;
  width: min(100% - 32px, var(--max));
  min-height: 42px;
  margin: 0 auto;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.announcement-badge {
  padding: 2px 9px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: #0284c7;
}

.announcement-inner strong {
  font-weight: 700;
}

.announcement-offer {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  white-space: nowrap;
}

.announcement-detail {
  color: rgba(255, 255, 255, 0.72);
}

.announcement-cta {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #7dd3fc;
  font-weight: 700;
}

.announcement-bar:hover .announcement-cta span:first-child,
.announcement-bar:focus-visible .announcement-cta span:first-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .announcement-inner {
    gap: 4px 8px;
    font-size: 13px;
  }

  .announcement-offer {
    gap: 8px;
  }

  .announcement-cta span:first-child {
    display: none;
  }
}

/* Primary navigation: solutions menu */
.nav-menu {
  position: relative;
}

.nav-menu-toggle {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 9px 0;
  border: 0;
  color: inherit;
  font: inherit;
  background: none;
  cursor: pointer;
}

.nav-menu-toggle:hover,
.nav-menu-toggle:focus-visible,
.nav-menu.is-open .nav-menu-toggle,
.nav-menu:has(a[aria-current="page"]) .nav-menu-toggle {
  color: var(--ink);
}

.nav-menu-caret {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-menu.is-open .nav-menu-caret {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 60;
  display: none;
  width: 320px;
  padding: 8px;
  border: 1px solid #e3e8ee;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
  transform: translateX(-50%);
}

.nav-menu-panel::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 0;
  left: 0;
  height: 12px;
}

.nav-menu.is-open .nav-menu-panel {
  display: grid;
}

@media (hover: hover) and (min-width: 681px) {
  .nav-menu:hover .nav-menu-panel {
    display: grid;
  }
}

.nav-links .nav-menu-panel a {
  display: grid;
  gap: 2px;
  padding: 11px 14px;
  border-radius: 10px;
  white-space: normal;
}

.nav-links .nav-menu-panel a:hover,
.nav-links .nav-menu-panel a:focus-visible,
.nav-links .nav-menu-panel a[aria-current="page"] {
  background: #f4f7fa;
}

.nav-links .nav-menu-panel a[aria-current="page"]::after {
  content: none;
}

.nav-menu-panel strong {
  color: #1c252e;
  font-size: 14.5px;
  font-weight: 700;
}

.nav-menu-panel span {
  color: #637381;
  font-size: 12.5px;
  font-weight: 500;
}

/* Footer: grouped columns */
.footer-grid {
  align-items: start;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, auto));
  gap: 20px 48px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col-title {
  margin: 0 0 4px;
  color: #1c252e;
  font-size: 13px;
  font-weight: 800;
}

.footer-col a {
  color: #637381;
  font-size: 13px;
  font-weight: 600;
}

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

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

@media (max-width: 680px) {
  .nav-menu {
    position: static;
  }

  .nav-menu-toggle {
    padding: 0;
  }

  .nav-menu-panel {
    top: 100%;
    right: 12px;
    left: 12px;
    width: auto;
    transform: none;
  }
}

/* mac-mini-for-ai page styles */
.ai-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  background:
    radial-gradient(circle at 86% 6%, rgba(139, 92, 246, 0.08), transparent 22%),
    radial-gradient(circle at 8% 28%, rgba(56, 189, 248, 0.08), transparent 18%),
    radial-gradient(circle at 92% 62%, rgba(53, 201, 154, 0.06), transparent 18%),
    linear-gradient(180deg, #ffffff, #f6f9fc);
}

.ai-page .section {
  border: 0;
  background: transparent;
}

.ai-intro h2 {
  margin: 0;
}

.ai-intro p {
  max-width: 680px;
  margin: 16px 0 0;
  color: #637381;
  font-size: 17px;
  line-height: 1.75;
}

/* Hero */
.ai-hero {
  padding: 80px 0 72px;
}

.ai-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

html[lang="zh-CN"] .ai-hero-copy h1 {
  word-break: keep-all;
}

.ai-kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  color: #6d28d9;
  font-size: 13px;
  font-weight: 800;
  background: #f5f3ff;
}

.ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.16);
}

.ai-lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: #637381;
  font-size: 18px;
  line-height: 1.75;
}

.ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.ai-price-note {
  margin: 18px 0 0;
  color: #637381;
  font-size: 14px;
}

.ai-terminal {
  overflow: hidden;
  border: 1px solid #dfe5e9;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.ai-terminal-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #eef1f4;
  background: #f8fafc;
}

.ai-terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #334155;
}

.ai-terminal-bar span:nth-child(1) { background: #f87171; }
.ai-terminal-bar span:nth-child(2) { background: #fbbf24; }
.ai-terminal-bar span:nth-child(3) { background: #34d399; }

.ai-terminal-bar strong {
  margin-left: 10px;
  color: #637381;
  font-size: 12px;
  font-weight: 600;
}

.ai-terminal-body {
  margin: 0;
  padding: 22px 22px 26px;
  overflow-x: auto;
  color: #1c252e;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.85;
  white-space: pre-wrap;
}

.ai-prompt { color: #0284c7; }
.ai-comment { color: #6d28d9; }
.ai-ok { color: #059669; }

.ai-status {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  color: #047857;
  font-weight: 700;
  background: #d1fae5;
}

/* 24h timeline */
.ai-uptime-section {
  padding-top: 24px;
}

.ai-timeline {
  margin-top: 40px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #dfe5e9;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
}

.ai-timeline-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 12px 0;
}

.ai-timeline-label {
  color: #637381;
  font-size: 14px;
  font-weight: 700;
}

.ai-timeline-label--mac {
  color: #1c252e;
}

.ai-hours {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 3px;
}

.ai-hours i {
  height: 22px;
  border-radius: 4px;
  background: #f1f4f7;
  box-shadow: inset 0 0 0 1px #e4e9ee;
}

.ai-hours--laptop i:nth-child(n + 10):nth-child(-n + 18) {
  background: #34d399;
  box-shadow: none;
}

.ai-hours--mac i {
  background: #34d399;
  box-shadow: none;
}

.ai-timeline-scale {
  display: flex;
  justify-content: space-between;
  margin-left: 200px;
  color: #919eab;
  font-size: 12px;
}

.ai-timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 18px 0 0 200px;
  color: #637381;
  font-size: 13px;
}

.ai-timeline-legend span::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border-radius: 3px;
  vertical-align: -1px;
}

.ai-legend-on::before {
  background: #34d399;
}

.ai-legend-off::before {
  background: #f1f4f7;
  box-shadow: inset 0 0 0 1px #d5dde4;
}

/* Bento use cases */
.ai-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.ai-bento-card {
  padding: 30px;
  border: 1px solid #dfe5e9;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
}

.ai-bento-card--wide {
  grid-column: span 2;
}

.ai-bento-card h3 {
  margin: 18px 0 0;
  font-size: 22px;
}

.ai-bento-card p {
  margin: 10px 0 0;
  color: #637381;
  font-size: 15px;
  line-height: 1.75;
}

.ai-glyph {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #6d28d9;
  font-weight: 800;
  background: #f5f3ff;
}

/* Tools */
.ai-tools-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.ai-account-note {
  padding: 14px 16px;
  border-left: 3px solid var(--violet);
  border-radius: 0 10px 10px 0;
  color: #1c252e !important;
  font-size: 14px !important;
  background: #f5f3ff;
}

.ai-chip-groups {
  display: grid;
  gap: 22px;
}

.ai-chip-group h3 {
  margin: 0 0 10px;
  color: #637381;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0;
}

.ai-chip-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-chip-group li {
  padding: 8px 14px;
  border: 1px solid #dfe5e9;
  border-radius: 999px;
  color: #1c252e;
  font-size: 14px;
  font-weight: 700;
  background: #ffffff;
}

/* Model size bars */
.ai-bars {
  position: relative;
  margin-top: 44px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #dfe5e9;
  border-radius: 20px;
  background: #ffffff;
  --label: 110px;
  --fit: 300px;
}

.ai-bars-limit {
  position: absolute;
  top: 12px;
  bottom: 40px;
  left: calc(clamp(22px, 4vw, 36px) + var(--label) + 16px + (100% - 2 * clamp(22px, 4vw, 36px) - var(--label) - var(--fit) - 32px) * 0.8);
  border-left: 2px dashed #f59e0b;
}

.ai-bars-limit span {
  position: absolute;
  top: 0;
  left: 8px;
  color: #b45309;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ai-bar-row {
  display: grid;
  grid-template-columns: var(--label) minmax(0, 1fr) var(--fit);
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eef1f4;
}

.ai-bar-name {
  color: #1c252e;
  font-weight: 800;
}

.ai-bar-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: #f1f4f7;
}

.ai-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--to);
  border-radius: 999px;
}

.ai-bar--good { background: linear-gradient(90deg, #a7f3d0, #10b981); }
.ai-bar--tight { background: linear-gradient(90deg, #fde68a, #f59e0b); }
.ai-bar--over { background: linear-gradient(90deg, #fecaca, #ef4444); }

.ai-bar-fit {
  display: grid;
  gap: 2px;
  color: #637381;
  font-size: 14px;
}

.ai-bar-fit strong {
  color: #1c252e;
}

.ai-bars-scale {
  display: flex;
  justify-content: space-between;
  margin: 12px calc(var(--fit) + 16px) 0 calc(var(--label) + 16px);
  color: #919eab;
  font-size: 12px;
}

.ai-note {
  max-width: 820px;
  margin: 20px 0 0;
  color: #637381;
  font-size: 14px;
  line-height: 1.75;
}

/* M4 / M6 */
.ai-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.ai-choose-card {
  display: block;
  padding: 34px;
  border: 1px solid #dfe5e9;
  border-radius: 22px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-choose-card:hover,
.ai-choose-card:focus-visible {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}

.ai-choose-card--accent {
  border-color: #c4b5fd;
  background: linear-gradient(160deg, #faf8ff, #ffffff 60%);
}

.ai-choose-chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  color: #0e7490;
  font-size: 12px;
  font-weight: 800;
  background: #ecfeff;
}

.ai-choose-card--accent .ai-choose-chip {
  color: #6d28d9;
  background: #f5f3ff;
}

.ai-choose-price {
  display: block;
  margin-top: 22px;
  font-family: var(--display);
  font-size: 44px;
  letter-spacing: -0.03em;
}

.ai-choose-price small {
  margin-left: 6px;
  color: #919eab;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0;
}

.ai-choose-card h3 {
  margin: 18px 0 0;
  font-size: 22px;
}

.ai-choose-card p {
  margin: 10px 0 0;
  color: #637381;
  font-size: 15px;
  line-height: 1.75;
}

.ai-choose-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 800;
}

/* FAQ accordion */
.ai-faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.ai-faq-list {
  display: grid;
  gap: 12px;
}

.ai-faq-list details {
  border: 1px solid #dfe5e9;
  border-radius: 16px;
  background: #ffffff;
}

.ai-faq-list summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: #1c252e;
  font-size: 17px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

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

.ai-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  color: #6d28d9;
  font-size: 22px;
  transform: translateY(-50%);
}

.ai-faq-list details[open] summary::after {
  content: "–";
}

.ai-faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: #637381;
  font-size: 15px;
  line-height: 1.8;
}

/* CTA */
.ai-cta-section {
  padding: 0 0 96px;
}

.ai-cta {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid #ddd6fe;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 0%, rgba(139, 92, 246, 0.14), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(56, 189, 248, 0.1), transparent 40%),
    #ffffff;
}

.ai-cta h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.ai-cta p {
  margin: 12px 0 0;
  color: #637381;
  font-size: 16px;
}

.ai-cta .btn.primary {
  flex: none;
}

@media (max-width: 980px) {
  .ai-hero-grid,
  .ai-tools-layout,
  .ai-faq-wrap {
    grid-template-columns: 1fr;
  }

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

  .ai-bento-card--wide {
    grid-column: span 2;
  }

  .ai-bars {
    --fit: 220px;
  }
}

@media (max-width: 680px) {
  .ai-hero {
    padding: 48px 0 40px;
  }

  .ai-lead {
    font-size: 16px;
  }

  .ai-timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ai-timeline-scale,
  .ai-timeline-legend {
    margin-left: 0;
  }

  .ai-hours {
    gap: 2px;
  }

  .ai-bento,
  .ai-choose-grid {
    grid-template-columns: 1fr;
  }

  .ai-bento-card--wide {
    grid-column: auto;
  }

  .ai-bars-limit {
    display: none;
  }

  .ai-bar-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ai-bars-scale {
    display: none;
  }

  .ai-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
