:root {
  --ink: #07111d;
  --ink-soft: #102536;
  --petrol: #0b6e69;
  --mint: #62e6c5;
  --paper: #f4f1e8;
  --paper-strong: #fffdf7;
  --orange: #ff6b35;
  --line: rgba(244, 241, 232, 0.18);
  --muted: #a8b7bd;
  --display: "Noto Serif SC", "Songti SC", STSong, serif;
  --body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(rgba(98, 230, 197, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 230, 197, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 48px 48px;
  font-family: var(--body);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--mint);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 29, 0.88);
  backdrop-filter: blur(18px);
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--mint);
  color: var(--mint);
  transform: rotate(-8deg);
}

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

.header-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--mint);
}

.language-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
}

.language-switch a {
  padding: 8px 10px;
  color: var(--muted);
}

.language-switch a[aria-current="page"] {
  color: var(--ink);
  background: var(--mint);
}

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
  align-items: center;
  gap: 72px;
  padding: 94px 0 88px;
}

.hero::before {
  position: absolute;
  top: 8%;
  right: 32%;
  width: 1px;
  height: 86%;
  background: linear-gradient(transparent, var(--petrol), transparent);
  content: "";
  transform: rotate(11deg);
  transform-origin: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 2px;
  background: var(--orange);
  content: "";
}

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

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(54px, 7.4vw, 104px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 .accent {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.84em;
  letter-spacing: -0.08em;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 34px;
  color: #cad4d6;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--mint);
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--mint);
}

.button-secondary {
  color: var(--paper);
  background: transparent;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.micro-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 32px;
  margin-bottom: 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  list-style: none;
}

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

.micro-proof li::before {
  width: 6px;
  height: 6px;
  border: 1px solid var(--mint);
  content: "";
  transform: rotate(45deg);
}

.audit-panel {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(98, 230, 197, 0.46);
  background: #091928;
  box-shadow: 22px 22px 0 rgba(11, 110, 105, 0.28);
  transform: translateY(30px) rotate(1.2deg);
}

.audit-panel::before {
  position: absolute;
  z-index: -1;
  right: -24px;
  bottom: -24px;
  width: 74%;
  height: 58%;
  border-right: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
  content: "";
}

.audit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
}

.live-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(98, 230, 197, 0.1);
  content: "";
}

.audit-body {
  padding: 22px 20px 26px;
}

.audit-url {
  overflow: hidden;
  margin-bottom: 22px;
  padding: 11px 12px;
  color: #9cc7c2;
  background: rgba(98, 230, 197, 0.06);
  font-family: var(--mono);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-list {
  display: grid;
  gap: 14px;
}

.audit-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.audit-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.audit-index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.audit-name {
  font-size: 14px;
  font-weight: 700;
}

.audit-note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.status {
  padding: 4px 7px;
  border: 1px solid;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.status-review {
  color: #ffc08f;
  border-color: rgba(255, 107, 53, 0.55);
}

.status-ready {
  color: var(--mint);
  border-color: rgba(98, 230, 197, 0.5);
}

.section {
  padding: 106px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 58px;
}

.section-number {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 13px;
}

.section-title {
  max-width: 760px;
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.08;
}

.section-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.service-item {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(9, 25, 40, 0.74);
}

.service-item:nth-child(1),
.service-item:nth-child(4) {
  grid-column: span 7;
}

.service-item:nth-child(2),
.service-item:nth-child(3) {
  grid-column: span 5;
}

.service-item::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(98, 230, 197, 0.16);
  content: attr(data-code);
  font-family: var(--mono);
  font-size: 46px;
  font-weight: 700;
}

.icon-box {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  place-items: center;
  border: 1px solid var(--mint);
  color: var(--mint);
}

.icon-box svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-item h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.service-item p {
  max-width: 510px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.deliverables {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.6fr);
  gap: 56px;
  align-items: start;
}

.deliverable-sticky {
  position: sticky;
  top: 112px;
}

.deliverable-sticky .section-title {
  font-size: clamp(36px, 4vw, 54px);
}

.deliverable-list {
  border-top: 1px solid var(--line);
}

.deliverable-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.deliverable-row .num {
  padding-top: 3px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 12px;
}

.deliverable-row h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.deliverable-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.method-band {
  overflow: hidden;
  color: var(--ink);
  background: var(--mint);
}

.method-band .site-shell {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 48px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.method-band .eyebrow {
  color: var(--ink);
}

.method-band .eyebrow::before {
  background: var(--ink);
}

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

.step {
  position: relative;
  min-height: 180px;
  padding: 0 24px;
  border-left: 1px solid rgba(7, 17, 29, 0.28);
  counter-increment: steps;
}

.step::before {
  display: block;
  margin-bottom: 34px;
  content: "0" counter(steps);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.step p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.55;
}

.faq-list {
  max-width: 880px;
  margin-left: auto;
}

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

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

.faq-item summary {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  list-style: none;
}

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

.faq-item summary::after {
  color: var(--mint);
  content: "+";
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 760px;
  padding: 0 48px 24px 0;
  color: var(--muted);
}

.cta-section {
  position: relative;
  padding: 118px 0 104px;
  border-top: 1px solid var(--line);
  background: #0a1d2b;
}

.cta-section::after {
  position: absolute;
  top: 0;
  right: 8%;
  width: 160px;
  height: 100%;
  border-right: 1px solid rgba(255, 107, 53, 0.5);
  border-left: 1px solid rgba(255, 107, 53, 0.16);
  content: "";
  transform: skewX(-14deg);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 60px;
  align-items: end;
}

.cta-title {
  max-width: 750px;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(44px, 5.8vw, 78px);
  line-height: 1.04;
}

.cta-copy {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.cta-actions {
  display: grid;
  gap: 13px;
}

.cta-note {
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  max-width: min(380px, calc(100vw - 48px));
  padding: 14px 18px;
  color: var(--ink);
  background: var(--mint);
  box-shadow: 10px 10px 0 rgba(255, 107, 53, 0.72);
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 600ms ease, transform 600ms ease;
  }

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

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 72px;
  }

  .hero::before {
    display: none;
  }

  .audit-panel {
    width: min(640px, calc(100% - 18px));
    margin-left: auto;
    transform: rotate(0.7deg);
  }

  .section-head,
  .deliverables,
  .method-band .site-shell,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .deliverable-sticky {
    position: static;
  }

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

  .cta-actions {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 28px, 1180px);
  }

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

  .wordmark-label {
    display: none;
  }

  .language-switch a {
    padding: 7px 9px;
  }

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

  h1 {
    font-size: clamp(49px, 16vw, 72px);
  }

  .hero-lede,
  .section-intro,
  .cta-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .audit-row {
    grid-template-columns: 28px 1fr;
  }

  .audit-row .status {
    grid-column: 2;
    justify-self: start;
  }

  .section {
    padding: 78px 0;
  }

  .section-head {
    gap: 14px;
    margin-bottom: 38px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(n) {
    min-height: 230px;
    grid-column: auto;
  }

  .deliverable-row {
    grid-template-columns: 38px 1fr;
  }

  .method-band .site-shell {
    gap: 24px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 130px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    max-width: calc(100vw - 28px);
  }
}
