:root {
  --bg: #07111f;
  --panel: #0d1c30;
  --panel-soft: #10233b;
  --line: rgba(151, 181, 219, .18);
  --ink: #f5f9ff;
  --muted: #91a3ba;
  --accent: #5eead4;
  --accent-2: #67e8f9;
  --shadow: 0 32px 100px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 1%, rgba(45, 212, 191, .14), transparent 28%),
    radial-gradient(circle at 92% 4%, rgba(91, 92, 246, .18), transparent 30%),
    var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
}
body[data-accent="violet"] { --accent: #a78bfa; --accent-2: #60a5fa; }
body[data-accent="amber"] { --accent: #f6c66c; --accent-2: #fb7185; }
body[data-accent="cyan"] { --accent: #67e8f9; --accent-2: #60a5fa; }
a { color: inherit; text-decoration: none; }
.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .18;
  pointer-events: none;
  background-image: linear-gradient(rgba(148, 180, 220, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 180, 220, .13) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 780; letter-spacing: .03em; }
.brand-mark { width: 25px; height: 25px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.back { color: var(--muted); font-size: 12px; transition: color .18s; }
.back:hover { color: var(--ink); }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: center; padding: 78px 0 58px; }
.kicker { color: var(--accent); font: 760 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; text-transform: uppercase; }
h1 { max-width: 650px; margin: 18px 0 18px; font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: -.055em; }
.lead { max-width: 610px; margin: 0; color: #b6c4d5; font-size: 17px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.meta span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: #aac0d8; background: rgba(255,255,255,.035); font-size: 11px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 17px; border: 1px solid var(--line); border-radius: 11px; color: #d8e7f5; background: rgba(255,255,255,.04); font-size: 12px; font-weight: 760; transition: transform .18s, filter .18s; }
.button.primary { color: #06131e; border: 0; background: linear-gradient(125deg, var(--accent), var(--accent-2)); box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 20%, transparent); }
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.hero-preview { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(17,38,64,.94), rgba(8,20,36,.95)); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.hero-preview::before { position: absolute; inset: -20px; z-index: -1; border-radius: 35px; content: ""; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 65%); filter: blur(12px); }
.hero-preview img { display: block; width: 100%; max-height: 520px; object-fit: contain; border-radius: 13px; background: #fff; }
.browser-bar { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 2px 12px; color: #7489a3; font-size: 9px; letter-spacing: .08em; }
.dots { display: flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #60718a; }
.dots i:first-child { background: #fb7185; }
.dots i:nth-child(2) { background: #f59e0b; }
.dots i:last-child { background: #34d399; }
.prompt-section { padding: 18px 0 72px; }
.prompt-card { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 31px; border: 1px solid var(--line); border-radius: 21px; background: rgba(12, 28, 48, .84); }
.prompt-label { color: var(--accent); font: 750 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
blockquote { margin: 0; color: #dce8f5; font-size: clamp(17px, 2vw, 23px); line-height: 1.75; }
.reasoning { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.reasoning article { min-height: 150px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.reasoning span { color: var(--accent); font: 730 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.reasoning b { display: block; margin-top: 15px; font-size: 14px; }
.reasoning p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.gallery-section { padding: 72px 0 90px; border-top: 1px solid var(--line); background: rgba(2, 9, 17, .21); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 31px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 47px); letter-spacing: -.045em; }
.section-head p { max-width: 510px; margin: 0; color: var(--muted); font-size: 13px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #0b192a; box-shadow: 0 18px 48px rgba(0,0,0,.2); }
.gallery img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #fff; }
.gallery.paper img { aspect-ratio: 8.5 / 11; object-fit: contain; }
.gallery figcaption { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 44px; padding: 0 14px; color: #8ca0b8; font-size: 10px; }
.boundary { margin-top: 25px; padding: 16px 18px; border: 1px solid rgba(246,198,108,.2); border-radius: 13px; color: #b9c6d6; background: rgba(246,198,108,.045); font-size: 11px; }
.boundary b { color: #f8d894; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 28px 0 42px; color: #6f829a; font-size: 10px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 54px; }
  .hero-preview { max-width: 680px; transform: none; }
  .prompt-card { grid-template-columns: 1fr; gap: 13px; }
  .reasoning { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 590px) {
  .wrap { width: min(100% - 26px, 1180px); }
  .nav { min-height: 62px; }
  .brand span { display: none; }
  .hero { padding: 42px 0 46px; }
  h1 { font-size: 42px; }
  .lead { font-size: 15px; }
  .hero-preview { padding: 10px; border-radius: 16px; }
  .prompt-card { padding: 22px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-section { padding: 55px 0 66px; }
  .footer { align-items: flex-start; flex-direction: column; }
}
