/* Landing: instant build prompt, template carousel, Build · Simulate · Deploy */
.home-hero { padding: 72px 0 24px; text-align: center; position: relative; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px;
  mask-image: radial-gradient(60% 70% at 50% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, #000, transparent 75%); }
.home-hero h1 { font-size: clamp(40px, 6.6vw, 86px); line-height: .98; letter-spacing: -0.045em; max-width: 15ch; margin: 0 auto; }
.home-hero h1 em { font-style: normal; color: var(--accent); }
.prompt { max-width: 760px; margin: 34px auto 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: var(--shadow); padding: 16px 16px 12px; text-align: left; transition: border-color .2s; }
.prompt:focus-within { border-color: var(--ink); }
.prompt textarea { width: 100%; border: 0; outline: none; resize: none; background: transparent; color: var(--ink); font: 18px/1.5 var(--sans); }
.prompt-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 8px; }
.prompt-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.prompt-chips::-webkit-scrollbar { display: none; }
.prompt-chips button { white-space: nowrap; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); border-radius: 999px; padding: 6px 11px; font: 13px var(--sans); cursor: pointer; }
.prompt-chips button:hover { color: var(--ink); border-color: var(--ink); }
.home-lede { max-width: 640px; margin: 18px auto 0; color: var(--ink-2); font-size: 16px; }
.agent-cta { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--ink-2); padding: 6px 6px 6px 16px; border: 1px dashed var(--line-2); border-radius: 999px; }

.templates { padding-top: 64px; }
.tpl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.tpl-head h2, .flow3 h2 { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.035em; margin-top: 10px; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; }
.tpl { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.tpl:hover { transform: translateY(-3px); border-color: var(--line-2); }
.tpl .pics { height: 170px; background: radial-gradient(70% 80% at 50% 40%, var(--paper), var(--paper-2)); display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.tpl .pics img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tpl .pics img:first-child { grid-row: span 2; }
.tpl .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tpl .tag { font: 11px var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; background: none; padding: 0; }
.tpl h3 { font-size: 17px; }
.tpl p { font-size: 13.5px; color: var(--ink-2); }
.tpl .foot { margin-top: auto; padding-top: 8px; display: flex; gap: 6px; }
.tpl.scratch { justify-content: center; align-items: flex-start; padding: 22px; border-style: dashed; background: transparent; }
.tpl.scratch .plus { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 24px; margin-bottom: 12px; }

.flow3 { padding-top: 70px; }
.flow3-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.flow3-grid .card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; min-height: 220px; transition: border-color .2s, transform .2s; }
.flow3-grid .card:hover { border-color: var(--ink); transform: translateY(-2px); }
.flow3-grid .card b { color: var(--accent); }
.flow3-grid p { font-size: 14px; color: var(--ink-2); }
.flow3-grid .go { margin-top: auto; font-weight: 500; font-size: 14px; color: var(--accent); }
.hero h1.h1-sub { font-size: clamp(32px, 4.6vw, 60px); }
.hero { padding-top: 90px; }
@media (max-width: 860px) { .flow3-grid { grid-template-columns: minmax(0, 1fr); } .prompt-row { flex-direction: column; align-items: stretch; } }
