* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: #f5f6f8;
  color: #222;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f5f6f8;
  padding-bottom: 32px;
}
.hero {
  background: linear-gradient(180deg, #2f7bff 0%, #1e6aef 100%);
  color: #fff;
  padding: 16px 16px 56px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}
.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.tag {
  font-size: 12px;
  color: #ffb07a;
  background: #fff4e8;
  border: 1px solid #ffb06b;
  border-radius: 4px;
  padding: 3px 8px;
  line-height: 1.4;
}
.stats {
  display: flex;
  margin-top: 22px;
}
.stat { flex: 1; }
.stat-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}
.stat-label {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.9;
}
.main { padding: 0 16px; margin-top: -40px; }
.card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px 14px;
  box-shadow: 0 6px 18px rgba(31, 86, 180, 0.08);
}
.amount-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.amount-title {
  font-size: 16px;
  font-weight: 600;
}
.link-btn {
  border: 0;
  background: none;
  color: #2f7bff;
  font-size: 14px;
  cursor: pointer;
}
.amount-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 10px;
}
.yen {
  font-size: 28px;
  font-weight: 700;
}
.amount-input {
  border: 0;
  outline: none;
  width: 100%;
  font-size: 36px;
  font-weight: 700;
  color: #111;
  background: transparent;
}
.amount-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}
.phone-card {
  margin-top: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(31, 86, 180, 0.08);
}
.phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone-label {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 500;
  color: #888;
}
.phone-input {
  flex: 1;
  border: 0;
  outline: none;
  font-size: 14px;
  color: #333;
  background: transparent;
}
.phone-input::placeholder { color: #bbb; }
.action {
  position: relative;
  margin-top: 28px;
}
.tip {
  position: absolute;
  left: 50%;
  top: -28px;
  transform: translateX(-50%);
  background: #ff8a1f;
  color: #fff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(255, 138, 31, 0.25);
}
.tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ff8a1f;
}
.cta {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #2f7bff;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 0;
  cursor: pointer;
}
.cta:active { opacity: 0.9; }
.agree {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}
.agree input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.agree a {
  color: #2f7bff;
  text-decoration: none;
}
.footer {
  margin-top: 36px;
  padding: 0 20px;
  text-align: center;
}
.footer-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #999;
  font-size: 13px;
}
.footer-title::before,
.footer-title::after {
  content: "";
  width: 48px;
  height: 1px;
  background: #ddd;
}
.footer-text {
  margin-top: 12px;
  font-size: 11px;
  color: #aaa;
  line-height: 1.7;
}
.footer-company,
.footer-icp {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}
