:root {
  --bg: #f4f3f0;
  --surface: #fbfaf8;
  --surface-soft: #eceae5;
  --surface-strong: #e2ded7;
  --ink: #1c1b19;
  --ink-2: #706b64;
  --ink-3: #9a948b;
  --line: rgba(28, 27, 25, 0.12);
  --primary: #6f2437;
  --primary-strong: #541725;
  --primary-soft: #efe2e5;
  --accent: #b08d57;
  --accent-soft: #eee6d8;
  --success: #4f6f5e;
  --warning: #9a6b2f;
  --danger: #9b3a3a;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow: 0 24px 70px rgba(28, 27, 25, 0.1);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

::selection {
  background-color: var(--primary);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

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

.container--narrow {
  width: min(920px, calc(100% - 64px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background-color: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease-out;
}

.skip-link:focus {
  top: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--surface);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand__product {
  display: block;
  margin-top: 1px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.16em;
}

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

.site-nav__link {
  position: relative;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s ease-out;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--ink);
}

.site-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background-color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.menu-button svg {
  width: 22px;
  height: 22px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out, transform 0.2s ease-out;
}

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

.btn--primary {
  background-color: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--primary-strong);
}

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

.btn--dark:hover {
  background-color: #000;
}

.btn--outline {
  background-color: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
}

.btn--light {
  background-color: var(--surface);
  color: var(--ink);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn--lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
}

.btn__arrow {
  width: 18px;
  height: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease-out;
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* Hero */
.hero {
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background-color: currentColor;
}

.hero__title {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.hero__title em {
  color: var(--primary);
  font-style: normal;
}

.hero__desc {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 14px;
}

.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.hero__company {
  margin-top: 34px;
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* Product preview */
.preview-stage {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 42px;
  background-color: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.preview-stage::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 32px;
  width: 72px;
  height: 72px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
  opacity: 0.5;
}

.preview-stage::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 72px;
  height: 72px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  opacity: 0.5;
}

.browser-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.browser-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  background-color: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--ink-3);
  opacity: 0.55;
}

.browser-address {
  flex: 1;
  height: 22px;
  margin-left: 12px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-3);
  font-size: 9px;
}

.dashboard {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 390px;
}

.dashboard__side {
  padding: 22px 14px;
  background-color: #20201e;
  color: #f4f3f0;
}

.dashboard__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 13px;
}

.dashboard__logo img {
  width: 22px;
  height: 22px;
}

.dashboard__nav {
  display: grid;
  gap: 8px;
}

.dashboard__nav span {
  padding: 8px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
}

.dashboard__nav span.is-active {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dashboard__main {
  padding: 22px;
}

.dashboard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dashboard__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.dashboard__date {
  color: var(--ink-3);
  font-size: 9px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  padding: 14px;
  background-color: var(--surface-soft);
  border-radius: 9px;
}

.metric__label {
  color: var(--ink-3);
  font-size: 8px;
}

.metric__value {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.dashboard-panel {
  margin-top: 12px;
  padding: 16px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.dashboard-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 600;
}

.dashboard-panel__head span {
  color: var(--ink-3);
  font-size: 8px;
  font-weight: 400;
}

.timeline-mini {
  display: grid;
  gap: 10px;
}

.timeline-mini__row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 8px;
}

.timeline-mini__time {
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.timeline-mini__bar {
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 9px;
  background-color: var(--primary-soft);
  border-left: 2px solid var(--primary);
  border-radius: 5px;
  color: var(--primary);
}

.timeline-mini__status {
  color: var(--ink-3);
}

.phone-frame {
  position: absolute;
  right: -18px;
  bottom: -28px;
  z-index: 3;
  width: 176px;
  height: 356px;
  padding: 10px;
  overflow: hidden;
  background-color: #20201e;
  border-radius: 28px;
  box-shadow: 0 24px 55px rgba(28, 27, 25, 0.24);
}

.phone-screen {
  height: 100%;
  padding: 18px 12px 12px;
  overflow: hidden;
  background-color: var(--bg);
  border-radius: 20px;
}

.phone-notch {
  width: 54px;
  height: 12px;
  margin: -10px auto 14px;
  background-color: #20201e;
  border-radius: 0 0 8px 8px;
}

.phone-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.phone-sub {
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 7px;
}

.phone-hero {
  margin-top: 12px;
  padding: 12px;
  background-color: #20201e;
  border-radius: 10px;
  color: #fff;
}

.phone-hero small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 7px;
}

.phone-hero strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
}

