:root {
  --bg: #efe8db;
  --bg-deep: #140f0a;
  --bg-soft: #f8f2e7;
  --ink: #17120d;
  --muted: rgba(23, 18, 13, 0.74);
  --line: rgba(23, 18, 13, 0.12);
  --gold: #d89c22;
  --gold-deep: #8b5804;
  --gold-soft: rgba(216, 156, 34, 0.18);
  --panel: rgba(255, 248, 238, 0.7);
  --white-line: rgba(255, 250, 244, 0.16);
  --shadow: 0 30px 90px rgba(44, 27, 4, 0.18);
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", serif;
  --sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at top left, rgba(255, 214, 145, 0.28), transparent 24%),
    radial-gradient(circle at top right, rgba(78, 56, 18, 0.14), transparent 28%),
    linear-gradient(180deg, #f3ecdf 0%, #ece1cf 48%, #f1e8dc 100%);
}

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

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(243, 236, 223, 0.84), rgba(243, 236, 223, 0.24));
  border-bottom: 1px solid rgba(23, 18, 13, 0.06);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(216, 156, 34, 0.26));
}

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

.brand-copy strong {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.08em;
}

.brand-copy span {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.site-nav a {
  position: relative;
  color: rgba(23, 18, 13, 0.82);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 220ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #251d13, #090806);
  box-shadow: 0 16px 34px rgba(18, 12, 6, 0.24);
}

.nav-login::after {
  display: none;
}

main {
  display: block;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 56px;
  min-height: 100svh;
  padding: 126px 36px 44px;
  overflow: hidden;
}

.hero-media,
.hero-video,
.hero-overlay,
.hero-grid,
.hero-glow {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04) brightness(0.54);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.78) 0%, rgba(10, 8, 6, 0.5) 44%, rgba(10, 8, 6, 0.34) 100%),
    linear-gradient(180deg, rgba(8, 6, 4, 0.24), rgba(8, 6, 4, 0.76));
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 84px, 84px 100%;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.hero-glow {
  filter: blur(24px);
}

.hero-glow-left {
  background: radial-gradient(circle at 15% 28%, rgba(216, 156, 34, 0.34), transparent 24%);
}

.hero-glow-right {
  background: radial-gradient(circle at 84% 20%, rgba(255, 221, 161, 0.12), transparent 22%);
}

.hero-content,
.hero-side {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  color: #f8f1e6;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 242, 224, 0.66);
}

.hero-content h1,
.section-intro h2,
.entry-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-summary,
.section-intro,
.entry-copy p,
.statement-section p {
  color: var(--muted);
}

.hero-summary {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.9;
  color: rgba(248, 241, 230, 0.82);
}

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

.primary-link,
.secondary-link,
.ghost-link,
.primary-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-link,
.primary-submit {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 18px 44px rgba(139, 88, 4, 0.28);
}

.secondary-link {
  color: #fff8ef;
  background: rgba(255, 248, 238, 0.08);
  border: 1px solid rgba(255, 243, 227, 0.14);
  backdrop-filter: blur(10px);
}

.ghost-link {
  color: #f5ead9;
  border: 1px solid rgba(255, 243, 227, 0.14);
  background: transparent;
}

.primary-link:hover,
.secondary-link:hover,
.ghost-link:hover,
.primary-submit:hover {
  transform: translateY(-2px);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-signals li {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: #f7eee2;
  background: rgba(18, 14, 9, 0.42);
  border: 1px solid rgba(255, 227, 177, 0.16);
  backdrop-filter: blur(10px);
}

.hero-side {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-panel {
  width: min(470px, 100%);
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.82), rgba(243, 231, 213, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel-head,
.hero-stream article,
.frame-row,
.case-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.hero-panel-head {
  align-items: baseline;
  padding-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 18, 13, 0.58);
  border-bottom: 1px solid rgba(23, 18, 13, 0.08);
}

.hero-score {
  padding: 24px 0 20px;
  border-bottom: 1px solid rgba(23, 18, 13, 0.08);
}

.hero-score small {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 18, 13, 0.56);
}

.hero-score strong {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.05;
}

.hero-stream {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.hero-stream article {
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 18, 13, 0.06);
}

.hero-stream small {
  display: block;
  min-width: 78px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 18, 13, 0.56);
}

.hero-stream strong {
  flex: 1;
  font-size: 18px;
}

.hero-stream span {
  flex: 1;
  color: var(--muted);
  text-align: right;
  line-height: 1.7;
}

