.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  background: linear-gradient(135deg, #fbfaf8 0%, #fff7f1 58%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 34px 0 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .button-row {
  margin-top: 28px;
}

.trust-line {
  margin: 14px 0 0;
  color: #64748b;
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-wordmark .spark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--nimo-orange);
  transform: rotate(9deg);
  box-shadow: 0 12px 26px rgba(255, 122, 26, 0.32);
}

.hero-board {
  position: relative;
  min-height: 590px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: white;
  box-shadow: 0 26px 64px rgba(17, 24, 39, 0.14);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-card.primary-preview {
  top: 28px;
  right: 6%;
  width: 58%;
  height: 480px;
  z-index: 3;
  transform: rotate(1.5deg);
}

.hero-card.primary-preview img {
  filter: saturate(1.02) contrast(1.02);
}

.hero-card.secondary-preview {
  left: 0;
  top: 112px;
  width: 43%;
  height: 360px;
  z-index: 1;
  transform: rotate(-3deg);
}

.hero-card.secondary-preview img,
.hero-card.tertiary-preview img {
  filter: blur(2.6px) saturate(0.9) contrast(0.96);
  transform: scale(1.03);
}

.hero-card.tertiary-preview {
  right: 0;
  top: 118px;
  width: 34%;
  height: 300px;
  z-index: 0;
  opacity: 0.78;
  transform: rotate(4deg);
}

.hero-card.mini-preview {
  right: 0;
  bottom: 32px;
  width: 38%;
  padding: 18px;
  z-index: 4;
  transform: rotate(-1deg);
}

.mini-preview h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.mini-preview .mini-line {
  height: 10px;
  margin: 9px 0;
  border-radius: 99px;
  background: #eee8f7;
}

.mini-preview .mini-line.orange {
  width: 72%;
  background: var(--nimo-orange);
}

.floating-tool {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2937;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.1);
  backdrop-filter: blur(14px);
  font-weight: 800;
}

.floating-tool.one {
  top: 34px;
  left: 9%;
}

.floating-tool.two {
  right: 12%;
  top: 510px;
  background: var(--nimo-orange);
  color: white;
}

.steps-band {
  background: white;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.step-card {
  min-height: 210px;
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: var(--shadow-soft);
}

.step-card strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
}

.step-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.templates-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.templates-strip img {
  width: 100%;
  aspect-ratio: 0.74;
  object-fit: cover;
  object-position: top;
  filter: blur(2px) saturate(0.9) contrast(0.96);
  transform: scale(1.01);
  border: 1px solid var(--nimo-line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.templates-strip img:hover {
  transform: translateY(-5px) scale(1.025);
  filter: blur(1.2px) saturate(0.96) contrast(0.98);
  box-shadow: var(--shadow-lift);
}

.template-sketch {
  aspect-ratio: 0.74;
  padding: 28px 24px;
  border: 1px solid var(--nimo-line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-soft);
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.template-sketch:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: var(--shadow-lift);
}

.template-sketch > * {
  filter: blur(2px) saturate(0.9) contrast(0.96);
  transform: scale(1.01);
  transform-origin: center top;
  transition: filter 180ms ease, transform 180ms ease;
}

.template-sketch:hover > * {
  filter: blur(1.2px) saturate(0.96) contrast(0.98);
  transform: scale(1.025);
}

.template-sketch strong,
.template-sketch span {
  display: block;
  text-align: center;
}

.template-sketch strong {
  font-size: 1.1rem;
  letter-spacing: 0;
}

.template-sketch span {
  margin-top: 8px;
  font-size: 0.62rem;
}

.template-sketch i,
.template-sketch b,
.template-sketch p {
  display: block;
}

.template-sketch i {
  height: 1px;
  margin: 18px 0 20px;
  background: #111111;
}

.template-sketch b {
  margin: 14px 0 7px;
  border-bottom: 1px solid #111111;
  padding-bottom: 4px;
  font-size: 0.72rem;
  font-style: normal;
}

.template-sketch p {
  height: 8px;
  margin: 7px 0;
  border-radius: 999px;
  background: #e5e7eb;
}

.template-sketch p:nth-of-type(2) {
  width: 82%;
}

.template-sketch p:nth-of-type(3) {
  width: 68%;
}

.template-showcase {
  background: #fbfaf8;
}

.landing-template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.landing-template-card {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.landing-template-card img,
.landing-template-card .template-sketch {
  width: 100%;
  aspect-ratio: 0.74;
  object-fit: cover;
  object-position: top;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.landing-template-card img {
  background: #f6f7f9;
}

.landing-template-card > div:last-child {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.landing-template-card h3,
.feature-card h3,
.audience-grid h3,
.comparison-card h3 {
  margin: 0;
  font-size: 1.04rem;
}

.template-sketch.compact {
  margin: 0;
  padding: 22px 18px;
}

.landing-template-card .template-sketch.compact > *,
.landing-template-card .template-sketch.compact:hover > * {
  filter: none;
  transform: none;
}

.ai-adapt-section {
  background: #ffffff;
}

.ai-adapt-grid,
.before-after-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.prompt-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

.prompt-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--nimo-line);
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 700;
}

.adapt-flow-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at top left, rgba(255, 107, 44, 0.18), transparent 42%);
  box-shadow: var(--shadow-lift);
}

.flow-node {
  padding: 17px;
  border: 1px solid var(--nimo-line);
  border-radius: 18px;
  background: #ffffff;
}

.flow-node strong {
  display: block;
  margin-bottom: 6px;
}

.flow-node p,
.feature-card p,
.audience-grid p,
.comparison-card p,
.faq-list p {
  margin: 0;
  color: var(--nimo-muted);
}

.flow-node.targeted {
  border-color: rgba(255, 107, 44, 0.24);
  box-shadow: 0 12px 28px rgba(255, 107, 44, 0.12);
}

.flow-arrow {
  justify-self: center;
  color: #94a3b8;
  font-weight: 900;
}

.features-section,
.before-after-section,
.faq-section {
  background: #fbfaf8;
}

.feature-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.audience-grid article {
  display: grid;
  gap: 9px;
  min-height: 168px;
  padding: 20px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.audience-section {
  background: #ffffff;
}

.comparison-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.comparison-card > div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
}

.comparison-card > div:last-child {
  background: #fff7f1;
}

.comparison-card span {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 800;
}

.proof-section {
  background: #ffffff;
}

.proof-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background: #111827;
  color: #ffffff;
  box-shadow: var(--shadow-lift);
}

.proof-card .eyebrow,
.proof-card .section-title {
  color: #ffffff;
}

.proof-card ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 480px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-card li {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  font-size: 0.88rem;
  font-weight: 700;
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 16px 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .hero-grid,
  .steps-grid,
  .templates-strip,
  .landing-template-grid,
  .ai-adapt-grid,
  .before-after-grid,
  .faq-grid,
  .proof-card {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-card ul {
    justify-content: flex-start;
  }

  .hero-board {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .hero-card.primary-preview {
    width: 72%;
    right: 0;
  }

  .hero-card.secondary-preview {
    width: 56%;
  }

  .hero-card.mini-preview {
    width: 58%;
  }

  .feature-grid,
  .audience-grid,
  .comparison-card {
    grid-template-columns: 1fr;
  }
}
