/* WishSeen 公测邀请 —— 暖米纸与深墨，一枚火漆印封着的入口 */

:root {
  color-scheme: light dark;

  --bg: #f2ece1;
  --bg-deep: #e6dccb;
  --paper: #fdf8ee;
  --paper-edge: rgba(25, 21, 18, 0.07);
  --ink: #191512;
  --ink-soft: #5d5347;
  --ink-faint: #8d8173;
  --line: rgba(25, 21, 18, 0.16);
  --line-strong: rgba(25, 21, 18, 0.38);
  --accent: #c2402a;
  --accent-ink: #a4341f;
  --accent-wash: rgba(194, 64, 42, 0.09);
  --beta: #1b6fd6;
  --shadow: 0 24px 60px -32px rgba(52, 33, 18, 0.55);
  --glow: radial-gradient(120% 90% at 50% -10%, rgba(226, 154, 92, 0.3), transparent 62%);

  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN",
    "STSong", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo,
    Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12100e;
    --bg-deep: #0c0a09;
    --paper: #1f1a16;
    --paper-edge: rgba(243, 235, 221, 0.06);
    --ink: #f4ecde;
    --ink-soft: #bbac9b;
    --ink-faint: #8b7d6e;
    --line: rgba(243, 235, 221, 0.16);
    --line-strong: rgba(243, 235, 221, 0.4);
    --accent: #e4674a;
    --accent-ink: #ef8266;
    --accent-wash: rgba(228, 103, 74, 0.13);
    --beta: #5aa7ff;
    --shadow: 0 28px 70px -34px rgba(0, 0, 0, 0.9);
    --glow: radial-gradient(120% 90% at 50% -10%, rgba(226, 138, 74, 0.16), transparent 60%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--bg);
  background-image: var(--glow);
  background-repeat: no-repeat;
  background-size: 100% 720px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.is-sealed {
  overflow: hidden;
  height: 100%;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: #fff8ef;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

/* ---------- 封面：封着的信 ---------- */

.cover {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(90% 60% at 50% 8%, rgba(230, 154, 88, 0.24), transparent 65%),
    radial-gradient(70% 50% at 50% 100%, rgba(25, 21, 18, 0.14), transparent 70%);
  transition: opacity 0.7s ease, visibility 0.7s;
}

@media (prefers-color-scheme: dark) {
  .cover {
    background-image:
      radial-gradient(90% 60% at 50% 8%, rgba(226, 138, 74, 0.18), transparent 65%),
      radial-gradient(70% 50% at 50% 100%, rgba(0, 0, 0, 0.6), transparent 70%);
  }
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
  opacity: 0.22;
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .cover::before {
    mix-blend-mode: screen;
    opacity: 0.1;
  }
}

.cover__inner {
  position: relative;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.cover__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.envelope {
  position: relative;
  display: block;
  width: min(330px, 100%);
  aspect-ratio: 1.62 / 1;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 900px;
  -webkit-tap-highlight-color: transparent;
}

.envelope__card {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 8%;
  bottom: 12%;
  z-index: 4;
  border-radius: 3px;
  background: var(--paper);
  box-shadow: 0 2px 0 var(--paper-edge), 0 18px 40px -26px rgba(0, 0, 0, 0.6);
  transform: translateY(10%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 0.8, 0.3, 1), opacity 0.5s ease 0.2s;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.envelope__card span {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--ink-faint);
}

.envelope__pocket {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  z-index: 2;
  background-color: var(--paper);
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, 0.06) 100%);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.7), inset 0 0 0 1px var(--paper-edge);
  clip-path: polygon(0 0, 50% 42%, 100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

.envelope__fold {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 4px;
  background: linear-gradient(200deg, rgba(255, 255, 255, 0.5), transparent 45%);
  clip-path: polygon(0 100%, 50% 42%, 100% 100%);
  opacity: 0.5;
  pointer-events: none;
}

.envelope__flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 62%;
  z-index: 4;
  transform-origin: 50% 0;
  transform: rotateX(0deg);
  transition: transform 0.85s cubic-bezier(0.5, 0, 0.35, 1), z-index 0s 0.42s;
  border-radius: 4px 4px 0 0;
  background-color: var(--paper);
  background-image: linear-gradient(185deg, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.07));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.envelope__seal {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 40%;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 70% at 36% 28%, #e2704f, var(--accent) 45%, #8f2a19 100%);
  box-shadow:
    0 10px 22px -8px rgba(130, 40, 22, 0.7),
    inset 0 1px 2px rgba(255, 220, 200, 0.5),
    inset 0 -3px 8px rgba(80, 20, 8, 0.5);
  color: #ffeede;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.3, 1), opacity 0.4s ease;
}

.envelope__seal::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 226, 210, 0.35);
}

