/* ============================================================
   与 AI 协作，遇见好东西 · 设计系统
   色板取自现场：橙色皮沙发 / 深青绿单椅 / 黑钢构 / 暖白墙
   ============================================================ */

:root {
  --ink: #141414;
  --ink-2: #4A4741;
  --ink-3: #8A857B;
  --paper: #F6F1E7;
  --paper-2: #EFE8DA;
  --card: #FFFFFF;
  --orange: #D9541E;
  --orange-d: #B8420F;
  --teal: #1B6B66;
  --amber: #FFB03A;
  --line: rgba(20, 20, 20, .10);
  --line-2: rgba(20, 20, 20, .06);

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;

  --shadow-s: 0 1px 2px rgba(20, 20, 20, .05);
  --shadow-m: 0 6px 24px -8px rgba(20, 20, 20, .16);
  --shadow-l: 0 18px 48px -16px rgba(20, 20, 20, .28);

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #E6E0D4;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.shell {
  max-width: 480px;
  margin: 0 auto;
  background: var(--paper);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, .08);
}

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

/* ---------- 头图 ---------- */

.hero {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 78vh;
  overflow: hidden;
  background: var(--ink);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 60%;
  display: block;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, .12) 28%, rgba(10, 10, 10, .02) 46%, rgba(20, 14, 8, .72) 82%, #141414 100%);
}

.hero-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #fff;
  background: rgba(18, 16, 14, .46);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}

.pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 176, 58, .28);
}

.hero-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 24px 26px;
  z-index: 2;
  color: #fff;
}

.hero-body h1 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .4);
}

.hero-body h1 .thin {
  display: block;
  font-weight: 500;
  font-size: .44em;
  letter-spacing: .18em;
  opacity: .92;
  margin-bottom: 14px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .75);
}

.promise {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  background: var(--amber);
  padding: 8px 14px;
  border-radius: 4px;
  transform: rotate(-1.2deg);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .35);
}

/* ---------- 元信息条 ---------- */

.metabar {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.metabar > div {
  flex: 1 1 0;
  min-width: 0;
  padding: 16px 10px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.metabar > div:last-child { border-right: 0; }

.metabar .k {
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--ink-3);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.metabar .v {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 通用区块 ---------- */

section.blk { padding: 34px 24px; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--orange);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.02em;
}

p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; }
p:last-child { margin-bottom: 0; }

/* ---------- 席位 ---------- */

.seat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 24px;
  padding: 12px 16px;
  border-radius: var(--r-m);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.seat .spark {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
  animation: pulse 2s ease-in-out infinite;
}

.seat.warm { background: var(--orange); }
.seat.full { background: var(--ink-3); }

.seat .tail {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  opacity: .6;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.8); }
}

/* ---------- 议程 ---------- */

.agenda { margin-top: 4px; }

.ag-row {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 18px;
}

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

.ag-row::before {
  content: '';
  position: absolute;
  left: 43px;
  top: 16px;
  bottom: -2px;
  width: 1px;
  background: var(--line);
}

.ag-row:last-child::before { display: none; }

.ag-t {
  width: 42px;
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: -.02em;
  padding-top: 1px;
}

.ag-x { flex: 1; position: relative; }

.ag-row::after {
  content: '';
  position: absolute;
  left: 38px;
  top: 6px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink-3);
}

.ag-row.hot::after { border-color: var(--orange); background: var(--orange); }

.ag-n { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.ag-d { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

.ag-row.break .ag-n { color: var(--ink-3); font-weight: 500; }

/* ---------- 嘉宾卡 ---------- */

.people { display: grid; gap: 10px; }

.person {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--card);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line-2);
}

.person .tag {
  flex: none;
  width: 40px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  color: #fff;
  background: var(--teal);
  border-radius: 6px;
  text-align: center;
  padding: 4px 0;
  line-height: 1.4;
}

.person.lead .tag { background: var(--orange); }

.person .nm { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.person .ln { font-size: 13px; color: var(--ink-2); line-height: 1.55; margin-top: 3px; }

/* ---------- 适合谁 ---------- */

.who { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.who li {
  display: flex;
  gap: 11px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}

.who li::before {
  content: '';
  flex: none;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 9px;
}

/* ---------- 表单 ---------- */

.formcard {
  background: var(--card);
  border-radius: var(--r-l);
  padding: 22px;
  box-shadow: var(--shadow-m);
  border: 1px solid var(--line-2);
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-2);
  margin-bottom: 7px;
}

.field label .req { color: var(--orange); }

.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid transparent;
  border-radius: var(--r-s);
  padding: 13px 14px;
  outline: none;
  transition: border-color .18s, background .18s;
  -webkit-appearance: none;
}

.field textarea { resize: vertical; min-height: 76px; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: #9E978B; font-size: 14px; }

.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  background: #fff;
}

.field .hint { font-size: 12px; color: var(--ink-3); margin-top: 6px; line-height: 1.5; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 16px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  transition: transform .12s, opacity .18s;
  box-shadow: 0 6px 20px -8px rgba(217, 84, 30, .9);
}

.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .5; box-shadow: none; }
.btn.ghost {
  background: transparent;
  color: var(--ink-3);
  box-shadow: none;
  font-weight: 500;
  font-size: 14px;
  padding: 12px;
}
.btn.dark { background: var(--ink); box-shadow: none; }

.err {
  display: none;
  font-size: 13px;
  color: var(--orange-d);
  background: rgba(217, 84, 30, .08);
  border-radius: var(--r-s);
  padding: 10px 12px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.err.on { display: block; }

/* ---------- 地点 ---------- */

.placecard {
  background: var(--card);
  border-radius: var(--r-m);
  padding: 18px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-s);
}

.placecard .addr { font-size: 15px; font-weight: 700; line-height: 1.5; }
.placecard .sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }

.navbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

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

footer {
  padding: 30px 24px calc(30px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center;
}

.foot-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

.foot-logos img {
  height: 26px;
  width: auto;
  opacity: .78;
  filter: grayscale(1);
}

.logo-ph {
  height: 26px;
  min-width: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-3);
  border: 1px dashed rgba(20, 20, 20, .22);
  border-radius: 4px;
  padding: 0 8px;
}

.foot-x { font-size: 12px; color: var(--ink-3); }

.privacy {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.7;
  margin-top: 14px;
  opacity: .8;
}

/* ---------- 底部固定 CTA ---------- */

.sticky-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 480px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(246, 241, 231, 0) 0%, rgba(246, 241, 231, .96) 34%);
  z-index: 40;
  transition: opacity .25s, transform .25s;
}

.sticky-cta.hide { opacity: 0; pointer-events: none; transform: translate(-50%, 12px); }

.sticky-cta .btn { font-size: 15px; padding: 14px; }

/* ---------- 工具 ---------- */

.mono { font-family: var(--mono); }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.hr { height: 1px; background: var(--line); margin: 26px 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
