:root {
  --paper: #ffffff;
  --surface: #f7f9fd;
  --surface-strong: #edf2fa;
  --ink: #13213a;
  --ink-soft: #364761;
  --muted: #68778d;
  --line: rgba(50, 84, 145, 0.12);
  --line-strong: rgba(50, 84, 145, 0.2);
  --blue: #3563e9;
  --blue-deep: #244fc7;
  --blue-soft: #e6efff;
  --blue-wash: #f3f7ff;
  --blue-line: #cbdcff;
  --green: #168447;
  --green-soft: #e7f6ec;
  --amber: #a85d00;
  --amber-soft: #fff3d6;
  --shadow-sm: 0 1px 2px rgba(30, 64, 125, 0.04), 0 10px 28px rgba(30, 64, 125, 0.06);
  --shadow-lg: 0 28px 80px -34px rgba(42, 83, 164, 0.28);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shell: min(1180px, calc(100vw - 48px));
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-kerning: normal;
  line-break: strict;
  text-autospace: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.82);
  outline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 18px rgba(9, 9, 11, 0.04);
}

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

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 7px 16px rgba(37, 99, 235, 0.2);
}

.brand-name {
  font-size: 18px;
}

.brand-sub {
  margin-left: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links > a:not(.button) {
  position: relative;
  padding: 25px 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 680;
}

.nav-links > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links > a:not(.button):hover {
  color: var(--ink);
}

.nav-links > a:not(.button):hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.mobile-menu-button {
  display: none;
  min-width: 54px;
  height: 40px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 720;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 750;
  transition: background 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.2);
  color: white;
}

.button-primary:hover {
  background: var(--blue-deep);
}

.button-secondary {
  border-color: var(--line-strong);
  background: white;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(37, 99, 235, 0.36);
  color: var(--blue-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 760;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  top: 60px;
  right: -160px;
  width: 650px;
  height: 650px;
}

.hero-orbit-two {
  top: 184px;
  right: -54px;
  width: 430px;
  height: 430px;
}

.hero-grid {
  display: grid;
  min-height: 628px;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: 72px;
  padding-block: 72px 78px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.05em;
}

.eyebrow::before,
.section-kicker::before {
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--blue);
  content: "";
}

.hero h1 {
  max-width: 9.6em;
  margin: 26px 0 24px;
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1.14;
  text-wrap: balance;
}

.hero h1 > span {
  display: block;
}

.hero h1 .accent {
  color: var(--blue);
}

.hero-copy > p {
  max-width: 34em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
  text-wrap: pretty;
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.hero-note > span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px var(--green-soft);
}

.portfolio-console {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-lg);
}

.console-topbar {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.console-title {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 740;
}

.console-label {
  color: var(--muted);
  font-size: 11px;
}

.console-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 26px 22px;
}

.console-summary div {
  display: grid;
  gap: 6px;
}

.console-summary small {
  color: var(--muted);
  font-size: 11px;
}

.console-summary strong {
  font-size: 22px;
  letter-spacing: -0.035em;
}

.console-products {
  display: grid;
  gap: 10px;
  padding: 0 26px 26px;
}

