:root {
  --bg: #efe8dc;
  --bg-deep: #e4d7c3;
  --surface: rgba(255, 250, 242, 0.82);
  --surface-strong: rgba(255, 252, 247, 0.92);
  --surface-dark: #17212f;
  --line: rgba(104, 89, 68, 0.14);
  --line-strong: rgba(15, 23, 42, 0.16);
  --text: #142033;
  --muted: #586479;
  --accent: #0f766e;
  --accent-dark: #0f4d59;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --shadow-soft: 0 24px 60px rgba(20, 32, 51, 0.08);
  --shadow-strong: 0 36px 80px rgba(20, 32, 51, 0.16);
  --radius-lg: 28px;
  --radius-md: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Aptos", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(24, 94, 162, 0.12), transparent 18%),
    linear-gradient(180deg, #faf5ee 0%, #f0e6d7 52%, #f7f1e7 100%);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px);
  background: rgba(250, 245, 238, 0.72);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-kicker,
.section-kicker,
.pricing-tier,
.footer-heading,
.doc-card-kicker,
.stage-kicker,
.capability-kicker {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-title,
.footer-brand {
  font-family: "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-nav {
  min-width: 0;
}

.nav-list,
.site-nav > div {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.nav-link {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

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

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

.nav-button,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.nav-button,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #0f766e 0%, #0d5d71 100%);
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.24);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(20, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(20, 32, 51, 0.06);
}

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

.site-main {
  display: block;
  overflow: hidden;
}

.hero,
.section,
.inner-hero {
  position: relative;
  padding: 80px 0;
}

.hero-home {
  display: flex;
  align-items: center;
  min-height: calc(100svh - 78px);
  padding: 44px 0 72px;
}

.hero-home-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 560px);
  gap: 42px;
  align-items: center;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orbit-one {
  top: 6%;
  left: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.18) 0%, rgba(15, 118, 110, 0) 72%);
}

.hero-orbit-two {
  right: -120px;
  bottom: 2%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(24, 94, 162, 0.14) 0%, rgba(24, 94, 162, 0) 72%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 32, 51, 0.08);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.03em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  font-weight: 700;
  color: var(--text);
}

h1 {
  margin-top: 18px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-copy {
  max-width: 680px;
}

.hero-copy p {
  max-width: 600px;
  margin-top: 20px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 32, 51, 0.12);
}

.hero-proof-item span,
.metric-block span,
.console-message span,
.console-stat span,
.workflow-step-no {
  display: block;
  color: #708095;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-proof-item strong,
.metric-block strong {
  display: block;
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.45;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  padding: 36px 0 24px 38px;
}

.hero-stage-panel,
.feature-card,
.mock-card,
.step-card,
.scenario-card,
.pricing-card,
.faq-item,
.post-shell,
.contact-card,
.contact-info-card,
.doc-card {
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow-soft);
}

.hero-stage-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  backdrop-filter: blur(14px);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.hero-stage-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.hero-stage-site {
  width: min(100%, 430px);
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(255, 245, 233, 0.88) 100%);
  animation: drift 8s ease-in-out infinite;
}

.hero-stage-console {
  width: min(100%, 520px);
  margin-top: -42px;
  margin-left: auto;
  padding: 24px;
  background: linear-gradient(180deg, rgba(20, 32, 51, 0.96) 0%, rgba(20, 32, 51, 0.9) 100%);
  box-shadow: var(--shadow-strong);
  animation: drift 9s ease-in-out infinite 0.8s;
}

.stage-site-surface {
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 237, 226, 0.9) 100%);
  border: 1px solid rgba(20, 32, 51, 0.08);
}

.stage-site-copy {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.stage-site-copy span {
  color: #708095;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-site-copy strong,
.console-topline strong {
  font-size: 18px;
  line-height: 1.45;
}

.preview-chat {
  display: grid;
  gap: 12px;
}

.preview-bubble {
  max-width: 84%;
  padding: 13px 15px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.6;
}

.preview-bubble.assistant {
  color: var(--text);
  background: #fff;
  box-shadow: 0 14px 30px rgba(20, 32, 51, 0.08);
}

.preview-bubble.user {
  justify-self: end;
  color: #fff;
  background: linear-gradient(135deg, #0f766e 0%, #0e6176 100%);
}

.console-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.82);
}

.console-topline span {
  color: rgba(185, 201, 219, 0.84);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(160px, 0.7fr);
  gap: 16px;
  margin-top: 20px;
}

.console-column {
  display: grid;
  gap: 12px;
}

.console-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e4eef8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.console-message,
.console-stat {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.console-message p,
.console-stat strong {
  color: #f6fbff;
}

.console-message p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
}

.console-stat strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.2;
}

