:root {
  --ink: #14232b;
  --ink-soft: #3f5358;
  --paper: #f6f3ec;
  --paper-deep: #ebe5d9;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0a5a55;
  --teal-soft: #dff3ef;
  --amber: #d88a2d;
  --amber-soft: #fbeddb;
  --line: rgba(20, 35, 43, 0.12);
  --shadow: 0 18px 50px rgba(20, 35, 43, 0.1);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.4);
  outline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 236, 0.9);
  border-bottom: 1px solid rgba(20, 35, 43, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal), #25a59a);
  box-shadow: 0 7px 16px rgba(15, 118, 110, 0.25);
}

.brand small {
  display: block;
  margin-top: -3px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
}

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

.site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease;
}

.header-contact:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 138, 45, 0.24), transparent 32%),
    radial-gradient(circle at 12% 84%, rgba(37, 165, 154, 0.28), transparent 38%),
    linear-gradient(135deg, #10242a 0%, #123a3b 58%, #0d2c2f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #d9f3ee;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #64d8c9;
  box-shadow: 0 0 0 5px rgba(100, 216, 201, 0.14);
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero h1 span {
  color: #8be1d5;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #113b3a;
  background: #8be1d5;
}

.btn-primary:hover {
  background: #a7eee3;
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.11);
}

.btn-dark {
  color: var(--white);
  background: var(--ink);
}

.btn-dark:hover {
  background: var(--teal-dark);
}

.btn-teal {
  color: var(--white);
  background: var(--teal);
}

.btn-teal:hover {
  background: var(--teal-dark);
}

.btn-outline {
  color: var(--teal-dark);
  border-color: rgba(15, 118, 110, 0.26);
  background: transparent;
}

.btn-outline:hover {
  background: var(--teal-soft);
}

.hero-visual {
  position: relative;
  min-height: 390px;
}

.visual-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.visual-main {
  inset: 18px 24px 62px 0;
  padding: 22px;
  transform: rotate(-2deg);
}

.visual-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
}

.visual-topbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.visual-topbar span {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.visual-stage {
  position: relative;
  min-height: 240px;
  border-radius: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    rgba(7, 34, 36, 0.55);
  background-size: 32px 32px;
  overflow: hidden;
}

.visual-axis {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 52%;
  height: 2px;
  background: rgba(139, 225, 213, 0.48);
}

.visual-ball {
  position: absolute;
  left: 52%;
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #b7f3e8, #38b2a2 52%, #15766f);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 12px rgba(100, 216, 201, 0.1), 0 18px 28px rgba(0, 0, 0, 0.3);
}

.visual-angle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 92px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.2), #f0b25d);
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(38deg);
}

.visual-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.visual-pill {
  position: absolute;
  top: -6px;
  right: 4px;
  padding: 12px 16px;
  border-radius: 15px;
  color: var(--ink);
  background: #f8c97f;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  font-size: 12px;
  font-weight: 800;
  transform: rotate(3deg);
}

.visual-mini {
  right: 0;
  bottom: 0;
  width: 168px;
  padding: 14px;
  transform: rotate(3deg);
}

.visual-mini strong {
  display: block;
  color: #8be1d5;
  font-size: 23px;
  line-height: 1.2;
}

.visual-mini span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.hero-foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding: 0 0 32px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.hero-foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-foot span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #64d8c9;
}

.section {
  padding: 86px 0;
}

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section-head h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.section-head p {
  max-width: 480px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.section-head a {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

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

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

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 10px 30px rgba(20, 35, 43, 0.04);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.card-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 13px;
  font-weight: 800;
}

.card-amber {
  background: var(--amber-soft);
}

.card-amber .card-number {
  color: #8a5317;
  background: rgba(216, 138, 45, 0.16);
}

.card-dark {
  color: var(--white);
  background: var(--ink);
}

.card-dark p {
  color: rgba(255, 255, 255, 0.66);
}

.card-dark .card-number {
  color: #8be1d5;
  background: rgba(139, 225, 213, 0.12);
}

.feature-strip {
  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);
}

.feature-strip div {
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.78);
}

.feature-strip strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.feature-strip span {
  color: var(--ink-soft);
  font-size: 13px;
}

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

.demo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(20, 35, 43, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.demo-preview {
  position: relative;
  min-height: 195px;
  overflow: hidden;
  background: #e8f3f0;
}

.demo-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 35, 43, 0.2), transparent 55%);
  pointer-events: none;
}

