:root {
  color: #1f383d;
  background: #fafbf9;
  font: 100%/1.65 Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 56rem; padding: 0 1.25rem 2.5rem; }

header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid #dfe8e3; flex-wrap: wrap;
}
.guide-brand { font-size: 1.2rem; font-weight: 800; text-decoration: none; color: #1f383d; }
header nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; font-size: .92rem; }
header nav a { text-decoration: none; color: #4c6660; font-weight: 550; }
header nav a:last-child {
  padding: .35rem .8rem; border-radius: 999px; background: #e8f3ef;
  border: 1px solid #c7e0d8; color: #1c6459; font-weight: 650;
}

h1 { font-size: clamp(1.55rem, 4.2vw, 2.25rem); line-height: 1.3; margin: 1.4rem 0 .5rem; }
h2 { margin: 1.75rem 0 .7rem; font-size: 1.2rem; color: #1f383d; }
a { color: #1b6357; text-underline-offset: .18em; }
a:focus-visible { outline: 2px solid #1b6357; outline-offset: 3px; }

.eyebrow-tag {
  display: inline-block; margin: 1.25rem 0 -.6rem; padding: .2rem .65rem;
  border-radius: 999px; background: #edf4f0; color: #2b6b5f; font-size: .8rem; font-weight: 650;
}
.summary, small { color: #58706a; font-size: .92rem; }
.lead { color: #3d5650; font-size: .98rem; line-height: 1.75; margin: .5rem 0 1rem; }

.model-cover {
  display: block; width: 100%; max-width: 38rem; height: auto;
  border-radius: 1.1rem; background: #edf4f0; border: 1px solid #dde8e2; margin: 1rem 0;
}
.guide-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin: 1rem 0 1.25rem; }
.open-player {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem;
  padding: .65rem 1.25rem; border-radius: .75rem; background: #22665a; color: #fff;
  font-weight: 650; text-decoration: none;
}
.open-player:hover { background: #1b544a; }
.free-tutorials {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .6rem 1rem;
  border-radius: .75rem; border: 1px solid #d5e2db; background: #fff;
  text-decoration: none; font-weight: 600; color: #35544d;
}

.materials {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: .55rem .75rem; list-style: none; padding: 0; margin: .75rem 0;
}
.materials li {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .55rem .8rem; border-radius: .65rem; background: #fff; border: 1px solid #dfe9e3;
  font-size: .92rem;
}
.materials li strong { color: #1d5d51; }

.steps { padding-left: 1.35rem; margin: .75rem 0; }
.steps li { margin: .85rem 0; padding-left: .2rem; }
.steps p { margin: .25rem 0; color: #334d48; }
.steps small { display: block; margin-top: .2rem; color: #5e766f; }

.guide-play {
  margin: 1.5rem 0; padding: 1rem 1.15rem; border-radius: .85rem;
  background: #eef5ef; border: 1px solid #d9e7dc;
}
.guide-play h2 { margin-top: 0; font-size: 1.05rem; }
.guide-play p { margin: .35rem 0 0; }
.guide-play small { display: block; margin-top: .4rem; }

.tutorial-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: .65rem; list-style: none; padding: 0;
}
.tutorial-list li {
  padding: .85rem 1rem; border: 1px solid #dde8e2; border-radius: .8rem; background: #fff;
}
.tutorial-list a { display: block; font-weight: 650; text-decoration: none; color: #1f383d; }
.tutorial-list a:hover { color: #1b6357; }
.tutorial-list small { display: block; margin-top: .25rem; font-size: .82rem; }

.app-bridge {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.25rem;
  flex-wrap: wrap; padding: .95rem 1.15rem; margin: 1.5rem 0;
  border: 1px solid #d6e6de; border-radius: .9rem; background: #eef7f3; color: #35534c;
  font-size: .93rem;
}
.app-bridge a { font-weight: 650; white-space: nowrap; }

footer {
  margin-top: 2.25rem; padding: 1.15rem 0 0; border-top: 1px solid #dfe8e3;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  flex-wrap: wrap; font-size: .88rem; color: #637873;
}
footer div { display: flex; gap: 1.15rem; }

@media (max-width: 560px) {
  body { padding: 0 .9rem 2rem; }
  .guide-actions > a { width: 100%; text-align: center; }
  .materials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 350px) {
  .materials { grid-template-columns: 1fr; }
}
