:root {
  --ink: #17201b;
  --muted: #5d6b61;
  --paper: #fbfaf5;
  --white: #ffffff;
  --green: #2f7d45;
  --green-quiet: #eaf4e8;
  --amber: #c8943c;
  --clay: #c83e25;
  --blue: #2b76a8;
  --line: rgba(23, 32, 27, 0.12);
  --shadow: 0 24px 70px rgba(27, 42, 31, 0.16);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.5;
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(23, 32, 27, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 10px 18px rgba(83, 53, 30, 0.14));
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  color: #26332c;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a,
.text-link {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.text-link {
  color: #33453a;
  font-size: 14px;
  font-weight: 700;
}

.nav-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 4px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.nav-cta {
  min-height: 42px;
  padding: 0 20px;
  background: var(--clay);
  color: white;
  box-shadow: 0 12px 28px rgba(200, 62, 37, 0.22);
}

.nav-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
}

.hero-media,
.hero-slide,
.hero-slide img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  animation: hero-carousel 18s infinite;
}

.hero-slide:nth-child(1) {
  opacity: 1;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-slide img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

@keyframes hero-carousel {
  0%,
  29% {
    opacity: 1;
  }

  35%,
  94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 23, 15, 0.74) 0%, rgba(12, 23, 15, 0.54) 30%, rgba(12, 23, 15, 0.18) 62%, rgba(12, 23, 15, 0.1) 100%),
    linear-gradient(180deg, rgba(12, 23, 15, 0.24) 0%, rgba(12, 23, 15, 0.04) 42%, rgba(12, 23, 15, 0.28) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 86px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #ffe6b3;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--clay);
}

.hero h1 {
  margin: 0;
  font-size: clamp(72px, 10vw, 150px);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 900;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.hero-lead {
  max-width: 860px;
  margin: 28px 0 0;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-lead span {
  display: inline;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  min-width: 154px;
  padding: 0 26px;
  font-size: 16px;
}

.primary-button {
  background: var(--clay);
  color: white;
  box-shadow: 0 18px 42px rgba(200, 62, 37, 0.28);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.76);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.primary-button.light {
  background: white;
  color: var(--clay);
}

.secondary-button.light {
  border-color: rgba(255, 255, 255, 0.68);
  color: white;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 800;
}

.hero-proof span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(15, 27, 18, 0.2);
}

.hero-dots {
  display: flex;
  gap: 9px;
  margin-top: 28px;
}

.hero-dots span {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  animation: hero-dot 18s infinite;
}

.hero-dots span:nth-child(2) {
  animation-delay: 6s;
}

.hero-dots span:nth-child(3) {
  animation-delay: 12s;
}

@keyframes hero-dot {
  0%,
  29% {
    background: #ffe6b3;
  }

  35%,
  100% {
    background: rgba(255, 255, 255, 0.38);
  }
}

.quick-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1160px, calc(100% - 64px));
  margin: -64px auto 0;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 27, 0.08);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  min-height: 216px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.96);
}

.quick-item > div,
.section-copy,
.commerce-copy,
.case-copy,
.workflow-step {
  min-width: 0;
}

.quick-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
}

.quick-icon img {
  width: 86px;
  max-width: none;
  height: 86px;
  object-fit: contain;
}

.tone-blue .quick-icon {
  background: #dfeaf2;
  color: var(--blue);
}

.tone-green .quick-icon {
  background: #dfeedd;
  color: var(--green);
}

.tone-amber .quick-icon {
  background: #f5e7c7;
  color: #9b6b15;
}

.tone-red .quick-icon {
  background: #f7ded8;
  color: var(--clay);
}

.quick-item h2 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.2;
}

.quick-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.experience-section,
.operator-section,
.commerce-section,
.workflow-section,
.case-section {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
}

.experience-section,
.operator-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 72px;
  align-items: center;
  padding: 118px 0 34px;
}

.operator-section {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  padding-top: 96px;
}

.section-copy h2,
.commerce-copy h2,
.center-copy h2,
.case-copy h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy p,
.commerce-copy p,
.case-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 650;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #26342b;
  font-weight: 750;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}

