:root {
  --ink: #1a1a1a;
  --soft-ink: #414141;
  --muted: #6f7172;
  --line: rgba(26, 26, 26, 0.16);
  --green: #4a6076;
  --green-deep: #4a6076;
  --yellow: #4a6076;
  --blue: #4a6076;
  --cream: #fff8ea;
  --mint: #f9f7f2;
  --paper: #f9f7f2;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(26, 26, 26, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), transparent 320px),
    var(--paper);
  color: var(--ink);
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", ui-serif, serif;
  letter-spacing: 0;
}

.app-body {
  --ink: #07100d;
  --soft-ink: #34453f;
  --muted: #728079;
  --line: rgba(7, 16, 13, 0.14);
  --green: #48d7ad;
  --green-deep: #0c7d63;
  --yellow: #e5bd4f;
  --blue: #2548ff;
  --cream: #fff8ea;
  --mint: #ecfff6;
  --paper: #f7fbf5;
  --shadow: 0 22px 60px rgba(19, 53, 40, 0.16);
  background:
    linear-gradient(120deg, rgba(72, 215, 173, 0.16), transparent 38%),
    linear-gradient(300deg, rgba(229, 189, 79, 0.18), transparent 42%),
    var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

button,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.site-header,
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(249, 247, 242, 0.88);
  border-bottom: 1px solid rgba(7, 16, 13, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img,
.logo-mark,
.logo-mark-img,
.company-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.logo-mark-img {
  object-fit: cover;
}

.brand-mark-img {
  width: 54px;
  height: 42px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
}

.logo-mark,
.company-mark {
  display: grid;
  place-items: center;
  line-height: 1;
  font-weight: 950;
}

.logo-mark {
  color: #060e0c;
  background: #5be7be;
  box-shadow: 0 10px 22px rgba(91, 231, 190, 0.24);
  font-size: 20px;
  font-weight: 800;
}

.company-mark {
  color: var(--cream);
  background: var(--ink);
  border: 1px solid rgba(7, 16, 13, 0.12);
  font-size: 18px;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  gap: 20px;
  color: var(--soft-ink);
  font-weight: 700;
}

.nav-cta,
.primary-action,
.secondary-action,
.chip,
.tab {
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-cta {
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(74, 96, 118, 0.08);
  border-color: rgba(74, 96, 118, 0.28);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 96px) clamp(20px, 5vw, 76px) clamp(34px, 6vw, 76px);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 0;
  color: var(--green-deep);
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 900;
  font-family: Optima, "Times New Roman", serif;
  letter-spacing: 0.1em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6.4vw, 86px);
  line-height: 1.02;
}

.hero-copy h1 {
  max-width: 700px;
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 1.08;
  word-break: keep-all;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead,
.section p,
.app-hero p,
.app-install p {
  color: var(--soft-ink);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 560;
  line-height: 1.72;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.credibility-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 24px;
}

.credibility-row span {
  display: inline-flex;
  padding: 8px 12px;
  color: var(--soft-ink);
  background: rgba(249, 247, 242, 0.84);
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 0;
  font-size: 14px;
  font-weight: 800;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 16px;
}

.primary-action {
  color: var(--paper);
  background: var(--green);
  border-color: rgba(12, 125, 99, 0.2);
  box-shadow: none;
}

.secondary-action {
  color: var(--ink);
  background: rgba(249, 247, 242, 0.78);
}

.inline-action {
  display: inline-flex;
  margin-top: 12px;
}

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

.messy-stack {
  position: absolute;
  inset: 0;
}

.messy-stack span {
  position: absolute;
  display: inline-flex;
  max-width: 220px;
  padding: 14px 18px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(7, 16, 13, 0.1);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(7, 16, 13, 0.1);
  font-weight: 900;
  transform: rotate(var(--r));
}

.messy-stack span:nth-child(1) {
  top: 36px;
  left: 0;
  --r: -7deg;
}

.messy-stack span:nth-child(2) {
  top: 170px;
  right: 0;
  --r: 8deg;
}

.messy-stack span:nth-child(3) {
  bottom: 88px;
  left: 10px;
  --r: 6deg;
}

.messy-stack span:nth-child(4) {
  bottom: 12px;
  right: 28px;
  --r: -6deg;
}

.phone-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(360px, 82vw);
  min-height: 520px;
  padding: 24px;
  background: #101713;
  border: 12px solid var(--ink);
  border-radius: 46px;
  box-shadow: var(--shadow);
  transform: translate(-50%, -48%) rotate(3deg);
}

.phone-top {
  display: grid;
  gap: 8px;
  color: var(--white);
}

.phone-top span {
  color: var(--green);
  font-weight: 900;
}

.phone-top strong {
  font-size: 32px;
}

.timeline-mini {
  display: grid;
  gap: 20px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-mini li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
  color: var(--white);
}

.timeline-mini time {
  color: var(--green);
  font-weight: 900;
}

.timeline-mini span {
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border-radius: 20px;
  font-weight: 900;
}

.section {
  scroll-margin-top: 92px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(50px, 7vw, 84px) 0;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 34px;
  align-items: center;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.metric-row div,
.feature-grid article,
.business-grid article,
.contact-box,
.input-panel,
.result-panel,
.app-install {
  background: rgba(249, 247, 242, 0.82);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.metric-row div {
  padding: 18px;
}

.metric-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 26px;
}

.metric-row span {
  color: var(--muted);
  font-weight: 750;
}

.profile-card,
.install-card,
.company-hero-visual {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.profile-card img,
.install-card img,
.company-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-hero-visual {
  box-shadow: var(--shadow);
  transform: none;
}

.product-entry {
  align-items: center;
}

.compact-product {
  min-height: 520px;
}

.system-showcase {
  display: grid;
  gap: 30px;
}

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

.system-grid article {
  display: grid;
  gap: 13px;
  align-content: start;
  padding: 16px;
  background: rgba(249, 247, 242, 0.82);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 14px 36px rgba(26, 26, 26, 0.04);
}

.visual-window {
  display: grid;
  place-items: center;
  min-height: 196px;
  padding: 0;
  overflow: hidden;
  background: #f9f7f2;
  border: 1px solid rgba(26, 26, 26, 0.12);
}

.visual-window img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.system-grid h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.22;
}

.system-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.72;
}

.product-preview {
  margin: 0;
  padding: 18px;
  background: rgba(249, 247, 242, 0.82);
  border: 1px solid var(--line);
  border-radius: 0;
}

.product-preview img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

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

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

.business-grid article {
  min-height: 250px;
  padding: 22px;
  box-shadow: 0 16px 42px rgba(26, 26, 26, 0.05);
}

.business-grid h3 {
  font-size: 22px;
  line-height: 1.24;
}

.business-grid p {
  color: var(--muted);
  font-size: 15.5px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-grid article {
  min-height: 230px;
  padding: 22px;
}

.feature-grid p {
  color: var(--muted);
  font-size: 15.5px;
}

.feature-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green-deep);
  font-weight: 950;
}