.statement-section,
.capability-section,
.cases-section,
.workflow-section,
.proof-section,
.entry-section {
  padding: 78px 36px;
}

.statement-section {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement-section p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3.3vw, 42px);
  line-height: 1.16;
}

.section-intro {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-intro .section-kicker {
  color: rgba(23, 18, 13, 0.46);
}

.section-intro h2,
.entry-copy h2 {
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.04;
}

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

.capability-card,
.case-card {
  padding: 24px 0 0;
  border-top: 1px solid rgba(23, 18, 13, 0.14);
}

.capability-card span,
.case-meta span {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: rgba(23, 18, 13, 0.48);
}

.capability-card h3,
.case-meta strong,
.workflow-step strong {
  margin: 0 0 12px;
  font-family: var(--serif);
}

.capability-card h3 {
  font-size: 30px;
}

.capability-card p,
.workflow-step p,
.proof-copy li,
.frame-row span,
.entry-note,
.entry-routes small,
.case-copy,
.case-list li {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.case-stack {
  display: grid;
  gap: 30px;
}

.case-card {
  padding-top: 18px;
}

.case-meta {
  align-items: baseline;
}

.case-meta strong {
  font-size: 34px;
}

.case-copy {
  max-width: 760px;
  font-size: 18px;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.case-list li {
  padding: 18px 18px 0 0;
  border-top: 1px solid rgba(23, 18, 13, 0.12);
}

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

.workflow-step {
  position: relative;
  padding-left: 22px;
}

.workflow-step::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 10px rgba(216, 156, 34, 0.12);
}

.workflow-step strong {
  display: block;
  font-size: 28px;
}

.proof-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 40px;
  align-items: start;
}

.proof-copy ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.proof-copy li {
  padding: 20px 0;
  border-top: 1px solid rgba(23, 18, 13, 0.12);
  font-size: 18px;
}

.proof-frame {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.84), rgba(245, 235, 219, 0.46));
  box-shadow: var(--shadow);
}

.frame-row {
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(23, 18, 13, 0.08);
}

.frame-row strong {
  font-family: var(--serif);
  font-size: 24px;
  text-align: right;
}

.entry-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 48px;
  align-items: start;
}

.entry-copy p {
  max-width: 560px;
  line-height: 1.9;
}

.entry-note {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 2px solid rgba(216, 156, 34, 0.42);
}

.entry-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.entry-routes div {
  padding-top: 16px;
  border-top: 1px solid rgba(23, 18, 13, 0.12);
}

.entry-routes strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 24px;
}

.entry-form {
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.92), rgba(247, 238, 225, 0.76));
  box-shadow: var(--shadow);
}

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

.entry-form label {
  display: grid;
  gap: 10px;
}

.entry-form span {
  font-size: 13px;
  color: rgba(23, 18, 13, 0.72);
}

.entry-form input,
.entry-form select,
.entry-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 18, 13, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  padding: 14px 16px;
  color: var(--ink);
}

.textarea-field {
  margin-top: 18px;
}

.entry-form textarea {
  min-height: 124px;
  resize: vertical;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 18px;
}

.check-field input {
  width: 18px;
  height: 18px;
}

.form-feedback {
  min-height: 22px;
  margin-top: 14px;
  font-size: 14px;
  color: rgba(23, 18, 13, 0.78);
}

.form-feedback.is-error {
  color: #9f2f20;
}

.form-feedback.is-success {
  color: #2a6a2c;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@media (max-width: 1200px) {
  .capability-grid,
  .workflow-line,
  .entry-section,
  .proof-layout,
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-side {
    justify-content: flex-start;
  }

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

@media (max-width: 760px) {
  .site-header {
    padding: 18px;
  }

  .site-nav {
    display: none;
  }

  .hero-section,
  .statement-section,
  .capability-section,
  .cases-section,
  .workflow-section,
  .proof-section,
  .entry-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-section {
    padding-top: 112px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 14vw, 68px);
  }

  .hero-actions,
  .form-grid,
  .entry-routes {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-actions a,
  .primary-submit {
    width: 100%;
  }

  .hero-panel,
  .entry-form {
    padding: 22px;
  }

  .hero-stream article,
  .hero-panel-head,
  .frame-row,
  .case-meta {
    flex-direction: column;
  }

  .hero-stream span,
  .frame-row strong {
    text-align: left;
  }
}