.console-product {
  display: grid;
  min-height: 80px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

a.console-product:hover {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.console-product.is-live {
  border-color: var(--blue-line);
  background: var(--blue-wash);
}

.product-index,
.product-number {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.product-meta {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.product-meta strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-meta small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 7px;
  font-size: 11px;
  font-style: normal;
  font-weight: 720;
  white-space: nowrap;
}

.status-live {
  background: var(--green-soft);
  color: var(--green);
}

.status-building {
  background: var(--amber-soft);
  color: var(--amber);
}

.section {
  padding-block: 108px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-heading h2,
.about-heading h2,
.audience-copy h2 {
  margin: 18px 0 16px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.24;
  text-wrap: balance;
}

.section-heading > p,
.split-heading > p,
.audience-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  text-wrap: pretty;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
  align-items: end;
  gap: 80px;
}

.split-heading > div h2 {
  max-width: 11em;
  margin-bottom: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}

.value-card {
  min-height: 248px;
  padding: 34px;
}

.value-card + .value-card {
  border-left: 1px solid var(--line);
}

.value-card > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.value-card h3 {
  margin: 52px 0 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

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

.product-section {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}

.product-card {
  min-height: 330px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.product-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.product-card-featured {
  background: var(--blue-wash);
}

.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-card h3 {
  margin: 58px 0 14px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

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

.product-stage {
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.audience-section {
  background: var(--blue-wash);
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(500px, 1.22fr);
  align-items: center;
  gap: 90px;
}

.audience-copy h2 {
  max-width: 9em;
}

.section-kicker-light {
  color: var(--blue-deep);
}

.text-link-light {
  margin-top: 28px;
}

.audience-list {
  overflow: hidden;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.audience-list article {
  display: grid;
  min-height: 132px;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 30px;
}

.audience-list article + article {
  border-top: 1px solid var(--line);
}

.audience-list article > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.audience-list h3 {
  margin: -3px 0 8px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.audience-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.about-section {
  padding-block: 120px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(540px, 1.22fr);
  gap: 100px;
}

.about-heading h2 {
  max-width: 8em;
}

.about-copy > p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.95;
  text-wrap: pretty;
}

.company-facts {
  margin: 46px 0 0;
  border-top: 1px solid var(--line);
}

.company-facts > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.company-facts dt {
  color: var(--muted);
  font-size: 13px;
}

.company-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}

.company-facts a {
  color: var(--blue-deep);
  font-weight: 700;
}

.closing-section {
  padding-bottom: 112px;
}

.closing-panel {
  display: flex;
  min-height: 202px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 46px 52px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius-lg);
  background: var(--blue-wash);
  box-shadow: var(--shadow-sm);
}

.closing-panel > div > span {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.closing-panel h2 {
  max-width: 16em;
  margin: 14px 0 0;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.3;
  text-wrap: balance;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 90px;
  padding-block: 62px 54px;
}

.footer-brand p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: 130px minmax(240px, 320px);
  gap: 64px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links strong {
  margin-bottom: 5px;
  font-size: 13px;
}

.footer-links a,
.footer-links span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.footer-links a:hover {
  color: var(--blue-deep);
}

.footer-bottom {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: var(--surface);
  padding: 24px;
}

.error-panel {
  width: min(620px, 100%);
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.error-code {
  margin: 64px 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.error-panel h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: -0.045em;
}

.error-panel > p:not(.error-code) {
  margin: 18px 0 30px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-block: 82px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .portfolio-console {
    width: min(760px, 100%);
  }

  .audience-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .audience-copy h2,
  .about-heading h2 {
    max-width: 12em;
  }

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

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 36px, 680px);
  }

  .nav-shell {
    min-height: 66px;
  }

  .brand-sub {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links > a:not(.button) {
    padding: 14px 12px;
  }

  .nav-links > a:not(.button)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 6px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 64px 72px;
  }

  .hero h1 {
    max-width: 10em;
    font-size: clamp(42px, 12vw, 58px);
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .value-card {
    min-height: auto;
  }

  .value-card + .value-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .value-card h3 {
    margin-top: 34px;
  }

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

  .product-card,
  .product-card:nth-child(2n),
  .product-card:nth-last-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-card:last-child {
    border-bottom: 0;
  }

  .product-card p {
    min-height: 0;
  }

  .closing-panel {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 540px) {
  :root {
    --shell: calc(100% - 30px);
  }

  .brand-name {
    font-size: 17px;
  }

  .hero-grid {
    gap: 40px;
    padding-block: 50px 60px;
  }

  .hero h1 {
    margin-block: 22px 18px;
    font-size: clamp(39px, 12.5vw, 48px);
    letter-spacing: -0.05em;
    line-height: 1.18;
  }

  .hero-copy > p {
    font-size: 15px;
    line-height: 1.85;
  }

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

  .console-topbar,
  .console-summary {
    padding-inline: 17px;
  }

  .console-summary strong {
    font-size: 19px;
  }

  .console-products {
    padding: 0 14px 14px;
  }

  .console-product {
    min-height: 86px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
  }

  .console-product > .status {
    grid-column: 2;
    justify-self: start;
  }

  .product-meta strong,
  .product-meta small {
    white-space: normal;
  }

  .section,
  .about-section {
    padding-block: 78px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .about-heading h2,
  .audience-copy h2 {
    font-size: 33px;
    letter-spacing: -0.04em;
  }

  .value-card,
  .product-card {
    padding: 28px 24px;
  }

  .product-card h3 {
    margin-top: 40px;
  }

  .audience-list article {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 24px 20px;
  }

  .about-copy > p {
    font-size: 15px;
    line-height: 1.9;
  }

  .company-facts > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .closing-section {
    padding-bottom: 72px;
  }

  .closing-panel {
    min-height: auto;
    padding: 32px 26px;
  }

  .closing-panel .button {
    width: 100%;
  }

  .footer-grid {
    padding-block: 48px 38px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-block: 18px;
  }
}

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

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

@media (prefers-contrast: more) {
  :root {
    --line: rgba(19, 33, 58, 0.32);
    --line-strong: rgba(19, 33, 58, 0.52);
    --muted: #46546a;
  }
}
