:root {
  --color-primary: #292524;
  --color-ink: #0c0a09;
  --color-body: #4e4e4e;
  --color-muted: #777169;
  --color-hairline: #e7e5e4;
  --color-canvas: #f5f5f5;
  --color-surface-card: #ffffff;
  --color-surface-strong: #f0efed;
  --color-on-primary: #ffffff;
  --color-gradient-mint: #a7e5d3;
  --color-gradient-peach: #f4c5a8;
  --color-gradient-lavender: #c8b8e0;
  --rounded-md: 8px;
  --rounded-xl: 16px;
  --rounded-pill: 9999px;
  --font-display: "Waldenburg", "Times New Roman", Georgia, system-ui, "Segoe UI", "PingFang SC", "Microsoft YaHei", serif;
  --font-body: Inter, system-ui, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { background: #e7e5e4; }
body {
  margin: 0 auto;
  max-width: 390px;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-canvas);
  line-height: 1.5;
  letter-spacing: 0.15px;
  padding-bottom: 64px;
}
a { color: var(--color-ink); text-decoration: none; }

.top {
  height: 56px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-canvas);
}
.logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--color-ink);
}
.back { font-size: 12px; color: var(--color-muted); }

.hero {
  padding: 28px 16px 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--color-gradient-mint);
  filter: blur(28px);
  right: -40px;
  top: -20px;
  opacity: 0.75;
}
.hero h1 {
  position: relative;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin: 0 0 10px;
}
.hero p { position: relative; margin: 0 0 16px; color: var(--color-body); font-size: 14px; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: 0;
  border-radius: var(--rounded-pill);
  height: 40px;
  padding: 0 20px;
  font: 500 15px/1 var(--font-body);
  cursor: pointer;
}
.btn-block { display: flex; width: 100%; }

.wave {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  padding: 14px;
  margin-top: 16px;
  position: relative;
}
.wave-bars { display: flex; align-items: flex-end; gap: 3px; height: 36px; }
.wave-bars span { width: 3px; background: var(--color-ink); opacity: 0.5; border-radius: 2px; }

.block { padding: 18px 16px; }
.block h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  margin: 0 0 12px;
}

.cell {
  display: block;
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  padding: 14px;
  margin-bottom: 8px;
  color: var(--color-ink);
}
.cell h3 { margin: 0 0 4px; font-size: 16px; font-weight: 500; }
.cell p { margin: 0; color: var(--color-body); font-size: 13px; }

.row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-hairline);
  font-size: 14px;
}
.row:last-child { border-bottom: 0; }
.row span { color: var(--color-body); }

.ph {
  background: var(--color-surface-strong);
  color: var(--color-muted);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-bottom: 12px;
  border-radius: var(--rounded-xl);
}

form label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 500; }
form input, form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-md);
  font: inherit;
  margin-bottom: 12px;
  background: var(--color-surface-card);
}

.tab {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 390px;
  display: flex;
  background: var(--color-canvas);
  border-top: 1px solid var(--color-hairline);
  height: 56px;
}
.tab a {
  flex: 1;
  text-align: center;
  padding: 10px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
}
.tab a.on { color: var(--color-ink); }

.ph { overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
