:root {
  --bg: #fff9e8;
  --surface: #fffdf5;
  --surface-strong: #fff4cc;
  --ink: #292417;
  --muted: #6f654f;
  --line: #eadba7;
  --yellow: #f6c94c;
  --yellow-strong: #e3a918;
  --green: #2f7564;
  --coral: #b35c42;
  --shadow: 0 18px 50px rgba(83, 62, 17, 0.13);
  --radius: 8px;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(255, 249, 232, 0.94);
  border-bottom: 1px solid rgba(234, 219, 167, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--yellow);
  font-size: 13px;
  line-height: 1;
}

.brand-text {
  font-size: 18px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #fff1bd;
  color: var(--ink);
  outline: none;
}

.site-nav .nav-cta {
  background: var(--ink);
  color: #fff8df;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: min(760px, 78svh);
  background:
    linear-gradient(90deg, rgba(255, 249, 232, 0.96) 0%, rgba(255, 249, 232, 0.74) 38%, rgba(255, 249, 232, 0.04) 74%),
    url("assets/hero-ai-service.png") center / cover no-repeat;
}

.hero-inner {
  width: min(1180px, 90vw);
  min-height: min(760px, 78svh);
  margin: 0 auto;
  padding: 86px 0 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: #4e432d;
  font-size: clamp(17px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: #fff8df;
}

.button.secondary {
  background: rgba(255, 253, 245, 0.78);
  color: var(--ink);
}

.button.quiet {
  background: rgba(255, 253, 245, 0.54);
  color: var(--ink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(720px, 100%);
  gap: 12px;
  margin: 0;
}

.hero-metrics div {
  min-height: 108px;
  padding: 18px;
  border: 1px solid rgba(234, 219, 167, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.82);
  box-shadow: 0 10px 24px rgba(83, 62, 17, 0.08);
}

.hero-metrics dt {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 96px 0;
}

.section-inner {
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 720px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

.services-section,
.product-section,
.pricing-section,
.faq-section {
  background: var(--surface);
}

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

.business-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 470px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.business-card.primary-card {
  background: #fff5c9;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 18px;
}

.business-code {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.business-card p {
  color: var(--muted);
}

.business-card ul {
  flex: 1;
  padding-left: 20px;
  margin: 20px 0 24px;
}

.business-card li {
  margin: 8px 0;
}

.image-service-section,
.enterprise-service-section {
  background: #fff7dc;
}

.enterprise-service-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.enterprise-card {
  background: #eef7f1;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 32px;
  align-items: center;
}

.compact-actions {
  margin-top: 26px;
  margin-bottom: 0;
}

.metric-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric-panel div {
  min-height: 142px;
  padding: 22px;
  background: #fffdf8;
}

.metric-panel span,
.metric-panel strong {
  display: block;
}

.metric-panel span {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.metric-panel strong {
  color: var(--coral);
  font-size: 26px;
  line-height: 1.1;
}

.metric-panel strong.model-name {
  font-size: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 18px;
}

.product-panel,
.service-card,
.recommend-card,
.usecase-grid article,
.faq-list details,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.product-panel {
  padding: 30px;
}

.product-panel.featured {
  background: #fff5c9;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f8df83;
  color: #4a3910;
  font-size: 13px;
  font-weight: 800;
}

.product-code {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.product-panel p,
.service-card p,
.usecase-grid p,
.faq-list p,
.contact-panel p {
  color: var(--muted);
}

.product-panel ul,
.contact-panel ul {
  padding-left: 20px;
  margin: 20px 0 0;
}

.product-panel li,
.contact-panel li {
  margin: 8px 0;
}

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

.compare-strip div {
  min-height: 132px;
  padding: 20px;
  background: #fffaf0;
}

.compare-strip strong,
.compare-strip span {
  display: block;
}

.compare-strip strong {
  margin-bottom: 8px;
  color: var(--ink);
}

.compare-strip span {
  color: var(--muted);
  font-size: 14px;
}

.business-section {
  background: #fff7dc;
}

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

.service-card {
  min-height: 240px;
  padding: 24px;
}

.service-index {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--green);
  font-weight: 900;
}

.workflow {
  padding: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow h3 {
  margin-bottom: 20px;
}

.workflow ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  min-height: 150px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fffdf8;
}

.workflow span {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
}

.workflow p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.price-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter-button span,
.filter-button small {
  display: block;
}

.filter-button small {
  margin-top: 2px;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.72;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  background: var(--ink);
  color: #fff8df;
  border-color: var(--ink);
  outline: none;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.recommend-card {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.recommend-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.recommend-list span {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fff3c2;
  color: #55400d;
  font-size: 14px;
  font-weight: 800;
}

.price-table-wrap {
  scroll-margin-top: 92px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.price-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  background: #fff0b5;
  color: #4b3910;
  font-size: 14px;
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr:hover {
  background: #fff9e2;
}

.price-table .price {
  color: var(--coral);
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.price-table tr.is-hidden {
  display: none;
}

.usecase-section {
  background: #fbf2d1;
}

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

.usecase-grid article {
  min-height: 198px;
  padding: 24px;
}

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

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
}

.contact-section {
  background: #fff4c6;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 36px;
  align-items: center;
}

.contact-inner h2 {
  max-width: 720px;
}

.contact-inner > div > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.contact-button {
  margin-top: 8px;
}

.contact-panel {
  padding: 28px;
}

.contact-note {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.contact-note a {
  color: var(--coral);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  padding: 34px 5vw;
  background: var(--ink);
  color: #fff8df;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span,
.site-footer p {
  color: rgba(255, 248, 223, 0.72);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1020px) {
  .service-grid,
  .usecase-grid,
  .compare-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .business-grid,
  .split-layout,
  .pricing-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .recommend-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    padding: 18px 5vw 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(83, 62, 17, 0.14);
  }

  .site-nav.open {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    min-height: 44px;
  }

  .hero,
  .hero-inner {
    min-height: min(680px, 78svh);
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(255, 249, 232, 0.98) 0%, rgba(255, 249, 232, 0.84) 62%, rgba(255, 249, 232, 0.18) 100%),
      url("assets/hero-ai-service.png") 58% center / cover no-repeat;
  }

  .hero-inner {
    padding-top: 58px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-metrics {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .product-grid,
  .business-grid,
  .service-grid,
  .usecase-grid,
  .compare-strip,
  .workflow ol,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-panel,
  .business-card,
  .service-card,
  .recommend-card,
  .usecase-grid article,
  .contact-panel,
  .workflow {
    padding: 22px;
  }

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

  .metric-panel {
    grid-template-columns: 1fr;
  }

  .service-card,
  .usecase-grid article {
    min-height: auto;
  }

  .service-index {
    margin-bottom: 18px;
  }

  .price-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .filter-button {
    min-height: 68px;
    padding: 12px;
    text-align: left;
  }

  .filter-button span {
    font-size: 16px;
  }

  .price-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .price-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .price-table thead {
    display: none;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tbody tr {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffdf8;
    box-shadow: var(--shadow);
  }

  .price-table th,
  .price-table td {
    padding: 0;
    border-bottom: 0;
  }

  .price-table td {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0;
    color: var(--muted);
  }

  .price-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: var(--ink);
    font-weight: 900;
  }

  .price-table td:first-child {
    display: block;
    padding-top: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
  }

  .price-table td:first-child::before {
    display: none;
  }

  .price-table .price {
    font-size: 24px;
  }
}

@media (max-width: 440px) {
  .hero-actions,
  .button,
  .price-toolbar,
  .filter-button {
    width: 100%;
  }

  .button,
  .filter-button {
    justify-content: center;
  }

  .brand-text {
    font-size: 16px;
  }
}
