/* short-form product */
.sf-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 64px); }
.sf-phone { background: #f4f4f5; display: flex; flex-direction: column; justify-content: center; padding: 40px 24px; }
.sf-phone h1 { font-size: 36px; letter-spacing: -0.04em; margin: 0 0 8px; }
.sf-phone p { color: var(--graphite); margin: 0 0 24px; }
.preview-phone { width: min(280px, 100%); margin: 0 auto; background: #111; border-radius: 28px; overflow: hidden; aspect-ratio: 9/16; position: relative; }
.preview-phone img, .preview-phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-start { display: grid; grid-template-rows: 1fr 1fr; }
.pane { padding: 36px 32px; color: #fff; }
.pane.blog { background: #111; }
.pane.shop { background: #f97316; }
.pane h2 { margin: 0 0 6px; font-size: 22px; }
.pane p { margin: 0 0 16px; opacity: .85; font-size: 14px; }
.row { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 999px; padding: 6px 6px 6px 16px; }
.row input { flex: 1; border: 0; outline: none; font-size: 14px; min-width: 0; color: var(--ink); }
.row .go { width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; flex-shrink: 0; }
.pane.shop .go { background: #fff; color: #f97316; }
.ghost-pill { border: 0; background: #f4f4f5; border-radius: 999px; padding: 10px 12px; font-weight: 700; font-size: 12px; white-space: nowrap; color: var(--ink); }
.tabs { display: flex; gap: 18px; padding: 16px 20px 0; font-weight: 700; }
.tabs a { color: var(--fog); padding-bottom: 10px; border-bottom: 2px solid transparent; }
.tabs a.on { color: var(--ink); border-color: var(--ink); }
.projects { padding: 24px 0 80px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.card { background: var(--canvas); border-radius: 16px; overflow: hidden; border: 1px dashed var(--line); min-height: 260px; display: flex; flex-direction: column; }
.card.solid { border-style: solid; background: #111; color: #fff; position: relative; }
.card video, .card img.thumb { width: 100%; height: 220px; object-fit: cover; display: block; }
.card .meta { padding: 10px; font-size: 12px; }
.card .add { margin: auto; text-align: center; color: var(--fog); font-weight: 700; }
.badge-step { position: absolute; left: 10px; right: 10px; top: 40%; text-align: center; font-weight: 800; }
.modal-bg { display: none; position: fixed; inset: 0; background: rgba(23,23,23,.45); z-index: 50; align-items: center; justify-content: center; padding: 12px; }
.modal-bg.open { display: flex; }
.sheet { width: min(920px, 100%); max-height: min(92vh, 820px); overflow: auto; background: #fff; border-radius: 20px; padding: 20px; }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.tmpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tmpl { border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #111; color: #fff; min-height: 120px; padding: 10px; font-size: 12px; font-weight: 800; text-align: left; }
.tmpl.on { border-color: var(--mint); }
.voices { max-height: 240px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.voice { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.voice.on { background: var(--mist); }
.steps { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0 16px; }
.step { flex: 0 0 auto; font-size: 11px; padding: 6px 10px; border-radius: 999px; background: var(--canvas); color: var(--fog); }
.step.on { background: var(--mist); color: var(--deep); font-weight: 700; }
.step.done { background: var(--ink); color: #fff; }
.analysis { background: var(--canvas); border-radius: 16px; padding: 20px; margin: 24px 0; }
.analysis h3 { margin: 0 0 8px; }
.analysis code { font-size: 12px; background: #fff; padding: 2px 6px; border-radius: 6px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; font-size: 13px; }
.kv b { color: var(--fog); font-weight: 600; }
@media (max-width: 900px) {
  .sf-hero { grid-template-columns: 1fr; min-height: auto; }
  .sf-phone { padding: 28px 20px 12px; }
  .sf-phone h1 { font-size: 26px; }
  .preview-phone { width: min(220px, 70%); margin: 0 auto 8px; }
  .sf-start { grid-template-rows: auto auto; }
  .pane { padding: 24px 20px; }
  .row { flex-wrap: wrap; border-radius: 16px; padding: 8px; }
  .row input { min-width: 0; width: 100%; flex: 1 1 140px; }
  .ghost-pill { width: 100%; }
  .tmpls { grid-template-columns: repeat(2, 1fr); }
  .kv { grid-template-columns: 1fr; }
  .sheet { border-radius: 16px; padding: 16px; }
  .sheet-grid { display: grid !important; grid-template-columns: 1fr !important; }
}