.demo-preview-balance {
  background:
    radial-gradient(circle at 74% 24%, rgba(216, 138, 45, 0.24), transparent 30%),
    linear-gradient(145deg, #dff3ef, #b7ded8);
}

.demo-preview-geometry {
  background:
    linear-gradient(rgba(20, 35, 43, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 35, 43, 0.06) 1px, transparent 1px),
    #f4ead7;
  background-size: 22px 22px;
}

.demo-preview-angle {
  background:
    radial-gradient(circle at 64% 42%, rgba(15, 118, 110, 0.16), transparent 42%),
    #e3ecee;
}

.demo-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.art-scale {
  width: 150px;
  height: 74px;
  border-top: 6px solid #0f766e;
  position: relative;
}

.art-scale::before,
.art-scale::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 34px;
  height: 22px;
  border-radius: 8px;
  background: #d88a2d;
}

.art-scale::before {
  left: -6px;
}

.art-scale::after {
  right: -6px;
  background: #0f766e;
}

.art-shape {
  width: 132px;
  height: 88px;
  border: 3px solid #0f766e;
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.1);
  transform: skewX(-12deg);
}

.art-angle {
  width: 120px;
  height: 120px;
  border: 3px solid rgba(15, 118, 110, 0.4);
  border-radius: 50%;
  position: relative;
}

.art-angle::before,
.art-angle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  height: 3px;
  width: 68px;
  background: #0f766e;
  transform-origin: left center;
}

.art-angle::before {
  transform: rotate(-32deg);
}

.art-angle::after {
  transform: rotate(-78deg);
  background: #d88a2d;
}

.demo-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.demo-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.demo-body p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 14px;
}

.demo-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.split-panel {
  padding: 38px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.split-panel h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.split-panel p {
  margin: 0 0 22px;
  color: var(--ink-soft);
}

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

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 14px;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 11px;
  font-weight: 800;
}

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

.process-step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.process-step span {
  color: var(--ink-soft);
  font-size: 13px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 42px;
  border-radius: 26px;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 20%, rgba(216, 138, 45, 0.3), transparent 34%),
    linear-gradient(135deg, #123a3b, #0d2c2f);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.page-hero {
  padding: 70px 0 54px;
  background:
    radial-gradient(circle at 88% 18%, rgba(216, 138, 45, 0.14), transparent 30%),
    linear-gradient(180deg, #efe9dd, #f6f3ec);
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: start;
}

.about-copy-wide {
  max-width: 820px;
}

.about-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.22;
}

.about-copy p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.about-facts {
  display: grid;
  gap: 12px;
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.fact:first-child {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.fact:last-child {
  border-bottom: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.fact span {
  color: var(--ink-soft);
  font-size: 13px;
}

.fact strong {
  font-size: 13px;
  text-align: right;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(20, 35, 43, 0.05);
}

.contact-card h3 {
  margin: 0 0 18px;
  font-size: 20px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row span {
  color: var(--ink-soft);
  font-size: 13px;
}

.contact-row strong,
.contact-row a {
  font-size: 14px;
  text-align: right;
  overflow-wrap: anywhere;
}

.contact-row a {
  color: var(--teal-dark);
  font-weight: 700;
}

.notice {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  color: #7a4a12;
  background: var(--amber-soft);
  font-size: 13px;
}

.site-footer {
  padding: 40px 0 34px;
  border-top: 1px solid var(--line);
  background: #eee8dc;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.footer-brand p,
.footer-meta p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.footer-meta {
  text-align: right;
}

.footer-meta a {
  color: var(--teal-dark);
  font-weight: 600;
}

.footer-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero-inner,
  .split,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 64px 0 72px;
  }

  .hero-visual {
    min-height: 340px;
    max-width: 540px;
  }

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

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

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

  .footer-meta {
    text-align: left;
  }
}

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

  .header-inner {
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 7px 10px;
    font-size: 13px;
  }

  .header-contact {
    display: none;
  }

  .hero-inner {
    padding: 50px 0 60px;
    gap: 36px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-visual {
    min-height: 290px;
  }

  .visual-main {
    inset: 10px 14px 54px 0;
  }

  .visual-pill {
    right: 0;
  }

  .section {
    padding: 62px 0;
  }

  .section-tight {
    padding: 48px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
  }

  .grid-3,
  .grid-4,
  .demo-grid,
  .feature-strip,
  .process {
    grid-template-columns: 1fr;
  }

  .card,
  .contact-card,
  .split-panel {
    padding: 22px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 24px;
  }

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

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

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