/* Reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro", system-ui, sans-serif;
  background: #F7F6F4;
  color: #2E2E2E;
  line-height: 1.6;
}

/* Layout */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

/* Hero */
.hero {
  position: relative;
  margin-bottom: 64px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 320px;
  background: radial-gradient(
    ellipse at center,
    rgba(210, 215, 210, 0.35),
    rgba(247, 246, 244, 0)
  );
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 12px;
}

.hero-line {
  font-size: 18px;
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
}

.btn.primary {
  background: #6B7C85;
  color: white;
}

.btn.secondary {
  border: 1px solid #CCC;
  color: #333;
}

/* How it works */
.how {
  padding: 32px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0,0,0,0.04);
}

.how h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 32px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  margin-bottom: 32px;
}

.steps h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  .steps h3 {
  position: relative;
  padding-left: 10px;
}

.steps h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #BFC5BF;
}

}

.steps p {
  font-size: 14px;
  color: #444;
}

/* Footer */
.footer {
  margin-top: 80px;
  font-size: 13px;
  color: #777;
}
.btn.tertiary {
  border: 1px solid #DDD;
  color: #333;
  background: transparent;
}
@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    text-align: center;
  }
}
/* About / doc page */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 24px;
}

.brand {
  text-decoration: none;
  color: #2E2E2E;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 14px;
}

.nav a {
  text-decoration: none;
  color: #555;
  font-size: 13px;
}

.nav a[aria-current="page"] {
  color: #2E2E2E;
}

.doc h1 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
}

.lead {
  color: #444;
  margin: 0 0 28px;
  font-size: 15px;
}

.doc-block {
  padding: 18px 18px;
  border: 1px solid #E6E4E1;
  border-radius: 10px;
  background: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}

.doc-block h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 500;
}

.doc-block p {
  margin: 0 0 10px;
  color: #444;
  font-size: 14px;
}

.doc-block ul {
  margin: 0 0 10px 18px;
  color: #444;
  font-size: 14px;
}

.taglist {
  color: #555;
}
body {
  background: #F7F6F4;
}

.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
.doc::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 260px;
  background: radial-gradient(
    ellipse at center,
    rgba(210, 215, 210, 0.35),
    rgba(247, 246, 244, 0)
  );
  z-index: -1;
}
.doc {
  position: relative;
}
.doc-block {
  padding: 20px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 6px 20px rgba(0,0,0,0.03);
  margin-bottom: 16px;
}
.doc-block h2 {
  position: relative;
  padding-left: 10px;
}

.doc-block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: #BFC5BF;
}
.doc-block ul li {
  margin-bottom: 6px;
  line-height: 1.5;
}
.hero {
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(210,215,210,0.25),
    rgba(255,255,255,0)
  );
  pointer-events: none;
}
.page {
  padding-bottom: 80px;
}
.intro {
  margin: 48px 0 32px;
  max-width: 640px;
}

.intro p {
  font-size: 15px;
  color: #444;
  margin: 0 0 12px;
}
.intro {
  padding-left: 10px;
  border-left: 3px solid #BFC5BF;
}
/* =========================
   Start Screen Theme (sync with homepage)
   Usage:
   <div class="start">
     <div class="start-shell">
       <div class="start-card">...</div>
     </div>
   </div>
========================= */

/* 1) 如果你已有首页变量（例如 --cement-* / --forest-*），这里会优先复用。
      如果没有，也提供 fallback，不会崩。 */
