:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5c6576;
  --paper: #f7faff;
  --panel: #ffffff;
  --panel-blue: #eef5ff;
  --line: #d8e2f1;
  --accent: #1a73e8;
  --accent-strong: #0b57d0;
  --accent-ink: #ffffff;
  --shadow: 0 28px 80px rgba(32, 74, 135, 0.14);
  --radius: 22px;
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(26, 115, 232, 0.14), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 42%, #ffffff 100%);
  color: var(--ink);
}

body,
button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

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

section[id] {
  scroll-margin-top: 104px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 72px;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 226, 241, 0.82);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand,
.top-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(26, 115, 232, 0.24);
}

.top-nav {
  gap: clamp(10px, 1.8vw, 26px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.top-nav > a,
.nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.top-nav > a:hover,
.nav-menu-trigger:hover,
.product-menu:focus-within .nav-menu-trigger {
  color: var(--accent-strong);
  background: var(--panel-blue);
}

.top-nav > a:active,
.nav-menu-trigger:active,
.button:active {
  transform: translateY(1px);
}

.product-menu {
  position: relative;
}

.nav-menu-trigger {
  gap: 6px;
}

.nav-menu-trigger span {
  color: var(--accent-strong);
  font-size: 11px;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(260px, 0.8fr);
  gap: 16px;
  width: min(780px, calc(100vw - 44px));
  padding: 16px;
  border: 1px solid rgba(198, 216, 240, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 80px rgba(32, 74, 135, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.product-menu:hover .mega-menu,
.product-menu:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-feature,
.mega-column,
.mega-service {
  border: 1px solid #d9e5f6;
  border-radius: 18px;
  background: #ffffff;
}

.mega-feature {
  display: grid;
  grid-row: span 2;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  background:
    linear-gradient(145deg, #f1f7ff 0%, #ffffff 74%),
    #ffffff;
}

.menu-product-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 850;
}

.menu-product-mark-offer {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 16px 26px rgba(26, 115, 232, 0.22);
}

.mega-label {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 820;
}

.mega-feature h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
}

.mega-feature p:not(.mega-label) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.mega-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mega-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #cfe0f7;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.mega-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mega-actions .button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.mega-column,
.mega-service {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.mega-link,
.mega-service a {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.mega-link {
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
}

.mega-link:hover,
.mega-service a:hover {
  border-color: #cfe0f7;
  background: #f7fbff;
  transform: translateY(-1px);
}

.mega-link img {
  width: 40px;
  height: 40px;
  border: 1px solid #d6e4f6;
  border-radius: 11px;
}

.mega-link strong,
.mega-service strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.mega-link small,
.mega-service small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.38;
}

.nav-primary {
  min-width: 100px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--accent-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  min-height: min(820px, calc(100dvh - 72px));
  padding: clamp(56px, 7vw, 86px) clamp(22px, 5vw, 72px) clamp(58px, 7vw, 92px);
}

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

.hero-kicker {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 8px 13px;
  border: 1px solid #c9dcfb;
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 760;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 11.8ch;
  margin: 0;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 1.04;
  font-weight: 780;
}

.hero-subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.hero-actions,
.product-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 18px 34px rgba(26, 115, 232, 0.22);
}

.button.secondary {
  background: #ffffff;
  color: var(--accent-strong);
}

.hero-panel {
  border: 1px solid rgba(198, 216, 240, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.panel-heading span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.panel-heading strong {
  color: var(--ink);
  font-size: 16px;
}

.matrix {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  padding: 14px;
}

.matrix-card {
  display: flex;
  min-height: 160px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #f7fbff, #ffffff);
  text-decoration: none;
}

.matrix-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.matrix-card.featured {
  grid-row: span 2;
  min-height: 390px;
  padding: 14px;
  background: #f4f8ff;
}

.matrix-card img {
  width: 100%;
  height: 268px;
  object-fit: cover;
  object-position: left top;
  border: 1px solid #d9e5f6;
  border-radius: 14px;
  background: #ffffff;
}

.matrix-card .app-icon {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border: 1px solid #d9e5f6;
  border-radius: 17px;
  box-shadow: 0 16px 28px rgba(26, 115, 232, 0.14);
}

.matrix-card span,
.product-label,
.updates-list time {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 780;
}

.matrix-card strong {
  font-size: 22px;
  line-height: 1.18;
}

.product-section,
.pricing-section,
.principles-section,
.updates-section,
.contact-section {
  padding: clamp(64px, 8vw, 112px) clamp(22px, 5vw, 72px);
}

.section-copy {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-copy.narrow {
  max-width: 680px;
}

.section-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.section-copy p,
.contact-section p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.products-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 56px rgba(32, 74, 135, 0.08);
}

.product-card-main {
  display: grid;
  grid-row: span 2;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  padding: 16px;
}

.product-media {
  overflow: hidden;
  border-radius: 16px;
  background: var(--panel-blue);
}

.product-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: left top;
}

.product-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 4vw, 42px);
}

.product-card h3,
.principle-list h3,
.updates-list h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
}

.product-card p:not(.product-label),
.principle-list p,
.updates-list p {
  color: var(--muted);
  line-height: 1.68;
}

.product-actions {
  margin-top: 24px;
}

.price-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

.price-strip div {
  min-height: 78px;
  padding: 14px;
  border: 1px solid #d6e4f6;
  border-radius: 16px;
  background: #f7fbff;
}

.price-strip dt,
.price-strip dd {
  margin: 0;
}

.price-strip dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.price-strip dd {
  margin-top: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.product-card.compact {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(232, 240, 254, 0.86), rgba(255, 255, 255, 0.95)),
    #ffffff;
}

.app-store-card {
  gap: 14px;
}

.product-icon {
  width: 58px;
  height: 58px;
  border: 1px solid #d6e4f6;
  border-radius: 15px;
  box-shadow: 0 14px 26px rgba(26, 115, 232, 0.14);
}

.store-screenshot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  border: 1px solid #d6e4f6;
  border-radius: 16px;
  background: #ffffff;
}

.compact-price {
  grid-template-columns: 0.7fr 1.3fr;
  margin-top: 2px;
}

.compact-price div {
  min-height: 72px;
}

.app-store-card .button {
  width: 100%;
  margin-top: 2px;
}

.pricing-section {
  background: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.95fr;
  gap: 16px;
}

.pricing-grid article {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%),
    #ffffff;
  box-shadow: 0 18px 48px rgba(32, 74, 135, 0.07);
}