.visual-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.visual-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cases-section {
  display: grid;
  gap: 24px;
}

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

.case-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  min-height: 100%;
  padding: 16px;
  background: rgba(249, 247, 242, 0.82);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 16px 42px rgba(26, 26, 26, 0.05);
}

.case-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #f9f7f2;
  border: 1px solid rgba(26, 26, 26, 0.12);
}

.case-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.case-slider::-webkit-scrollbar {
  display: none;
}

.case-slider img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  scroll-snap-align: start;
}

.case-card-contained .case-slider img {
  object-fit: contain;
}

.case-dots {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: inline-flex;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(249, 247, 242, 0.72);
  border: 1px solid rgba(26, 26, 26, 0.1);
}

.case-dots span {
  width: 5px;
  height: 5px;
  margin: 0;
  background: var(--green-deep);
  border-radius: 999px;
  opacity: 0.32;
}

.case-dots span.is-active {
  opacity: 1;
}

.case-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: rgba(249, 247, 242, 0.84);
  border: 1px solid rgba(26, 26, 26, 0.16);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(26, 26, 26, 0.12);
  cursor: pointer;
  font-family: ui-serif, Georgia, serif;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.case-arrow-prev {
  left: 14px;
}

.case-arrow-next {
  right: 14px;
}

.case-arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.case-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--green-deep);
  font-family: Optima, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.case-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.22;
}

.case-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.72;
}

.steps {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding-left: 24px;
  color: var(--soft-ink);
  font-size: 18px;
  font-weight: 750;
}

.policy-section,
.manifesto-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.manifesto-section {
  grid-template-columns: minmax(0, 1fr) 330px;
  row-gap: 46px;
}

.manifesto-copy h2 {
  max-width: 860px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-style: italic;
  line-height: 1.24;
}

.manifesto-lead {
  position: relative;
  max-width: 920px;
  padding-left: 58px;
}

.manifesto-lead::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 44px;
  height: 1px;
  background: var(--ink);
}

.contact-box {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
}

.contact-box p {
  margin-bottom: 0;
  font-size: 16px;
}

.contact-box a {
  color: var(--green-deep);
  font-weight: 900;
}

