:root {
  --background: #ffffff;
  --surface: #f5f7fa;
  --ink: #090a0d;
  --muted: #5d626b;
  --line: #cfd3da;
  --line-strong: #9aa0aa;
  --blue: #0649d8;
  --orange: #ff4f12;
  --shadow: 0 10px 30px rgba(20, 25, 35, 0.08);
  --frame: min(1240px, calc(100vw - 48px));
  --rail: 126px;
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 30%, transparent);
  outline-offset: 4px;
}

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

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

.page-frame {
  width: var(--frame);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: var(--frame);
  min-height: 74px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--blue);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav span {
  color: var(--line-strong);
}

.hero {
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: center;
  gap: 54px;
  padding-block: 76px 88px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before,
.hero-copy::after {
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  border-left: 1px solid var(--ink);
  content: "";
}

.hero-copy::before {
  top: -46px;
  border-top: 1px solid var(--ink);
}

.hero-copy::after {
  bottom: -44px;
  border-bottom: 1px solid var(--ink);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 1.05;
}

.hero-copy > p {
  max-width: 620px;
  margin: 30px 0 0;
  color: #30343b;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

.creator-link {
  display: flex;
  width: fit-content;
  margin-top: 24px;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid var(--line-strong);
  font-style: normal;
  transition: border-color 160ms ease, color 160ms ease;
}

.creator-link span {
  color: var(--blue);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.creator-link strong {
  font-size: 15px;
}

.creator-link em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.creator-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.button {
  display: inline-flex;
  min-width: 150px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease,
    box-shadow 160ms ease;
}

.button-primary {
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(6, 73, 216, 0.18);
  color: white;
}

.button-secondary {
  color: var(--blue);
}

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

.button-primary:hover {
  box-shadow: 0 12px 24px rgba(6, 73, 216, 0.26);
}

.button-secondary:hover {
  background: var(--blue);
  color: white;
}

.hero-visual {
  min-width: 0;
}

.hero-visual svg {
  display: block;
  width: 100%;
  max-height: 520px;
  overflow: visible;
}

.hero-visual .guide {
  fill: none;
  stroke: #a9aeb7;
  stroke-dasharray: 7 7;
  stroke-width: 1.3;
}

.hero-visual .bracket,
.hero-visual .timeline,
.hero-visual .cross {
  fill: none;
  stroke-linecap: square;
}

.hero-visual .bracket {
  stroke-width: 5;
}

.bracket-dark,
.hero-visual .timeline,
.hero-visual .cross {
  stroke: var(--ink);
}

.hero-visual .bracket-blue {
  stroke: var(--blue);
}

.hero-visual .timeline {
  stroke-width: 1.6;
}

.hero-visual .cross {
  stroke-width: 1.4;
}

.hero-visual .cross-orange {
  stroke: var(--orange);
}

.hero-visual .node {
  fill: white;
  stroke: var(--ink);
  stroke-width: 1.5;
}

.hero-visual .node-active {
  fill: var(--blue);
  stroke: var(--blue);
  stroke-width: 6;
}

.hero-visual .node-end {
  fill: var(--ink);
}

.hero-visual text {
  fill: #24272d;
  font-family: Consolas, "Courier New", monospace;
  font-size: 18px;
}

.section-shell {
  display: grid;
  grid-template-columns: var(--rail) 1fr;
  align-items: stretch;
}

.section-rail {
  position: relative;
  padding-top: 48px;
}

.section-rail::before {
  position: absolute;
  top: 52px;
  left: 8px;
  width: 18px;
  height: 18px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  content: "";
}

.section-rail span {
  display: block;
  padding-left: 32px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.section-rail span::after {
  display: inline-block;
  width: 20px;
  height: 15px;
  margin-left: -2px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  content: "";
}

.rail-orange span::after {
  border-color: var(--orange);
}

.section-rail i {
  position: absolute;
  top: 104px;
  bottom: 0;
  left: 8px;
  width: 1px;
  background: var(--line-strong);
}

.section-rail i::before,
.section-rail i::after {
  position: absolute;
  left: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: white;
  content: "";
}

.section-rail i::before {
  top: 0;
}

.section-rail i::after {
  bottom: -4px;
}

.section-content {
  min-width: 0;
  padding: 52px 0 74px 50px;
}

.section-content h2 {
  margin: 0 0 34px;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

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

.service-row {
  display: grid;
  position: relative;
  min-height: 96px;
  grid-template-columns: 74px minmax(250px, 0.75fr) minmax(280px, 1.25fr) 30px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px dashed var(--line-strong);
}

.row-number {
  color: var(--blue);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.service-row h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.row-bracket {
  width: 18px;
  height: 48px;
  justify-self: end;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.section-band {
  width: 100%;
}

.band-cool {
  background: var(--surface);
}

.band-cool .section-rail i::before,
.band-cool .section-rail i::after {
  background: var(--surface);
}

.process-list {
  display: grid;
  position: relative;
  margin: 8px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 68px;
  right: 0;
  left: 0;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--line-strong) 0,
    var(--line-strong) 5px,
    transparent 5px,
    transparent 10px
  );
  content: "";
}

.process-list li {
  position: relative;
  min-height: 150px;
}

.process-list li::after {
  position: absolute;
  top: 61px;
  right: 24px;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  content: "";
  transform: rotate(45deg);
}

.process-list li:last-child::after {
  display: none;
}

.process-list span {
  display: block;
  color: var(--blue);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.process-list i {
  display: block;
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin: 18px 0 17px 4px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--surface);
}

.process-list strong {
  font-size: 17px;
}

.price-list {
  max-width: 970px;
}

.price-row {
  display: grid;
  min-height: 58px;
  grid-template-columns: 54px max-content minmax(80px, 1fr) max-content;
  align-items: center;
  gap: 18px;
}

.price-row .row-number {
  color: var(--orange);
  font-size: 22px;
}

.price-row strong {
  font-size: 18px;
}

.price-row i {
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--line-strong) 0,
    var(--line-strong) 5px,
    transparent 5px,
    transparent 10px
  );
}

.price-row b {
  color: var(--orange);
  font-size: 20px;
  font-weight: 800;
}

.price-row small {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.price-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.case-item {
  min-width: 0;
  padding-right: 46px;
}

.case-item:nth-child(even) {
  padding-left: 44px;
  padding-right: 0;
  border-left: 1px solid var(--line);
}

.case-card {
  display: block;
}

.case-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
}

.case-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.case-media-site img {
  object-position: top;
}

.case-card[href]:hover .case-media img {
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.02);
}

.case-kicker {
  display: block;
  margin-top: 17px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-item h3 {
  margin: 5px 0 6px;
  font-size: 22px;
  line-height: 1.35;
}

.case-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.case-link {
  display: inline-block;
  margin-top: 13px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

.case-card[href] .case-link {
  color: var(--blue);
}

.case-item-current .case-link {
  color: var(--orange);
}

.contact-section {
  min-height: 420px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: center;
  gap: 60px;
}

.contact-content h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.4vw, 62px);
}

.contact-content p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.contact-list {
  display: flex;
  max-width: 540px;
  flex-direction: column;
  gap: 6px;
  font-style: normal;
  font-weight: 700;
}

.contact-list a,
.contact-list button {
  display: flex;
  width: 100%;
  min-height: 34px;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.contact-list a:hover,
.contact-list button:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.contact-list a::before,
.contact-list button::before {
  display: inline-block;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  content: "";
  transform: rotate(-45deg);
}

.contact-list small {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.copy-status {
  min-height: 22px;
  margin: 7px 0 0 !important;
  color: var(--orange) !important;
  font-size: 12px !important;
  font-weight: 700;
}

.contact-mark {
  display: grid;
  position: relative;
  height: 180px;
  place-items: center;
}

.contact-mark::before,
.contact-mark::after {
  position: absolute;
  top: 28px;
  bottom: 28px;
  width: 38px;
  content: "";
}

.contact-mark::before {
  left: 18px;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  border-left: 4px solid var(--ink);
}

.contact-mark::after {
  right: 18px;
  border-top: 4px solid var(--orange);
  border-right: 4px solid var(--orange);
  border-bottom: 4px solid var(--orange);
}

.contact-mark span {
  width: 150px;
  border-top: 1px dashed var(--line-strong);
}

.contact-mark i {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: white;
}

.contact-mark b {
  position: absolute;
  top: 13px;
  right: 0;
  width: 22px;
  height: 22px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
}

.site-footer {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

.js-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 980px) {
  :root {
    --rail: 92px;
  }

  .site-nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr 0.75fr;
    gap: 24px;
    padding-block: 66px 78px;
  }

  .hero h1 {
    font-size: clamp(50px, 7vw, 70px);
  }

  .service-row {
    grid-template-columns: 60px minmax(215px, 0.9fr) minmax(200px, 1.1fr) 24px;
    gap: 14px;
  }

  .section-content {
    padding-left: 32px;
  }

  .contact-content {
    grid-template-columns: 1fr 240px;
  }
}

@media (max-width: 760px) {
  :root {
    --frame: min(100% - 32px, 680px);
    --rail: 100%;
  }

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

  .brand {
    font-size: 20px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    display: block;
    padding-block: 66px 52px;
  }

  .hero h1 {
    font-size: clamp(47px, 14vw, 66px);
    line-height: 1.08;
  }

  .hero-copy > p {
    margin-top: 24px;
    font-size: 18px;
  }

  .desktop-break {
    display: none;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 30px;
  }

  .button {
    min-width: 132px;
    height: 50px;
  }

  .hero-visual {
    width: min(100%, 460px);
    margin: 54px auto 0;
  }

  .section-shell {
    display: block;
  }

  .section-rail {
    height: 74px;
    padding-top: 24px;
  }

  .section-rail::before {
    top: 23px;
    left: 0;
    width: 13px;
    height: 13px;
  }

  .section-rail span {
    padding-left: 20px;
    font-size: 39px;
  }

  .section-rail span::after {
    width: 14px;
    height: 11px;
  }

  .section-rail i {
    display: none;
  }

  .section-content {
    padding: 10px 0 58px;
  }

  .section-content h2 {
    margin-bottom: 26px;
    font-size: 31px;
  }

  .service-row {
    min-height: 118px;
    grid-template-columns: 46px 1fr 18px;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    padding-block: 18px;
  }

  .service-row .row-number {
    grid-row: 1 / 3;
    align-self: start;
    font-size: 26px;
  }

  .service-row h3 {
    font-size: 19px;
  }

  .service-row p {
    grid-column: 2;
    font-size: 14px;
  }

  .service-row .row-bracket {
    grid-column: 3;
    grid-row: 1 / 3;
    width: 12px;
    height: 54px;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
    gap: 28px 14px;
  }

  .process-list::before,
  .process-list li::after {
    display: none;
  }

  .process-list li {
    min-height: 112px;
    border-bottom: 1px dashed var(--line-strong);
  }

  .process-list i {
    margin-block: 12px 10px;
  }

  .price-row {
    min-height: 78px;
    grid-template-columns: 42px 1fr max-content;
    gap: 10px;
    border-bottom: 1px dashed var(--line);
  }

  .price-row i {
    display: none;
  }

  .price-row strong {
    font-size: 16px;
  }

  .price-row b {
    font-size: 17px;
  }

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

  .case-item,
  .case-item:nth-child(even) {
    padding: 0;
    border: 0;
  }

  .case-item h3 {
    font-size: 20px;
  }

  .contact-section {
    min-height: 0;
  }

  .contact-content {
    display: block;
  }

  .contact-content h2 {
    font-size: clamp(37px, 10vw, 50px);
  }

  .contact-mark {
    width: min(100%, 300px);
    margin: 24px auto 0;
  }

  .site-footer {
    min-height: 88px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
  }

  .creator-link {
    flex-wrap: wrap;
    gap: 2px 8px;
  }

  .creator-link em {
    flex-basis: 100%;
  }

  .contact-list a,
  .contact-list button {
    align-items: flex-start;
    gap: 8px;
  }

  .contact-list small {
    padding-top: 2px;
    white-space: nowrap;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