.check-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 6px #dfeedd;
}

.phone-visual,
.dashboard-visual,
.shop-visual {
  margin: 0;
}

.phone-visual {
  justify-self: center;
  width: min(470px, 100%);
  display: grid;
  place-items: center;
}

.dashboard-visual img,
.shop-visual img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-visual img {
  width: min(365px, 100%);
  filter: drop-shadow(0 34px 38px rgba(27, 42, 31, 0.2));
}

.dashboard-visual img {
  border: 1px solid rgba(23, 32, 27, 0.1);
}

.commerce-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: end;
  padding: 92px 0;
}

.commerce-copy {
  padding-bottom: 28px;
}

.shop-visual img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.workflow-section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.center-copy {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

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

.workflow-step {
  min-height: 220px;
  padding: 28px;
  background: #fff;
}

.workflow-step span {
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.workflow-step h3 {
  margin: 30px 0 12px;
  font-size: 24px;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 650;
}

.case-section {
  padding-bottom: 92px;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
  padding: 52px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(27, 42, 31, 0.1);
}

.case-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.case-list span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: #28372f;
  font-weight: 850;
}

.final-cta {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 72px 28px;
  background:
    linear-gradient(90deg, rgba(23, 71, 42, 0.94), rgba(31, 103, 62, 0.86)),
    url("/site-assets/hero-village.jpg") center/cover;
  color: white;
  text-align: center;
}

.final-cta h2 {
  max-width: 900px;
  color: white;
}

.final-cta .hero-actions {
  margin-top: 30px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  min-height: 96px;
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-brand .brand-name {
  color: var(--ink);
  font-size: 18px;
}

.footer-link,
.icp-link {
  color: var(--green);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 66px;
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    gap: 12px;
  }

  .text-link {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-inner,
  .experience-section,
  .operator-section,
  .commerce-section,
  .workflow-section,
  .case-section,
  .quick-panel,
  .site-footer {
    width: min(680px, calc(100% - 32px));
  }

  .hero-inner {
    padding-top: 76px;
  }

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

  .quick-panel,
  .experience-section,
  .operator-section,
  .commerce-section,
  .case-card,
  .workflow {
    grid-template-columns: 1fr;
  }

  .quick-panel {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -36px;
  }

  .quick-item {
    min-height: 132px;
    padding: 24px;
  }

  .experience-section,
  .operator-section,
  .commerce-section {
    gap: 36px;
    padding-top: 72px;
  }

  .operator-section .dashboard-visual {
    order: 2;
  }

  .workflow-section {
    padding: 70px 0;
  }

  .case-card {
    padding: 30px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    overflow: hidden;
  }

  .hero-inner,
  .experience-section,
  .operator-section,
  .commerce-section,
  .workflow-section,
  .case-section,
  .quick-panel,
  .site-footer {
    width: calc(100% - 32px);
  }

  .header-actions {
    display: none;
  }

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

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .hero-lead {
    max-width: 100%;
    font-size: clamp(25px, 8.4vw, 34px);
    line-height: 1.16;
    overflow-wrap: anywhere;
  }

  .hero-lead span {
    display: block;
  }

  .hero-copy {
    width: 100%;
    max-width: 19.5rem;
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .quick-item p,
  .section-copy p,
  .commerce-copy p,
  .case-copy p,
  .workflow-step p {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-proof {
    display: none;
  }

  .quick-item {
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 22px 20px;
  }

  .quick-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .quick-icon img {
    width: 64px;
    height: 64px;
  }

  .quick-item h2 {
    font-size: 22px;
  }

  .quick-item p {
    font-size: 14px;
    line-height: 1.65;
  }

  .section-copy h2,
  .commerce-copy h2,
  .center-copy h2,
  .case-copy h2,
  .final-cta h2 {
    font-size: 32px;
  }

  .case-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-dots span {
    animation: none;
  }

  .hero-slide:nth-child(n + 2) {
    display: none;
  }
}