.envelope:hover .envelope__seal,
.envelope:focus-visible .envelope__seal {
  transform: scale(1.04) rotate(-3deg);
}

.cover__hint {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-top: -4px;
}

.cover__meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.cover__arrow {
  display: block;
  margin: 0 auto;
  color: var(--accent);
  animation: nudge 2.6s ease-in-out infinite;
}

@keyframes nudge {
  0%, 70%, 100% { transform: translateY(0); opacity: 0.7; }
  82% { transform: translateY(5px); opacity: 1; }
}

/* 拆开动效 */
.cover.is-opening .envelope__flap {
  transform: rotateX(-168deg);
  z-index: 1;
}

.cover.is-opening .envelope__seal {
  transform: translateY(-26px) scale(0.5) rotate(22deg);
  opacity: 0;
}

.cover.is-opening .envelope__card {
  transform: translateY(-34%) rotate(-1.2deg);
  opacity: 1;
}

.cover.is-opening .envelope__card span {
  color: var(--accent-ink);
}

.cover.is-opening .cover__hint,
.cover.is-opening .cover__meta,
.cover.is-opening .cover__eyebrow {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cover.is-gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cover,
  .envelope__flap,
  .envelope__seal,
  .envelope__card {
    transition-duration: 0.01ms !important;
  }
  .cover__arrow {
    animation: none;
  }
}

/* ---------- 页面骨架 ---------- */

.page {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 0 20px calc(56px + env(safe-area-inset-bottom));
}

body.is-sealed .page {
  /* 让页面在信未拆开前不闪现内容 */
  visibility: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.topbar__mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: none;
}

.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-wash);
}

.hero {
  padding: 26px 0 8px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-transform: uppercase;
  background: var(--paper);
}

.hero__kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--beta);
}

.hero__title {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 8.4vw, 46px);
  line-height: 1.24;
  letter-spacing: 0.01em;
}

.hero__title em {
  font-style: normal;
  white-space: nowrap;
  padding: 0 2px;
  background-image: linear-gradient(var(--accent-wash), var(--accent-wash));
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
  background-position: 0 86%;
}

.hero__lede {
  margin: 18px 0 0;
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.85;
}

.hero__lede strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 邀请票根 ---------- */

.ticket {
  position: relative;
  margin: 34px 0 0;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--paper-edge);
  isolation: isolate;
}

.ticket__top {
  padding: 24px 24px 20px;
  position: relative;
}

.ticket__brand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.ticket__name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.24em;
  font-weight: 600;
}

.ticket__badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beta);
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 3px 7px;
  white-space: nowrap;
}

.ticket__title {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(21px, 5.6vw, 27px);
  line-height: 1.5;
  font-weight: 600;
}

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

.ticket__meta div {
  min-width: 0;
}

.ticket__meta dt {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.ticket__meta dd {
  margin: 3px 0 0;
  font-size: 14.5px;
  color: var(--ink);
}

.ticket__perf {
  position: relative;
  height: 0;
  border-top: 1px dashed var(--line-strong);
  margin: 0 18px;
}

.ticket__perf::before,
.ticket__perf::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 1px var(--paper-edge);
}

.ticket__perf::before {
  left: -29px;
}

.ticket__perf::after {
  right: -29px;
}

.ticket__bottom {
  padding: 20px 24px 24px;
}

.ticket__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.995);
}

.btn--primary {
  flex: 1 1 220px;
  background: var(--ink);
  color: var(--paper);
}

@media (prefers-color-scheme: dark) {
  .btn--primary {
    background: #f6ecdb;
    color: #17130f;
  }
}

.btn--primary:hover {
  opacity: 0.88;
}

.btn--ghost {
  flex: 0 0 auto;
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: var(--accent-wash);
  border-color: var(--accent);
}

