:root {
  --brand: #18aaa8;
  --brand-dark: #087f7e;
  --accent: #c8963e;
  --ink: #252321;
  --muted: #6b625d;
  --paper: #f7f3ec;
  --card: #ffffff;
  --line: rgba(37, 35, 33, 0.14);
  --soft: rgba(255, 255, 255, 0.78);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 2%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 28%),
    radial-gradient(circle at 86% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 30%),
    var(--paper);
}

a {
  color: inherit;
}

.showcase-shell {
  width: min(1760px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 34px 0 60px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.back-link,
.external-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  padding: 30px clamp(18px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 4.3vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 920px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.meta-grid,
.palette,
.confirm-grid,
.entry-grid {
  display: grid;
  gap: 12px;
}

.meta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.meta-grid div,
.confirm-grid div,
.entry-card,
.note-panel {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.meta-grid b,
.confirm-grid b,
.entry-card b {
  display: block;
  margin-bottom: 7px;
}

.meta-grid span,
.confirm-grid span,
.entry-card span,
.note-panel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.palette {
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  margin-top: 22px;
}

.swatch {
  min-height: 82px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.swatch i {
  display: block;
  width: 100%;
  height: 34px;
  border-radius: 6px;
  background: var(--swatch);
}

.swatch span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin: 34px 0 18px;
}

.section-title p {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 34px);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 24px;
}

.screen-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 42px rgba(37, 35, 33, 0.08);
}

.screen-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}

.screen-meta b {
  font-size: 16px;
}

.screen-meta span {
  color: var(--muted);
}

.phone {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 12px;
  border: 10px solid #1f2022;
  border-radius: 28px;
  background: #111;
}

.status {
  height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  border-radius: 14px 14px 0 0;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.screen {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  background: color-mix(in srgb, var(--brand) 8%, #f7f7f7);
}

.showcase-commerce .screen {
  background: linear-gradient(180deg, #e4fbf8 0, #fff 34%, #e6f7f5 100%);
}

.showcase-wellness .screen {
  background:
    linear-gradient(180deg, rgba(247, 243, 236, 0.96), rgba(241, 231, 214, 0.96)),
    var(--paper);
}

.showcase-reading .screen {
  background: linear-gradient(180deg, #f0f5f1, #fffdf4);
}

.showcase-fashion .screen {
  background: linear-gradient(180deg, #fbf5ed, #fffaf4);
}

.showcase-service .screen {
  background: linear-gradient(180deg, #edf8f3, #fff);
}

.showcase-kids .screen {
  background: linear-gradient(180deg, #eef5ff, #fff8e5);
}

.showcase-learning .screen {
  background: linear-gradient(180deg, #f4f1fa, #fff);
}

.showcase-match .screen {
  background: linear-gradient(180deg, #fbf2f5, #fff);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  background: #fff;
  font-weight: 900;
}

.app-top span {
  color: var(--brand-dark);
  font-size: 12px;
}

.phone-hero {
  margin: 10px;
  padding: 22px 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.showcase-commerce .phone-hero {
  background: linear-gradient(135deg, #10b5aa, #057c7b 58%, #f2c84b);
}

.showcase-wellness .phone-hero {
  background: linear-gradient(135deg, #285f4a, #9d2933);
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.showcase-reading .phone-hero {
  background: linear-gradient(135deg, #496e67, #d8c692);
}

.showcase-fashion .phone-hero {
  color: #3c2e27;
  background: linear-gradient(135deg, #f1ddbf, #fff8ee 45%, #c9a66b);
}

.showcase-service .phone-hero {
  background: linear-gradient(135deg, #28745f, #78b8a2);
}

.showcase-kids .phone-hero {
  background: linear-gradient(135deg, #386fc4, #6ea8ff 55%, #f1bd56);
}

.showcase-learning .phone-hero {
  background: linear-gradient(135deg, #5b4f91, #b58b54);
}

.showcase-match .phone-hero {
  background: linear-gradient(135deg, #9b5d73, #d7acb8);
}

.phone-hero small {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
}

.phone-hero h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.phone-hero p {
  margin: 10px 0 0;
  line-height: 1.55;
}

.quick-grid,
.mini-grid {
  display: grid;
  gap: 8px;
  margin: 10px;
}

.quick-grid {
  grid-template-columns: repeat(4, 1fr);
}

.mini-grid {
  grid-template-columns: repeat(2, 1fr);
}

.quick-grid span,
.mini-grid span,
.tag-row span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.showcase-commerce .quick-grid span::before,
.showcase-service .quick-grid span::before,
.showcase-kids .quick-grid span::before,
.showcase-reading .quick-grid span::before {
  content: "";
  width: 22px;
  height: 22px;
  display: block;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 72%, #fff);
  box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--accent) 42%, #fff);
}

.panel,
.list-panel,
.action-panel,
.success-panel {
  margin: 10px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}

.panel b,
.list-panel b,
.action-panel b,
.success-panel b {
  display: block;
  margin-bottom: 8px;
}

.panel p,
.list-panel p,
.action-panel p,
.success-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.list-panel ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.list-panel li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 13px;
}

.list-panel li:last-child {
  border-bottom: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag-row span {
  min-height: 30px;
  padding: 0 9px;
}

.fake-card {
  min-height: 112px;
  display: grid;
  align-content: end;
  padding: 12px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--accent));
}

.showcase-commerce .fake-card {
  background: linear-gradient(135deg, #101b1c, #16aaa7);
}

.showcase-wellness .fake-card {
  background: linear-gradient(135deg, #285f4a, #c7a06b);
}

.showcase-reading .fake-card {
  color: #2f504b;
  background: linear-gradient(135deg, #fff, #d8c692);
}

.showcase-fashion .fake-card {
  background: linear-gradient(135deg, #1a1a2e, #c9a66b);
}

.showcase-kids .fake-card {
  background: linear-gradient(135deg, #386fc4, #f1bd56);
}

.showcase-match .fake-card {
  background: linear-gradient(135deg, #7e4f62, #d7acb8);
}

.fake-card b {
  display: block;
  font-size: 17px;
}

.fake-card span {
  margin-top: 5px;
  font-size: 12px;
}

.cta {
  width: calc(100% - 20px);
  min-height: 42px;
  margin: 10px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--brand-dark);
  font-weight: 900;
}

.bottom-tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.screen-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.confirm-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.entry-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  margin-top: 22px;
}

.entry-card {
  display: block;
  min-height: 154px;
  text-decoration: none;
}

.entry-card em {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 900;
}

.note-panel {
  margin-top: 22px;
}

.note-panel h2 {
  margin: 0 0 12px;
}

.note-panel code {
  color: var(--brand-dark);
  font-family: Consolas, "Microsoft YaHei", monospace;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px;
}

.metric-row div {
  min-height: 64px;
  display: grid;
  align-content: center;
  padding: 9px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.metric-row b {
  color: var(--brand-dark);
  font-size: 18px;
}

.metric-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.step-list,
.form-stack,
.chat-stack {
  display: grid;
  gap: 8px;
  margin: 10px;
}

.step-list div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}

.step-list i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.form-stack label {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff;
}

.form-stack span {
  color: var(--muted);
  font-size: 12px;
}

.form-stack em {
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.chat-stack p {
  max-width: 82%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  line-height: 1.45;
  font-size: 13px;
}

.chat-stack .ask {
  color: #fff;
  background: var(--brand);
}

.chat-stack .reply {
  justify-self: end;
  background: #fff;
}

.visual,
.shelf-visual,
.detail-visual,
.calendar-visual,
.assistant-visual,
.profile-visual,
.success-visual {
  margin: 10px;
  border-radius: 8px;
  background: #fff;
}

.visual {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  gap: 8px;
  padding: 10px;
}

.visual i {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.showcase-reading .visual i {
  border-radius: 2px 8px 8px 2px;
}

.showcase-fashion .visual i {
  border-radius: 999px;
}

.shelf-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
}

.shelf-visual span {
  min-height: 86px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--brand) 22%, #fff));
}

.detail-visual {
  min-height: 108px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  padding: 12px;
}

.detail-visual b {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.detail-visual span {
  display: block;
  height: 18px;
  margin: 8px 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 18%, #fff);
}

.calendar-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
}

.calendar-visual span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--brand-dark);
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  font-weight: 900;
}

.assistant-visual {
  padding: 12px;
}

.assistant-visual span {
  display: block;
  width: 72%;
  height: 20px;
  margin: 8px 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 22%, #fff);
}

.assistant-visual span:nth-child(2) {
  width: 88%;
}

.assistant-visual span:nth-child(3) {
  width: 54%;
  margin-left: auto;
  background: color-mix(in srgb, var(--accent) 28%, #fff);
}

.profile-visual {
  min-height: 104px;
  padding: 14px;
}

.profile-visual b {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.profile-visual span {
  display: block;
  height: 16px;
  margin: 10px 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 16%, #fff);
}

.success-visual {
  min-height: 116px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-size: 46px;
  font-weight: 900;
}

.profile-card,
.match-card,
.linkage-card,
.privacy-card {
  margin: 10px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}

.profile-card {
  border-left: 4px solid var(--brand);
}

.match-card {
  border-left: 4px solid var(--accent);
}

.linkage-card {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.privacy-card {
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, #fff);
}

.profile-card b,
.match-card b,
.linkage-card b,
.privacy-card b {
  display: block;
  margin-bottom: 7px;
}

.profile-card p,
.match-card p,
.linkage-card p,
.privacy-card p {
  margin: 0;
  line-height: 1.55;
  color: var(--muted);
  font-size: 13px;
}

.linkage-card p {
  color: rgba(255, 255, 255, 0.86);
}

.match-card div,
.linkage-card div {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.match-card span,
.linkage-card span {
  display: block;
  padding: 8px 9px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  font-size: 12px;
  line-height: 1.45;
}

.linkage-card span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.match-card i {
  display: inline-flex;
  min-width: 42px;
  margin-right: 7px;
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 1280px) {
  .screen-grid {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }

  .meta-grid,
  .confirm-grid,
  .position-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .screen-grid,
  .entry-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }
}

@media (max-width: 640px) {
  .showcase-shell {
    width: min(100vw - 20px, 420px);
    padding-top: 14px;
  }

  .topbar,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .screen-grid,
  .entry-grid,
  .meta-grid,
  .confirm-grid,
  .palette {
    grid-template-columns: 1fr;
  }

  .screen-card {
    padding: 12px;
  }

  .screen {
    min-height: 600px;
  }
}
