:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --card: #ffffff;
  --text: #101010;
  --muted: #6c665a;
  --line: rgba(23, 20, 14, 0.1);
  --line-strong: rgba(23, 20, 14, 0.14);
  --accent: #13765f;
  --accent-soft: rgba(19, 118, 95, 0.1);
  --shadow: 0 18px 50px rgba(34, 31, 24, 0.08);
  --shadow-strong: 0 26px 60px rgba(34, 31, 24, 0.12);
  --radius: 24px;
  --container: 1180px;
  --container-narrow: 960px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #ffffff;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  background: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  position: relative;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.container.narrow {
  width: min(100% - 2rem, var(--container-narrow));
}

.container.wide {
  width: min(100% - 2rem, 1200px);
}

.section {
  position: relative;
  padding: 5rem 0;
  scroll-margin-top: 6rem;
}

.surface {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
}

.header-inner {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img,
.footer-brand img {
  border-radius: 0.4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.desktop-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.desktop-nav a,
.footer-nav a,
.mobile-nav a {
  transition: color 160ms ease, opacity 160ms ease;
}

.desktop-nav a:hover,
.footer-nav a:hover,
.mobile-nav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.menu-icon {
  font-size: 1.05rem;
}

.menu-icon-close {
  display: none;
}

.mobile-menu {
  background: #ffffff;
}

.mobile-nav {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 0 1.15rem;
}

.mobile-nav a {
  padding: 0.65rem 0;
}

.mobile-cta {
  justify-self: start;
  margin-top: 0.35rem;
}

.hero {
  position: relative;
  padding-top: 6rem;
  min-height: calc(100svh - 4.5rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 6.5rem;
}

.hero-copy {
  max-width: 44rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(19, 118, 95, 0.14);
  background: rgba(19, 118, 95, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem;
}

.eyebrow-inline {
  margin-bottom: 1rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-kicker img {
  width: 45px;
  height: 45px;
  border-radius: 0.28rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.hero-title {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2em;
  margin: 1rem 0 0;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.hero-title span {
  white-space: nowrap;
}

.hero-sublead {
  margin: 0.95rem auto 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions,
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 2.75rem;
  padding: 0.8rem 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-primary {
  background: linear-gradient(180deg, #111, #050505);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  box-shadow: none;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
  color: var(--text);
}

.btn-lg {
  min-height: 2.6rem;
  padding: 0.62rem 1.45rem;
  font-size: 0.9rem;
}

.btn.desktop-cta {
  min-width: auto;
  min-height: 2.2rem;
  padding: 0.28rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1;
}

.btn.mobile-cta {
  min-height: 2.6rem;
  padding: 0.58rem 1rem;
}

.iconfont {
  font-size: 1.35rem;
}

.hero-preview {
  width: min(100%, 1080px);
}

.hero-preview img,
.feature-visual img,
.showcase-panel img,
.final-showcase-frame img {
  width: 100%;
  height: auto;
}

.frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(23, 20, 14, 0.1);
  background: var(--surface-strong);
  box-shadow: var(--shadow-strong);
}

.frame-large {
  border-radius: 1.5rem;
}

.frame img {
  width: 100%;
  height: auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(30, 25, 16, 0.04);
  padding: 1.6rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(19, 118, 95, 0.22);
  box-shadow: var(--shadow);
}

.card-center {
  text-align: center;
}

.card h3,
.feature-copy h3,
.scenario-card h3,
.workflow-card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.card p,
.feature-copy p,
.workflow-card p,
.scenario-lines strong {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.badge-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  padding: 0 0.8rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(19, 118, 95, 0.08);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-accent {
  min-width: 3.3rem;
  background: rgba(19, 118, 95, 0.12);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.85rem;
}

.workflow-card {
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.step-meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.08em;
}

.step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  margin: 1rem 0 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.06);
  color: var(--text);
  font-size: 1.1rem;
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(16, 16, 16, 0.42);
  font-size: 1.5rem;
}

.feature-stack {
  display: grid;
  gap: 1.2rem;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  align-items: center;
}

.feature-row-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.feature-row-reverse .feature-copy {
  order: 2;
}

.feature-row-reverse .feature-visual {
  order: 1;
}

.feature-copy {
  padding: 1rem 0;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 118, 95, 0.1);
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-subtitle {
  font-weight: 600;
  color: #1c5646;
  margin-top: 0.6rem;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  margin-top: 1rem;
  padding: 0.25rem 0.95rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: #39342b;
  font-size: 0.9rem;
}

.feature-visual {
  background: #ffffff;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.tab-button {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  background: rgba(17, 17, 17, 0.06);
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.tab-button.is-active {
  background: linear-gradient(180deg, #111, #050505);
  color: #fff;
}

.showcase-description {
  min-height: 1.6rem;
  text-align: center;
  color: var(--muted);
  margin: 0 0 1.2rem;
}

.showcase-stage {
  position: relative;
}

.showcase-panel {
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.showcase-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.showcase-panel[hidden] {
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.final-showcase {
  padding-top: 0.5rem;
}

.final-showcase-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
}

.final-showcase-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.final-showcase-copy p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.final-showcase-frame {
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(23, 20, 14, 0.1);
  background: var(--surface-strong);
  box-shadow: var(--shadow-strong);
}

.scenario-card {
  min-height: 17rem;
}

.scenario-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 118, 95, 0.1);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.scenario-lines {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.scenario-lines div {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.scenario-lines span {
  width: 3rem;
  flex: none;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scenario-lines strong {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

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

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

.detail-card {
  min-height: 5.75rem;
  display: flex;
  align-items: center;
}

.detail-card strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.cta-inner {
  text-align: center;
  padding: 0 0 1rem;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.cta-inner p {
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(23, 20, 14, 0.08);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.footer-inner p {
  margin: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 1080px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .arrow {
    transform: rotate(90deg);
    padding: 0.1rem 0;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
  }

  .feature-row-reverse .feature-copy,
  .feature-row-reverse .feature-visual {
    order: initial;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

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

  .cards-3,
  .cards-2,
  .privacy-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: clamp(1.65rem, 6vw, 2.4rem);
  }

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

@media (max-width: 720px) {
  .container,
  .container.narrow,
  .container.wide {
    width: min(100% - 2rem, var(--container));
  }

  .section {
    padding: 3.4rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-inner {
    gap: 1.5rem;
  }

  .hero-copy {
    max-width: none;
    text-align: left;
    justify-self: stretch;
  }

  .hero-kicker {
    justify-content: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
  }

  .hero-kicker img {
    width: 28px;
    height: 28px;
  }

  .hero-title {
    display: block;
    margin-top: 0.6rem;
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.08;
    white-space: normal;
  }

  .hero-title span {
    display: block;
  }

  .hero-sublead {
    margin-left: 0;
    margin-right: 0;
    max-width: 30rem;
    font-size: 1rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.35rem;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: auto;
    min-width: 0;
  }

  .btn-lg {
    width: 100%;
    max-width: 18rem;
    font-size: 0.92rem;
  }

  .card,
  .feature-copy {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .workflow-grid {
    gap: 0.65rem;
  }

  .workflow-card {
    min-height: 0;
  }

  .arrow {
    display: none;
  }

  .showcase-tabs {
    justify-content: flex-start;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    margin-inline: -0.625rem;
    padding-inline: 0.625rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .showcase-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    flex: none;
    white-space: nowrap;
    scroll-snap-align: start;
    padding: 0.8rem 1rem;
  }

  .showcase-description {
    min-height: 0;
    text-align: left;
  }

  .showcase-stage,
  .final-showcase-frame {
    border-radius: 1.2rem;
  }

  .final-showcase-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .final-showcase-copy {
    text-align: left;
  }

  .final-showcase-copy p {
    font-size: 1rem;
  }

  .final-showcase .cta-actions {
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .container,
  .container.narrow,
  .container.wide {
    width: min(100% - 1.75rem, var(--container));
  }

  .header-inner {
    min-height: 3.75rem;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .hero-preview {
    width: 100%;
    margin-inline: 0;
  }

  .section-heading {
    text-align: left;
    margin-bottom: 1.6rem;
  }

  .section-heading p {
    margin-left: 0;
  }

  .card,
  .feature-copy {
    padding: 1.25rem;
  }

  .badge-number,
  .scenario-icon,
  .feature-icon,
  .step-icon {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
  }

  .scenario-lines div {
    align-items: flex-start;
  }

  .scenario-lines span {
    width: 2.6rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