.console-column-side {
  align-content: start;
}

.stage-float {
  position: absolute;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 42px rgba(20, 32, 51, 0.12);
  backdrop-filter: blur(12px);
}

.stage-float span {
  color: #708095;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-float strong {
  font-size: 16px;
  line-height: 1.4;
}

.stage-float-locale {
  top: 8px;
  right: 8px;
}

.stage-float-handoff {
  left: 0;
  bottom: 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.34);
}

.section-contrast {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.52) 0%, rgba(248, 240, 229, 0.72) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

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

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 24px;
  max-width: none;
}

.section-heading p {
  font-size: 16px;
}

.home-metrics {
  padding-top: 34px;
}

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

.metric-block {
  padding: 30px 0 8px;
  border-top: 1px solid rgba(20, 32, 51, 0.14);
}

.metric-block p {
  margin-top: 12px;
}

.capability-list,
.scenario-stack {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(20, 32, 51, 0.12);
}

.capability-item,
.scenario-band {
  display: grid;
  gap: 22px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(20, 32, 51, 0.12);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}

.capability-item {
  grid-template-columns: 84px minmax(0, 1fr);
}

.capability-item:hover,
.scenario-band:hover,
.workflow-step:hover {
  transform: translateY(-2px);
}

.capability-index {
  color: rgba(15, 77, 89, 0.44);
  font-family: "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  font-size: 46px;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.capability-content p {
  margin-top: 12px;
  max-width: 720px;
}

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

.workflow-step {
  padding: 24px 0 0;
  border-top: 1px solid rgba(20, 32, 51, 0.14);
  transition: transform 0.18s ease;
}

.workflow-step h3 {
  margin-top: 14px;
}

.workflow-step p {
  margin-top: 12px;
}

.scenario-band {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.scenario-band p {
  max-width: 720px;
}

.hero-grid,
.feature-split,
.final-cta-shell {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.feature-card,
.scenario-card,
.pricing-card,
.mock-card,
.step-card,
.contact-card,
.contact-info-card,
.doc-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.feature-stack {
  display: grid;
  gap: 26px;
}

.feature-split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.feature-split.reverse {
  direction: rtl;
}

.feature-split.reverse > * {
  direction: ltr;
}

.mock-card {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.92) 0%, rgba(245, 237, 226, 0.86) 100%);
}

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

.step-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-family: "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
}

.faq-shell {
  max-width: 920px;
}

.faq-item {
  margin-bottom: 14px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.72);
  backdrop-filter: blur(12px);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.form-placeholder {
  display: grid;
  gap: 14px;
}

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

.form-placeholder input,
.form-placeholder textarea,
.help-search-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(20, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  font: inherit;
}

.form-placeholder textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-item {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: var(--muted);
}

.contact-bullet-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.help-search-shell {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  max-width: 720px;
}

.help-search-input {
  flex: 1;
  min-width: 0;
}

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

.doc-card-kicker {
  margin-bottom: 12px;
}

.final-cta-shell {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 10%, rgba(15, 118, 110, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(16, 34, 54, 0.96) 0%, rgba(15, 77, 89, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-strong);
}

.final-cta-shell .section-kicker,
.final-cta-shell h2,
.final-cta-shell p {
  color: #f8fbff;
}

.final-cta-shell .section-kicker {
  opacity: 0.84;
}

.pricing-card.featured {
  outline: 2px solid rgba(15, 118, 110, 0.28);
}

.pricing-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  padding: 52px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 250, 242, 0.54);
}

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

.footer-copy {
  margin-top: 12px;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 1120px) {
  .hero-home-shell,
  .section-heading-split,
  .hero-grid,
  .feature-split,
  .final-cta-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-stage {
    min-height: auto;
    padding: 12px 0 0;
  }

  .hero-stage-console {
    margin-top: 18px;
  }

  .stage-float {
    position: static;
    margin-top: 14px;
  }

  .hero-proof,
  .metrics-row,
  .workflow-grid,
  .four-up,
  .three-up,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .nav-list,
  .site-nav > div {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-proof,
  .metrics-row,
  .workflow-grid,
  .four-up,
  .three-up,
  .steps-grid,
  .help-doc-grid,
  .contact-grid,
  .form-row,
  .console-grid {
    grid-template-columns: 1fr;
  }

  .capability-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-stage-site,
  .hero-stage-console {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .container,
  .hero-home-shell {
    width: min(100% - 32px, 1320px);
  }

  .hero,
  .section,
  .inner-hero {
    padding: 58px 0;
  }

  .hero-home {
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 62px);
  }

  h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
  }

  .final-cta-shell {
    padding: 28px 24px;
  }
}
