:root {
  --page-bg: #ffffff;
  --text-main: #0f172a;
  --brand: #6979ff;
  --input-border: #86a2ff;
  --button-bg: #d8e4ff;
  --button-bg-active: #7ea2ff;
  --button-text: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page-bg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
}

body {
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  padding: max(12px, env(safe-area-inset-top)) 30px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  margin: 0;
  padding-top: 4px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.content {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-bottom: 84px;
}

.hero-gap {
  height: min(32vh, 280px);
}

.form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.input-wrap {
  width: 100%;
}

.order-input {
  width: 100%;
  height: 58px;
  border: 1.5px solid var(--input-border);
  border-radius: 8px;
  padding: 0 18px;
  font-size: 16px;
  color: var(--text-main);
  outline: none;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.order-input::placeholder {
  color: #b2b9c5;
}

.order-input:focus {
  border-color: #6b8dff;
  box-shadow: 0 0 0 3px rgba(126, 162, 255, 0.14);
}

.submit-btn {
  width: min(224px, 60vw);
  height: 56px;
  border: 0;
  border-radius: 8px;
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.2s ease;
}

.submit-btn:active {
  transform: scale(0.98);
}

.submit-btn:disabled {
  cursor: not-allowed;
}

.submit-btn.is-active {
  background: var(--button-bg-active);
}

.progress-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: #7f8792;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
}

.footer {
  padding-top: 12px;
  text-align: center;
  font-size: 15px;
  color: var(--brand);
  font-weight: 600;
}

.footer-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 18px;
  margin-right: 4px;
}

@media (max-width: 360px) {
  .page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .submit-btn {
    width: 100%;
  }
}
