:root {
  color-scheme: light;
  --ink: #1d2522;
  --muted: #5b6861;
  --line: #d9e0db;
  --paper: #fbfcf9;
  --mist: #eef6f1;
  --leaf: #287c63;
  --leaf-dark: #155a47;
  --coral: #d9654f;
  --white: #ffffff;
  --shadow: 0 16px 45px rgba(29, 37, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 5vw;
  background: rgba(251, 252, 249, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  font-weight: 800;
  color: var(--leaf-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-cta {
  color: var(--white);
  background: var(--leaf);
  padding: 0 18px;
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 20px));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(251, 252, 249, 0.98) 0%, rgba(251, 252, 249, 0.84) 35%, rgba(251, 252, 249, 0.16) 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, 90vw);
  margin-left: 5vw;
  padding: 80px 0 120px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
}

.hero-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--leaf);
  color: var(--white);
}

.button.primary:hover {
  background: var(--leaf-dark);
}

.button.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--leaf-dark);
}

.button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.section {
  padding: 82px 5vw;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 32px;
}

.feature-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.feature-card p,
.step p,
.split p {
  color: var(--muted);
}

.band {
  background: var(--mist);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: start;
}

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

.check-list li {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--white);
  border-left: 4px solid var(--leaf);
  border-radius: 6px;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--leaf-dark);
  font-weight: 900;
}

.store-section {
  background: var(--ink);
  color: var(--white);
}

.store-panel {
  width: min(760px, 100%);
}

.store-info {
  margin: 24px 0 28px;
  display: grid;
  gap: 14px;
}

.store-info div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.store-info dt {
  color: rgba(255, 255, 255, 0.7);
}

.store-info dd {
  margin: 0;
}

.footer {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 20px 5vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.plain-page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--mist), var(--paper) 380px);
}

.form-layout,
.admin-shell {
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.form-intro {
  padding-top: 24px;
}

.form-panel,
.success-panel,
.admin-login,
.admin-data {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bfcac4;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

small {
  min-height: 20px;
  color: #b43324;
  font-weight: 700;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.consent-row input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 4px;
}

.consent-row a {
  color: var(--leaf-dark);
  font-weight: 800;
  text-decoration: underline;
}

.submit-button {
  width: 100%;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: #b43324;
  font-weight: 800;
}

.center-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 6vw;
}

.success-panel {
  width: min(620px, 100%);
}

.article {
  width: min(820px, 90vw);
  margin: 0 auto;
  padding: 72px 0;
}

.article h2 {
  margin-top: 34px;
  font-size: 26px;
}

.admin-page {
  background: var(--paper);
}

.admin-shell {
  display: block;
}

.admin-login {
  width: min(480px, 100%);
  margin: 0 auto;
}

.admin-data {
  width: 100%;
}

.admin-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--leaf-dark);
  background: var(--mist);
}

.empty-state {
  color: var(--muted);
}

.hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(251, 252, 249, 0.12) 0%, rgba(251, 252, 249, 0.96) 45%, rgba(251, 252, 249, 1) 100%);
  }

  .hero-content {
    width: 90vw;
    margin: 0 auto;
    padding: 0 0 56px;
  }

  h1 {
    font-size: 42px;
  }

  .feature-grid,
  .steps,
  .split,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 5vw;
  }

  .two-fields {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    display: grid;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 62px;
  }

  .brand {
    max-width: 190px;
    line-height: 1.25;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-actions,
  .toolbar-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .form-panel,
  .success-panel,
  .admin-login,
  .admin-data {
    padding: 22px;
  }

  .store-info div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