:root {
  /* Backgrounds */
  --start-bg: var(--cream, #F6F3EC);
  --start-bg-2: var(--fog, #EEF1EF);

  /* Surface */
  --start-surface: var(--surface, rgba(255, 255, 255, 0.78));
  --start-surface-solid: var(--surface-solid, #FFFFFF);

  /* Border */
  --start-border: var(--cement-light, rgba(20, 25, 22, 0.10));

  /* Text */
  --start-text: var(--cement-dark, #1B1E1C);
  --start-muted: var(--cement-mid, rgba(27, 30, 28, 0.72));
  --start-faint: var(--cement-mid-2, rgba(27, 30, 28, 0.50));

  /* Accent (olive/forest vibe) */
  --start-accent: var(--forest, #1F3A2E);
  --start-accent-2: var(--olive, #274A3A);

  /* Shadow */
  --start-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --start-shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.06);

  /* Radius */
  --start-radius: 20px;

  /* Motion */
  --start-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 2) Start page background: editorial + calm */
.start {
  min-height: 100svh;
  color: var(--start-text);
  background:
    radial-gradient(900px 700px at 18% 12%, rgba(31, 58, 46, 0.10), transparent 60%),
    radial-gradient(700px 520px at 86% 22%, rgba(39, 74, 58, 0.08), transparent 55%),
    linear-gradient(180deg, var(--start-bg), var(--start-bg-2));
}

/* 3) Layout shell */
.start-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

/* 4) Card / panel */
.start-card {
  width: min(560px, 100%);
  border: 1px solid var(--start-border);
  border-radius: var(--start-radius);
  background: var(--start-surface);
  box-shadow: var(--start-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

/* Optional: subtle header band (feels like homepage section divider) */
.start-card__top {
  padding: 20px 22px;
  border-bottom: 1px solid var(--start-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.15));
}

/* Main content */
.start-card__body {
  padding: 22px;
}

/* 5) Typography */
.start-kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--start-faint);
}

.start-title {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.start-subtitle {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--start-muted);
}

/* 6) Status pill (quiet “system running” vibe) */
.start-status {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--start-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.40);
}

.start-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(31, 58, 46, 0.65);
  box-shadow: 0 0 0 4px rgba(31, 58, 46, 0.12);
}

.start-status__text {
  font-size: 13px;
  color: var(--start-muted);
}

/* 7) Primary button (muted, not “salesy”) */
.start-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.start-btn {
  appearance: none;
  border: 1px solid var(--start-border);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms var(--start-ease), box-shadow 180ms var(--start-ease), background 180ms var(--start-ease);
}

.start-btn--primary {
  color: rgba(255,255,255,0.92);
  background: linear-gradient(180deg, rgba(31, 58, 46, 0.96), rgba(31, 58, 46, 0.88));
  box-shadow: var(--start-shadow-soft);
  border-color: rgba(31, 58, 46, 0.32);
}

.start-btn--ghost {
  color: var(--start-text);
  background: rgba(255, 255, 255, 0.45);
}

.start-btn:hover {
  transform: translateY(-1px);
}

.start-btn--primary:hover {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.10);
}

.start-btn:active {
  transform: translateY(0px);
}

/* 8) Entry animation: fade in + slight up */
.start-animate-in {
  animation: startFadeUp 520ms var(--start-ease) both;
}

@keyframes startFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 9) Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .start-animate-in { animation: none; }
  .start-btn { transition: none; }
}

/* 10) Dark mode (optional, still calm) */
@media (prefers-color-scheme: dark) {
  .start {
    background:
      radial-gradient(900px 700px at 18% 12%, rgba(125, 196, 161, 0.08), transparent 60%),
      radial-gradient(700px 520px at 86% 22%, rgba(125, 196, 161, 0.06), transparent 55%),
      linear-gradient(180deg, #0F1412, #0B0F0D);
    color: rgba(255,255,255,0.92);
  }

  .start-card {
    background: rgba(14, 18, 16, 0.72);
    border-color: rgba(255,255,255,0.10);
    box-shadow: 0 18px 56px rgba(0,0,0,0.55);
  }

  .start-kicker,
  .start-subtitle,
  .start-status__text {
    color: rgba(255,255,255,0.68);
  }

  .start-status {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.10);
  }

  .start-btn--ghost {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.90);
    border-color: rgba(255,255,255,0.12);
  }
}