.phone-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.phone-actions span {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.phone-actions img {
  width: 21px;
  height: 21px;
}

.phone-list {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.phone-list span {
  height: 30px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink-2);
  font-size: 7px;
}

.phone-tabbar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: var(--surface);
  border-top: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
}

.phone-tabbar span {
  width: 16px;
  height: 4px;
  background-color: var(--ink-3);
  border-radius: 2px;
  opacity: 0.45;
}

.phone-tabbar span.is-active {
  background-color: var(--primary);
  opacity: 1;
}

/* Sections */
.section {
  padding: 104px 0;
}

.section--surface {
  background-color: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--dark {
  background-color: var(--ink);
  color: var(--surface);
}

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

.section-head__title {
  max-width: 720px;
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.section-head__desc {
  max-width: 460px;
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.9;
}

.section--dark .section-head__desc {
  color: rgba(255, 255, 255, 0.6);
}

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

/* Flow strip */
.flow-strip {
  padding: 42px 0;
  background-color: var(--ink);
  color: var(--surface);
}

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

.flow-item {
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.flow-item:first-child {
  padding-left: 0;
}

.flow-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.flow-item__num {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 14px;
}

.flow-item__title {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 500;
}

.flow-item__desc {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

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

.feature-card {
  min-height: 220px;
  padding: 28px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease-out, transform 0.2s ease-out;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
}

.feature-card__title {
  margin: 22px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.feature-card__desc {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
}

/* Product modules */
.product-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  align-items: start;
}

.product-tabs {
  display: grid;
  gap: 8px;
}

.product-tab {
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: transparent;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 0;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out;
}

.product-tab img {
  width: 38px;
  height: 38px;
}

.product-tab strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.product-tab small {
  display: block;
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 12px;
}

.product-tab.is-active {
  background-color: var(--surface);
  border-color: var(--line);
  border-radius: var(--radius-md);
}

.product-panel {
  min-height: 480px;
  padding: 44px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.product-panel[hidden] {
  display: none;
}

.product-panel__icon {
  width: 64px;
  height: 64px;
}

.product-panel h3 {
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
}

.product-panel > p {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.9;
}

.product-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.product-points li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 14px;
}

.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
}

.product-preview {
  margin-top: 34px;
  padding: 24px;
  background-color: var(--surface-soft);
  border-radius: var(--radius-lg);
}

.product-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product-preview__cell {
  min-height: 104px;
  padding: 16px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.product-preview__cell small {
  color: var(--ink-3);
  font-size: 11px;
}

.product-preview__cell strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}

/* Solutions */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solution-card {
  padding: 32px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.solution-card__num {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 14px;
}

.solution-card h3 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
}

.solution-card p {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.85;
}

.solution-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.solution-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 13px;
}

.solution-card li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--primary);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-item {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.process-item__num {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
}

.process-item h3 {
  margin: 20px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.process-item p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
}

/* Cases */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-card {
  padding: 30px;
  background-color: var(--surface-soft);
  border-radius: var(--radius-lg);
}

.case-card__tag {
  display: inline-flex;
  padding: 4px 10px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 11px;
}

.case-card h3 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
}

.case-card p {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.85;
}

.case-card__note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12px;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  padding: 34px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.price-card--featured {
  background-color: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.price-card__label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.price-card h3 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
}

.price-card__price {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
}

.price-card__price small {
  display: block;
  margin-top: 4px;
  color: var(--ink-3);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
}

.price-card--featured .price-card__price small {
  color: rgba(255, 255, 255, 0.55);
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  font-size: 14px;
}

.price-card--featured li {
  color: rgba(255, 255, 255, 0.7);
}

.price-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.about-title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.3;
}

.about-copy p {
  margin: 0 0 22px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 2;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.value-card {
  padding: 28px;
  background-color: var(--surface);
  border-top: 2px solid var(--accent);
}

.value-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.value-card p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.3;
}

.contact-info > p {
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.9;
}

