.hero {
  max-width: 1180px; margin: 0 auto; padding: clamp(36px, 7vw, 80px) clamp(18px, 4vw, 40px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; font-weight: 500; }
.hero-copy h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -.01em; }
.hero-copy h1 em { font-family: var(--script); font-style: normal; color: var(--brand); font-size: 1.2em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 52ch; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.trust b { display: block; color: var(--ink); font-weight: 500; }
.hero-demo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-demo .phone { height: min(700px, 80vh); aspect-ratio: 9 / 19; padding: 10px; border-radius: 46px; background: #1d1719; box-shadow: 0 50px 80px -40px rgba(60, 10, 25, .6), inset 0 0 0 2px #3b3134; }
.hero-demo .phone-screen { width: 100%; height: 100%; border-radius: 37px; overflow: hidden; }
#demo { width: 100%; height: 100%; }
.demo-note { margin: 0; font-family: var(--script); font-size: 24px; color: var(--brand); }

.templates, .how { max-width: 1180px; margin: 0 auto; padding: 50px clamp(18px, 4vw, 40px); }
.templates h2, .how h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 8px; }
.tgrid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.tcard { text-decoration: none; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(60, 10, 25, .35); }
.tcard-art {
  aspect-ratio: 4 / 3.4; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  background: radial-gradient(120% 90% at 50% 0%, var(--bg), var(--bg2)); color: var(--ink); position: relative;
}
.tcard-for { font-family: var(--script); color: var(--accent); font-size: 24px; line-height: 1; }
.tcard-title { font-size: 19px; line-height: 1.25; max-width: 14ch; }
.tcard-intro { position: absolute; bottom: 12px; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, #fff 70%, transparent); padding: 6px 10px; border-radius: 99px; }
.tcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.tcard-body b { font-weight: 500; }
.tcard-body small { color: var(--muted); font-size: 13px; }

.how ol { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how li { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.how li span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.how h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 14px 0 6px; }
.how p { margin: 0; color: var(--muted); line-height: 1.55; }
.how code { background: var(--brand-soft); color: var(--brand); padding: 1px 6px; border-radius: 6px; }
.foot { max-width: 1180px; margin: 0 auto; padding: 30px clamp(18px, 4vw, 40px) 50px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); font-size: 14px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-demo { order: -1; }
  .hero-demo .phone { height: min(620px, 78vh); }
  .trust { grid-template-columns: 1fr; }
  .how ol { grid-template-columns: 1fr; }
}