.partner-panel {
  grid-column: 1 / -1;
  padding-top: 34px;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.partner-panel p {
  margin: 0 0 28px;
  color: var(--green-deep);
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", ui-serif, serif;
  font-size: clamp(28px, 3.3vw, 42px);
  font-style: italic;
  line-height: 1.18;
  text-align: center;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.brand-grid img {
  width: 100%;
  height: 78px;
  padding: 20px 30px;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(26, 26, 26, 0.08);
}

.brand-grid img[alt="Philips"],
.brand-grid img[alt="IHG Hotels & Resorts"],
.brand-grid img[alt="Kweichow Moutai"] {
  padding-inline: 38px;
}

.brand-grid img[alt="Tank"],
.brand-grid img[alt="Volkswagen"],
.brand-grid img[alt="BMW"],
.brand-grid img[alt="Mercedes-Benz"],
.brand-grid img[alt="Land Rover"] {
  padding-block: 16px;
  padding-inline: 42px;
}

.brand-grid img[alt="Toyota"] {
  padding-block: 18px;
  padding-inline: 20px;
}

.brand-grid img[alt="Audi"] {
  padding-block: 18px;
  padding-inline: 24px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 30px clamp(20px, 5vw, 76px);
  color: var(--muted);
  font-weight: 800;
}

.app-body {
  min-height: 100vh;
}

.app-main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.app-hero {
  max-width: 820px;
  margin-bottom: 24px;
}

.app-hero h1 {
  font-size: clamp(42px, 7vw, 86px);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.input-panel,
.result-panel,
.app-install {
  padding: 22px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title h2 {
  margin: 0;
  font-size: 28px;
}

.panel-title span {
  color: var(--muted);
  font-weight: 900;
}

textarea {
  width: 100%;
  min-height: 260px;
  resize: vertical;
  padding: 18px;
  color: var(--ink);
  background: rgba(236, 255, 246, 0.5);
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

textarea:focus {
  border-color: rgba(72, 215, 173, 0.8);
  box-shadow: 0 0 0 4px rgba(72, 215, 173, 0.14);
}

.chip-row,
.result-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.chip,
.tab {
  padding: 10px 13px;
  color: var(--ink);
  background: var(--white);
}

.tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.result-view {
  display: grid;
  gap: 12px;
  min-height: 360px;
}

.is-hidden {
  display: none;
}

.task-item,
.day-group,
.empty-state {
  padding: 16px;
  background: rgba(236, 255, 246, 0.42);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.task-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
}

.check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--green);
  border-radius: 12px;
  font-weight: 950;
}

.task-item h3,
.day-group h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.task-item p,
.day-group p,
.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.time-pill {
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 950;
}

.timeline-line {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 82px 24px 1fr;
  gap: 12px;
  align-items: start;
}

.timeline-dot {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 8px;
  background: var(--green);
  border-radius: 999px;
}

.timeline-dot::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 8px;
  width: 2px;
  height: 56px;
  background: rgba(72, 215, 173, 0.65);
}

.timeline-item:last-child .timeline-dot::after {
  display: none;
}

.timeline-card {
  margin-bottom: 16px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.app-install {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
}

.steps.compact {
  margin: 0;
}

@media (max-width: 920px) {
  nav {
    display: none;
  }

  .hero-shell,
  .split,
  .workspace,
  .manifesto-section,
  .policy-section,
  .app-install {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
  }

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

  .feature-grid,
  .business-grid,
  .case-grid,
  .visual-row,
  .metric-row,
  .system-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-copy {
    order: 1;
  }

  .partner-panel {
    order: 2;
  }

  .contact-box {
    order: 3;
  }

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

  .visual-window {
    min-height: 190px;
  }

  .site-header,
  .app-header {
    padding-inline: 16px;
  }

  .nav-cta {
    padding-inline: 12px;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .hero-shell,
  .section,
  .app-main {
    width: calc(100% - 24px);
  }

  .hero-shell {
    padding: 34px 0 24px;
  }

  .section {
    padding: 42px 0;
  }

  h1 {
    font-size: 34px;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .app-hero h1 {
    font-size: 36px;
  }

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

  .phone-frame {
    min-height: 455px;
    padding: 20px;
  }

  .messy-stack span {
    max-width: 180px;
    font-size: 14px;
  }

  .business-grid article,
  .case-card {
    padding: 18px;
  }

  .case-card h3,
  .business-grid h3 {
    font-size: 21px;
  }

  .task-item {
    grid-template-columns: 40px 1fr;
  }

  .time-pill {
    grid-column: 2;
    width: fit-content;
  }

  .timeline-line {
    gap: 12px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-item .time-pill {
    grid-column: auto;
  }

  .timeline-dot {
    display: none;
  }

  .timeline-card {
    margin-bottom: 0;
  }

  .panel-title {
    align-items: flex-start;
  }

  .panel-title span {
    text-align: right;
  }

  .manifesto-lead {
    padding-left: 0;
  }

  .manifesto-lead::before {
    display: none;
  }

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

  .brand-grid img {
    height: 66px;
    padding: 16px 20px;
  }
}
