: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 4px;
  border: 0;
  border-radius: 0;
  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);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

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

.product-dropdown {
  position: absolute;
  top: calc(100% + 22px);
  right: -24px;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(360px, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  width: min(860px, calc(100vw - 44px));
  padding: 16px;
  border: 1px solid rgba(198, 216, 240, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 80px rgba(32, 74, 135, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

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

.menu-feature,
.menu-column,
.menu-service {
  border: 1px solid #d6e4f6;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.menu-feature {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 270px;
  padding: 28px;
}

.menu-column {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.menu-eyebrow {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 820;
}

.menu-feature > strong {
  color: var(--ink);
  font-size: 36px;
  line-height: 1.05;
}

.menu-feature p {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

.menu-tags,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.menu-tags span,
.hero-proof {
  border: 1px solid #c9dcfb;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.menu-tags span {
  padding: 7px 11px;
}

.menu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.menu-actions .button {
  min-height: 40px;
  padding: 0 16px;
}

.menu-app-link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.menu-app-link:hover,
.menu-service a:hover {
  background: #f4f8ff;
  color: var(--accent-strong);
}

.menu-app-link img {
  width: 48px;
  height: 48px;
  border: 1px solid #d6e4f6;
  border-radius: 13px;
}

.menu-app-link span,
.menu-app-link strong,
.menu-app-link small {
  display: block;
}

.menu-app-link strong,
.menu-service a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
}

.menu-app-link small,
.menu-service small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.4;
}

.menu-service {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 18px;
}

.menu-service a {
  width: fit-content;
  border-radius: 10px;
  text-decoration: none;
}

.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: 14.8ch;
  margin: 0;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.06;
  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-proof {
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 0;
  padding: 8px 12px;
}

.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.2fr 0.8fr;
  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:
    linear-gradient(180deg, rgba(232, 240, 254, 0.72), rgba(255, 255, 255, 0.98)),
    #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-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(32, 74, 135, 0.07);
  overflow: hidden;
}

.pricing-tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pricing-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #f7fbff;
}

.pricing-tabs span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.pricing-tabs label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.pricing-tabs label:hover {
  border-color: #c9dcfb;
  background: #ffffff;
  color: var(--accent-strong);
}

#pricing-tab-all:checked ~ .pricing-tabs label[for="pricing-tab-all"],
#pricing-tab-offer:checked ~ .pricing-tabs label[for="pricing-tab-offer"],
#pricing-tab-anything:checked ~ .pricing-tabs label[for="pricing-tab-anything"],
#pricing-tab-bluepen:checked ~ .pricing-tabs label[for="pricing-tab-bluepen"] {
  border-color: #b9d2f8;
  background: #ffffff;
  color: var(--accent-strong);
  box-shadow: 0 10px 24px rgba(26, 115, 232, 0.1);
}

.pricing-panels {
  padding: clamp(22px, 4vw, 36px);
}

.pricing-panel {
  display: none;
  min-height: 360px;
}

#pricing-tab-all:checked ~ .pricing-panels .pricing-panel-all,
#pricing-tab-offer:checked ~ .pricing-panels .pricing-panel-offer,
#pricing-tab-anything:checked ~ .pricing-panels .pricing-panel-anything,
#pricing-tab-bluepen:checked ~ .pricing-panels .pricing-panel-bluepen {
  display: grid;
  gap: 26px;
}

.panel-title-row {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.pricing-breadcrumb {
  margin: 0;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 820;
}

.panel-title-row h3 {
  margin: 0;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.12;
}

.panel-title-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: fit-content;
  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;
}

.pricing-overview-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pricing-product-summary,
.plan-card,
.price-detail-list div {
  border: 1px solid #d6e4f6;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%),
    #ffffff;
}

.pricing-product-summary {
  display: grid;
  min-height: 210px;
  align-content: end;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
  text-decoration: none;
}

.pricing-product-summary.featured,
.plan-card.highlighted {
  border-color: #9cc2f7;
  background:
    linear-gradient(180deg, #edf5ff 0%, #ffffff 100%),
    #ffffff;
  box-shadow: 0 18px 42px rgba(26, 115, 232, 0.12);
}

.pricing-product-summary span,
.plan-card span,
.price-detail-list span {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 820;
}

.pricing-product-summary strong {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.02;
}

.pricing-product-summary small,
.plan-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.plan-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
}

.plan-card strong {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.04;
}

.plan-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.price-detail-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #d6e4f6;
  border-radius: 18px;
  background: #d6e4f6;
}

.price-detail-list div {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 0.64fr);
  gap: 18px;
  align-items: center;
  min-height: 86px;
  padding: 22px 24px;
  border: 0;
  border-radius: 0;
}

.price-detail-list strong {
  font-size: 20px;
  line-height: 1.35;
}

.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-overview-grid,
  .plan-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-dropdown {
    left: 18px;
    right: auto;
    grid-template-columns: 1fr;
    width: min(360px, calc(100vw - 36px));
    transform: translateY(8px);
  }

  .product-menu:hover .product-dropdown,
  .product-menu:focus-within .product-dropdown {
    transform: translateY(0);
  }

  .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-overview-grid,
  .plan-grid,
  .price-detail-list div,
  .principle-list,
  .updates-list article {
    grid-template-columns: 1fr;
  }

  .pricing-tabs {
    align-items: flex-start;
    flex-direction: column;
  }

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