:root {
  --pine: #0F6E56;
  --pine-deep: #0A5340;
  --pine-soft: #E3EFEA;
  --bg: #F3F7F5;
  --ink: #1A2E29;
  --muted: #4A635C;
  --ticket: #E8C36A;
  --ticket-ink: #5C4A14;
  --paper: #FFFFFF;
  --line: #C8D6CF;
  --shadow: 0 10px 28px rgba(26, 46, 41, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--pine);
}

a:hover {
  color: var(--pine-deep);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: var(--ticket);
  color: var(--ticket-ink);
  padding: 8px 12px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 36px;
  height: 36px;
  background: var(--pine);
  color: var(--ticket);
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.is-active {
  color: var(--pine);
  border-bottom-color: var(--ticket);
}

.stepper {
  background: var(--pine);
  color: #F7FBF9;
}

.stepper-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
}

.stepper-inner li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  position: relative;
}

.stepper-inner li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: rgba(232, 195, 106, 0.55);
}

.step-no {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(232, 195, 106, 0.7);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.stepper-inner .is-current .step-no,
.stepper-inner .is-done .step-no {
  background: var(--ticket);
  color: var(--ticket-ink);
  border-color: var(--ticket);
}

.step-lab {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.step-lab b {
  font-size: 0.95rem;
}

.step-lab span {
  font-size: 0.75rem;
  opacity: 0.8;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

.ticket {
  background: var(--paper);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 28px 1fr;
  margin-bottom: 28px;
}

.ticket-holes {
  background: repeating-linear-gradient(
    to bottom,
    var(--bg) 0 14px,
    var(--pine) 14px 16px
  );
}

.ticket-panel {
  padding: 22px 28px 28px;
}

.ticket-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 2px solid var(--pine);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.ticket-kicker {
  margin: 0 0 6px;
  color: var(--pine);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ticket-id {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.stamp {
  width: 84px;
  height: 84px;
  border: 3px solid var(--ticket);
  color: var(--ticket-ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: rotate(-8deg);
  flex-shrink: 0;
}

.fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 18px;
}

.fields p {
  margin: 0;
  background: var(--pine-soft);
  padding: 10px 12px;
}

.fields span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.fields b {
  font-size: 0.95rem;
}

.ticket h1 {
  margin: 0 0 12px;
  font-size: 1.85rem;
  line-height: 1.35;
}

.ticket .lead {
  margin: 0 0 12px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pine);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  font-weight: 700;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  background: var(--pine-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--pine);
  border: 1px solid var(--pine);
}

.btn-ghost:hover {
  background: var(--pine-soft);
  color: var(--pine-deep);
}

.btn-ticket {
  background: var(--ticket);
  color: var(--ticket-ink);
}

.btn-ticket:hover {
  background: #d4ae55;
  color: var(--ticket-ink);
}

.flow {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 18px;
  margin-bottom: 8px;
}

.rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rail-dot {
  width: 36px;
  height: 36px;
  background: var(--pine);
  color: var(--ticket);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  z-index: 1;
}

.rail::after {
  content: "";
  width: 2px;
  flex: 1;
  background: var(--line);
  margin-top: 6px;
}

.flow:last-of-type .rail::after {
  display: none;
}

.split {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 22px 24px 26px;
  margin-bottom: 22px;
}

.meta {
  border-left: 4px solid var(--ticket);
  padding: 4px 0 4px 14px;
}

.meta p {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.meta span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.body h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.4;
}

.body p,
.body li {
  margin: 0 0 12px;
}

.body h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
}

.note {
  background: #FFF8E6;
  border-left: 4px solid var(--ticket);
  padding: 10px 14px;
  color: var(--ticket-ink);
}

.lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0;
}

.lane {
  border: 1px solid var(--line);
  padding: 14px 16px;
}

.lane h3 {
  margin: 0 0 6px;
}

.lane .os {
  margin: 0 0 8px;
  color: var(--pine);
  font-size: 0.8rem;
  font-weight: 700;
}

.sheet {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 0.95rem;
}

.sheet th,
.sheet td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.sheet th {
  background: var(--pine);
  color: #F7FBF9;
  font-weight: 700;
}

.sheet tr:nth-child(even) td {
  background: var(--pine-soft);
}

.quotes {
  display: grid;
  gap: 0;
}

.quote {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.quote:last-child {
  border-bottom: 0;
}

.quote .who {
  margin: 0;
  font-weight: 800;
  color: var(--pine);
}

.quote .role {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.quote p {
  margin: 0;
}

.steps {
  margin: 8px 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: close;
}

.steps li {
  position: relative;
  padding: 0 0 14px 42px;
}

.steps li::before {
  counter-increment: close;
  content: counter(close, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  background: var(--ticket);
  color: var(--ticket-ink);
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.faq-item {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.cta {
  background: var(--pine);
  color: #F7FBF9;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.cta h3,
.cta p {
  margin: 0 0 8px;
  color: #F7FBF9;
}

.cta .btn-ticket {
  justify-self: end;
}

.foot {
  background: var(--ink);
  color: #D5E4DE;
  padding: 28px 24px 36px;
}

.foot-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.foot .verify {
  color: var(--ticket);
  font-weight: 700;
}

.foot p {
  margin: 0 0 8px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.foot-nav a {
  color: #F7FBF9;
  text-decoration: none;
  border-bottom: 1px solid var(--ticket);
}

.foot-nav a:hover {
  color: var(--ticket);
}

@media (max-width: 980px) {
  .fields,
  .lanes,
  .split,
  .quote,
  .cta {
    grid-template-columns: 1fr;
  }

  .cta .btn-ticket {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .head-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .stepper-inner,
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .stepper-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stepper-inner li:not(:last-child)::after {
    display: none;
  }

  .ticket {
    grid-template-columns: 16px 1fr;
  }

  .ticket-panel {
    padding: 16px;
  }

  .ticket h1 {
    font-size: 1.45rem;
  }

  .stamp {
    width: 68px;
    height: 68px;
    font-size: 0.64rem;
  }

  .flow {
    grid-template-columns: 28px 1fr;
    gap: 0 10px;
  }

  .rail-dot {
    width: 28px;
    height: 28px;
    font-size: 0.64rem;
  }

  .split {
    padding: 16px;
  }

  .quote {
    grid-template-columns: 1fr;
  }

  .sheet {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .ticket-head {
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .btn,
  .btn-ghost,
  .btn-ticket {
    width: 100%;
    justify-content: center;
  }
}