.contact-points {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-point__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.contact-point strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.contact-point span {
  display: block;
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 13px;
}

.contact-form {
  padding: 40px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

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

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease-out, background-color 0.2s ease-out;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  background-color: var(--surface);
  border-color: var(--primary);
}

.field-error {
  min-height: 18px;
  margin-top: 5px;
  color: var(--danger);
  font-size: 12px;
}

.form-note {
  margin: 16px 0 0;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.7;
}

.form-success {
  display: none;
  padding: 16px 18px;
  background-color: #e4ebe6;
  border: 1px solid rgba(79, 111, 94, 0.25);
  border-radius: var(--radius-md);
  color: var(--success);
  font-size: 14px;
}

.form-success.is-visible {
  display: block;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background-color: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.faq-item__question span:first-child {
  font-size: 17px;
  font-weight: 500;
}

.faq-item__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 9px;
  height: 1px;
  background-color: var(--ink);
  transition: transform 0.2s ease-out;
}

.faq-item__icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-item__icon::after {
  transform: rotate(0);
}

.faq-item__answer {
  display: none;
  max-width: 760px;
  padding: 0 0 26px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.9;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

/* CTA */
.cta-section {
  padding: 96px 0;
  background-color: var(--primary);
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.3;
}

.cta-desc {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  padding: 72px 0 28px;
  background-color: var(--ink);
  color: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr);
  gap: 48px;
}

.footer-brand .brand__name {
  color: var(--surface);
}

.footer-brand .brand__product {
  color: rgba(255, 255, 255, 0.45);
}

.footer-desc {
  max-width: 360px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.9;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  transition: color 0.2s ease-out;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.beian {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.beian a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease-out;
}

.beian a:hover {
  color: #fff;
}

.beian img {
  width: 16px;
  height: 16px;
}

/* Legal pages */
.legal {
  padding: 88px 0 104px;
}

.legal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
}

.legal__meta {
  margin: 16px 0 40px;
  color: var(--ink-3);
  font-size: 13px;
}

.legal h2 {
  margin: 40px 0 14px;
  font-size: 21px;
  font-weight: 600;
}

.legal p,
.legal li {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 2;
}

.legal ul {
  padding-left: 22px;
}

/* Mobile nav dialog */
.nav-dialog {
  width: min(420px, calc(100% - 32px));
  margin: auto;
  padding: 28px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.nav-dialog::backdrop {
  background-color: rgba(28, 27, 25, 0.42);
}

.nav-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.nav-dialog__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.nav-dialog__links {
  display: grid;
  gap: 6px;
}

.nav-dialog__links a {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 16px;
}

.nav-dialog__links a.is-active {
  color: var(--primary);
}

.nav-dialog .btn {
  width: 100%;
  margin-top: 24px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
  .site-nav {
    gap: 20px;
  }

  .hero__grid {
    gap: 40px;
  }

  .preview-stage {
    min-height: 520px;
    padding: 42px 26px;
  }

  .phone-frame {
    right: -10px;
    bottom: -20px;
    width: 154px;
    height: 318px;
  }

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

  .product-layout,
  .about-grid,
  .contact-grid {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 0.8fr);
    gap: 30px;
  }
}

@media (max-width: 860px) {
  .container,
  .container--narrow {
    width: min(100% - 40px, var(--container));
  }

  .site-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

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

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__title {
    max-width: 680px;
  }

  .preview-stage {
    min-height: 560px;
  }

  .section {
    padding: 80px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .flow-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }

  .flow-item:nth-child(2) {
    border-right: 0;
  }

  .product-layout,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-grid,
  .case-grid,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .container,
  .container--narrow {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 20px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__desc {
    font-size: 16px;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .preview-stage {
    min-height: 430px;
    padding: 34px 16px;
  }

  .preview-stage::before,
  .preview-stage::after {
    width: 42px;
    height: 42px;
  }

  .dashboard {
    grid-template-columns: 92px 1fr;
    min-height: 310px;
  }

  .dashboard__side {
    padding: 16px 10px;
  }

  .dashboard__main {
    padding: 14px;
  }

  .dashboard__logo {
    font-size: 10px;
  }

  .dashboard__nav span {
    padding: 6px;
    font-size: 7px;
  }

  .metric {
    padding: 9px;
  }

  .metric__value {
    font-size: 15px;
  }

  .phone-frame {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-head__title {
    font-size: 34px;
  }

  .flow-grid,
  .process-grid,
  .feature-grid,
  .solution-grid,
  .case-grid,
  .price-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .flow-item {
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .flow-item:last-child {
    border-bottom: 0;
  }

  .product-tabs {
    grid-template-columns: 1fr;
  }

  .product-panel {
    min-height: auto;
    padding: 28px;
  }

  .product-points,
  .product-preview__grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 26px;
  }

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

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
