/* SOLA AI Burger Lab · 复古餐厅海报的数字版 */
:root {
  --paper: #fff4d8;
  --cream: #fff9e8;
  --navy: #123769;
  --ink: #291e1a;
  --muted: #62503b;
  --red: #ac221b;
  --red-deep: #831811;
  --gold: #ffce63;
  --gold-line: #ddaa6e;
  --line: #e5c795;
  --ok: #285f31;
  --bad: #a72319;
  --radius: 14px;
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(#a9702a1a .75px, transparent .75px) 0 0 / 5px 5px, var(--paper);
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--red-deep); }
:focus-visible { outline: 3px solid #1d5ca4; outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; padding: 8px 12px; background: var(--gold); color: var(--ink); z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.top { background: var(--cream); border-bottom: 2px solid var(--red); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding-block: 12px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: 18px;
  font-weight: 900; letter-spacing: .04em; line-height: 1.3; text-decoration: none;
}
.brand span { padding: 4px 11px; border-radius: 999px; background: var(--red); color: var(--cream); font-style: italic; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px; }
.top nav a { color: var(--navy); text-decoration: none; padding: 5px 12px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 700; }
.top nav a:hover { border-color: var(--red); }
.top nav a[aria-current="page"] { background: var(--navy); color: var(--cream); }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 22px 0 0; padding: clamp(22px, 4.2vw, 52px);
  border: 2px solid var(--navy); border-radius: 23px;
  box-shadow: 0 5px 0 #792e1d2b;
  background:
    radial-gradient(#b7dcf650 1px, transparent 1px) 0 0 / 6px 6px,
    repeating-conic-gradient(from -7deg at 77% 56%, #ffffff0c 0deg 10deg, transparent 10deg 20deg),
    radial-gradient(ellipse at 73% 57%, #297daf 0%, #154876 41%, #0e2850 75%);
  color: var(--cream);
}
.hero::after {
  content: ""; display: block; height: 12px; position: absolute; inset: auto 0 0; z-index: -1;
  border-top: 2px solid var(--gold);
  background: repeating-conic-gradient(var(--red) 0% 25%, #fff3ce 0% 50%) 0 0 / 20px 20px;
}
.hero--home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.23fr); align-items: center; gap: 12px; }
.hero-copy { position: relative; z-index: 1; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 11px; padding: 4px 15px;
  border: 1px solid #ffce76; border-radius: 999px; background: var(--red); color: var(--cream);
  font-size: 13px; font-weight: 800; letter-spacing: .12em;
}
.tag::before, .tag::after { content: "★"; color: var(--gold); font-size: 10px; }
.hero h1 { font-size: clamp(30px, 4.8vw, 60px); line-height: 1.15; margin: 0 0 16px; font-weight: 900; letter-spacing: -.035em; }
.hero h1 em { color: var(--red-deep); font-style: normal; }
.hero--home h1 {
  display: inline-block; padding: .13em .27em .18em;
  color: var(--red-deep); background: var(--cream); border: 5px solid var(--red);
  outline: 2px solid var(--gold); border-radius: .28em;
  box-shadow: 0 4px 0 #061f44; white-space: nowrap;
}
.hero h1 small {
  display: block; margin-top: .34em; padding-top: .36em; border-top: 1px solid #e9c28a;
  color: var(--navy); font-size: .37em; font-weight: 850; letter-spacing: .025em;
}
.hero p { max-width: 42ch; margin: 0; color: #fff7e1; }
.hero .cta { margin-top: 19px; }
.hero .btn { color: var(--red-deep); background: var(--gold); border-color: var(--gold); }
.hero .btn.ghost { color: var(--cream); background: #0d2c57; border-color: #e7bd70; }
.hero :focus-visible { outline-color: var(--gold); }
.hero-art { display: block; width: 100%; height: auto; margin: auto; }
.hero--game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, .43fr); align-items: center; gap: 20px; }
.hero--game h1 { font-size: clamp(28px, 4.2vw, 49px); }
.hero--game h1 em { color: var(--gold); }
.hero--game p { max-width: 53ch; }

section { padding: 29px 0; }
h2 { font-size: clamp(22px, 3vw, 29px); margin: 0 0 6px; }
.poster-section > h2 {
  display: flex; align-items: baseline; gap: 10px; padding: 6px 16px; margin-bottom: 10px;
  border: 1px solid var(--red-deep); border-radius: 999px; color: var(--cream); background: var(--red);
  box-shadow: inset 0 0 0 2px #f4b25c85; line-height: 1.35;
}
.poster-section > h2::before { content: "★"; color: var(--gold); font-size: .66em; }
h2 + .lead { color: var(--muted); margin: 0 0 17px; }
.board-card, .card { background: var(--cream); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 20px; }
.board-card { box-shadow: inset 0 0 0 3px #f8e5be; }

.lab { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 28px; align-items: start; }
.burger { display: flex; flex-direction: column; gap: 5px; list-style: none; margin: 0; padding: 0; }
.burger button {
  width: 100%; border: 2px solid #7b421e; cursor: pointer; font: inherit; font-weight: 800;
  color: #281d16; display: flex; justify-content: space-between; gap: 8px; align-items: center;
  padding: 10px 16px; transition: transform .15s;
}
.burger button:hover { transform: translateX(6px); }
.burger button[aria-pressed="true"] { transform: translateX(9px); box-shadow: -5px 0 0 var(--red); }
.burger small { font-weight: 650; font-size: 14px; }
.l-goal { background: linear-gradient(#f7b64a, #e78b32); border-radius: 100px 100px 14px 14px; padding-top: 19px !important; }
.l-audience { background: #9cbd57; border-radius: 20px; }
.l-style { background: #ffcf48; border-radius: 5px; }
.l-content { background: #783a24; color: var(--cream) !important; border-radius: 19px; }
.l-constraint { background: #b92c20; color: var(--cream) !important; border-radius: 26px; }
.l-output { background: linear-gradient(#f5ad47, #e68e39); border-radius: 14px 14px 62px 62px; padding-bottom: 16px !important; }
.detail h3 { margin: 0 0 4px; font-size: 26px; color: var(--navy); }
.detail .q { color: var(--red-deep); font-weight: 800; margin: 0 0 12px; }
.detail dl { margin: 0; }
.detail dt { font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-top: 12px; }
.detail dd { margin: 4px 0 0; }
.detail .ex { background: #f8ebca; border-left: 4px solid var(--red); padding: 9px 13px; border-radius: 5px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(192px, 100%), 1fr)); gap: 13px; }
.card { padding: 15px; border-top: 4px solid var(--red); }
#apps .card:nth-child(2) { border-top-color: #20548e; }
#apps .card:nth-child(3) { border-top-color: #38643c; }
#apps .card:nth-child(4) { border-top-color: #b85418; }
#apps .card:nth-child(5) { border-top-color: #75367b; }
.card h3 { margin: 0 0 2px; font-size: 20px; color: var(--navy); }
.card .role { color: var(--red-deep); font-weight: 800; margin: 0 0 8px; font-size: 15px; }
.card p { margin: 6px 0; font-size: 15px; }
.card .lbl { color: var(--muted); font-size: 13px; }
.icon { font-size: 29px; line-height: 1; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0; padding: 0; list-style: none; }
.chips li { background: #f3e1b3; color: #572920; font-size: 13px; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(225px, 100%), 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--cream); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 16px 14px 16px 59px; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 13px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps b { display: block; font-size: 18px; color: var(--navy); }
.flow { display: grid; gap: 12px; }
.flow .board-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
pre.prompt { white-space: pre-wrap; overflow-wrap: anywhere; background: #f9edce; border: 1px dashed #a87951; border-radius: 10px; padding: 13px; font: 15px/1.65 ui-monospace, "SF Mono", Menlo, monospace; margin: 0; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding-left: 25px; position: relative; margin: 5px 0; }
.check li::before { content: "☐"; position: absolute; left: 0; color: var(--red-deep); }

.btn {
  display: inline-block; font: inherit; font-weight: 800; cursor: pointer;
  border: 2px solid var(--red); background: var(--red); color: #fffaf0;
  padding: 8px 16px; border-radius: 999px; text-decoration: none;
}
.btn.ghost { background: transparent; color: var(--red-deep); }
.btn:disabled { opacity: .52; cursor: not-allowed; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
footer {
  margin-top: 24px; padding: 19px 0 30px; border-top: 4px solid var(--red);
  color: #ffedca; background: var(--navy); font-size: 14px;
}
footer a { color: var(--gold); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 14px; }
  .top .wrap { gap: 5px; }
  .top nav { gap: 2px; }
  .top nav a { padding: 4px 8px; font-size: 14px; }
  .hero { margin-top: 13px; padding: 20px 16px 24px; border-radius: 17px; }
  .hero--home, .hero--game { grid-template-columns: 1fr; }
  .hero--home { gap: 4px; }
  .hero--home .hero-art { max-width: 440px; }
  .hero--game .hero-art { display: none; }
  .hero h1 { margin-bottom: 12px; }
  section { padding-block: 23px; }
  .lab { grid-template-columns: 1fr; }
  .burger .detail { margin-block: 8px 12px; }
  .burger button:hover, .burger button[aria-pressed="true"] { transform: none; }
  .burger button[aria-pressed="true"] { box-shadow: inset 0 0 0 3px #fff2ba; }
}
@media (prefers-reduced-motion: reduce) { .burger button { transition: none; } }