.pricing-grid h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.18;
}

.pricing-grid p {
  margin: 12px 0 22px;
  color: var(--muted);
  line-height: 1.65;
}

.pricing-grid dl {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}

.pricing-grid dl div {
  display: grid;
  grid-template-columns: minmax(110px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid #dbe7f7;
}

.pricing-grid dt,
.pricing-grid dd {
  margin: 0;
}

.pricing-grid dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.pricing-grid dd {
  color: var(--ink);
  font-weight: 830;
  line-height: 1.38;
}

.pricing-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid #c9dcfb;
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.principles-section {
  background: #ffffff;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.principle-list article {
  min-height: 260px;
  padding: 28px;
  background: #ffffff;
}

.updates-section {
  background:
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.updates-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.updates-list article {
  display: grid;
  grid-template-columns: 120px minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.updates-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.updates-list p {
  margin: 0;
}

.updates-list a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin: clamp(24px, 5vw, 56px) clamp(22px, 5vw, 72px) clamp(44px, 6vw, 76px);
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid #c6d8f0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eaf3ff 0%, #ffffff 72%);
  box-shadow: var(--shadow);
}

.contact-section > div:first-child {
  max-width: 760px;
}

.contact-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .hero,
  .products-grid,
  .pricing-grid,
  .product-card-main {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-card-main {
    grid-row: auto;
  }

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

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    min-height: 72px;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .product-menu {
    position: static;
  }

  .mega-menu {
    left: 18px;
    right: auto;
    grid-template-columns: 1fr;
    width: min(640px, calc(100vw - 36px));
  }

  .mega-feature {
    grid-row: auto;
  }

  .hero,
  .product-section,
  .pricing-section,
  .principles-section,
  .updates-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(40px, 12vw, 54px);
  }

  .matrix,
  .price-strip,
  .pricing-grid dl div,
  .principle-list,
  .updates-list article {
    grid-template-columns: 1fr;
  }

  .matrix-card.featured {
    min-height: auto;
  }

  .matrix-card img {
    height: 220px;
  }

  .product-card-main,
  .product-card.compact {
    padding: 14px;
  }

  .product-media img {
    min-height: 260px;
  }

  .contact-section {
    margin-right: 18px;
    margin-left: 18px;
  }

  .contact-actions,
  .hero-actions,
  .product-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
