:root {
  color-scheme: light;
  --bg: #f6f0e8;
  --panel: rgba(255, 255, 255, 0.82);
  --line: rgba(87, 60, 38, 0.12);
  --text: #2f241d;
  --muted: #7b6757;
  --accent: #9f6c43;
  --accent-strong: #7f4c26;
  --shadow: 0 20px 60px rgba(83, 54, 31, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(180deg, #f9f4ee 0%, #f2eadf 100%);
  color: var(--text);
}

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

.shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 16px;
  z-index: 10;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
}

#app {
  margin-top: 28px;
}

.hero,
.section,
.workspace {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 40px;
}

.hero h1,
.section h2,
.panel h2 {
  margin: 0 0 12px;
  line-height: 1.12;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.hero-text,
.section p,
.feature-card p,
.pricing-card p,
.auth-card span,
.status-list,
.product-card p {
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.hero-points,
.status-list {
  margin: 22px 0 0;
  padding-left: 18px;
}

.hero-card,
.panel,
.auth-card,
.feature-card,
.pricing-card,
.product-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.hero-card {
  padding: 24px;
}

.hero-card-grid,
.feature-grid,
.pricing-grid,
.product-grid {
  display: grid;
  gap: 16px;
}

.hero-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.metric {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
}

.metric-label {
  margin-top: 8px;
  color: var(--muted);
}

.section,
.workspace {
  margin-top: 24px;
  padding: 32px;
}

.tight {
  padding: 28px;
}

.narrow {
  width: min(620px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.feature-grid,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.feature-card,
.pricing-card,
.product-card,
.panel {
  padding: 22px;
}

.featured {
  border-color: rgba(159, 108, 67, 0.26);
  background: rgba(255, 250, 245, 0.9);
}

.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(159, 108, 67, 0.12);
  color: var(--accent-strong);
  font-size: 12px;
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
}

.plan-price {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 700;
}

.auth-card {
  margin-top: 18px;
  padding: 24px;
}

.auth-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.auth-card input {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 0 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
}

.workspace {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
}

.workspace-main,
.workspace-side {
  display: grid;
  gap: 20px;
}

.panel-head {
  margin-bottom: 18px;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stage-label,
.product-tag {
  color: var(--accent-strong);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-placeholder {
  margin-top: 10px;
  min-height: 240px;
  border-radius: 24px;
  border: 1px dashed rgba(159, 108, 67, 0.24);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e7d7c6 0%, #f7efe6 100%);
  font-size: 28px;
  font-weight: 700;
  color: rgba(127, 76, 38, 0.72);
}

.image-placeholder.accent {
  background: linear-gradient(135deg, #d7c0a7 0%, #f1e4d5 100%);
}

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

.product-card h3 {
  margin: 10px 0 8px;
}

@media (max-width: 960px) {
  .hero,
  .workspace,
  .feature-grid,
  .pricing-grid,
  .product-grid,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
