:root {
  color-scheme: light;
  --baseus-black: #111112;
  --baseus-yellow: #ffd21f;
  --ink: #171717;
  --muted: #6b7280;
  --line: rgba(17, 17, 18, 0.12);
  --surface: #ffffff;
  --soft: #f6f6f3;
  --alert: #fff7ca;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang TC", "Noto Sans TC", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
}

a {
  color: inherit;
}

.home,
.demo {
  display: grid;
  place-items: center;
  padding: 32px;
}

.home-shell {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--baseus-black);
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-copy p:not(.eyebrow),
.demo-page p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--baseus-black);
  border-radius: 8px;
  background: var(--surface);
  color: var(--baseus-black);
  font-weight: 900;
  text-decoration: none;
  box-shadow: inset 0 0 0 2px var(--baseus-yellow);
}

.button.primary {
  background: var(--baseus-black);
  color: #fff;
  box-shadow: inset 0 -4px 0 var(--baseus-yellow);
}

.home-panel {
  border-left: 4px solid var(--baseus-yellow);
  background: var(--surface);
  padding: 12px 0 12px 22px;
}

.home-panel div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.home-panel div:last-child {
  border-bottom: 0;
}

.home-panel span,
.home-panel small {
  display: block;
  color: var(--muted);
}

.home-panel span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.home-panel small {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
}

.demo-page {
  width: min(780px, 100%);
  padding: 56px 0;
}

.demo-page ul {
  margin: 28px 0 0;
  padding-left: 22px;
  line-height: 2;
  font-weight: 800;
}

@media (max-width: 820px) {
  .home,
  .demo {
    display: block;
    padding: 24px;
  }

  .home-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  h1 {
    font-size: 42px;
  }
}