.btn svg {
  flex: none;
}

.ticket__note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-faint);
}

.ticket__link {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  word-break: break-all;
  line-height: 1.6;
}

/* ---------- 通用小节 ---------- */

.section {
  padding: 54px 0 0;
}

.section__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.section__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section__title {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(22px, 6vw, 29px);
  line-height: 1.4;
  font-weight: 600;
}

.section__lede {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 32em;
}

/* ---------- 提示条 ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(26px + env(safe-area-inset-bottom));
  z-index: 80;
  transform: translate(-50%, 14px);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
  line-height: 1.4;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

@media (prefers-color-scheme: dark) {
  .toast {
    background: #f6ecdb;
    color: #17130f;
  }
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 三步加入 ---------- */

.steps {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.step__num {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 1px;
}

.step__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.step__desc {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.step__desc a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.step__tip {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--accent-wash);
  color: var(--accent-ink);
  font-size: 12px;
  line-height: 1.6;
}

/* ---------- 测试清单 ---------- */

.checklist {
  margin: 26px 0 0;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--paper-edge);
  padding: 22px 22px 8px;
}

.checklist__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.ring {
  position: relative;
  flex: none;
  width: 74px;
  height: 74px;
}

.ring svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.ring__track {
  fill: none;
  stroke: var(--line);
  stroke-width: 5;
}

.ring__bar {
  fill: none;
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 201;
  stroke-dashoffset: 201;
  transition: stroke-dashoffset 0.55s cubic-bezier(0.3, 0.8, 0.3, 1);
}

.ring__count {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.checklist__headtext {
  min-width: 0;
}

.checklist__headtitle {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.checklist__headsub {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-faint);
}

.tasks {
  margin: 0;
  padding: 6px 0 0;
  list-style: none;
}

.task {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  align-items: start;
}

.task:last-child {
  border-bottom: 0;
}

.tasks li:last-child .task {
  border-bottom: 0;
}

.task input {
  position: absolute;
  opacity: 0;
  width: 30px;
  height: 30px;
  margin: 0;
  cursor: pointer;
}

.task__box {
  position: relative;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 7px;
  border: 1.4px solid var(--line-strong);
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}

.task__box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg) scale(0.6);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.task input:checked + .task__box {
  background: var(--accent);
  border-color: var(--accent);
}

.task input:checked + .task__box::after {
  opacity: 1;
  transform: rotate(42deg) scale(1);
}

.task input:focus-visible + .task__box {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.task__title {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 500;
  transition: color 0.2s ease;
}

.task__hint {
  display: block;
  margin: 3px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-faint);
}

.task.is-done .task__title {
  color: var(--ink-faint);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
}

.checklist__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
}

.checklist__status {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}

.checklist__status.is-cheer {
  color: var(--accent-ink);
  font-weight: 600;
}

.textbtn {
  background: none;
  border: 0;
  padding: 6px 2px;
  min-height: 44px;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  cursor: pointer;
}

.textbtn:hover {
  color: var(--accent-ink);
  text-decoration-color: var(--accent);
}

/* ---------- 想听到的 ---------- */

.feedback {
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}

@media (min-width: 560px) {
  .feedback {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fb {
  min-width: 0;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--paper-edge);
}

.fb__mark {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.fb__title {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.fb__desc {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ---------- 页脚 ---------- */

.site-foot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.site-foot__thanks {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.06em;
}

.site-foot__fine {
  margin: 8px 0 0;
  max-width: 34em;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-faint);
}

.site-foot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.site-foot__actions .btn {
  flex: 1 1 160px;
}

.site-foot__sig {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

@media (max-width: 420px) {
  .ticket__top,
  .ticket__bottom {
    padding-left: 20px;
    padding-right: 20px;
  }
  .checklist {
    padding-left: 18px;
    padding-right: 18px;
  }
  .btn {
    padding: 0 16px;
  }
  .btn--primary {
    flex: 1 1 100%;
  }
  .btn--ghost {
    flex: 1 1 100%;
  }
}

.site-foot__copy {
  margin-top: 10px;
  padding-left: 0;
  text-decoration: none;
  color: var(--ink-faint);
}

.site-foot__copy::before {
  content: "↳ ";
  color: var(--accent);
}
